Skip to main content

The Money Overview

A homeowner can pocket up to $250,000 of home-sale profit tax-free, and a married couple up to $500,000

Selling a longtime family home can produce a six-figure profit, and the tax code lets most owners keep a large share of it without owing capital-gains tax. A single seller can exclude up to $250,000 of gain from the sale of a main home, and a married couple filing jointly can exclude up to $500,000. Those ceilings are among the most valuable breaks available to older homeowners, but the exclusion is not automatic — it depends on two timing tests and a set of rules that decide whether the full amount, part of it, or none of it escapes tax.

The dollar ceilings and how the gain is measured

The break is built around a capital gain — the difference between the home’s adjusted cost basis and the net sale price — not the raw sale amount. According to IRS Topic no. 701, a taxpayer with a gain from the sale of a main home may exclude up to $250,000 of that gain from income, or up to $500,000 on a joint return with a spouse. Any profit above the applicable ceiling is taxed as a capital gain under the general rules the IRS summarizes in Topic no. 409.

Basis is where many sellers leave money on the table. The original purchase price, plus the cost of qualifying improvements made over decades of ownership, raises the basis and shrinks the taxable gain. A retiree who added a new roof, a renovated kitchen, or an addition can often document a basis high enough to bring a large sale comfortably under the exclusion. The IRS worksheets in Publication 523 walk through exactly which costs adjust basis.


Free retirement updates: Social Security and Medicare change every year, and nobody sends you a memo. Our free Retirement Shield newsletter breaks down what changed and what to do. Get it free in your inbox.

The ownership and use tests that unlock the break

Qualifying for the exclusion turns on two separate tests, both measured against the five years ending on the sale date. The ownership test is met if the taxpayer or a spouse owned the home for at least 24 months out of those last five years. The use test is met if the home was used as a residence for at least 24 months of the previous five years. The two years need not be continuous, and they need not be the same 24 months for ownership and use, as long as both tests are satisfied within the five-year window.

For a couple filing jointly, the rules split. Either spouse can satisfy the ownership test, but both spouses must individually meet the use test to claim the full $500,000. That distinction matters for a couple who married and moved into a house one spouse already owned; the newer spouse must still have lived there two of the last five years to double the exclusion.

A separate restriction caps how often the exclusion can be used. Generally, a seller is not eligible if the gain from another home sale was already excluded during the two-year period before the current sale. That two-year spacing rule prevents a homeowner from claiming the break repeatedly on a string of quick sales, and it shapes the timing decisions of anyone selling more than one property in a short span.

When part of a sale must be reported

Even a fully excludable sale sometimes has to appear on a tax return. If the seller receives an informational document such as Form 1099-S, Proceeds From Real Estate Transactions, the sale must be reported even when the entire gain qualifies for exclusion. A sale must also be reported whenever the gain cannot be fully excluded — for instance, when the profit exceeds the ceiling or the seller falls short on the ownership or use test. In those cases the taxable portion is reported on Schedule D and Form 8949.

The gap between the profit and the ceiling is where planning pays off. A widowed homeowner selling alone is limited to the $250,000 single exclusion, so a home that appreciated dramatically over decades can generate a taxable gain even after the break. Sellers in that position often review their basis carefully and, where relevant, weigh the special survivor rules that can preserve the larger $500,000 figure for a limited window after a spouse’s death.

Exceptions for service members and installment sales

The five-year clock can be paused for certain taxpayers. A homeowner, or a spouse, on qualified official extended duty in the uniformed services, the Foreign Service, or the intelligence community may elect to suspend the five-year test period for up to 10 years. That suspension helps service members who are stationed far from home for long stretches still meet the use test on a house they could not physically occupy.

The exclusion also survives an installment sale, in which the seller receives the price over more than one year. A seller who spreads payments across future years to defer some of the gain still keeps the home-sale exclusion available, layering the tax-free amount on top of the installment treatment. The details for that method sit in Publication 537 and the related installment-sale guidance.

For older Americans, the exclusion often represents the single largest tax-free event of their financial lives, converting decades of appreciation into cash that never reaches a capital-gains form. The unresolved variable is rarely the ceiling itself but the record-keeping behind it — whether a seller can document enough basis and enough months of ownership and use to bring a long-held, richly appreciated home under the line before the sale closes.

This article was researched and drafted with the assistance of artificial intelligence.

More Financial Reading