The short answer
This works, and it is done routinely, but the property has to be a real rental first and the tax benefits arrive late. Two clocks start at closing: the replacement dwelling must be held and rented on the Rev. Proc. 2008-16 pattern for 24 months, and §121(d)(10) denies the home-sale exclusion on any property acquired in a §1031 exchange for five years from the acquisition date. Even after both clocks run out, §121(b)(5) taxes the share of gain matching the rental years, so the exclusion covers less than owners expect.
At a glance
| Five-year bar | §121(d)(10): no exclusion within 5 years of the §1031 acquisition date |
|---|---|
| Rental pattern | 24 months after closing, 14+ rented days a year, personal use capped |
| Nonqualified use | §121(b)(5): gain × (nonqualified months ÷ total months owned) is not excludable |
| Front-end vs back-end | Rental years before you move in count; years after you move out do not |
| Depreciation | §121(d)(6): gain from post-May 6, 1997 depreciation is never excluded |
| Maximum exclusion | $250,000 single, $500,000 joint (§121(b)(1), (b)(2)) |
| Replacement basis | Carryover under §1031(d), so the old deferred gain follows the new house |
| Depreciation schedule | Reg. §1.168(i)-6 splits basis into exchanged basis and excess basis |
Two clocks start the day the exchange closes, and neither one is the 45-day or 180-day clock
The exchange itself is unremarkable: you sell a rental, use a qualified intermediary, and buy a condo or a cottage you intend to rent. What is unusual is that your plan needs the property to change character later, and the code prices that change twice.
§121(d)(10) is the first price. Where you acquired property in an exchange in which gain was not recognized under §1031, the home-sale exclusion "shall not apply" to a sale during the five-year period beginning on the acquisition date. Living there does not shorten that; only the calendar does.
The second price is the qualifying-use standard for replacement dwellings in Rev. Proc. 2008-16, which asks for 24 months of ownership after the exchange with real rental activity in each of the two years. Move in during month ten and the safe harbor is gone, and with it the clean answer to whether the property was ever held for investment.
The first two years have to look like a rental from the outside, not like a favor you did yourself
The day counts are only the visible part. What an examiner reads is the paperwork: a written lease or platform booking history, rent at market, a separate bank account, a management agreement if you are far away, landlord insurance rather than a homeowner policy, and a Schedule E that reports the income.
Rent set below market to a friend or a relative is not rent for this purpose, and a unit "held out for rent" but never actually rented fails the 14-day floor no matter how sincere the listing was.
The cheapest version of this plan puts a tenant on a 12-month lease for each of the two years and keeps your own visits to a few maintenance trips. The most expensive version is a nightly-rental calendar full of gaps that you personally fill.
- Sign leases in the name of the taxpayer that completed the exchange, not a new entity.
- Keep the listing, the rent receipts and the management statements for as long as you own the house, because they are evidence years after the fact.
- Put any furniture, boat slip or golf membership in a separate purchase, since only real property rides in the exchange.
Worked timeline: a $1,000,000 condo bought in 2026, rented to 2028, lived in to 2036
Hypothetical and rounded. In March 2026 a married couple exchanges a rental with a $250,000 adjusted basis into a $1,000,000 condo with no boot and no debt, so under §1031(d) the condo's basis starts at $250,000 and the old deferred gain travels with it.
They rent it through March 2028 on the safe-harbor pattern and claim $15,000 of depreciation over those two years. They move in and make it their principal residence until they sell in 2036 for $1,600,000 with $40,000 of selling costs, producing a $1,325,000 gain on a $235,000 adjusted basis.
Ownership is 10 years and the nonqualified period is the 2 rental years, so 20% of the gain is outside the exclusion. Depreciation comes off first under §121(d)(6): $15,000 of unrecaptured §1250 gain taxed at up to 25%. Of the remaining $1,310,000, 20% — $262,000 — is allocated to nonqualified use and taxable. The $1,048,000 left is eligible, the exclusion caps at $500,000, and $548,000 of long-term gain remains. Confirm this ordering with your CPA against the worksheets in Publication 523.
Why the rental years count against you and the later rental years of a different house would not
§121(b)(5) multiplies the gain by a fraction: aggregate periods of nonqualified use over the whole period you owned the property. Nonqualified use is any post-2008 stretch when the place was not your principal residence.
The exceptions run one direction only. Any portion of the five-year lookback that falls after the last date you used the property as your principal residence is not nonqualified use, which is why renting a former home on the way out is harmless. Renting a future home on the way in is not.
Two other exceptions can help: up to 10 years of qualified official extended duty, and up to two years of temporary absence for a change of employment, health or other unforeseen circumstances. Neither describes a deliberate two-year rental designed to season a 1031 replacement.
Moving in sooner costs more than waiting, because the fraction has a small denominator early
Change the timeline above so the couple sells in 2031, just past the §121(d)(10) five-year bar, after two rental years and three residence years. The nonqualified fraction is now 2/5, or 40%, and twice as much of the gain falls outside the exclusion.
Hold the same property to 2046 instead and the fraction is 2/20, or 10%. Time is the only lever that moves it, which makes this a plan for someone who expects to keep the house, not someone testing a market.
The deferred gain from the original exchange never disappears through §121. It sits in the carryover basis, and the $250,000 or $500,000 exclusion is applied to the whole gain, not just the appreciation since you moved in.
Lending, insurance and the two years you are a landlord in a place you wanted to live
Investment-property financing is priced and underwritten differently from owner-occupied financing, and the loan you take at closing is an investment loan because that is what the property is. Refinancing after you convert is the normal path, and it is a separate transaction from the exchange.
Insurance has to match use: a landlord policy for the rental years, a homeowner policy afterward, and a written notice to the carrier on the day the use changes. Homeowner associations in resort buildings often cap rental terms or require registration, which can quietly make the 14-day rental floor hard to reach.
Underwrite the property as a rental you would buy anyway. A weak asset bought for its location in your retirement plan is still a weak asset, and the tax deferral does not repair a purchase price.
If the house you want cannot be a credible rental, split the plan in two
Some properties will not work: a lot with no rental market, a deed-restricted community, a home you cannot bear to hand to tenants. Forcing them through a 1031 creates a weak record and a five-year wait for very little.
The alternative is to keep the exchange in property that plainly qualifies — another rental, a DST interest or a net-leased asset — and to buy the retirement house with taxable funds, an installment of savings, or the proceeds of a later sale.
That split also preserves optionality. A DST interest keeps producing income while you decide, and your heirs deal with a security rather than a second home in a state none of them live in. Either way, have your own CPA or attorney confirm the dates and the exclusion math before you commit.
Related questions
How soon after the exchange can I move in without wrecking it?
The replacement-property standard in Rev. Proc. 2008-16 runs 24 months, so a move-in at month 25 keeps the safe harbor intact. Anything earlier is judged on facts and circumstances.
Does the five-year §121(d)(10) period run from closing or from the day I move in?
From the acquisition date of the property in the exchange. Occupancy dates do not start or stop it, and the sale must occur after the five years to use any exclusion at all.
Can I convert the condo into my principal residence and then do another 1031 later?
Not while it is your residence. A personal residence is not held for productive use or investment, so you would have to re-establish rental use before a later exchange, and the same day-count evidence would be needed again.
What if my spouse and I both meet the use test but only one of us owned the rental?
The $500,000 joint limit requires both spouses to meet the use test and only one to meet the ownership test, but the taxpayer that sold the relinquished property must be the taxpayer that buys. Get the vesting reviewed before closing.
Is the depreciation I claim during the rental years worth having?
It shelters rent while the tenants are there and reduces basis, so it returns as unrecaptured §1250 gain at up to 25% when you sell. Reg. §1.168(i)-6 governs how the carryover basis and any excess basis are depreciated.
Sources
Checked against these publications on September 19, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. §121, including (b)(5), (d)(6) and (d)(10) (Cornell LII)
- IRS Publication 523, Selling Your Home
- Rev. Proc. 2008-16, dwelling-unit safe harbor (IRS)
- 26 U.S.C. §1031 (Cornell LII)
- 26 CFR §1.168(i)-6, MACRS property acquired in a like-kind exchange (Cornell LII)
- IRS Topic no. 409, Capital gains and losses (25% unrecaptured §1250 rate)
- IRS Instructions for Form 8824, Like-Kind Exchanges
