Get a tax review before you list your home. It can help show how much of the eventual gain may be excluded. Your CPA will want the purchase records, the improvement receipts and the history of how the property was used.
When gain may be excluded
An owner who has owned and lived in the house as a main home for at least two of the last five years can generally leave up to $250,000 of the gain out of income, or up to $500,000 on a joint return with a spouse. The exclusion is not available if it was already used on the sale of another home in the two years before.
What the IRS says
The IRS sets this out in Tax Topic 701, Sale of Your Home. The owner must have owned the home for at least 24 months out of the last five years, and used it as a residence for at least 24 months of the previous five years. The two tests can be met during different two-year periods.
The topic notes exceptions to the two-year rule and points to IRS Publication 523 for limits on the amount. It also says that an owner who receives a Form 1099-S for the sale must report it even when the gain is excludable.
It is the gain, not the price
The exclusion applies to gain, not to the sale price. Your CPA needs records of the purchase, qualifying improvements and selling costs to calculate that gain. Keep the receipts, even for work completed twenty years ago.
Why long-time owners ask first
If you have owned the home a long time, gather the purchase and improvement records before you decide whether to sell. The potential gain and the available exclusion should be calculated from those records, not from a general assumption about how long you have owned it.
Put the possible tax cost next to upkeep, accessibility and where your family and other commitments are. If you get the tax calculation before you decide, you can weigh all of those together.
Ask your CPA whether the exclusion applies to you and how much of your gain it covers. Ask how a second home, a rental period, a home office, a spouse's death or a divorce changes it, and what the state side looks like.
The note on stay, renovate or move covers the decision this sits inside, and the Lifestyle Calibration page covers how that conversation starts.
Source: IRS, Topic 701, Sale of Your Home. Read at source, October 2026.
This note is general. It is not tax or legal advice, and whether any of the gain on your house is taxable depends on facts only your CPA can assess.