Converting a 1031 Exchange Property to a Primary Residence
Yes, you can move into a property acquired through a 1031 exchange and eventually sell it with the Section 121 home-sale exclusion — but three tax rules stack on top of each other, and only a fraction of the deferred gain may actually be excluded. Here is the math before you commit to the strategy.
The three rules that apply simultaneously
Two tax statutes govern this strategy, and one of them splits the gain into two parts before §121 can touch any of it.
| Rule | Requirement | Source |
|---|---|---|
| 5-year minimum hold | Property acquired via 1031 exchange must be held at least 5 years before §121 exclusion applies | IRC §121(d)(10)1 |
| 2-of-5 primary use | You must have lived in the home as your principal residence for at least 2 of the last 5 years before the sale | IRC §121(a)2 |
| Non-qualifying use proration | The §121 exclusion ($250,000 single / $500,000 MFJ) applies only to gain attributable to the primary-use years — investment-use years are always taxable | IRC §121(b)(5)3 |
What Section 121 never excludes
Even if you satisfy both timing requirements and the full exclusion is available, two categories of gain remain taxable:
- §1250 unrecaptured depreciation: All depreciation taken (or allowable) on the property during its investment use — including any §1250 gain carried forward from the relinquished property in the original exchange — is taxed at up to 25% federal plus 3.8% NIIT. Section 121 does not shield any of it.4
- Non-qualifying use gain: The portion of appreciation attributable to the years the property was held as an investment — not as a primary residence — is taxable at long-term capital gains rates (20% + 3.8% NIIT for investors above the NIIT threshold).
The maximum §121 exclusion can only offset the qualifying-use portion of the post-recapture gain — which, on a property held mostly as investment before conversion, may be a small fraction of the total.
How the proration calculation works
The non-qualifying use fraction equals the years the property was not your principal residence divided by your total holding period. This ratio is applied to the total gain after removing depreciation recapture:
Non-qualifying gain = (Investment-use years ÷ Total holding years) × (Total gain − Depreciation recapture)
Qualifying gain = Remaining gain × Primary-use fraction — eligible for §121 exclusion
Because the property was acquired through a 1031 exchange, the first use is necessarily the investment period required by that exchange. The proration denominator starts running from the 1031 acquisition date.
Worked example: 3 years rental, 2 years primary
An investor completes a 1031 exchange in January 2021. The replacement property carries over a tax basis of $520,000 and has a market value of $980,000 (building $830,000, land $150,000). The property is rented for three years. The investor moves in as primary residence in January 2024 and sells in January 2026 — exactly five years after acquisition.
| Adjusted basis at time of sale | |
|---|---|
| Carryover basis from 1031 exchange | $520,000 |
| Depreciation during rental period ($830,000 ÷ 27.5 × 3 years) | ($90,545) |
| Adjusted basis | $429,455 |
| Total gain | |
|---|---|
| Sale price | $1,500,000 |
| Adjusted basis | ($429,455) |
| Total realized gain | $1,070,545 |
| Gain layer | Amount | Federal rate | Federal tax |
|---|---|---|---|
| §1250 depreciation recapture (always taxable, §121 does not apply) | $90,545 | 25% | $22,636 |
| Non-qualifying use gain (3 ÷ 5 × $980,000 remaining) | $588,000 | 20% LTCG | $117,600 |
| Qualifying use gain (2 ÷ 5 × $980,000) — excluded under §121 MFJ | $392,000 | Excluded | $0 |
| Total federal income tax (before NIIT) | $140,236 |
Adding 3.8% NIIT on the $678,545 of taxable investment income (recapture + non-qualifying gain) adds approximately $25,785, bringing total federal exposure to roughly $166,000 on a $1,500,000 sale. State income tax applies separately.
Carryover depreciation from prior exchanges
The worked example above assumes the $520,000 carryover basis already reflects depreciation from prior properties. In a chain of multiple 1031 exchanges, the full §1250 recapture position accumulates in the current basis. When you eventually sell:
- All prior §1250 gain from every exchange in the chain is taxable at up to 25% federal.
- Section 121 does not offset any portion of it.
- The longer the exchange chain, the larger the embedded recapture — and the less attractive the conversion strategy becomes relative to holding for the step-up.
Before committing to a conversion, reconstruct the full depreciation history across every exchange in the chain. This is typically a CPA project and should be completed before the 5-year clock expires.
When the strategy makes sense — and when it does not
| Conversion is more compelling when… | Conversion is less compelling when… |
|---|---|
| You genuinely want to live in the property | The only goal is tax elimination — the step-up does this more completely |
| §121 exclusion ($500K MFJ) covers a large share of qualifying-use gain | Embedded §1250 recapture from multiple exchanges dominates the gain |
| Your estate plan does not depend on a step-up to wipe out deferred gain | You have heirs who would inherit a stepped-up basis anyway |
| The 5-year hold and 2-year primary use align naturally with your lifestyle plans | You cannot commit to the 5-year hold — missing it forfeits §121 entirely |
| Property is a single-family home or small multifamily you can exclusively occupy | Property is commercial or mixed-use — partial-business-use rules further reduce the exclusion |
What a financial advisor models for you
The conversion decision turns on four numbers that interact: total embedded §1250 recapture across the exchange chain, the non-qualifying use ratio, the applicable §121 exclusion, and what the net-of-tax capital would compound to in a diversified portfolio. A fee-only financial advisor coordinates that analysis with your CPA, avoids a rushed conversion that wastes the step-up, and evaluates state tax complications — California's Franchise Tax Board, for example, applies its own recapture rules that do not mirror the federal §121 calculation.
- Side-by-side model: convert now vs. hold and exchange again vs. hold until death
- Depreciation history reconstruction across all prior exchanges
- State income tax estimate (varies significantly by state)
- Charitable alternatives (charitable remainder trust, QCD) if large gain remains after §121
Sources
- IRC §121(d)(10) — Five-year holding requirement for property acquired in a §1031 exchange, added by the Housing Assistance Tax Act of 2008, P.L. 110-289. law.cornell.edu/uscode/text/26/121
- IRC §121(a) and §121(a)(2) — Principal residence exclusion of $250,000 (single) / $500,000 (MFJ); 2-of-last-5-years ownership and use requirements. Exclusion limits unchanged by OBBBA (2025). law.cornell.edu/uscode/text/26/121
- IRC §121(b)(5) — Limitation on excludable gain for periods of non-qualifying use; proration formula. law.cornell.edu/uscode/text/26/121
- IRC §121(d)(6) — §121 exclusion does not apply to gain attributable to depreciation deductions under §1250. IRS Publication 523 (2025), Selling Your Home, Chapter 3. irs.gov/publications/p523
- IRC §1014 — Basis of property acquired from a decedent (step-up to fair market value). $15M estate exemption per OBBBA (2025). law.cornell.edu/uscode/text/26/1014
Rules reflect IRC §121 and §1031 as in effect for 2026. Tax rates per IRS Rev. Proc. 2025-32 (§1250 max 25%, LTCG max 20%, NIIT 3.8%). Verified June 2026 — consult a qualified tax professional before converting or selling any exchange property.
Get matched with a specialist financial advisor
Conversion strategies involve the full depreciation history across every exchange in your chain, state tax complications, and the step-up-at-death tradeoff. Tell us about your situation — we will match you with a fee-only advisor who can model every exit path.