A house bought decades ago is, for many retirees, their single largest untaxed gain — a property purchased for a fraction of today’s price and quietly appreciating the whole time. When it comes time to sell and move to something smaller, the fear is that a big chunk of that profit will vanish to capital-gains tax. For most married sellers, it will not. Federal law lets a couple keep up to $500,000 of gain on the sale of a main home entirely free of tax, one of the most valuable breaks a downsizing household ever uses.
The two-of-five-year ownership and use test
The exclusion is not automatic; it turns on how the home was used. To claim the full amount, a seller must have owned the property and lived in it as a main home for at least two of the five years ending on the sale date. The two years do not have to be continuous, and short absences for vacations or work do not break the count, but a house that was mostly a rental or a second home will not clear the bar.
For a married couple filing jointly, the ownership test can be met by either spouse, but both must have used the home as their main residence for the two-year period to reach the $500,000 figure. If only one spouse meets the use test, the exclusion generally drops to the $250,000 available to a single filer. The IRS rules on selling a home lay out this ownership-and-use structure, and it is what separates a tax-free sale from a taxable one.
There is also a frequency limit. The exclusion can be used only once in any two-year window, so a couple who sold one home tax-free cannot immediately repeat the move on a second property. That rule mostly affects serial movers, but it can trap a retiree who sells, buys, and quickly sells again during a relocation.
Free retirement updates: Miss an enrollment or claim deadline and it may be gone. Our free Retirement Shield newsletter keeps readers ahead of the ones that matter. Get the free newsletter.
Why the $500,000 cap catches more sellers every year
The exclusion amounts — $250,000 for a single owner and $500,000 for a married couple — were written into law in 1997 and have never been adjusted for inflation. Home values, meanwhile, have climbed for nearly three decades. The result is that a break designed to cover almost every ordinary sale now leaves a growing share of long-term owners with taxable gain above the ceiling, particularly in high-cost markets where a modest house bought in the 1980s can carry a gain well past half a million dollars.
Gain above the cap is taxed as a long-term capital gain, and it can do more than trigger that one tax. A large reported gain lifts adjusted gross income for the year, which can push a retiree into a higher Medicare premium tier and expose more of a Social Security benefit to tax. The IRS worksheet for home sellers walks through how the taxable portion is calculated once a gain runs past the exclusion.
The one lever sellers control is basis. The profit is measured from the purchase price plus the cost of capital improvements — a new roof, an addition, a renovated kitchen — added over the years of ownership. Documented improvements raise the starting figure and shrink the taxable gain, which is why records of major home projects can be worth thousands to a couple whose profit is bumping against the ceiling.
Partial exclusions when life forces an early sale
A seller who fails the two-year test is not always shut out. The law allows a prorated exclusion when the sale is driven by specific hardships — a job change, a health problem, or other unforeseen circumstances the IRS recognizes. A couple who lived in a home only one year before a medical move can often claim half the normal exclusion, still shielding a substantial gain rather than losing the break entirely.
Widowed sellers get a particular window. A surviving spouse can generally claim the full $500,000 exclusion if the home is sold within two years of the spouse’s death, provided the couple met the use test before the death and the survivor has not remarried. Missing that window drops the survivor to the $250,000 single limit, so the timing of a sale after a spouse dies carries real money. The IRS guidance on home-sale gains spells out how these partial and survivor rules apply.
For downsizing retirees, the exclusion remains one of the largest tax breaks still on the books — but it is a fixed target in a rising market. A couple sitting on a gain that is approaching the $500,000 line faces a genuine decision about when and how to sell, because every additional year of appreciation on an un-indexed cap is another year the tax-free zone shrinks in real terms. The break rewards owners who track their improvements and time the sale, and it quietly penalizes those who assume the profit is all theirs to keep.
This article was researched and drafted with the assistance of artificial intelligence.
More Financial Reading