⭐ Part of the Wealth Pathway
These strategies work together in our 8-step Wealth Pathway.
See how cost seg + bonus + material participation + §1031 + step-up basis compound. With IRC citations.
See the full playbook →
★ Real Estate Strategy

§121 Primary Home Exclusion

"$500,000 of tax-free profit on the family home. Every 2 years if you live in it. Combine with a duplex house-hack and you defer the rental side, too."

Typical Savings: Up to $119K (federal+state) Difficulty: ★☆☆☆☆ Audit Risk: Low Best For: Any homeowner with appreciation

The 60-second pitch

Sell your primary residence and exclude $250,000 of gain if single, or $500,000 of gain if married filing jointly — completely federal-tax-free. This is the single biggest tax break ordinary Americans get, and most homeowners use it once in their lives without thinking about it. Sophisticated owners use it three or four times.

The rules under §121 are clean:

Ownership test: You owned the home for at least 2 of the last 5 years.
Use test: You used it as your principal residence for at least 2 of the last 5 years.
Frequency rule: You haven't excluded a gain under §121 in the prior 2 years.

Beyond the standard exclusion, there are three power plays:

(1) Partial exclusion for unforeseen circumstances (job, health, divorce) — even if you don't hit 2 years.
(2) "Live in your rental" conversion — move into a rental, hit the 2-year use test, and unlock §121 on what was a passive property.
(3) Duplex house-hack — live in one unit (§121 on that half), rent the other (§1031 on that half) when you sell.

The §121 exclusion has no inflation adjustment — it's been $250K/$500K since 1997. With appreciation, more sellers now bump up against it. Plan the sale.

Real-world example

Carlos & Diane · Empty-Nesters Downsizing · Denver

The setup. Carlos and Diane bought their Wash Park bungalow in 2008 for $385,000. They put $120K into renovations over 17 years (adds to basis). Adjusted basis: $505,000. In June 2025, with the kids out of the house, they sell for $1,180,000. Selling costs: $70K. Net proceeds: $1.11M.

The gain math. Amount realized $1,110,000 − adjusted basis $505,000 = $605,000 gain.

The §121 exclusion. They've lived in the home as their principal residence for 17 of the last 17 years and haven't used §121 within the prior 2 years. They qualify for the full $500,000 MFJ exclusion.

The result. Of the $605K gain, $500K is excluded under §121 and disappears federally. The remaining $105,000 is long-term capital gain, taxed at 15% federal LTCG ($15,750) + 3.8% NIIT on a portion ($3,990) + 4.4% Colorado ($4,620). Total tax: ~$24,360.

Without §121: $605K full LTCG, total federal+state tax would be ~$143,000. Savings from §121: ~$119,000.

The replay. They buy a new condo in Boulder for $720K, live in it 2 years, and sell for $920K. Another $200K gain — entirely excluded under §121. They can do this every 2 years for the rest of their lives.

Federal tax excluded (year 1)
$119,000
Lifetime exclusion potential
Unlimited

The step-by-step checklist

  1. Confirm 2-out-of-5-year ownership AND use. You can move out and rent for up to 3 years and still qualify — as long as you used it as primary for 2 of the last 5 prior to sale. The days don't have to be consecutive.
  2. Track your adjusted basis carefully. Original purchase price + closing costs + every capital improvement (kitchen reno, new roof, addition, finished basement). Subtract: any prior depreciation taken (if you ever rented it). Most sellers under-track this and overpay tax.
  3. Document the principal residence claim. Driver's license, voter registration, mail, utility bills, banking address — all at the property during the use years. The IRS uses "facts and circumstances" — a paper trail wins.
  4. Sell BEFORE moving out, when possible. Once you move out, the clock starts on the 3-year tail (you must have lived there 2 of the last 5). Some sellers wait 4 years and accidentally disqualify.
  5. If selling at a partial qualification (job change, health, unforeseen circumstance), claim the partial exclusion under §121(c): prorated based on the months of ownership/use as a fraction of 24.
  6. Watch for nonqualified use periods under §121(b)(5). Any period the home was used non-primarily AFTER January 1, 2009 (e.g., rented before you moved in, or used as a vacation home) reduces the exclusion proportionally. Time as primary residence followed by rental does NOT trigger this — only nonqualified use that's not "transition out."
  7. For duplex / house-hack: split the basis. Allocate basis between the personal-residence unit (your half) and the rental unit (their half) using square footage or another reasonable method. §121 applies to your half. §1031 (if you exchange) applies to the rental half.
  8. Recapture any §1250 depreciation on a previously-rented portion. The §121 exclusion does NOT cover depreciation recapture — that's always taxable up to 25%. Compute and report on Form 4797.
  9. File Form 8949 + Schedule D reporting the gain and the §121 exclusion. The exclusion is a negative adjustment in column (g) with code "H."
  10. Plan the 2-year clock for the next sale. The frequency rule under §121(b)(3): can't claim §121 again within 2 years of the prior §121 sale. Plan accordingly if you "serial house-hack."
  11. For widows/widowers: a surviving spouse can claim the $500K MFJ exclusion for up to 2 years after the deceased spouse's death (per §121(b)(4)) — a critical planning window for older clients.
  12. If the gain exceeds the exclusion, consider an installment sale under §453 to spread the taxable portion. Or, if there's a rental portion, layer in a §1031 on that half.

IRS code & authority

Audit risk flags

When NOT to do this

Stack §121 and §1031 on the duplex you live in

PilePilot's Books agent tracks basis improvements on your home, computes the split-allocation if you house-hack a duplex, and flags the §121 exclusion exactly when you can use it. Built for small businesses who's done this play.

Start your free trial →

No credit card. Your data is private and isolated — export or delete it anytime.

Disclaimer. The §121 exclusion is one of the most common — and most miscomputed — tax provisions. Common errors: forgetting depreciation recapture on a prior home-office year, missing the post-2009 nonqualified use prorate, claiming the exclusion within 2 years of a prior claim. Always coordinate with a tax professional before listing.