A 1031 exchange is a tax-deferral transaction in which real property held for business or investment is exchanged for like-kind real property, with gain deferred rather than eliminated. A primary residence does not qualify as replacement property because personal-use property does not meet the business-or-investment test.

Why Can’t You Use a 1031 Exchange for a Primary Residence?

No, not at the closing table. The property you buy must be held for business or investment, and a primary residence is personal-use property. A house is real property, so like-kind character is not the barrier; the use is.

Since 2018, Section 1031 treatment applies only to real property held for use in a trade or business or for investment, other than property held primarily for sale. Personal property no longer qualifies. If you buy a home and move in immediately, the exchange does not qualify and the deferred gain can become taxable.

The table shows the practical split.

Situation1031 replacement?Main issue
Buy a tenant-occupied rental and hold itYesMust meet 45-day and 180-day rules and use a qualified intermediary
Buy a duplex and rent part of itPossiblyOnly the investment portion is defensible; allocation and records matter
Buy a house and move in at closingNoPersonal-use property fails the investment test
Buy a rental, rent it, then move in laterYes, with careIntent, rental history, Section 121, and depreciation recapture

What Does the IRS Mean by Held for Investment?

It means the property is used in a business or held to produce income or appreciation, not as your home. A tenant-occupied rental with a lease, market rent, and reported income fits. A property you occupy rent-free does not.

The test looks at intent and actual use. Property held primarily for sale is excluded, so a fix-and-flip inventory cannot be swapped into a personal home. Keep leases, rent records, and expense records that show the property was run as an investment.

Can You Buy a Rental First and Move In Later?

Yes, this is the usual path, but it works only if the first leg is a real investment. Buy the replacement as a rental, rent it at market terms, and keep the lease and income records. Then convert it to your primary residence later.

The IRS guidance cited here does not set a fixed holding period; it focuses on intent and use. A preplanned move-in can be challenged even if you rent the property for a while. The longer and cleaner the rental history, the easier the position is to defend.

What Property Types Are More Defensible Than a Single-Family Home?

Small multifamily buildings, tenant-occupied condos, and rented single-family homes are easier to document as investment property than a vacant house you plan to occupy. A duplex can work, but if you live in part of it, only the investment portion is defensible. You need an allocation and records for the rental portion.

Vacation rentals can qualify only when rental activity is real and personal use is limited. Land can qualify when held for investment, but building a personal home on it later is risky. For a rehab-and-rent plan, see the BRRRR method.

What About a Duplex or Mixed-Use Property?

A duplex can be a bridge, but it is not a free pass. If you rent part of it and live in another part, the property has both investment and personal-use pieces. The exchange can be defensible for the investment portion, but you need a reasonable allocation, separate records, and a lease for the rented space.

The personal-use portion does not become investment property just because the building produces income. A prearranged plan to occupy the owner space can weaken the exchange. Ask a tax adviser how to document the allocation before closing.

How Do the 45-Day and 180-Day Rules Work?

You must identify replacement property within 45 days after selling the relinquished property. You must receive it within 180 days, or by the due date of your tax return including extensions, whichever is earlier. The deadlines cannot be extended for hardship except in a presidentially declared disaster.

The identification must be written, signed, and delivered to a person involved in the exchange, such as the qualified intermediary or the seller. Notice to your attorney, real estate agent, or accountant is not enough. The property must be clearly described by legal description, street address, or distinguishable name.

Use a qualified intermediary to hold proceeds. You cannot act as your own facilitator, and an agent, broker, accountant, attorney, or employee who worked for you in those roles within the previous two years cannot serve as the facilitator.

What Happens If You Receive Cash or Other Boot?

Cash or non-like-kind property received is boot, and gain is recognized to the extent of boot, capped by realized gain. Debt relief can also create boot when the other party assumes liabilities.

Hypothetical example: you sell a rental for $400,000 and buy a replacement for $350,000, taking $50,000 cash. The boot is $50,000. If your realized gain is at least $50,000, you recognize $50,000 and the rest stays deferred; the arithmetic is $400,000 minus $350,000 equals $50,000.

Taking control of cash or other proceeds before the exchange is complete can disqualify the entire transaction. That can make all gain immediately taxable, not just the cash you touched.

How Does a Later Conversion to a Primary Residence Affect Taxes?

Converting a rental to your home does not erase the deferred gain. Your basis carries over, and depreciation reduces basis, so a later sale can produce taxable gain even if you use the Section 121 home-sale exclusion.

Section 121 may exclude some gain on a primary residence, but it does not erase depreciation recapture. The Form 8824 recognized-gain cap accounts for any Section 121 exclusion, and the calculation is fact-specific. Get a tax projection before you move in.

The deferred gain is preserved for later recognition. A lower depreciable basis than a taxable purchase also means smaller depreciation deductions going forward.

Who Should Avoid This Strategy?

This plan is a poor fit if you need to move into the property soon, if you cannot qualify for a rental loan, or if you cannot document market rent. It also fails if you need cash from the sale for personal use.

It suits an investor who can hold and rent the replacement property for real, with reserves for vacancy and repairs. A buyer who only wants a home should use a normal purchase or a Section 121 sale, not a 1031 exchange.

Step-by-Step: How a Rental-to-Primary Plan Can Work

A rental-to-primary plan needs a clean exchange first and a genuine rental period second. The steps below show the order that keeps the exchange and the later personal use separate.

Step 1: Sell Through a Qualified Intermediary

Set up the qualified intermediary before the relinquished property closes. The intermediary holds proceeds so you never take control of cash. The 45-day identification clock starts when the relinquished property transfers.

Step 2: Identify Replacement Property in Writing

Deliver a signed, written identification to the qualified intermediary or the seller within 45 days. Use a legal description, street address, or distinguishable name. Do not rely on notice to your attorney or real estate agent.

Step 3: Close on a Bona Fide Rental Within 180 Days

Buy a property that can be rented at market terms, and close within 180 days or by your tax-return due date including extensions, whichever is earlier. Put a lease in place and report the rental income. Do not move in at closing.

Step 4: Operate It as an Investment

Collect rent, pay expenses, and keep records that show investment use. The IRS guidance cited here does not give a fixed holding period, so the facts of your rental history matter. A property that sits vacant or is used by family for free weakens the position.

Step 5: Convert and Plan for the Sale

When you later move in, track basis and depreciation. Get a tax adviser to model Section 121 and depreciation recapture before you sell. File Form 8824 for the exchange year and keep the records with the property file.

Common Mistakes

These errors cause failed exchanges or unexpected tax.

  • Moving in at closing and calling it a rental later.
  • Using a real estate agent, attorney, accountant, or broker who worked for you in the past two years as the qualified intermediary.
  • Taking cash temporarily before the exchange closes.
  • Sending the 45-day identification to your attorney or agent instead of the qualified intermediary or seller.
  • Treating the deferred gain as tax-free and ignoring the carryover basis.
  • Forgetting Form 8824 and the related-party 2-year reporting rule.