Can You Move Into a 1031 Exchange Rental? The Section 121 Five-Year Rule and Nonqualified Use
You can, with three hurdles: the replacement must really be held for investment first, a sale within 5 years of the exchange gets no $250,000 / $500,000 exclusion, and rental years reduce the exclusion proportionally while depreciation is taxed at up to 25%. Going the other way, a former home can use sections 121 and 1031 together.

You can move into a rental you acquired in a 1031 exchange and later sell it as your home, but there are three hurdles. First, the property must genuinely be held for investment when you acquire it; move in right away and the exchange itself can be challenged. Second, if you sell within 5 years of acquiring it in the exchange, the section 121 home sale exclusion ($250,000 single, $500,000 joint) isn't available at all. Third, even after 5 years, the rental years count as nonqualified use that reduces the exclusion proportionally, and the depreciation you took is taxed at up to 25%.
Hurdle one: hold it for investment first
The 1031 premise: both the property you give up and the one you receive must be held for business or investment. Move in right after the exchange, and the IRS can argue the replacement was a personal residence from day one, which sinks the whole exchange.
There's no statutory minimum holding period. Intent and actual use at acquisition are what count. A common benchmark is the vacation home safe harbor in Rev. Proc. 2008-16: own the replacement for 24 months after the exchange and, in each 12-month period, rent it at fair rent for at least 14 days with personal use no more than the greater of 14 days or 10% of the rental days. It's a safe harbor rather than the only test, but following it gives you the strongest evidence.
Keep the paper trail: leases, listings, rent deposits, each year's Schedule E, landlord insurance and any management agreement. A change of plans should have a real reason, such as a job move or a change in family circumstances.
Hurdle two: the five-year rule
The rule: section 121(d)(10) denies the home sale exclusion for a sale or exchange within 5 years after the date you acquired the property in a 1031 exchange, even if you've lived there for 2 years.
It follows carryover-basis owners too. Anyone whose basis is determined by reference to yours, such as a child who received the property from you as a gift, is subject to the same 5 years.
It's separate from the 2-of-5-year test. The exclusion itself requires ownership and use as a main home for 2 of the 5 years before the sale. A 1031 replacement must also have been held 5 years since the exchange. Both must be met.
Hurdle three: nonqualified use and depreciation
Nonqualified use (section 121(b)(5)): periods after 2008 when the property wasn't your main home, other than time after you last lived there, reduce the excludable gain in proportion to your total ownership. Rental years are nonqualified use.
Depreciation is taxed separately. Depreciation after May 6, 1997 can't be excluded and is taxed as unrecaptured section 1250 gain at up to 25%.
The cap: $250,000 single or $500,000 for qualifying joint filers. Whatever the ratio leaves as excludable is then compared with the cap.
Example (hypothetical numbers, to show the method)
Mr. and Mrs. Li acquire a $600,000 house in a 1031 exchange in June 2026 with $200,000 of deferred gain, so their basis is $400,000. They rent it for 2 years (through June 2028) and take $25,000 of depreciation, move in in June 2028, and sell in August 2031 for $760,000. They've owned it about 62 months, more than 5 years, and lived in it about 38 months.
Adjusted basis: $400,000 − $25,000 = $375,000. Gain: $760,000 − $375,000 = $385,000 (selling costs ignored to keep it simple).
Depreciation: the $25,000 is taxed separately at up to 25%.
Nonqualified use: of the remaining $360,000, the 24 rental months are about 38.7% of the 62 months owned, so about $139,355 can't be excluded and is taxed as long-term capital gain.
Excluded: about $220,645, within the $500,000 joint cap, so all of it is excluded.
The result: part of the $200,000 originally deferred in the 1031 exchange ends up excluded for good. Had they sold in May 2031, before the 5 years were up, none of the $385,000 would have been excludable.
The other direction: a former home turned rental, then exchanged
Both sections can apply. Rev. Proc. 2005-14 explains that if a property was your main home and later became a rental, and you still meet the 2-of-5-year test when you exchange it, you can exclude part of the gain under section 121 and defer the rest under section 1031.
Exclude first, then defer. Section 121 applies to the gain first and section 1031 to what's left, and the excluded amount can absorb some of the cash boot in the exchange.
The window: exchange within about 3 years of moving out, so that 2 years of use still fall within the 5-year lookback. The rental period also has to be long enough to show the property was held for investment.
Basis of the replacement: under the Rev. Proc. 2005-14 method, gain excluded under section 121 increases the replacement property's basis.
The numbers to run first
When to move in: renting for at least 2 years gives the strongest safe-harbor evidence; moving in too early puts the exchange at risk.
When to sell: at least 5 years after the exchange, and the longer you live there, the smaller the rental share and the larger the exclusion.
Sell now or exchange and move in later: compare the tax and cash flow of selling now, exchanging and later selling as your home, and simply holding.
State tax: states generally follow the federal exclusion and 1031 rules, but out-of-state replacement property (California's tracking rules, for example) needs its own look.
Next steps
For 1031 deadlines, boot, depreciation and the rules for nonresidents, see our guide to 1031 exchanges, and for reporting during the rental years, our rental property guide. We can model the tax for different move-in and sale dates before you decide. Book a free 15-minute call or message WeChat YCLUSA. Results depend on your facts and the IRS.
General tax information, last checked November 19, 2026.
Questions this article answers
How soon can I move into a property I got in a 1031 exchange?
The law sets no minimum; what matters is whether you held it for investment when you acquired it. The Rev. Proc. 2008-16 safe harbor is 24 months of ownership after the exchange, with at least 14 days of fair-rent rental and limited personal use in each 12-month period. Moving in too early can put the exchange at risk.
If I live in a 1031 replacement for 2 years, can I exclude $250,000 when I sell?
Only if at least 5 years have passed since you acquired it in the exchange. Section 121(d)(10) denies the exclusion for a sale within 5 years, and after that the rental years reduce the exclusion proportionally and the depreciation is taxed.
Does the home sale exclusion cover depreciation from the rental years?
No. Depreciation after May 6, 1997 can't be excluded and is taxed as unrecaptured section 1250 gain at up to 25%. Depreciation you were entitled to but didn't take is treated as taken.
Can I use section 121 and a 1031 exchange on a former home that I now rent out?
Yes. Under Rev. Proc. 2005-14, if you still meet the 2-of-5-year test when you exchange, section 121 excludes part of the gain first and section 1031 defers the rest, and the excluded amount can absorb some cash boot.
Ready to talk? The first 15 minutes are on us.
Book online, or send us a few details and we will come back with a written quote within one business day.
