Selling your home in retirement, up to $250,000 in gain, or $500,000 for a couple, can escape tax if you qualify

Elderly couple and laptop with document for financial planning investment or paperwork for retirement Senior man woman and tech with budget for online banking account or savings in home

Downsizing is one of the most common financial moves in retirement, and the tax code offers a substantial reward for it. A homeowner who sells a primary residence can exclude up to $250,000 of profit from capital-gains tax, and a married couple filing jointly can exclude up to $500,000, provided they meet a set of ownership and use requirements. For retirees sitting on decades of home appreciation, that exclusion can turn a large paper gain into a tax-free windfall.

The ownership and use tests that unlock the exclusion

The break comes with conditions. To claim it, a seller generally must have owned the home and lived in it as a main residence for at least two of the five years ending on the date of sale. The Internal Revenue Service details the requirements in its topic on the sale of a residence, noting that the two years need not be consecutive and that the ownership and use periods can be satisfied at different times within that five-year window.

There is also a frequency limit: the exclusion can generally be claimed only once every two years. A retiree who sold one home and used the exclusion cannot immediately apply it again to a second sale that falls inside the two-year period. For married couples, the full $500,000 requires that both spouses meet the use test and that neither has claimed the exclusion on another home in the prior two years, though only one spouse needs to satisfy the ownership test.


Free retirement updates: Want plain-English help keeping more of your money in retirement? The free Retirement Shield newsletter covers scams, benefits, and money many retirees may be owed, a couple times a week. Subscribe free.

How the taxable gain is actually calculated

Gain is not the same as the sale price. It is the amount realized from the sale minus the home’s adjusted basis, which is the original purchase price plus the cost of qualifying improvements over the years, such as a new roof, an addition, or a remodeled kitchen. Careful records of those improvements raise the basis and shrink the taxable gain, which is why the IRS urges sellers to keep documentation. The agency walks through the arithmetic and the recordkeeping in Publication 523, its guide to selling a home.

Only gain above the exclusion is taxed. A couple who bought a house for $120,000 and sells it for $560,000 has a $440,000 gain, entirely within the $500,000 ceiling, and owes no capital-gains tax on the sale. A single seller with a $310,000 gain would exclude $250,000 and owe tax only on the remaining $60,000. Any taxable portion is treated as a long-term capital gain, taxed at the preferential rates the IRS outlines in its overview of capital gains and losses, provided the home was held longer than a year.

Partial exclusions exist for sellers who fall short of the two-year threshold because of specific circumstances, including a change in health, a work relocation, or other unforeseen events. In those cases a prorated portion of the $250,000 or $500,000 may still apply, softening the tax on an early sale. A retiree forced to sell and move into assisted living after only 18 months, for example, may still shelter roughly three-quarters of the standard exclusion under the reduced-maximum rules.

One feature makes the exclusion especially valuable in later life: it is not a once-in-a-lifetime benefit. As long as the two-year ownership, use, and frequency tests are met each time, a homeowner can claim it again on a later sale, so a retiree who downsizes now and sells a second home years afterward can potentially exclude gain twice. That repeatability sets the home-sale exclusion apart from the estate-based step-up in basis, which applies only at death, and it rewards owners who plan the timing of each move with the two-year clock in mind.

Widowhood, second homes, and the traps that shrink the benefit

Timing carries special weight for a surviving spouse. A widow or widower can generally claim the full $500,000 exclusion if the home is sold within two years of the spouse’s death, assuming the other requirements are met. Waiting beyond that window can drop the available exclusion to the $250,000 single-filer amount, a costly distinction for a home that has appreciated substantially.

The exclusion also does not stretch to every property. It applies to a main home, not to a vacation house or a pure rental. A second home converted to a primary residence must satisfy the two-year use test in its own right, and periods when a property served as a rental can complicate the calculation, including rules that require recapturing depreciation taken during rental years. The IRS addresses several of these situations in its frequently asked questions on property basis and the sale of a home.

For a retiree planning to sell, the practical takeaway is that the exclusion rewards preparation. Confirming the two-of-five-year test, tallying decades of improvement receipts to lift the basis, and timing a sale, especially after the loss of a spouse, before the $500,000 window closes are the steps that determine how much of a lifetime’s home equity reaches the bank untaxed.

This article was created with AI assistance and was reviewed, edited, and fact-checked by The Financial Wire editorial team.

More Financial Reading

Leave a Reply

Your email address will not be published. Required fields are marked *