Free · Nonprofit · Education only · Retirement Literacy Foundation reviewed

Selling a long-held home: the gain past $500,000, and what to do with it

A house bought in 1985 and sold in 2026 in coastal California can carry a $1.5 million gain. The exclusion covers the first $500,000 for a couple. The rest is taxed, and most sellers never rebuild their basis.

By , founder, Retirement Literacy Foundation · Updated
Admitted to practice before the IRS.

Short answerIn this page's 2026 example, a California couple sells a home bought for $300,000 in 1985, with $150,000 of improvements, for $2,200,000. After the $500,000 exclusion they owe about $354,000: about $198,000 federal capital gains tax, $38,000 net investment income tax and $118,000 California tax (IRS Rev. Proc. 2025-32; last reviewed October 10, 2026).

Free Big Sale Tax Worksheet

One page that shows every tax layer on your sale: federal capital gains, depreciation recapture, the 3.8% net investment income tax, and state tax.

Free education from a 501(c)(3) nonprofit. Nothing is sold.

The number

How much tax do you owe selling a home with a large gain?

Home bought for $300,000 in 1985, $150,000 of improvements, sold for $2,200,000, married couple, California, 2026

LayerRate (source below)Amount
Gain after $500K exclusion (about $1.25M)15% / 20%about $198,000
Net investment income tax3.8% above $250,000 MAGIabout $38,000
California (whole taxable gain)1% to 12.3%, plus 1% over $1 millionabout $118,000
Totalabout $354,000

Rounded, illustrative, assumes no other income and no selling costs in the year of sale. Federal: 2026 brackets and $32,200 standard deduction (IRS Rev. Proc. 2025-32); California: 2026 FTB rate schedules (FTB Tax News, October 2026). See Sources and review at the bottom of the page.

The options, in plain language

How can you pay less tax or spread it out?

  1. Rebuild the basis. Every improvement since purchase (roof, kitchen, additions, landscaping, solar) adds to basis. Sellers routinely leave $100K to $300K of basis on the table.
  2. Section 453 installment sale. A primary residence above the exclusion can be sold on an installment basis; the taxable slice is spread across years, keeping each under the 20% and 3.8% lines. In a structured version the buyer pays cash and a third party makes the payments.
  3. Widow or widower timing. A surviving spouse keeps the $500,000 exclusion for 2 years after the death, and half the house got a step-up (all of it in community-property states). Selling inside that window can erase most of the gain.
  4. Convert to a rental first, then 1031. Rent it 1 to 2 years, then exchange. The $500K exclusion still applies to the residence gain; the exchange defers the rest. Slow, but it works.
  5. Charitable remainder trust. Deed a share of the house to a CRT before listing. Untaxed sale of that share, income for life, deduction now.
Who this is written for: people who have owned the asset for years, often decades, and are selling once, usually around retirement. If you are buying and selling frequently, different rules (dealer status, ordinary income) apply and this page is not for you.

Six questions to bring to your CPA

  1. What is my basis with every improvement since purchase?
  2. Community property step-up if my spouse died, and when?
  3. Taxable gain after the exclusion, and NIIT this year?
  4. Installment sale across 3 years: year-one vs total tax?
  5. Rent-then-1031: does the exclusion survive?
  6. Do I need to make an estimated payment the quarter I close?

The deadlines that decide it

  • Section 121: 2 of the last 5 years as your main home.
  • Surviving spouse: sell within 2 years of the death for the $500K.
  • Installment terms: in the contract.
  • Rental conversion before a 1031: at least a full year of real rental use.

Common questions

Straight answers

Is the exclusion $250,000 or $500,000?

$250,000 per qualifying owner; $500,000 married filing jointly if both meet the use test.

Do I pay tax on the whole sale price?

No, on the gain: price minus basis (purchase plus improvements) minus selling costs minus the exclusion.

Can I do a 1031 on my home?

Not while it is your residence. After a genuine period as a rental, the rented portion can be exchanged.

What if I inherited half from my spouse?

That half (or all, in a community property state) got a new basis at death. Many sellers overpay by forgetting this.

Related on RLF: Selling the house to pay for a nursing home · Reverse mortgage vs HELOC vs selling · How much long-term care costs

Audit trail

Sources and review

Reviewed for the Retirement Literacy Foundation, a 501(c)(3) education nonprofit. Prepared by Hans Goldstein, EA, retirement educator. Admitted to practice before the IRS. Informational only. Not tax, legal or investment advice. Every figure below cites its source so your CPA or attorney can check it.

Figures are 2026 federal and 2026 California amounts unless stated. Examples are illustrative, rounded, and assume no other income; your numbers will differ. Last reviewed October 10, 2026.

Get the one-page cheat sheet + a seat at the workshop

The cheat sheet for this exact situation lands in your inbox now. The live Zoom class is Thursday, October 22, 2026, 4:00 PM PT / 7:00 PM ET. Free, nonprofit, nothing sold.

We use your contact information to send the cheat sheet, the Zoom link and the recording. The Foundation does not sell your information and does not sell products.

Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS.