After-Tax Engineering

1031 Exchange: Tax Deferral, Not Free Money

A 1031 exchange defers capital gains and depreciation recapture on a property sale. The rules are strict, the timelines are unforgiving, and the deferred tax follows you. What it does and does not do.

Published June 2026 · Last reviewed June 2026 · IRC §1031 (like-kind exchanges); Treasury Reg. §1.1031(k)-1 (deferred exchange rules, identification and exchange periods); IRS Publication 544 (sales and other dispositions of assets)
Educational content only. This article does not constitute tax, legal, or investment advice. Tax rules are complex and fact-specific — consult a qualified CPA, EA, or tax attorney before acting.

Applies to

Real estate investors planning to sell an investment property at a gain and wanting to defer the capital gains tax and depreciation recapture by rolling proceeds into a new property.

Skip if

You are selling a primary residence (different rules — §121 exclusion applies). Also skip if the gain is small enough that the exchange costs and complexity exceed the tax deferred.

TL;DR

  • A 1031 exchange defers — does not eliminate — capital gains tax and depreciation recapture when you sell a qualifying investment property and replace it with a like-kind property.
  • The timeline is strict and unforgiving: 45 days to identify the replacement property, 180 days to close. Miss either deadline and the exchange fails — full tax is owed immediately.
  • The deferred tax follows you into the replacement property through a reduced cost basis. Unless you hold the replacement property until death (step-up), die with it in an estate, or do a charitable disposition, you will eventually owe the tax.

What a 1031 exchange does

When you sell an investment property, you normally owe:

  1. Capital gains tax on the appreciation (15% or 20% LTCG rate)
  2. Depreciation recapture on all depreciation taken (25% rate on §1250 gain)
  3. Potentially the 3.8% Net Investment Income Tax (NIIT) if your income exceeds the threshold

A 1031 exchange defers all of these taxes by rolling the proceeds into a replacement property. No tax is paid at the time of sale — the gain carries over and is built into the replacement property’s basis.

What it is not: It is not tax elimination. The tax exists as a liability embedded in the replacement property’s lower cost basis. It becomes due when you eventually sell that property without another exchange.


The mechanics

Step 1: Decide before closing You must intend to do a 1031 exchange before selling. You cannot complete the sale, receive the proceeds, and then decide to exchange. The moment you receive the funds, you have a taxable sale.

Step 2: Use a Qualified Intermediary (QI) You cannot touch the sale proceeds. A Qualified Intermediary (a third-party escrow entity, not your broker, CPA, or family member) holds the proceeds between the relinquished property sale and the replacement property closing. The QI fee is typically $750–$1,500.

Step 3: 45-day identification period From the date of the relinquished property closing, you have 45 calendar days to identify potential replacement properties in writing to your QI. No exceptions. Missing this deadline kills the exchange.

You may identify up to 3 properties (3-property rule) without restriction. Or you may identify more properties subject to value limitations (200% rule, 95% rule). In practice, most investors use the 3-property rule.

Step 4: 180-day exchange period You must close on the replacement property within 180 calendar days of the relinquished property closing — not 180 days from identification. The two periods run concurrently. If you identify on day 44, you have 136 days left to close.

If your tax return is due before day 180, you must file an extension to preserve the full 180-day period.

Step 5: Like-kind property requirement The replacement property must be “like-kind” — any real property held for investment or business use. A single-family rental can exchange into a commercial building, a farm, or raw land. “Like-kind” is broadly interpreted for real property. You cannot exchange into a primary residence, stock, or personal property.

Step 6: Equal or greater value To defer all taxes, the replacement property must be of equal or greater value than the relinquished property, and all equity must be reinvested (no “boot” — cash out). If you receive boot (cash back or net debt relief), the boot is taxable in the year of exchange.


How the basis works

The replacement property inherits the deferred gain through a reduced cost basis.

Example:

  • Relinquished property: sold for $600,000, original basis $200,000 (including depreciation adjustments)
  • Deferred gain: $400,000
  • Replacement property purchase price: $700,000
  • Replacement property basis: $700,000 − $400,000 deferred gain = $300,000

