CPA-led 1031 exchange guide
The 1031 Exchange 5 Year Rule
The 1031 exchange 5 year rule is shorthand for two adjacent tax rules investors confuse: how long you must hold replacement property after a 1031 exchange to claim the Section 121 home-sale exclusion, and how long is long enough to defend the investment intent that lets you defer capital gains tax under Section 1031 in the first place. Short answer: Section 1031 itself does not impose a five-year holding period, but if you ever plan to exchange the replacement property into a primary residence and exclude gain under Section 121, you must own it for at least five years.

Where the 'five years' actually comes from
Section 121 — the rule that excludes up to $250,000 ($500,000 married filing jointly) of gain on the sale of a primary residence — was modified by the American Jobs Creation Act of 2004. If a property was acquired through a 1031 exchange and is later converted to a primary residence, the Section 121 exclusion is only available after the property has been owned for at least five years. That five-year ownership requirement is on top of the standard two-out-of-five-year use-as-a-primary-residence test.
What this means in practice
You cannot do a 1031 exchange into a single-family home, move in immediately, and exclude the gain two years later. The earliest realistic exit using Section 121 on 1031-acquired property is roughly five years after the exchange closing, and only if you've also lived in the property as your primary residence for at least two of those five years.
There is no statutory 1031 holding period
Section 1031 itself does not specify a minimum holding period for the relinquished property or the replacement property. The IRS looks at intent — was the property held for investment or productive use in a trade or business. Practitioners and the IRS in informal guidance have suggested at least one to two years of investment use to clearly establish intent. Some advisors use 24 months as a comfortable threshold, but it remains a facts-and-circumstances test.
Investment intent is what protects the exchange
The strongest defense for a 1031 exchange is a clear paper trail showing the property was acquired and held for investment — rental listings, lease agreements, depreciation taken on Schedule E, and a reasonable holding period. Plans to convert to personal use should be documented as developing later, not at the time of acquisition.
How the IRS describes earned income and unearned income, including rents and capital gains, is on the what is unearned income page.
Safe planning mindset
If your long-term plan includes converting 1031 replacement property to a primary residence, build margin into the schedule: hold it as a clear investment rental for a meaningful period, document it correctly, and only then consider conversion. The five-year Section 121 ownership window, combined with the two-out-of-five-year residence test, sets the floor.
Why CPA review matters here
The interaction between Section 1031 deferral and Section 121 exclusion is one of the most commonly misunderstood corners of real estate tax. A CPA-led tax advisor flags the conversion timeline before the exchange happens, so the long-term plan doesn't accidentally disqualify the strategy you bought the property to execute — and so you don't pay taxes you could have planned around.
Worked example — convert a 1031 replacement to a residence
Suppose you complete a 1031 exchange in January 2026 into a rental house. You rent it on a one-year lease through January 2028, then move in personally in February 2028. You decide three years later, in early 2031, that you want to sell. Section 121 won't help you — the property hasn't been owned for at least five years from the exchange close. Wait until at least January 2031 (five years of ownership) and ensure you've lived in it as your primary residence for at least two of the five years prior to sale, and the Section 121 exclusion becomes available on the residence portion of the gain. Capital gains tax on the appreciation prior to conversion is still allocable to investment use and is not excluded.
Worked example — convert a residence to a 1031 rental
Going the other direction is simpler under Section 1031 but still requires intent. If a former primary residence is converted to a rental, document it as a rental for a meaningful period (most practitioners use 12–24 months minimum) before the property is sold and a 1031 exchange begins. Without a clear investment-use period, the IRS may challenge whether the property qualifies as held for investment at the moment of the exchange.
Tax implications most investors miss
Even when the five-year ownership requirement is met, the Section 121 exclusion on a former 1031 replacement is limited. Gain attributable to depreciation taken on the rental period is not excluded — it remains taxable as unrecaptured Section 1250 gain. Gain attributable to non-qualified (investment) use after 2009 is also allocable and not excluded. A tax advisor walks through the basis calculation and allocation before you list the property so there are no surprises.
Frequently Asked Questions
Is there a statutory five-year rule under Section 1031?
No. Section 1031 itself doesn't impose a fixed holding period. The five-year reference comes from Section 121, which limits the home-sale exclusion on property previously acquired in a 1031 exchange.
How long should I hold 1031 replacement property?
There's no statutory minimum, but most practitioners are comfortable with at least 12–24 months of investment use to clearly establish intent. Longer is safer.
Can I move into a 1031 replacement and exclude the gain in two years?
No. To use the Section 121 exclusion on 1031-acquired property, you must own it for at least five years and meet the standard two-out-of-five-year residence test.
Does intent at the time of acquisition matter?
Yes. The IRS focuses on whether the property was acquired and held for investment. Documenting a clear rental history strengthens the position significantly.