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
Sector AnalysisIntermediate5 min read

1031 Exchange Real Estate: Defer Capital Gains on Sale

A 1031 exchange lets real estate investors sell one property and buy another without paying capital gains tax today, as long as strict timing and structuring rules are followed. It is one of the most used tax-deferral strategies in U.S. commercial real estate.

Key Takeaways

  • A 1031 exchange real estate deferral requires a qualified intermediary to hold proceeds, written identification of replacement property within 45 days, and closing within 180 days, missing any deadline disqualifies the exchange entirely.
  • Since the Tax Cuts and Jobs Act of 2017, only real property qualifies; personal property exchanges of equipment, vehicles, and aircraft no longer receive Section 1031 treatment.
  • A common mistake is treating deferral as elimination; the deferred gain reduces the basis of the replacement property and creates a larger tax bill on the eventual taxable sale, plus cumulative gain across a chain of exchanges can become very large.
  • Debt reduction counts as taxable boot even when no cash changes hands; selling a property with a $6 million mortgage and buying one with a $5 million mortgage creates $1 million of debt-relief boot that is taxable in the exchange year.

Key Takeaways

  • A 1031 exchange real estate deferral requires a qualified intermediary to hold proceeds, written identification of replacement property within 45 days, and closing within 180 days, missing any deadline disqualifies the exchange entirely.
  • Since the Tax Cuts and Jobs Act of 2017, only real property qualifies; personal property exchanges of equipment, vehicles, and aircraft no longer receive Section 1031 treatment.
  • A common mistake is treating deferral as elimination; the deferred gain reduces the basis of the replacement property and creates a larger tax bill on the eventual taxable sale, plus cumulative gain across a chain of exchanges can become very large.
  • Debt reduction counts as taxable boot even when no cash changes hands; selling a property with a $6 million mortgage and buying one with a $5 million mortgage creates $1 million of debt-relief boot that is taxable in the exchange year.

What It Is

Internal Revenue Code Section 1031 allows a taxpayer to defer recognition of capital gain when property held for productive use in a trade or business or for investment is exchanged for "like-kind" property that will also be held for productive use or investment.

Before 2018, Section 1031 covered real property and many types of personal property including vehicles, equipment, and collectibles. The Tax Cuts and Jobs Act of 2017 narrowed the rule so that, effective January 1, 2018, only exchanges of real property qualify. Machinery, aircraft, artwork, and intangible assets no longer qualify.

Crucially, a 1031 exchange does not eliminate tax. It defers tax. The deferred gain reduces the basis in the replacement property, and the gain is recognized when the replacement is eventually sold in a taxable transaction.

The Intuition

Most commercial real estate investors want to upgrade, reposition, or relocate their holdings over time. Selling a warehouse for 10 million dollars, paying 1.5 to 2 million in federal and state capital gains tax, and then trying to redeploy the after-tax proceeds into a larger property means permanently shrinking the investable pool.

Section 1031 recognizes that the investor is not consuming the gain. They are rolling it from one investment property to another. By deferring tax until an actual exit, the rule keeps capital working inside real estate and reduces the friction of reallocating across property types and markets.

For long-lived investors, this can effectively compound into zero lifetime tax if the owner holds until death and the heirs receive a stepped-up basis, though estate and gift tax planning is a separate topic.

How It Works

A qualifying 1031 exchange has five structural requirements:

  • Qualifying property on both sides. Both the relinquished and replacement property must be real property held for productive use in a trade or business or for investment. Personal residences, dealer inventory, and partnership interests generally do not qualify.
  • Like-kind. For real property, this standard is broad. An apartment building can be exchanged for raw land, raw land for an office building, and so on. Improved and unimproved real property can trade for each other.
  • Qualified intermediary (QI). The investor cannot touch the sale proceeds. A QI holds the funds between the sale of the old property and the purchase of the new one.
  • 45-day identification period. From the closing of the relinquished property, the taxpayer has 45 calendar days to identify candidate replacement properties in writing.
  • 180-day exchange period. The taxpayer must close on at least one identified replacement property within 180 days of the original sale (or by the tax return due date for that year, whichever is earlier).

Any sale proceeds not reinvested in like-kind real property ("boot") are taxable. Examples of boot include cash held back, debt reduction, or non-like-kind property received in the trade.

The deferred gain is preserved through the taxpayer's basis in the new property.

Replacement Basis = Relinquished Basis + Cash Invested - Boot Received