Future depreciation on the replacement property is calculated on the $300,000 basis, not the $700,000 purchase price. You also start depreciating at whatever remaining life the basis represents.

The deferred gain follows you permanently until you either sell (and pay or exchange again), die (step-up in basis eliminates it), or make a charitable disposition.


Boot: when partial deferral occurs

If you receive cash back (cash boot) or reduce your net debt (mortgage boot), the boot is taxable.

Example: Relinquished property sold for $600,000 with $300,000 mortgage. Replacement property costs $550,000 with no mortgage. Your net debt relief is $300,000 — that is taxable boot even if no cash came to you directly.

Avoid boot by:

  • Replacing with equal or greater value
  • Maintaining equal or greater debt (or paying additional cash in)
  • Ensuring all equity is reinvested

When a 1031 makes sense — and when it does not

Makes sense when:

  • You have a large gain and significant depreciation recapture (large deferred tax liability)
  • You want to upgrade or consolidate your portfolio without a tax event
  • You are building a real estate portfolio and plan to hold long-term
  • Your replacement property is genuinely a better investment than the relinquished one

May not make sense when:

  • The gain is small — exchange costs ($750–$5,000) may exceed the tax deferred
  • You are not comfortable with the 45/180-day timeline pressure
  • The best replacement property available is not genuinely a good investment
  • You plan to sell and exit real estate within a few years (the deferred tax still comes due)
  • You are approaching death and a step-up would eliminate the gain anyway

The timeline trap: Many investors buy a poor replacement property under 180-day pressure because they could not find a good one in time. Buying a bad property to avoid tax is one of the most common real estate mistakes.


Depreciation recapture in a 1031

Depreciation recapture (§1250 gain) is deferred in a 1031 exchange but does not disappear. The 25% recapture rate is owed when you eventually sell the replacement property (or a subsequent exchanged property) without another exchange.

If you have done cost segregation on the relinquished property, you have significant accumulated depreciation — and significant recapture liability that rides along into the next property.


What most content gets wrong

“A 1031 exchange lets you avoid capital gains taxes.” It defers them. You are not avoiding anything — you are rolling the liability forward. If you ever sell without exchanging, the full deferred gain is taxable.

“You have 6 months to find a replacement.” You have 180 calendar days from the relinquished property closing — not 6 months. And the 45-day identification deadline runs concurrently. If you miss the 45-day window, you have no valid exchange even if you find a property on day 46.

“Any property qualifies.” Primary residences, vacation homes (mixed personal use), and personal property do not qualify. The replacement property must be held for investment or business use.


Decision checklist

  • Have you engaged a Qualified Intermediary before closing the sale?
  • Is your deferred tax liability large enough to justify exchange complexity and costs?
  • Have you identified 1–3 potential replacement properties you would actually want to buy?
  • Is the replacement property a genuinely good investment — or are you buying under timeline pressure?
  • Have you filed a tax return extension if the 180-day period crosses your return due date?
  • Have you modeled the boot exposure (cash + debt considerations)?
  • Does the replacement property’s basis math work for future depreciation planning?

When to call a CPA

1031 exchanges require a CPA and QI working together. Do not attempt this without professional guidance:

  • The QI must be engaged before you close the relinquished property
  • Basis tracking across exchanges is complex
  • Boot calculations require careful modeling
  • Depreciation recapture carryforward must be documented correctly

Sources

  • IRC §1031 — Like-kind exchange rules
  • Treasury Reg. §1.1031(k)-1 — Deferred exchange rules (identification and exchange periods)
  • IRC §1250 — Unrecaptured §1250 gain
  • IRC §121 — Primary residence exclusion (separate from 1031)
  • IRS Publication 544 — Sales and Other Dispositions of Assets
  • IRS Form 8824 instructions — Like-Kind Exchanges

Stay updated

New frameworks, calculators, and tax-aware analysis. No spam — unsubscribe any time.