Home Sale Gain Over the $250,000/$500,000 Exclusion: What's Taxed and How to Spread It
Under IRC §121 you can exclude up to $250,000 of gain on your main home ($500,000 married filing jointly) if you owned and lived in it 2 of the last 5 years. Gain above that is long-term capital gain, taxed at 0%, 15% or 20%, plus the 3.8% NIIT and state tax. An installment sale can spread the taxable excess.
Hans Goldstein works with long-time homeowners whose gain is well past the exclusion. Email hans@goldsteinco.net or call 213-340-2018.
How much of the gain does §121 exclude?
Anything the exclusion does not cover is taxable gain reported on Form 8949 and Schedule D, or on Form 6252 if you are paid over time.
What is taxed on the gain above the exclusion?
- Federal capital gain tax: 0%, 15% or 20% depending on taxable income. For 2026 joint filers, the 15% band runs to $613,700 of taxable income and 20% applies above it (Rev. Proc. 2025-32).
- Net investment income tax: 3.8% on the lesser of the taxable gain or the amount by which modified AGI exceeds $250,000 joint ($200,000 single) (§1411). The excluded gain is not counted; the taxable excess is. The thresholds are not indexed, and at high income the NIIT is not avoidable; spreading the gain only keeps more years under the line.
- State tax: most states tax the gain as ordinary income. California has no capital gains rate; the gain is taxed at your regular California rate.
- Medicare IRMAA: a large gain raises modified AGI, which sets Medicare premiums two years later. See capital gains and IRMAA.
What is the tax bill on your sale going to be?
Send me the sale price and rough basis. Within one business day I'll email you the actual number and the Seller's Guide to §453. If it doesn't fit your deal, I'll tell you that plainly.
No retainer · no obligation. Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.
Two points that come up constantly. The taxable excess on a home is not passive income, so suspended passive losses from rentals cannot absorb it (CCA 201428008); capital losses can, including carryforwards (§1211(b), §1212(b)). And a home sold at a loss gets no deduction; the loss is personal.
What does the worked example look like?
Illustrative facts: a married couple bought their home in 1998 for $300,000 and added $100,000 of improvements. They sell in 2026 for $1,650,000 and pay $100,000 of selling costs. They never rented it. Their other taxable income is $80,000 (AGI about $112,200).
- Gain: $1,650,000 minus $100,000 costs minus $400,000 basis = $1,150,000
- Excluded under §121: $500,000
- Taxable gain: $650,000
Sold for cash in 2026. Federal tax on the $650,000: $18,900 at 0%, $514,800 at 15% and $116,300 at 20% = $100,480. NIIT: modified AGI of $762,200 is $512,200 over the threshold, times 3.8% = $19,464. Federal total about $119,944, before state tax.
Installment sale over 5 years. On Form 6252 the excluded gain comes out of gross profit: line 14 gain $1,150,000, line 15 excluded gain $500,000, line 16 gross profit $650,000. With no debt assumed by the buyer, the contract price is the $1,650,000 selling price, so the gross profit percentage is $650,000 / $1,650,000 = 39.39%. The seller takes $330,000 of principal at closing and $330,000 a year for four more years.
The spread saves about $36,600 of federal tax on the gain in this example. Interest on the deferred payments is ordinary income and also counts toward the NIIT threshold, so the real installment figure is somewhat higher; your CPA should run it with your rate and schedule. The mortgage you pay off at closing out of the proceeds is not assumed by the buyer, so it does not change the contract price; only debt the buyer assumes, to the extent it exceeds basis, would be a year-one payment (Temp. Reg. §15a.453-1(b)(3)(i)).
How can you spread the taxable excess?
Seller financing. You carry a note for part of the price and report the gain as principal arrives (§453, Pub 537). The risks: the buyer can default, and foreclosing on a house you used to live in is slow and costly; the buyer can refinance and pay you off in one year, pulling the rest of the gain forward; and when the buyer will live in the home, federal lending rules can limit how you structure the note. See seller financing tax implications.
Structured installment sale. The buyer pays the full price at closing, usually with a normal mortgage. Before closing, you agree to take part of your proceeds as scheduled payments from an assignment company funded by an annuity from an A-rated insurer. The payment schedule is set in the contract, the payments depend on the insurer's claims-paying ability, and the gain lands in the years the payments arrive. The trade-offs: it must be set up before closing; the schedule is locked (no speeding up, borrowing against or cashing out, which is what protects the deferral); payments depend on the assignment company and the insurer behind it; the installment method is settled law, but this specific assignment structure has no published IRS ruling, so your CPA or tax attorney should review it; and a commission is built into the pricing. See what a structured installment sale is.
Retirees with little other income can also use the 0% band: in 2026 a joint return pays 0% on long-term gain up to $98,900 of taxable income. See the senior zero capital gains strategy.
Frequently asked
Q: Is the gain on my house taxable if it is over $500,000? A: Only the part above the exclusion. With a $500,000 exclusion and an $800,000 gain, $300,000 is taxable long-term capital gain, plus NIIT if your modified AGI is over the threshold, plus state tax.
Q: Can I use an installment sale on my primary residence? A: Yes. The installment method applies to the taxable part of the gain. The excluded gain is removed from gross profit on Form 6252 line 15, so only the taxable excess is spread over the payments.
Q: Does the 3.8% NIIT apply to a home sale? A: Not to the excluded gain. The taxable excess is net investment income, and the tax applies to the lesser of that gain or your modified AGI above $250,000 joint ($200,000 single).
Q: I rented the house before I lived in it. What changes? A: Two things. Depreciation after May 6, 1997 is taxed as unrecaptured §1250 gain at up to 25% and cannot be excluded (§121(d)(6)), and periods of nonqualified use after 2008 reduce the excludable share of the gain (§121(b)(5)).
Q: Can suspended rental losses offset my home sale gain? A: No. The taxable excess on a personal residence is not passive income (CCA 201428008). Capital losses and capital loss carryforwards can offset it.
Q: What if I sell before living there 2 years? A: You may qualify for a partial exclusion if the sale is due to a change of employment, health or unforeseen circumstances (§121(c)). Otherwise the whole gain is taxable, short-term if you held it a year or less.
What should you read or run next?
- Real estate capital gains calculator with the §121 home mode
- Capital gains calculator
- Capital gains exit calculator
- Net investment income tax
- Form 6252 explained
- Structured installment sale guide
- IRC Section 453
- All SIS calculators and tools
Who wrote this?
Find out what your sale is really going to cost you in tax, and what you can do about it
No retainer. On a funded structure, the insurer pays a one-time commission of about 4% of the amount structured to the brokerage firm that places it (Hans’s share is about 2.4%; no trail). It is built into the annuity pricing, not a separate fee.
Find out what your tax bill actually looks like before you sell, including the parts your CPA may not raise until the return is already being prepared.
Most people find out what they owe after the sale closes, when nothing can be changed. A short conversation now tells you the number, which layers apply to your situation, and which options are still open while the sale is still in front of you.
- What you will actually owe: federal, the 3.8% surtax, recapture and your state
- Which of those layers you can still do something about
- Whether spreading the sale changes the number in your case
Hans Goldstein · 213-340-2018 · Hans Goldstein: Tax & Exit Planning · This is an educational conversation, not tax advice. Bring your CPA in before you file.
Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.
Run your specific numbers
The calculator runs your sale through real 2026 federal + state tax brackets and shows §453 savings vs lump sum side-by-side.
Run the calculator → 213-340-2018