Skip to content
On this page
  1. Key Takeaways
  2. What It Is
  3. The Intuition
  4. How It Works
  5. Worked Example
  6. Common Mistakes
  7. Frequently Asked Questions
  8. Sources
  9. Disclaimer
← All concepts
Tax & AccountsAdvanced5 min read

1031 Exchange: Defer Real Estate Gains with Like-Kind Rules

A Section 1031 exchange lets an investor swap one piece of real property used in a trade, business, or held for investment for another of like kind and defer federal capital gains tax on the disposal. The tax is not forgiven; it is pushed into the basis of the replacement property.

Key Takeaways

  • A 1031 exchange defers, not cancels, capital gains tax on investment real estate; the deferred gain carries into the replacement property's lower basis and is recognized when that property is eventually sold.
  • Two hard deadlines govern every exchange: identify replacement property within 45 calendar days of closing and close on it within 180 calendar days, with no extensions for weekends or bad-faith counterparties.
  • The most common mistake is allowing sale proceeds to touch the taxpayer's bank account even briefly, which destroys the exchange because a qualified intermediary must hold the funds throughout.
  • Personal property, primary residences, and dealer inventory no longer qualify after the 2017 Tax Cuts and Jobs Act, only real property held for investment or business use is eligible.

Key Takeaways

  • A 1031 exchange defers, not cancels, capital gains tax on investment real estate; the deferred gain carries into the replacement property's lower basis and is recognized when that property is eventually sold.
  • Two hard deadlines govern every exchange: identify replacement property within 45 calendar days of closing and close on it within 180 calendar days, with no extensions for weekends or bad-faith counterparties.
  • The most common mistake is allowing sale proceeds to touch the taxpayer's bank account even briefly, which destroys the exchange because a qualified intermediary must hold the funds throughout.
  • Personal property, primary residences, and dealer inventory no longer qualify after the 2017 Tax Cuts and Jobs Act, only real property held for investment or business use is eligible.

What It Is

Section 1031 of the Internal Revenue Code permits nonrecognition of gain or loss when qualifying property is exchanged solely for other qualifying property. Since the Tax Cuts and Jobs Act of 2017, the rule applies only to real property. Personal property, including machinery, aircraft, artwork, and intangibles, no longer qualifies.

Real property inside the United States is never like kind to real property outside the United States. Primary residences and property held mainly for sale (dealer inventory) are also excluded.

The Intuition

Long-term investors in commercial and income real estate often recycle capital. They sell a small apartment building, buy a larger one, then repeat. Forcing gain recognition on every swap would freeze capital in existing assets because a large share of proceeds would go to tax. Section 1031 lets the investor keep the full cash outlay working in a new property, as long as the exchange follows strict rules and the gain is eventually recognized when the replacement property is sold for cash.

The tradeoff is a carryover basis: your basis in the new property is reduced by the deferred gain. The tax bill is delayed, not cancelled, unless the owner dies holding the property (at which point Section 1014 can step up the basis and eliminate the deferred gain).

How It Works

The mechanics involve four rules and two clocks.

Like-kind real property. Any real property held for productive use in a trade or business or for investment is like kind to any other such real property. A farm can be exchanged for an office building, raw land for a rental duplex, and so on. Grade or quality does not matter.

Qualified intermediary (QI). The taxpayer cannot take actual or constructive receipt of the sale proceeds. A QI holds the cash between the sale of the relinquished property and the purchase of the replacement.

45-day identification. Within 45 days of closing on the relinquished property, the taxpayer must identify one or more replacement properties in writing, delivered to the QI. Common identification rules include the three-property rule (identify up to three, no value limit) and the 200 percent rule (more than three, total value at or below 200 percent of the relinquished property).

180-day exchange. The replacement property must be received within 180 days of the original sale, or by the tax return due date for that year (including extensions), whichever is earlier.

Boot. Any cash or non-like-kind property received in the exchange is "boot" and triggers recognized gain up to the amount of boot. Mortgage relief (taking on a smaller loan on the replacement) also counts as boot unless offset by new debt or cash.

Deferred gain = realized gain - recognized gain (boot)
New basis     = basis of old property + boot paid - boot received + recognized gain