When the replacement property is later sold in a taxable transaction, the deferred gain from the original property is recognized on top of any new gain.

Worked Example

An investor bought an apartment building in 2015 for 5 million dollars and depreciated it down to an adjusted basis of 3.5 million. In 2026, they sell it for 9 million.

Without a 1031 exchange:

Realized gain = 9,000,000 - 3,500,000 = 5,500,000
Federal tax (approx, combined capital gains and depreciation recapture) ≈ 1,200,000
After-tax proceeds available to reinvest ≈ 7,800,000

With a 1031 exchange into a 10 million dollar industrial building:

Recognized gain today = 0 (gain is deferred)
Replacement basis     = 3,500,000 (old basis) + 1,000,000 cash invested = 4,500,000
Full 9,000,000 of sale proceeds plus 1,000,000 fresh equity pay for a 10M building, using 5M of new debt

The investor now owns a larger building while deferring the entire 5.5 million of gain. If they later sell the industrial property for 12 million with no further exchange, they will recognize the 5.5 million deferred gain plus any new appreciation.

Common Mistakes

  1. Missing the 45-day identification deadline. Identification must be in writing, signed, and delivered to the QI or another party to the exchange. Informal emails to a broker do not count. Missing the deadline by one day disqualifies the exchange entirely.

  2. Receiving constructive receipt of proceeds. If the seller, their attorney, or their broker ever has access to the sale proceeds, the exchange fails. Using a qualified intermediary is not a procedural formality. It is required for non-recognition.

  3. Ignoring boot. Debt reduction counts as boot. Selling a property with a 6 million mortgage and buying one with a 5 million mortgage produces 1 million of debt-relief boot, which is taxable even if no cash changes hands.

  4. Using a vacation home. A property used primarily for personal enjoyment does not qualify as "held for investment." The IRS looks at rental days, personal-use days, and intent. Safe-harbor rules require a minimum rental history before exchange.

  5. Treating deferral as elimination. The deferred gain carries into the new property and lowers its basis. An investor who exchanges repeatedly must track cumulative deferred gain. A subsequent taxable sale can produce a very large tax bill compared to the headline price appreciation.

Frequently Asked Questions

Q: What is a 1031 exchange in real estate in simple terms? A 1031 exchange is an IRS-authorized tax deferral that lets investors sell investment real estate and roll the proceeds into another like-kind property without recognizing capital gains in the year of sale. The gain is deferred, not eliminated; it reduces the basis of the replacement property and will be taxed when that property is eventually sold in a taxable transaction.

Q: How does a 1031 exchange in real estate affect investment decisions? By deferring capital gains tax, investors keep a larger pool of capital working in real estate. In the worked example, executing a 1031 exchange allows the full $9 million of sale proceeds to flow into a $10 million building instead of having to redeploy only $7.8 million after taxes, enabling a substantially larger replacement acquisition.

Q: What is a real-world example of a 1031 exchange in real estate? In the worked example, an investor sells an apartment for $9 million with a $3.5 million adjusted basis, generating $5.5 million of gain and roughly $1.2 million in federal tax. A 1031 exchange defers the entire gain and allows the full $9 million to be reinvested into a $10 million industrial building. The deferred gain reduces the replacement property's basis to $4.5 million.

Q: How can investors use 1031 exchange in real estate planning? Track cumulative deferred gains across a portfolio of exchange-chain properties, because that embedded gain will eventually surface in a taxable sale or estate. Build cash for the tax payment that arrives at the eventual exit. Also keep close records of all QI documentation and identification letters, since the burden of proof for exchange qualification falls on the taxpayer.

Q: How is a 1031 exchange different from an Opportunity Zone investment? A 1031 exchange requires reinvestment in like-kind real property and simply defers the original gain into the replacement property. An Opportunity Zone investment can be funded by any capital gain from any asset class, defers the original gain to a statutory date (currently December 31, 2026), and can permanently exclude appreciation on the new QOF investment after a 10-year hold. Opportunity Zones offer potential elimination of new appreciation; 1031 exchanges do not.

Sources

  1. Internal Revenue Service. "Like-Kind Exchanges Under IRC Section 1031" (FS-2008-18). https://www.irs.gov/pub/irs-news/fs-08-18.pdf
  2. 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
  3. Internal Revenue Service. "2025 Instructions for Form 8824, Like-Kind Exchanges." https://www.irs.gov/pub/irs-pdf/i8824.pdf

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