Skyscrapers seen from below

Answers · Moving in later

If I move into my 1031 replacement, can I later sell it tax-free?

No. Section 121(d)(10) blocks the home-sale exclusion for five years from the exchange closing, and the rental years and all depreciation stay taxable.

By Breakwater Exchange · Reviewed by our 1031 advisory team · Last reviewed

The short answer

Not tax-free, and usually not by much. Section 121(d)(10) denies the $250,000/$500,000 home-sale exclusion outright for five years measured from the day you acquired the property in the exchange. After that, section 121(b)(5) strips out the share of gain matching the years you rented it and section 121(d)(6) refuses the exclusion to every dollar of depreciation reflected in your basis. What is left to exclude is a slice of the appreciation, not the deferred gain you carried in.

At a glance

Five-year barNo exclusion for 5 years from the date you acquired the replacement (§121(d)(10))
Residence testOwn and occupy 2 years within the 5 years ending on the sale (§121(a))
Ceiling$250,000 single, $500,000 on a qualifying joint return (§121(b)(1), (b)(2))
Nonqualified useRental periods after 2008 that precede your occupancy prorate away the exclusion
DepreciationPost-May 6, 1997 adjustments never excluded; taxed at up to 25% (§121(d)(6))
Carried-in layer§1250(b)(3) counts deductions on other property reflected in your basis
Order of operationsDepreciation first, then the nonqualified-use fraction (§121(b)(5)(D))
FrequencyOnly one §121 exclusion in any two-year window (§121(b)(3))

The five-year bar starts at the closing on your replacement, not the night you move in

Section 121(d)(10) is a cliff for five years. Where you acquired property in an exchange on which gain went unrecognized under section 1031, the exclusion "shall not apply to the sale or exchange of such property by such taxpayer ... during the 5-year period beginning with the date of such acquisition" (26 U.S.C. §121).

That date is the day title to the replacement passed to you at the end of the exchange, so the period is already running while tenants are still in the house. Occupying the property earlier shortens nothing, and selling on year four gives you no exclusion at all rather than a reduced one.

The bar follows the property. The same paragraph reaches any person whose basis is determined by reference to yours, so gifting the house to a child inside the five years does not restart the arithmetic for them.

Two years of residence inside the last five is a separate test you also have to pass

Section 121(a) excludes gain only where, during the five-year period ending on the date of sale, the property was owned and used as your principal residence for periods aggregating two years or more. Clearing 121(d)(10) does not satisfy 121(a): both have to be true on the day you sign.

The ceiling is $250,000, lifted to $500,000 on a joint return where either spouse meets the ownership requirement, both meet the use requirement, and neither is disqualified by a recent exclusion (§121(b)(2)(A)).

Section 121(b)(3) is the quiet one. It denies the exclusion entirely if you already excluded gain on another home sale within the two years ending on this sale, which catches owners who downsized shortly before the exchange.

Neither test is satisfied by intent. The IRS looks at where you actually slept and what the deed says, so a family that keeps a second home and stays in the exchange property only in summer will not reach two aggregate years of principal residence.

Each rental year before you move in removes its proportional share of the exclusion

Section 121(b)(5) prorates rather than forgives. Gain allocated to periods of nonqualified use, meaning any period after 2008 during which the property was not the principal residence of you or your spouse, is not excludable, and the allocation is the ratio of nonqualified months to total months of your ownership.

The statutory exception runs the wrong way for an exchanger. Section 121(b)(5)(C)(ii)(I) protects only the part of the five-year window falling after the last day the property was your residence, which is why an owner who lives in a house and then rents it is treated far better than one who rents first and occupies second.

Publication 523 shows both ends. Its Taylor example, resident and then landlord, has no nonqualified use at all; its Finley example, two rental years inside five years of ownership, loses 40 percent of the remaining gain.

Depreciation comes off the top, and the layer you carried in comes off with it

Section 121(d)(6) withholds the exclusion from gain up to "the portion of the depreciation adjustments (as defined in section 1250(b)(3)) attributable to periods after May 6, 1997." That slice is unrecaptured section 1250 gain, taxed at a maximum rate of 25 percent rather than the long-term capital gain rate.

Read the cross-reference. Section 1250(b)(3) defines those adjustments as everything "reflected in the adjusted basis of such property on account of deductions (whether in respect of the same or other property)." A replacement bought in an exchange takes a substituted basis, so the write-offs you claimed on the properties you exchanged out of are reflected in this one.

The sequence is fixed by 121(b)(5)(D): apply (d)(6) first, then prorate what remains without regard to the depreciation gain. Worksheet 3 in Publication 523 runs the same two steps in that order.

