Most Dallas and Plano homeowners who sell their main home owe no federal tax on the profit. Section 121 of the tax code lets you exclude up to $250,000 of gain, or $500,000 on a joint return, if you owned and lived in the home for at least two of the five years before the sale. Texas has no state income tax, so the federal answer is the whole answer. Tax applies only to gain above the limit, to past depreciation, or when the tests are not met.
- Exclude up to $250,000 of gain ($500,000 married filing jointly) on the sale of your main home.
- You must own the home and live in it for at least 24 months each within the 5 years before the sale, and generally not have used the exclusion in the prior 2 years.
- Your gain is the sale price minus selling costs, minus what you paid plus capital improvements. Keep the receipts.
- Depreciation from rental or home office use is never excluded, and rental years before you moved in can reduce the exclusion.
- A Form 1099-S at closing means you report the sale, even when all of the gain is excluded.
How the home sale exclusion works
When you sell your principal residence at a profit, Section 121 removes up to $250,000 of that gain from your income. On a joint return the limit is $500,000. Excluded gain is not taxed at all: no capital gains tax and no net investment income tax on that portion.
Gain above the limit is a capital gain. For a home owned more than a year it gets long-term rates, and at higher incomes the 3.8% net investment income tax can apply on top (above $200,000 of modified AGI single, $250,000 joint, per IRS Topic 559). There is no reinvestment rule: you do not have to buy another house. The old rollover rule was replaced by this exclusion in 1997.
Do you qualify? The ownership and use tests
The IRS checks two clocks, both inside the 5 years ending on the sale date:
- Ownership test: you owned the home for at least 24 months.
- Use test: you lived in it as your main home for at least 24 months (730 days). The time does not have to be one continuous block.
- Look-back rule: you generally cannot use the exclusion if you excluded gain on another home sale within the 2 years before this one.
For the full $500,000 on a joint return, either spouse can meet the ownership test, but both spouses must meet the use test, and neither may have used the exclusion in the prior 2 years. Because the tests look back 5 years, you can move out, even rent the house for up to about 3 years, and still sell with the exclusion, as long as you lived there 2 of the last 5 years.
The exclusion is not available if you acquired the home in a 1031 like-kind exchange within the past 5 years. Members of the uniformed services, Foreign Service and intelligence community on qualified extended duty can suspend the 5-year period for up to 10 years.
Your real gain: the basis math
Your taxable gain is not the sale price minus the purchase price. It is the amount realized (sale price minus selling expenses such as commissions, advertising and legal fees) minus your adjusted basis (purchase price plus certain closing costs plus capital improvements).
Example: how selling costs and improvements shrink the gain
| Line | Example amount | What counts here |
|---|---|---|
| Sale price | $900,000 | Contract price at closing |
| minus selling expenses | $60,000 | Commissions, advertising, legal fees, seller-paid loan charges |
| = Amount realized | $840,000 | |
| Purchase price | $350,000 | What you paid |
| plus capital improvements | $120,000 | New roof, HVAC, kitchen remodel, additions, pool, fence |
| = Adjusted basis | $470,000 | |
| Gain (amount realized minus basis) | $370,000 | Inside the $500,000 joint limit: $0 tax |
Illustrative numbers for a married couple filing jointly, computed with the IRS method in Publication 523. How to read this table: the quick estimate of $900,000 minus $350,000 gives $550,000, which would exceed the $500,000 limit. Selling costs and documented improvements bring the real gain to $370,000, so nothing is taxed. Without the improvement receipts, part of that gain could have been taxable.
Improvements count; repairs do not
Publication 523 counts settlement costs such as title insurance, recording, survey and legal fees, plus capital improvements: additions, new systems, a new roof, insulation and similar work. Routine repairs and maintenance, such as painting or fixing a leak, do not count unless they are part of a larger remodeling project. Energy credits you claimed for an improvement reduce your basis.
Keep the closing statements and improvement invoices for as long as you own the home, and then until the period of limitations for the year of sale runs out. Our guide to organizing your tax records shows a simple system.
What if the home was ever a rental?
Two separate rules apply, and both reduce what you can exclude.
Depreciation is never excluded. Depreciation you claimed for rental or business use after May 6, 1997 is taxable when you sell. The IRS taxes this unrecaptured section 1250 gain at a maximum 25% rate (Topic 409). Our rental property depreciation guide explains how it builds up.
Nonqualified use. Time after 2008 when the home was not your main home, typically rental years before you moved in, is nonqualified use. The gain is split by days: the share of ownership days that were nonqualified use cannot be excluded. Time after you last lived there, within the 5-year window, does not count against you. So home first, rental later keeps the full exclusion if you sell in time; rental first, home later loses part of it.
If you are weighing a sale against keeping the house as a rental, compare both paths before the 3-year window closes. For investors, the 1031 exchange guide covers the alternative for investment property.
Home offices and business use
If your home office was inside the living area of the house, you do not have to split the gain between home and office. You still pay tax on any depreciation you claimed for the office after May 6, 1997. If you used the simplified home office method, you claimed no depreciation, so there is nothing to recapture.
Business or rental space separate from the living area, such as a detached unit, is treated differently: the gain is allocated, and the business part is reported on Form 4797.
Selling early: partial exclusions
If you sell before meeting the 2-year tests, you may still get a reduced exclusion when the main reason for the sale was one of these:
- Work: a new job at least 50 miles farther from the home than your old job (or at least 50 miles away if you had no previous job).
- Health: moving to get or provide treatment, or on a doctor's recommendation.
- Unforeseeable events: destruction of the home, a disaster, death, divorce or legal separation, multiple births from one pregnancy, becoming eligible for unemployment, or no longer being able to pay basic living costs after a job change.
The reduced limit is your qualifying time divided by 24 months (or 730 days), times the full limit. Example: a couple who sells after 14 months because of a qualifying job transfer can exclude up to 14/24 of $500,000, about $291,667 of gain.
Widowed and divorced sellers
A surviving spouse can still use the $500,000 limit if the home is sold within 2 years of the spouse's death, the survivor has not remarried, and the ownership and use tests were met (counting the late spouse's time). After that window, the $250,000 single limit applies.
Divorce changes ownership and use periods, and the filing status in the year of sale decides whether $250,000 or $500,000 applies. Plan the timing of the sale with the settlement. Our guides to married filing jointly vs. separately and tax rules for divorced parents cover the filing side.
Do you report the sale? Form 1099-S and Texas notes
You must report the sale if you received a Form 1099-S at closing, even when all of the gain is excluded, or if any gain is taxable. It goes on Form 8949 and Schedule D. If you have no taxable gain and no 1099-S, you do not need to report the sale. Ignoring a 1099-S is a common trigger for an IRS mismatch letter; see our CP2000 notice guide.
Texas has no state income tax, so there is no state tax on the gain. The Texas rule that matters is for the home you buy next: property tax. File for the residence homestead exemption with your county appraisal district (Collin, Dallas or Denton County for most of the cities we serve).
The Comptroller also lists an additional $60,000 school exemption for homeowners 65 or older, and once a homestead qualifies, its appraised value generally cannot rise more than 10% a year. If you are moving to Texas as you sell elsewhere, our new Texas resident tax guide covers the moving year.
How Assured helps home sellers
Assured Bookkeeping and Tax Service prepares returns and plans home sales from our Plano office, serving Plano, Dallas, Allen, McKinney, Frisco, Richardson, Garland and Flower Mound, and clients in Maryland. Monis Zaidi is an Enrolled Agent (CTRS), licensed to represent taxpayers before the IRS.
Before you list, our tax planning review rebuilds your basis from closing statements and receipts, checks the ownership and use tests, works out any rental or home office depreciation, and models a partial exclusion if you sell early. At filing time the sale is reported correctly as part of our individual tax preparation in Plano. You get a written quote after we review your situation.
Call (972) 242-5700 or book a consultation.
Frequently asked questions
Do I pay taxes when I sell my house in Texas?
Usually not, if it was your main home. Up to $250,000 of gain ($500,000 married filing jointly) is excluded when you meet the 2-of-5-year ownership and use tests, and Texas has no state income tax. Tax applies to gain above the limit, to depreciation from rental or home office use, or when you fail the tests without a qualifying reason.
Do I have to buy another house to avoid the tax?
No. The exclusion has no reinvestment requirement. You can sell, keep the excluded gain, rent, downsize or move out of state. The old rollover rule was replaced by the Section 121 exclusion in 1997.
We are selling after 14 months because of a job transfer. Do we lose the exclusion?
Not if the new job is at least 50 miles farther from the home than the old one. You get a partial exclusion: 14/24 of the $250,000 or $500,000 limit. Health reasons and certain unforeseeable events, such as divorce or a job loss, qualify the same way.
Can I rent out my house and still use the exclusion?
Yes, if you lived in it at least 2 of the 5 years before the sale and sell within that window, which allows up to about 3 years of renting after you move out. Depreciation taken during the rental years is taxed, and rental years before you moved in can reduce the exclusion.
Do I need to report the sale if all of the gain is excluded?
Only if you received a Form 1099-S or have taxable gain. With a 1099-S, report the sale on Form 8949 and Schedule D and claim the exclusion so the IRS records match. With no 1099-S and no taxable gain, you do not need to report it.
What records should I keep for a future home sale?
The purchase closing statement, invoices for every capital improvement, records of any rental or home office depreciation, and the sale closing statement. Keep them until the period of limitations for the year of sale has passed.
Can a surviving spouse still use the $500,000 exclusion?
Yes, if the home is sold within 2 years of the spouse's death, the survivor has not remarried, and the ownership and use tests are met, counting the late spouse's time. After that, the $250,000 limit applies.
Selling a home this year? Know your number first.
Basis reconstruction, exclusion qualification, rental-conversion math, and the return that reports it correctly — modeled by our Plano team before you list, not after you close.
Call (972) 242-5700 Book a Consultation