Worked Example

Assume an investor sells a commercial building with an adjusted basis of $400,000 for $1,000,000 and exchanges into a replacement warehouse worth $1,100,000, paying $100,000 of extra cash at closing. All exchange rules are followed.

Realized gain       = $1,000,000 - $400,000 = $600,000
Boot received       = $0 (investor took no cash out)
Recognized gain     = $0 (all gain deferred)
Basis of warehouse  = $400,000 + $100,000 cash added = $500,000

If the investor later sells the warehouse outright for $1,500,000, the deferred $600,000 gain plus the $400,000 of additional appreciation are all recognized at that point.

Common Mistakes

  1. Missing the 45 or 180 day deadlines. These are calendar-day counts with no extensions for weekends, holidays, or bad faith by counterparties. A missed window converts the whole transaction into a taxable sale.
  2. Taking constructive receipt of proceeds. Having the sale funds flow through the taxpayer's own bank account, even briefly, blows the exchange. The QI must hold the money at all times.
  3. Using a related party. Section 1031(f) restricts exchanges between related parties, especially if either side sells the replacement within two years. The anti-abuse rules apply even to arm's-length-looking deals.
  4. Confusing a vacation home with investment property. The IRS applies safe harbors (Rev. Proc. 2008-16) on rental use and personal use to decide whether a second home qualifies. Weekend homes often fail.
  5. Forgetting state tax and depreciation recapture. Some states decouple from Section 1031 or require clawback filings. Depreciation recapture under Section 1250 is deferred with the exchange, but it still travels with the replacement property and can surprise sellers later.

Frequently Asked Questions

Q: What is a 1031 exchange in simple terms? You sell an investment property and instead of paying capital gains tax, you roll the proceeds into a replacement property through a qualified intermediary. The tax is deferred, not forgiven, your new property carries a lower basis so the gain is recognized later when you eventually sell for cash.

Q: How does a 1031 exchange affect investment decisions? It lets real estate investors recycle capital into larger or more productive properties without a tax toll at each step. Over several exchanges, investors can compound returns on the full pre-tax equity rather than the after-tax amount, significantly accelerating wealth accumulation in real estate portfolios.

Q: What is a real-world example of a 1031 exchange? An investor sells a commercial building for $1 million with an adjusted basis of $400,000. Instead of paying tax on the $600,000 gain, she uses a qualified intermediary, identifies a replacement warehouse within 45 days, and closes within 180 days. The deferred gain travels into the new property's basis, and no tax is owed until she eventually sells for cash.

Q: How can investors protect a 1031 exchange from failing? Use a qualified intermediary from the start, before closing, so proceeds never touch your account. Identify replacement properties in writing within exactly 45 days. Close within 180 days. Avoid related-party exchanges and confirm the replacement property qualifies as like-kind investment real estate.

Q: How is a 1031 exchange different from a Qualified Opportunity Zone investment? A 1031 exchange requires reinvesting in like-kind real property and defers the original gain. A QOZ investment can receive any capital gain from any source, defers but eventually recognizes the original gain, and then excludes all new appreciation in the fund after 10 years. The QOZ offers a broader gain-source eligibility and a potential permanent exclusion on post-investment growth.

Sources

  1. Internal Revenue Service. "Like-Kind Exchanges, Real Estate Tax Tips." https://www.irs.gov/businesses/small-businesses-self-employed/like-kind-exchanges-real-estate-tax-tips
  2. Internal Revenue Service. "Instructions for Form 8824 (2025), Like-Kind Exchanges." https://www.irs.gov/instructions/i8824
  3. Cornell Legal Information Institute. "26 U.S. Code Section 1031, Exchange of real property held for productive use or investment." https://www.law.cornell.edu/uscode/text/26/1031
  4. American Bar Association, Section of Real Property, Trust and Estate Law. "Exchanges Under Code Section 1031." https://www.americanbar.org/groups/real_property_trust_estate/resources/real-estate/1031-exchange/

Disclaimer

This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.

The IWP Substack

You understand the concept. Now see it applied.

The Investing With Purpose Substack turns ideas like this into research and risk-managed trade plans on real stocks, updated every week.

Read on Substack (opens in a new tab)

Related concepts