US Tax Tools
Investment

1031 Exchange Explained: Defer Capital Gains Tax on Real Estate

When you sell an investment property at a profit, the IRS wants its cut — up to 23.8% federal tax plus state taxes. But under IRC Section 1031, you can defer that entire bill by reinvesting into another “like-kind” property. This is the 1031 exchange, one of the most powerful tax strategies for real estate investors.

What Is a 1031 Exchange?

A 1031 exchange (also called a like-kind exchange) lets you sell an investment or business property, buy a replacement of equal or greater value, and defer all capital gains tax. You are deferring, not eliminating — but as we will cover, “deferring” can effectively become “never paying.”

The key rules:

  • Investment or business property only. Your primary residence does not qualify. Vacation homes generally do not qualify unless you can demonstrate investment intent. Rental properties, commercial buildings, raw land, and farmland all qualify.
  • Like-kind is broad. “Like-kind” in real estate means any real property for any other real property. You can swap an apartment building for raw land, a retail strip mall for a single-family rental, or a warehouse for an office building.
  • Must be within the United States. You cannot exchange a US property for a foreign one or vice versa.

The Timeline: Two Critical Deadlines

A standard 1031 exchange (called a “delayed exchange”) has two hard deadlines that start the day you close on the sale of your old property:

DeadlineTimeframeWhat You Must Do
Identification Period45 calendar daysIdentify up to 3 potential replacement properties in writing
Exchange Period180 calendar daysClose on the replacement property

These deadlines are absolute — no extensions, even if day 45 or 180 falls on a weekend or holiday. Miss either one and the entire exchange fails, making the gain immediately taxable.

You Must Use a Qualified Intermediary

You cannot touch the sale proceeds at any point during the exchange. A Qualified Intermediary (QI) holds the funds between the sale and the purchase. If you receive the money, even briefly, the exchange is disqualified. QIs typically charge $750 to $1,500 for a standard exchange.

Important: Your QI cannot be someone who has acted as your agent in the past two years — this disqualifies your attorney, accountant, real estate agent, or broker.

How Much Tax Can You Defer?

The savings from a 1031 exchange are substantial, especially at higher property values. This table assumes a married-filing-jointly taxpayer in the 20% long-term capital gains bracket, subject to the 3.8% NIIT, with a 5% average state tax rate:

Capital GainFederal Tax (23.8%)State Tax (5%)Total Tax Deferred
$300,000$71,400$15,000$86,400
$500,000$119,000$25,000$144,000
$1,000,000$238,000$50,000$288,000

That is real money that stays invested and compounding rather than going to the government.

Worked Example: Deferring a $250,000 Gain

Sarah bought a rental property in 2018 for $350,000. Over the years, she claimed $50,000 in depreciation, giving her an adjusted basis of $300,000. In 2026, she sells the property for $600,000.

Without a 1031 exchange:

  • Sale price: $600,000
  • Adjusted basis: $300,000 (original $350,000 minus $50,000 depreciation)
  • Total gain: $300,000
    • Capital gain: $250,000
    • Depreciation recapture (Section 1250): $50,000 taxed at 25% = $12,500
  • Federal capital gains tax on $250,000 at 23.8% = $59,500
  • Total federal tax: $59,500 + $12,500 = $72,000
  • State tax (assume 5%): $15,000
  • Total tax bill: $87,000

With a 1031 exchange:

Sarah uses a QI to hold the $600,000 in proceeds. Within 45 days, she identifies a replacement property — a small apartment building listed at $650,000. She closes within 180 days, using her $600,000 exchange funds plus $50,000 of her own cash.

  • Tax due now: $0
  • Her basis in the new property: $350,000 (the original basis carries over)
  • Depreciation recapture: carries over to the new property
  • She deferred $87,000 in taxes and put that money to work in a larger asset

Watch Out for “Boot”

Boot is any non-like-kind property or cash you receive in the exchange. Boot is taxable. Common sources of boot:

  • Cash boot: You sell for $600,000 but only buy a replacement for $500,000. The $100,000 leftover is taxable boot.
  • Mortgage boot: Your old property had a $200,000 mortgage, but your new property only has a $150,000 mortgage. The $50,000 reduction in debt is boot.
  • Non-real-property items: If the sale includes personal property (appliances, furniture) priced separately, that portion does not qualify.

The simple rule: to defer 100% of the gain, buy a replacement property of equal or greater value and reinvest all the proceeds.

Depreciation Recapture Carries Over

Under Section 1250, depreciation claimed on the old property carries over to the replacement property. If you eventually sell without doing another 1031 exchange, you will owe depreciation recapture tax (at 25%) on accumulated depreciation from both properties.

Reverse 1031 Exchange: Buy Before You Sell

A reverse 1031 exchange lets you buy the replacement property first, then sell the old one. The same 45-day and 180-day deadlines apply in reverse. An Exchange Accommodation Titleholder (EAT) holds title to the new property until you complete the sale.

Reverse exchanges are more expensive (typically $3,000 to $10,000 in fees), but they eliminate the pressure of finding a replacement property under the 45-day clock.

The Ultimate Exit Strategy: Step-Up in Basis at Death

Here is where the 1031 exchange becomes truly powerful as a wealth-building strategy. Under current law, when you pass away, your heirs receive your property with a stepped-up basis equal to the fair market value at the date of death.

That means all the capital gains and depreciation recapture you deferred through years of 1031 exchanges are permanently eliminated — not just deferred, but erased. Your heirs can sell the property immediately with zero capital gains tax.

This is why many real estate investors adopt a “swap till you drop” strategy: do 1031 exchanges throughout your lifetime, continually trading into larger or better properties, and let the step-up in basis wipe out the deferred taxes at death.

Key Takeaways

  • A 1031 exchange defers capital gains tax when you sell investment real estate and reinvest in like-kind property.
  • You have 45 days to identify replacement properties and 180 days to close — these deadlines are absolute.
  • You must use a Qualified Intermediary; you cannot touch the proceeds.
  • Buy a property of equal or greater value and reinvest all proceeds to avoid taxable boot.
  • Depreciation recapture carries over to the replacement property under Section 1250.
  • A reverse exchange lets you buy first and sell second, with the same deadlines.
  • The step-up in basis at death can permanently eliminate all deferred gains — making 1031 exchanges one of the most effective long-term wealth-building tools in the tax code.

Use our 1031 Exchange Calculator to estimate your potential tax savings, or check your gain with the Capital Gains Tax Calculator.

1031-exchange real-estate capital-gains like-kind-exchange

Last updated April 12, 2026 Tax year 2025-26

Data sources: IRS (irs.gov), Social Security Administration

This tool is general information only, not financial advice.

Reviewed by USTax Tools Editorial Desk

Read our methodology →