A $700,000 sale where the exclusion reaches $180,000 of a $550,000 gain

Hypothetical figures, rounded. You close the exchange on 1 January 2027 into a $500,000 house, rent it at market rent for two years, move in on 1 January 2029, and sell on 2 January 2032 for $700,000 with an adjusted basis of $150,000.

Realized gain is $550,000. Depreciation adjustments after May 6, 1997 reflected in that basis, say $30,000 claimed across the two rental years plus $220,000 carried in from the properties you exchanged out of, come to $250,000 and are ineligible, leaving $300,000.

Two of your five years of ownership were nonqualified use, so 40 percent of that $300,000, or $120,000, remains taxable as long-term capital gain. The $180,000 balance is excluded. You are taxed on $370,000 of a $550,000 gain, five years and a day after the exchange closed.

Change one input and the answer moves sharply. Cut the carried-in depreciation to $20,000 and the excludable figure becomes $300,000, capped at $250,000 on a single return; stretch the rental period to four of seven years of ownership and the nonqualified fraction takes 57 percent of what the depreciation rule leaves.

What the conversion is actually worth, and the order it has to happen in

Converting pays when the appreciation after you move in is large and the carried-in depreciation is small. It pays very little on a third or fourth exchange, where most of the gain is old deferred gain and old depreciation rather than new growth. Confirm the numbers with your CPA or attorney before the tenants leave, because a conversion is hard to unwind.

  • Rent the replacement at a fair rental first so the exchange itself survives; how long to rent before moving in covers the two-year safe harbor.
  • Move in afterwards and stay put, because the two-year residence test is measured inside the five years ending on the sale.
  • Do not list before the fifth anniversary of the exchange closing; 121(d)(10) is all or nothing, not a sliding scale.
  • Keep the depreciation schedules for every property in the chain, not just this one, since your preparer needs the whole post-1997 total.
  • Count the months of rental use separately from the months of residence; the proration is measured over your entire ownership period, not over the five-year window.

Related questions

Does the five years run from the exchange closing or from my first night in the house?

From the acquisition. Section 121(d)(10) starts the five-year period on "the date of such acquisition," which is the day you took title to the replacement at the close of the exchange.

Can my spouse and I still claim the $500,000 ceiling?

Yes, on a joint return where either of you meets the ownership requirement, both of you meet the two-year use requirement, and neither has excluded gain on another sale in the prior two years (§121(b)(2)(A)).

Could I exchange out of the house again instead of selling it?

Not while you live in it. Section 1031 needs property held for productive use or investment, so you would have to convert it back to a rental first; see exchanging a primary residence or second home.

A job transfer forces a sale in year three. Does the partial exclusion save me?

No. Section 121(c) offers a prorated ceiling only where the exclusion fails because of the ownership and use requirements or 121(b)(3); it says nothing about 121(d)(10), so a sale inside the five years still excludes nothing.

If I move out and rent it again before selling, does that period count against me?

No. Section 121(b)(5)(C)(ii)(I) takes the part of the five-year window after your last day of residence out of nonqualified use, provided you still meet the two-out-of-five use test.

Does the exclusion wipe out the gain I deferred in earlier exchanges?

Only the part it reaches. The deferred gain is sitting in your low basis and surfaces on this sale; what you owe when you finally sell a 1031 property traces where each layer lands.

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.

  1. 26 U.S.C. §121 - exclusion of gain from sale of principal residence, including (b)(3), (b)(5), (d)(6) and (d)(10)
  2. 26 U.S.C. §1250(b)(3) - definition of depreciation adjustments
  3. IRS Publication 523, Selling Your Home - like-kind exchange test, nonqualified use, Worksheet 3
  4. Rev. Proc. 2008-16 - safe harbor for dwelling units in a section 1031 exchange
  5. Legal 1031, Converting 1031 property into a property for personal use

Weighing a move-in against staying invested

Breakwater Exchange is a 1031 exchange broker with over 20 years of experience and more than a billion dollars in DST transactions, licensed in all 50 states inside a regulated broker-dealer framework. Send your basis and depreciation figures through the website form.

Free 1031 proposal

Access Investment Offerings Other Brokers Can’t Provide

Breakwater Exchange’s expert guidance helps you maximize returns while minimizing tax exposure, so you can invest with clarity and confidence.

years of experience
20+
in DST transactions
$1B+
states licensed
50
vetted national sponsors
8

Tell us about your exchange

Share the basics and an advisor will reach out with next steps.

No obligation. A Breakwater Exchange advisor reviews every request personally.