← Back to Countries
πŸ‡ΊπŸ‡Έ United States  Β·  6 min read  Β·  Published 2026-09-07  Β·  Updated 2026-09-07
Sources last verified: 2026-09-07

Half a Million Tax-Free, and Then the Part Nobody Planned For

Selling the family home is the largest single transaction most households ever complete, and the tax treatment is unusually generous: up to $500,000 of gain excluded outright for a married couple. The trouble is that generous is not the same as unlimited. After thirty years in the same house, in the right postcode, the gain can exceed the exclusion β€” and the receipts that would have reduced it went into a skip two moves ago.

60-SECOND ANSWER
You can exclude up to $250,000 of gain on the sale of a main home, or $500,000 filing jointly, provided you owned and lived in it for at least two of the five years before the sale. Gain above that is a long-term capital gain.

Where the AI summary above gets this wrong

"You can sell your house tax-free once you are over 55."

That's surface-true. Here's what it misses:

β†’ See what falls outside the exclusion

01 The test, and what counts as your main home

The exclusion requires that you owned the property and used it as your main home for at least two of the five years ending on the sale date. The two years of use need not be continuous, and the ownership and use periods do not have to coincide.

For a married couple filing jointly to claim the full $500,000, either spouse may satisfy the ownership test, but both must meet the use test, and neither may have excluded gain on another home in the two years before the sale.

There is no age requirement. The old rule that tied a housing exclusion to being over 55 was repealed decades ago and survives only in conversation β€” but it survives tenaciously, and it leads people to think they must wait, or that they have already used their one chance.

Source: Topic no. 701, Sale of your home

02 Basis is where the long-term owner wins or loses

Gain is the sale price, net of selling costs, minus your adjusted basis. Basis starts at what you paid and rises with capital improvements β€” an addition, a new roof, a replaced heating system, landscaping that adds value. Ordinary repairs and maintenance do not count.

Over thirty years those improvements can add a very large sum, and every dollar of them reduces the taxable gain. The problem is documentary: claiming them requires records, and almost nobody keeps invoices for a kitchen replaced in 2004 because at the time there was no reason to.

If a sale is a realistic prospect, reconstructing what can be reconstructed is worth real money. Contractor records, permit filings, bank statements and old insurance valuations all help, and they are easier to obtain before the sale than during the year it is being reported.

Source: Publication 523, Selling Your Home

03 What the excess gain sets off

Gain above the exclusion is a long-term capital gain, taxed on the long-term schedule rather than as ordinary income. On a large sale that is likely to mean the 15% band or higher, since the gain itself pushes you up through it.

The second-order effects are the ones that catch people. The gain raises adjusted gross income for the year of sale, and Medicare premiums are set from income two years earlier β€” so a sale at 63 can produce an IRMAA surcharge at 65 that appears unconnected to anything. The mechanism is set out in IRMAA surcharges, and a one-off event like this is exactly what the life-changing-event appeal does not cover.

Two further traps. If the home was ever rented, depreciation allowed or allowable is recaptured and is not covered by the exclusion, regardless of whether you actually claimed it. And a surviving spouse can generally claim the full $500,000 if the sale occurs within two years of the death β€” a deadline worth knowing before it passes unnoticed.

WORKED EXAMPLE β€” Try the numbers

Shows: how much of the gain on a home sale is sheltered by the exclusion and what is taxed above it. Ignores: state tax, depreciation recapture if the home was ever rented, and the effect of the gain on Medicare premiums two years later.

Tax on the gain above the exclusion
$7,500
A $550,000 gain with a $500,000 exclusion leaves $50,000 taxable β€” about $7,500 at 15%.

Source: Topic no. 409, Capital gains and losses

The recurring loss here is not tax planning, it is filing. Households that stayed in one house for thirty years usually did the improvements β€” the extension, the roof, the rewiring β€” and cannot prove any of it, so basis stays at the 1994 purchase price and the gain is overstated by six figures. If you own a home you expect to sell one day, the single highest-value hour you can spend is putting every improvement invoice you still have into one folder and writing down the ones you remember but cannot document. It is not glamorous and it is worth more than most investment decisions.

β€” Jordan Reeves, founder

FAQ

How much gain on my home is tax-free?

Up to $250,000 for a single filer and $500,000 for a couple filing jointly, provided you owned and used the property as your main home for at least two of the five years before the sale. Gain above that is a long-term capital gain.

Do I have to be over 55 to use the home sale exclusion?

No. The age-based rule was repealed decades ago. The current exclusion has no age condition and is not once in a lifetime β€” it can be claimed repeatedly, generally no more often than once every two years.

Will selling my house affect my Medicare premiums?

It can. Gain above the exclusion raises your adjusted gross income for the year of sale, and Medicare premiums are set from income two years earlier. A sale in your early sixties can therefore produce an IRMAA surcharge a couple of years later.

Sources

Regulator references

Calculator unit tests Β· the assertions this page's worked example is checked against, and their last result

Changelog

Run this rule against your situation

See what this rule does to your own projection β€” month by month, to age 90.

Join the Waitlist
Jordan Reeves

Jordan Reeves

Founder of Talk Through Wealth. A software engineer for over a decade before turning to retirement planning, Jordan built the projection engine after watching family members get fragmented, country-by-country advice that never reconciled. He writes about retirement the way the engine computes it: month-by-month, lifetime-long, and skeptical of any rule of thumb that hasn't been run through the math.

More from Jordan β†’ Β· LinkedIn

Disclaimer: General information for US residents, not personal financial advice. Figures use 2026 IRS rules and assumptions you can change in the worked example. Your situation may vary β€” consider speaking with a licensed financial adviser before acting.