Section 121 vs 1031 Exchange
Two of the largest US real-estate tax preferences. Section 121 permanently excludes up to $250k / $500k of gain on a primary residence. Section 1031 defers unlimited gain on investment property by rolling it into a replacement. The two can be combined on dual-use property.
Side-by-side comparison
| Feature | Section 121 (Home Sale) | Section 1031 (Like-Kind Exchange) |
|---|---|---|
| Tax effect | Permanent exclusion | Deferral (basis carries forward) |
| Eligible property | Primary residence only | Investment / business real property |
| Cap on gain | $250k single / $500k MFJ | Unlimited |
| Holding-period requirement | Own + use 2 of last 5 years | Held for investment (no fixed minimum, but ~2 yrs is safe harbor) |
| Frequency limit | Once every 2 years | Unlimited (chain forever) |
| Replacement property required? | No — cash out | Yes — must close within 180 days |
| Identification window | N/A | 45 days from sale (in writing) |
| Qualified intermediary required? | No | Yes — cannot touch sale proceeds |
| Depreciation recapture treatment | Not excluded — taxed at up to 25% | Deferred into replacement basis |
| Step-up at death | Not relevant (gain already excluded) | Wipes out all deferred gain (key strategy) |
| Filing form | Form 1040 + Schedule D / Form 8949 if exclusion exceeded | Form 8824 (Like-Kind Exchanges) |
Worked example: $700,000 gain on a former-residence rental
A married couple owns a property they used as their primary residence for 5 years, then converted to rental for 3 years (taking $40,000 of cumulative depreciation). They sell for a $700,000 total gain. Compare three strategies — straight sale, Section 121 only, and Section 121 + 1031 combined per Rev. Proc. 2005-14:
| Strategy | Gain excluded | Gain deferred (1031) | Taxable now | Tax owed (20% LTCG + 25% recapture + 3.8% NIIT) |
|---|---|---|---|---|
| Straight sale (no Sec 121, no 1031) | $0 | $0 | $700,000 + $40k recapture | ~$178,000 |
| Section 121 only | $500,000 | $0 | $200,000 + $40k recapture | ~$59,000 |
| Section 121 + 1031 combined | $500,000 | $200,000 + $40k recapture | $0 | $0 today (deferred into replacement) |
Assumes the couple is in the top 20% long-term capital gains bracket (single filers: taxable income over $533,400 for 2025; MFJ: over $600,050) plus the 3.8% Net Investment Income Tax on the full gain, and the $40,000 of post-May-1997 depreciation is taxed as unrecaptured §1250 gain at the 25% cap. Filers in a lower LTCG bracket (0% or 15%) would owe less. The combined strategy requires identifying replacement investment property within 45 days of the rental-property sale and closing within 180 days. The depreciation recapture stays as recapture in the new property — a future sale (without another 1031) brings it back at 25%. If held until death, the heirs' step-up wipes it out entirely.
Frequently asked questions
What's the headline difference between Section 121 and 1031?
What property qualifies for Section 121?
What property qualifies for Section 1031?
What is the 2-of-5-year rule for Section 121?
What are the 45-day and 180-day rules in 1031?
Can I combine Section 121 and 1031?
What happens to depreciation recapture?
Which one is better?
Try the relevant calculators
- 1031 Exchange Calculator — model deferred gain and replacement-property basis
- Capital Gains Tax Calculator — short-term and long-term gain tax estimate
- Depreciation Calculator — MACRS schedule for rental and commercial
- Rental Income Tax — Schedule E with depreciation and passive loss rules
- NIIT Calculator — 3.8% Net Investment Income Tax on real-estate gain
- Estate Tax Calculator — federal estate tax + unified credit at death
- Property Tax Calculator — annual property tax by state