How to Convert a 1031 Exchange Rental to Primary Residence

Converting a 1031 exchange rental to a primary residence is allowed, but to later sell and claim the home-sale exclusion you have to own the property for at least five years from the exchange closing, rent it long enough that the IRS accepts the original investment intent, and live in it for at least two of the five years before sale. Move too fast and you can lose both the Section 121 exclusion and the original 1031 deferral, with penalties and interest on top.

The Core Timing: Two Years as a Rental, Five Years of Ownership

Two separate clocks govern a conversion, and they run at the same time rather than back-to-back.

The first is a bright-line rule added by the Housing Assistance Tax Act of 2008: if you acquired a property through a 1031 exchange, the Section 121 home-sale exclusion “shall not apply” to any sale within five years of the acquisition date, no matter how long you’ve lived there.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Five years is counted from the day you closed on the replacement property to the day you sell.

The second is the ordinary Section 121 use test: you must have lived in the home as your principal residence for at least 24 months out of the five years immediately before sale. Those 24 months sit inside the five-year ownership window, so you don’t need seven years total. A workable pattern is renting for roughly the first two or three years, moving in, and selling at or after the five-year mark.

Acting too early is where the real damage happens. If you convert the property to personal use shortly after the exchange, the IRS can conclude you never genuinely held it for investment. That conclusion doesn’t just block the Section 121 exclusion later; it retroactively invalidates the original 1031 exchange, making the deferred gain from the property you relinquished taxable in the year the exchange closed, plus penalties and interest.

The IRS Safe Harbor While It’s Still a Rental

Revenue Procedure 2008-16 gives a voluntary safe harbor that, if followed, prevents the IRS from challenging whether the replacement property was genuinely held for investment. For the first 24 months after the exchange, within each of the two 12-month periods, you must:2IRS. Revenue Procedure 2008-16

  • Rent the property to tenants at fair market rent for at least 14 days, and
  • Keep your own personal use at or below the greater of 14 days or 10% of the days the property was rented at fair market rent during that 12-month period.

The safe harbor is not legally required. Taxpayers who fall short aren’t automatically disqualified, but they lose the guarantee that the IRS won’t question their intent, and in an audit the burden shifts to them. Most tax advisors treat the safe harbor as a floor.

While the property is rented, report income and expenses on Schedule E of Form 1040.3Internal Revenue Service. Instructions for Schedule E (Form 1040) Keep signed leases, records of tenant payments, and property management correspondence. These filings and documents are your evidence of investment intent if the exchange is ever challenged.

Making the Conversion Stick

The two-year residency clock starts only when the property is genuinely your principal residence, and the IRS can challenge the start date if your records are thin. Build a documentation file as soon as you move in.

Formally end any existing lease. Pull marketing listings and cancel property management agreements. Then update the records that establish where you actually live:

  • Switch from a landlord or rental insurance policy to a standard homeowner’s policy.
  • Change your mailing address with banks, investment accounts, the IRS, and the Social Security Administration.
  • Transfer electricity, gas, water, and internet into your personal name.
  • Update your driver’s license, vehicle registration, and voter registration.
  • Stop reporting the property on Schedule E. Move mortgage interest and property taxes to Schedule A.

Voter registration carries particular weight because there’s no financial reason to change it; the IRS reads it as a strong indicator of a genuine move. Keep every record dated, because the precise day the conversion occurred fixes when the two-year use period begins.

What You Will Actually Owe at Sale

Even when both clocks are satisfied, you will not shelter all of the gain. The calculation runs in a specific order, and each layer peels off a piece before the exclusion is applied.

Depreciation Recapture Comes First

Every dollar of depreciation claimed during the rental years must be recaptured. It is taxed at a maximum federal rate of 25% and is never eligible for the Section 121 exclusion; the statute explicitly carves it out.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section (d)(6) Subtract it from total gain before anything else.

Non-Qualified Use Comes Second

Any period after December 31, 2008 during which the property was not your principal residence counts as non-qualified use. The years you rented the property under the 1031 exchange fall squarely into that category. Divide the non-qualified use years by total ownership years, and that fraction of the remaining gain is taxable at long-term capital gains rates. The Section 121 exclusion only reaches the portion attributable to the years you actually lived there.5Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section (b)(5)(D)

One useful carve-out: time after you’ve already used the home as your principal residence doesn’t count as non-qualified use. If you live in the home and later rent it out before selling, those later rental years don’t shrink the exclusion. The penalty targets rental periods before you moved in, which is the pattern a 1031 conversion creates.

The Section 121 Exclusion Covers the Rest

Whatever gain survives both carve-outs is eligible for exclusion up to $250,000 for single filers or $500,000 for married couples filing jointly.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

A Worked Example

Suppose you acquired a replacement property through a 1031 exchange, rented it for 6 years, moved in for 4, then sold for $800,000. Your carryover basis from the exchange was $400,000. You claimed $100,000 in depreciation during the rental years, so your adjusted basis is $300,000. Total realized gain: $500,000.

  • Depreciation recapture: $100,000 taxed at up to 25%, so up to $25,000 in tax. Not excludable.
  • Non-qualified use allocation: Remaining gain is $400,000. The fraction is 6 of 10 years, or 60%. That gives $240,000 of taxable long-term capital gain.
  • Section 121 exclusion: The qualified-use portion is $400,000 × 40% = $160,000. A single filer excludes all of it under the $250,000 cap.

Total taxable: $340,000. For 2026, the long-term capital gains rate on the $240,000 portion is 15% for most filers, rising to 20% for single filers with taxable income above $545,500 or joint filers above $613,700.

The 3.8% Net Investment Income Tax

The taxable portion can also trigger the 3.8% net investment income tax if your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). These thresholds are not indexed and have not changed since the tax took effect in 2013.6Internal Revenue Service. Topic No. 559, Net Investment Income Tax The surtax applies to the lesser of your net investment income or the amount by which MAGI exceeds the threshold. The Section 121 excluded portion is not counted, but the non-qualified use gain and depreciation recapture are. On the $340,000 taxable figure above, the surtax adds roughly $12,920.

Two Traps to Plan Around

Suspended Passive Losses Can Stay Trapped

Rental properties often generate passive losses that can’t offset wages. These suspended losses accumulate and are normally released when you dispose of the property in a fully taxable sale.7Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited – Section (g) A sale that qualifies for the Section 121 exclusion is not a fully taxable disposition, so the rule allowing suspended losses to be treated as non-passive doesn’t fully apply. Investors who built up years of suspended losses often find at closing that those losses remain largely trapped. They can still offset passive income from other sources in future years, but the clean release is gone. Weigh this before you commit to converting.

The Original Exchange Is Still Vulnerable

Converting the property to personal use is not a one-time risk at the start. If the overall facts suggest the rental period was a formality rather than genuine investment use, the IRS can still unwind the exchange years later. The safe harbor, the Schedule E filings, fair-market leases, and documented tenant history are what make the investment intent defensible.

When Not Selling Beats Selling

If you don’t need the cash, holding the converted residence until death often beats selling during your lifetime. Under Section 1014, heirs receive property with a basis stepped up to fair market value at the date of death.8Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent There is no exception for property that passed through a 1031 exchange. The entire deferred gain, including all later appreciation and the depreciation taken during the rental years, is effectively eliminated. Heirs could sell the next day and owe tax only on appreciation after the date of death.

The partial exclusion from a lifetime sale shelters some gain but leaves depreciation recapture and the non-qualified use portion fully taxable. The step-up at death shelters everything. Age, health, cash needs, and estate goals all weigh in, but when circumstances allow it, the math favors holding.