The retirement version of this plan is everywhere. Exchange into a property in the town where you want to end up, rent it for a few years, then move in and let the primary-residence exclusion erase the gain.
Half of that plan is real. The other half is a tax bill most articles never mention. Here are the three constraints, in the order they'll affect you.
Constraint one: the 5-year ownership floor
Normally, selling a primary residence you've owned and lived in for 2 of the last 5 years excludes up to $250,000 of gain, or $500,000 married filing jointly.
When the home was acquired through a 1031 exchange, Section 121(d)(10) adds a floor: no exclusion at all unless you've owned the property for at least 5 years after the exchange. Move in after one year of renting, live there two more, and sell at year four, and nothing is excluded. The clock is ownership, not residency, and it doesn't negotiate.
Constraint two: the exclusion is prorated
This is the one that surprises people who did wait.
Under Section 121(b)(5), the years the property spent as a rental after 2008 are "non-qualified use." The gain gets split proportionally between rental years and residence years, and only the residence-years portion is eligible for the exclusion.
Illustrative math. You exchange into a property and rent it for 4 years, then live in it for 6, then sell with a $300,000 gain after setting aside depreciation recapture. Four of ten ownership years are non-qualified use, so roughly $120,000 of the gain is ineligible regardless of the exclusion. The remaining $180,000 falls under the $250,000 or $500,000 cap. Good outcome. Not the "the gain disappears" outcome the plan promised.
Constraint three: recapture never dies
Every year a property runs as a rental, you take depreciation deductions, and the IRS keeps a tab. At sale, that tab comes due, and Section 121 never shields it. Not after 5 years, not after 20. Straight-line depreciation on the building is taxed at up to 25%. If you used cost segregation or bonus depreciation, the depreciation on those faster components is taxed at ordinary income rates. Whatever depreciation you claimed during the rental years, on this property and rolled forward from the one you exchanged out of, gets recaptured when you finally sell.
Budget for it from the start and it's a known cost. Discover it at closing and it feels like a penalty.
Documenting the rental years: the safe harbor
One more requirement sits underneath all of this. The exchange itself was only valid if the replacement property was held for investment. Buy it, move in immediately, and you've handed the IRS an argument that it never was, which threatens the original deferral, not just the exclusion.
The clean way to document intent is the Rev. Proc. 2008-16 safe harbor: own the property for at least 24 months after the exchange, and in each of the two 12-month periods, rent it to someone else at a fair rental for at least 14 days and cap your personal use at 14 days or 10% of the days rented, whichever is greater. Meet that and the IRS will not challenge whether the property was held for investment.
In practice: two full years as a real rental, then convert. Which fits the 5-year ownership floor anyway.
What the plan looks like done right
Year 0, exchange into the property, debt matched, no boot. Years 1 and 2, operate it as a genuine rental inside the safe harbor. Year 3 or later, move in. Year 5 at the earliest, and realistically later, sell with the prorated exclusion and a known recapture bill, or don't sell at all.
That last option deserves more attention than it gets. Hold the property until death and the stepped-up basis generally wipes out both the deferred gain and the recapture for your heirs. For some investors the right answer is that the "sell" step never comes. That's the compounding logic of the exchange carried to its conclusion. For those weighing it, here is when to sell a rental property.
Every number above is illustrative, and this sequence has more moving parts than any other move in the rental tax playbook. Run the actual math with a CPA who has done conversions before, ideally before the exchange, not five years into it.
Lineage does not give tax or legal advice. Exclusion math depends on individual facts, dates, and filing status. Your qualified intermediary and CPA confirm how these rules apply to your exchange and your sale.
Frequently asked questions
The safe harbor covers the 24 months after the exchange: in each of two 12-month periods, at least 14 days rented at a fair rental, with limited personal use. Combined with the 5-year ownership floor, most planned conversions rent for at least 2 years. Your CPA confirms the timing for your property.
Usually not. The exclusion is prorated: gain attributable to rental years after 2008 is ineligible. Only the residence-years share of the gain counts toward the cap, and depreciation recapture is set aside before that split.
The exclusion never covers it. Straight-line depreciation on the building taken during rental use is taxed at sale at up to 25%, and depreciation on cost-segregated or bonus-depreciated components is taxed at ordinary income rates, regardless of how long you lived in the property.
If it's held as an investment property at the time, yes. A property can move through multiple exchanges over a lifetime. A property you currently live in as your home generally cannot be exchanged.
It can. Immediate personal use undermines the investment-intent requirement the exchange depended on. That's the risk the safe harbor exists to address.