The IRS gives you 45 days to identify. Check your deadline →
The 1031 Shop
Home / Guides / What is a 1031 exchange?

1031 exchange guide

What is a 1031 exchange?

A 1031 exchange lets you sell investment real estate and reinvest the proceeds into other investment real estate without paying capital gains tax at the time of sale. The tax is deferred, not forgiven.

Key takeaways

  • Section 1031 of the Internal Revenue Code allows deferral of capital gains tax when investment real estate is exchanged for other investment real estate.
  • Since the 2017 Tax Cuts and Jobs Act, only real property qualifies. Equipment, vehicles, and other personal property no longer do.
  • Like-kind is broad for real estate: raw land can be exchanged for an apartment building, a rental house for a retail center.
  • You must identify replacement property within 45 days and close within 180 days, both measured from the sale.
  • To defer all tax you generally must buy equal or greater value, reinvest all net equity, and replace any debt paid off.

What the deferral actually does

When you sell investment real estate at a gain, you normally owe federal capital gains tax, depreciation recapture of up to 25% on prior depreciation taken, potentially the 3.8% net investment income tax, and state income tax where applicable.

A 1031 exchange defers all of it. Your basis carries over into the replacement property, so the gain is not erased, it moves. You can repeat this indefinitely. If the property is still held at death, heirs may receive a stepped-up basis under current law, which is why exchanging is often described as "swap till you drop."

What qualifies as like-kind

For real estate, like-kind is interpreted broadly. Both the property you sell and the property you buy must be held for productive use in a trade or business or for investment. Given that, almost any investment real estate can be exchanged for almost any other.

Qualifying examples include raw land into a retail building, a rental house into an industrial park, a shopping center into apartments, and a leasehold with 30 or more years remaining into fee ownership.

Not qualifying: your primary residence, a second home used personally, property held primarily for resale such as a flip or dealer inventory, and since 2018 any personal property.

The two deadlines

Both run from the date your relinquished property transfers, and they run concurrently.

DeadlineRequirement
Day 45Deliver a written, signed identification of replacement property to your Qualified Intermediary
Day 180Close on the replacement property, or the due date of your return including extensions if earlier

The three requirements for full deferral

To defer the entire gain you generally need to satisfy all three:

  1. Equal or greater value. The replacement property's purchase price must be at least the relinquished property's net sale price.
  2. Reinvest all equity. All net proceeds must go into the replacement property. Cash taken out is taxable boot.
  3. Replace the debt. Any mortgage paid off must be replaced with new debt or offset with additional cash. A reduction in debt is treated as mortgage boot.

Falling short of any of these does not void the exchange. It creates partial recognition: you pay tax on the shortfall and defer the rest.

You cannot touch the money

You must never have actual or constructive receipt of the sale proceeds. If the funds hit your account, even briefly, the exchange fails.

This is why a Qualified Intermediary is mandatory. The QI holds the proceeds between the two closings. The QI cannot be you, your employee, or a person who has acted as your agent, attorney, accountant, or broker within the two years before the exchange.

When an exchange does not make sense

An exchange is not automatically the right answer. It can be the wrong one when:

  • Your gain is small and the transaction costs outweigh the deferral.
  • You have suspended passive losses that could offset the gain.
  • You would be forced into a worse asset purely to hit the deadline.
  • You actually want liquidity rather than continued exposure to real estate.

The deadline pressure of an exchange has pushed many investors into assets they would not otherwise have bought. Deferring tax on a bad purchase is still a bad purchase.

This guide is general information, not tax or legal advice. Consult your CPA, tax attorney, and Qualified Intermediary about your specific exchange.

Frequently asked questions

Is the tax forgiven or just delayed?
Deferred. Your original basis carries into the replacement property, so the gain follows you. It becomes payable when you eventually sell without exchanging. Under current law, property held until death may receive a stepped-up basis for heirs.
Can I 1031 my primary residence?
No. Section 1031 applies to property held for investment or business use. A primary residence may instead qualify for the Section 121 exclusion, which is a separate provision.
Can I exchange into a different state?
Yes. Exchanges can cross state lines. Be aware that some states have clawback provisions that tax the deferred gain when you eventually sell.
How much does a 1031 exchange cost?
Qualified Intermediary fees commonly run from several hundred to a few thousand dollars depending on complexity, plus normal closing costs. Reverse and improvement exchanges cost considerably more.
Do I need to use a Qualified Intermediary?
For a standard delayed exchange, effectively yes. Without a QI you would have constructive receipt of the proceeds, which disqualifies the exchange.

Start your search

Need replacement property that fits this timeline?

Tell us your timeline, budget, and what you are selling. We will send curated replacement options that fit your exchange, usually within hours.

Or the date it already closed.

No cost, no obligation. We never sell your information.

Last updated .