Guides & Insights › Selling

Taxes When You Sell Your Home: How the Home Sale Exclusion Works

When you sell your main home, you may be able to exclude up to $250,000 of profit from federal income tax, or up to $500,000 for most married couples filing jointly. Whether you qualify, and for how much, depends on how long you owned and lived in the home and how you used it. Texas has no state personal income tax, so the federal rules are the ones that matter here.

How gain is figured

  • Amount realized: the sale price minus selling costs, such as commissions and certain closing costs.
  • Adjusted basis: what you paid for the home, plus certain buying costs, plus the cost of improvements.
  • Gain: amount realized minus adjusted basis.

Illustrative example:

ItemAmount
Sale price$600,000
Selling costs−$36,000
Amount realized$564,000
Purchase price plus certain buying costs$300,000
Improvements (new roof, addition)$40,000
Adjusted basis$340,000
Gain$224,000

A hypothetical example only. Which costs count is set by IRS rules; your tax professional confirms the figures.

The exclusion

  • You can exclude up to $250,000 of gain, or up to $500,000 for most married couples filing jointly.
  • Ownership and use tests: generally, you must have owned the home and lived in it as your main home for at least two of the five years before the sale. The two years don’t have to be continuous.
  • Joint returns: either spouse can meet the ownership test, but both must meet the use test for the full $500,000.
  • Once every two years: generally, you can’t use the exclusion if you used it on another home sale in the two years before this one.

If you don’t meet the full tests

You may still qualify for a partial exclusion if you sold because of a change in work location, a health reason or certain unforeseeable events. The partial amount is based on how much of the two-year period you met.

What can reduce the exclusion

  • Time the home wasn’t your main home. For sales after 2008, gain tied to certain periods when the home wasn’t your main home, such as renting it out before you moved in, generally can’t be excluded.
  • Depreciation. If you were entitled to depreciation for renting the home or using part of it for business after May 6, 1997, gain equal to that depreciation can’t be excluded.
  • Rental and investment property. The exclusion is for your main home. A property that was only ever a rental doesn’t qualify; other rules, such as a 1031 exchange, may apply instead.

Keep good records

Save your closing statement from the purchase, and receipts and contracts for improvements. If your gain could be close to the exclusion amount, or you rented the home at any point, those records make a real difference. You may also receive a Form 1099-S from the title company at closing. If you do, the IRS says to report the sale on your return even if the gain is excluded.

Frequently asked

Do I pay tax on the sale of my home in Texas?

Texas has no state personal income tax. For federal tax, generally only the gain you can’t exclude is taxable.

Do I have to report the sale if all my gain is excluded?

If you receive a Form 1099-S, the IRS says to report the sale even if the gain is excludable. Ask your tax professional how.

I rented my home out for a while. Can I still use the exclusion?

Possibly, but rental periods and depreciation can reduce it. Ask a CPA to look at your dates and records.

How do I get started?

Reach out for a no-pressure conversation about buying, selling, relocating or exploring an investment. We can discuss your goals, answer your initial questions and consider possible next steps.

Contact Julio

General educational information from a real estate agent, not financial, tax, legal, or insurance advice. Programs and rules vary and change, and your situation is unique. Confirm anything that affects a decision with your lender, CPA, the appraisal district, an attorney, or another qualified professional.