A 1031 exchange defers your tax. The home-sale exclusion erases it. Put the two together, in the right order and with enough patience, and you can convert a deferred tax bill into one that is partly forgiven outright. It is one of the most powerful sequences in the tax code. It is also one of the easiest to botch, because the rules that make it work are specific and unforgiving.
Here is the idea, and then the fine print that actually determines whether it pays off.
The strategy in one breath
You complete a 1031 exchange into a rental property, deferring your gain as usual. You hold and rent it as a genuine investment. Years later, you move in and make it your primary residence. Eventually you sell, and now you can use the Section 121 home-sale exclusion, up to $250,000 of gain tax-free for a single filer, $500,000 for a married couple, on top of everything the 1031 already deferred. Deferred, then partly excluded. That is the whole appeal.
Fine print #1: the five-year ownership rule
This is the one people miss. Normally the home-sale exclusion requires you to have owned and lived in the home for two of the last five years. But when the property came to you through a 1031 exchange, Section 121 adds a second requirement: you must own it for at least five years before the exclusion is available at all. Move in and sell after three years and the exclusion simply does not apply. The five-year clock is the price of admission for a property with a 1031 in its history.
Fine print #2: you must actually live there, two of five years
The ordinary use test still applies on top of the five-year ownership rule. You must use the home as your primary residence for at least 24 months out of the five years before the sale, and those months do not have to be consecutive. Living in it briefly to check a box will not do; this has to be your actual home.
Fine print #3: nonqualified use claws back the rental years
Even after you clear those hurdles, you do not get to exclude all of the gain. Since 2009, the exclusion does not cover gain allocable to periods of "nonqualified use," which is a technical way of saying the years the property was a rental rather than your home. The gain is prorated between qualified use (your residence years) and nonqualified use (the rental years), and only the residence-year portion is eligible for exclusion. The longer it was a rental before you moved in, the smaller the slice you can exclude.
Fine print #4: depreciation recapture is never forgiven
One piece of the bill never goes away. All the depreciation you took, or were entitled to take, during the rental years is recaptured and taxed when you sell, and the home-sale exclusion does not touch it. This is the same depreciation recapture that surprises owners in a straight sale, and it survives the conversion intact. Budget for it.
The order of operations matters most
The single most common way this strategy fails is moving in too soon. A 1031 exchange requires that you acquire the replacement property to hold for investment, not to live in. If you exchange into a house and move in a few months later, you have handed the IRS a strong argument that you never held it for investment at all, which can unravel the original exchange. The safe version is patient: exchange in, genuinely rent the property for a meaningful period, and only then, well down the road, convert it to your home. Intent at the time of the exchange is what matters, and a long, real rental history is how you prove it.
Who this is for
This sequence rewards the investor who is playing a long game and does not need the property to become a home tomorrow. Done right, over enough years, it stacks two of the best tax benefits in real estate on the same asset. Done impatiently, it can cost you both. Your CPA determines exactly how the proration and recapture shake out for your numbers, and this is emphatically a strategy to map with them before you exchange, not after you have already moved the furniture in. It is exactly the kind of long-horizon planning we build into our exchange process.
Frequently asked questions about converting a 1031 property to a residence
Can I 1031 exchange directly into a primary residence?
No. A 1031 replacement property must be acquired to hold for investment or business use, not to live in. You can convert a rental to a residence later, but you cannot exchange straight into a home.
How long must I own a former 1031 property before using the home-sale exclusion?
At least five years. Because the property was acquired in a 1031 exchange, Section 121 imposes a five-year ownership requirement in addition to the usual two-of-five-years use test.
Will I get to exclude all my gain?
No. Gain allocable to the years the property was a rental (nonqualified use) is not excludable, and depreciation recapture from those years is always taxable. Only the portion tied to your residence years, up to the exclusion limit, is eligible.
How long should I rent it before moving in?
There is no bright-line number, but a genuine, meaningful rental period is essential to show the property was held for investment. Moving in shortly after the exchange risks disqualifying the 1031 entirely. Plan the timeline with your CPA.
Does depreciation recapture go away when I convert to a residence?
No. The depreciation taken during the rental years is recaptured and taxed at sale regardless of the conversion. The home-sale exclusion does not shelter it.
