Selling a longtime home can trigger capital-gains tax on profit above the $250,000 exclusion for single filers

Image Credit: Unknown author

A house bought decades ago for a modest price, then sold today near the top of an inflated housing market, can hand its owner a tax bill they never expected. The federal tax code shields a large slice of that profit from capital-gains tax, but the shield has a ceiling, and a growing number of long-term homeowners are finding their gain runs past it.

How the $250,000/$500,000 exclusion actually works

Under Internal Revenue Code Section 121, a homeowner who sells a primary residence can exclude up to $250,000 of the gain from taxable income if filing single, or up to $500,000 if filing a joint return, according to the IRS’s Topic No. 701 on the sale of a home. The gain itself is calculated as the sale price minus the “adjusted basis” — generally the original purchase price plus the cost of qualifying improvements over the years, such as a new roof, an added bathroom, or a major renovation, minus any depreciation claimed. For a couple who bought a house for $150,000 in the 1990s and sells it today for $700,000, after factoring in improvements, only the portion of profit above $500,000 is exposed to tax; everything below that line is excluded outright, with no separate form required if the full gain qualifies for exclusion.


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.

The ownership-and-use test that decides who qualifies

The exclusion is not automatic just because a home is sold. IRS Publication 523 requires the seller to have owned and used the property as a main home for at least 24 months out of the five years leading up to the sale, and those 24 months do not need to be consecutive. A married couple filing jointly can claim the full $500,000 exclusion only if at least one spouse meets the ownership test and both spouses meet the use test individually — a distinction that matters for couples where one spouse’s name is on the deed but both have lived in the home for years. The exclusion also generally applies only once every two years, so a homeowner who sold a different primary residence recently may not be able to claim it again right away.

Why longtime owners are the ones running into the limit

The $250,000 and $500,000 thresholds were set when Section 121 was enacted in 1997 and have never been adjusted for inflation. Home values in many markets have more than tripled since then, which means a homeowner who has lived in the same house for 20 or 30 years — precisely the profile of many retirees selling to downsize or move closer to family — is the person most likely to have built up gain that outruns the exclusion. A retiree who inherited a family home decades ago, or who bought before a neighborhood’s prices took off, can face a five- or six-figure capital-gains bill purely because the fixed exclusion has not kept pace with the market, even though nothing about their own finances changed.

What counts toward the basis, and why records matter

Because the exclusion only shields gain up to the limit, every dollar added to the home’s adjusted basis lowers the taxable amount above that ceiling. Capital improvements — a kitchen remodel, a new HVAC system, an added deck, a finished basement — all raise the basis and reduce eventual gain, but routine repairs and maintenance generally do not. Sellers who kept receipts, contractor invoices, and permits for major projects over the years are in a far better position to document a higher basis than someone relying on memory at tax time. Selling costs, including real estate commissions and certain closing fees, also reduce the amount realized from the sale and further shrink the taxable gain.

Reporting the sale and the timing of a large capital gain

Any gain above the exclusion amount is reported as a capital gain and taxed at long-term capital-gains rates if the home was owned for more than a year, which is typically the case for a longtime residence. That gain also counts toward a seller’s income for the year, which can matter beyond the capital-gains tax itself — a single large sale can temporarily push someone’s income into a range that affects Medicare Part B and Part D premiums two years later through the IRMAA surcharge, since Medicare bases those premiums on modified adjusted gross income from an earlier tax year. Homeowners weighing the timing of a sale, or considering ways to document improvements before listing a longtime residence, generally benefit from working through the specific numbers with a tax professional before signing a purchase agreement.

This article was researched and drafted with the assistance of AI and reviewed by The Financial Wire editorial team.

More Financial Reading

Leave a Reply

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