After 10 years of holding a rental property, a landlord on a $300,000 purchase has accumulated $85,452 in depreciation deductions. That’s roughly $18,800 in deferred tax at the 22% bracket — real cash that stayed in their pocket every year instead of going to the IRS.

The bill comes at the closing table. Selling that property for $375,000 triggers $32,613 in federal tax (before NIIT): $21,363 in depreciation recapture at 25% and $11,250 in long-term capital gains at 15%. Writing that check reduces the capital available for the next deal by nearly $33,000.

A Section 1031 like-kind exchange defers that entire bill. The gain doesn’t disappear — it follows you into the replacement property’s adjusted basis — but it doesn’t come due until you sell the replacement without another exchange. And if you die holding the property, it never comes due at all.

What a 1031 Exchange Actually Does

Section 1031 of the Internal Revenue Code allows you to swap one investment property for another “like-kind” investment property and defer all recognized gain on the transaction. The IRS treats the exchange as a continuation of the original investment rather than a sale-and-purchase.

Three things happen simultaneously:

  1. Your gain (both the recapture portion and the LTCG portion) is deferred — not eliminated
  2. Your old adjusted basis carries forward into the replacement property
  3. Your hold period carries forward (you don’t restart the long-term capital gains clock)

The practical result: $32,613 that would have gone to the IRS stays invested in your next property.

The Tax Bill You’re Deferring

This example uses the same property from the depreciation deep-dive and the recapture post so the numbers carry through cleanly.

ItemAmount
Purchase price (2016)$300,000
Depreciable basis (80% of purchase)$240,000
Annual depreciation ($240K ÷ 27.5 years)$8,727/yr
Cumulative depreciation — 10 years$85,452
Adjusted basis ($300K − $85,452)$214,548
Sale price (2026)$375,000
Total realized gain$160,452

That $160,452 gain splits into two buckets, taxed at different rates:

Gain ComponentAmountRateTax
Depreciation recapture (Section 1250)$85,45225%$21,363
Long-term capital gains (appreciation)$75,00015%$11,250
Total tax deferred with 1031$32,613

NIIT note: Filers with modified AGI above $200,000 (single) / $250,000 (married) also owe the 3.8% Net Investment Income Tax. On $160,452 of gain that adds $6,097 — bringing the deferred tax to $38,710. The same deferral logic applies to NIIT; the 1031 defers it along with the rest.

The 5 Core Rules

Section 1031 is rule-bound. Miss one requirement and the entire exchange fails — you recognize the full gain immediately with no second chances.

Rule 1

45-Day Identification Window
You have 45 calendar days from the date your relinquished property closes to identify potential replacement properties in writing to your Qualified Intermediary. The clock starts the day after closing. No extensions, no exceptions (except presidentially declared disasters).

Rule 2

180-Day Closing Window
You must close on the replacement property within 180 calendar days of your relinquished property’s closing — or by your tax return due date (including extensions) if that’s earlier. The 45-day and 180-day clocks run concurrently; they both start on the same day.

Rule 3

Like-Kind Property
Any U.S. real property held for investment or business use qualifies. A single-family rental can exchange for a duplex, commercial building, or raw land. Primary residences and vacation homes used primarily for personal purposes do not qualify.

Rule 4

Equal or Up
To defer 100% of your gain, the replacement property must cost at least as much as the net sale price of the relinquished property, and you must replace all the debt or substitute cash. Buying down in value or leverage triggers partial recognition (see boot section below).

Rule 5

Qualified Intermediary (QI) Required
You cannot touch the sale proceeds at any point in the exchange. A QI (also called an exchange accommodator) holds the funds from the moment your old property closes until you close on the replacement. If the cash ever hits your bank account, the exchange is disqualified.

Rule 6

Investment or Business Use Only
Both the relinquished property and the replacement property must be held for investment or productive use in a trade or business — not for personal use. Properties converted to a primary residence immediately after exchange will draw IRS scrutiny; the IRS requires a holding period before any change of use.

The most common mistake: Waiting until after the sale closes to engage a QI. Once the sale is complete and funds are distributed, the exchange cannot be initiated retroactively. Your QI must be in place before closing — typically before you sign the purchase agreement for the sale.

How the Exchange Works: Step by Step

Using the $300K property above, here is the mechanics of a clean forward exchange (the most common type).

Step 1 — Before Closing

Engage a Qualified Intermediary

Sign an exchange agreement with a QI before you close the sale. QI fees typically run $800–$1,500 for a straightforward residential exchange. Your attorney or closing agent will coordinate the paperwork. The QI’s job: receive the proceeds, hold them in a segregated account, and release them only to purchase the replacement.

Step 2 — Sale Closing

Sale Proceeds Go to QI (Never to You)

At closing, the net proceeds from the $375,000 sale — after paying off any existing mortgage and closing costs — flow directly to the QI. You never receive a check. The 45-day and 180-day clocks both start the day after this closing.

Step 3 — Day 1 to Day 45

Identify Replacement Properties in Writing

You have 45 days to submit a written identification list to your QI. The standard approach is the 3-property rule: identify up to three properties of any value. Most landlords identify two or three candidates to give themselves flexibility, since one deal often falls through during due diligence.

Step 4 — Day 1 to Day 180

Close on the Replacement

Proceed with due diligence and contract negotiation on your chosen replacement. At closing, the QI wires the held funds directly to the title company. If the replacement costs more than the proceeds held by the QI, you bring the difference to closing in cash or via a new mortgage.

Step 5 — Tax Filing

Report on Form 8824

The exchange is reported on IRS Form 8824 (Like-Kind Exchanges) filed with your annual return. No gain is recognized if the exchange was clean (no boot). Your tax preparer will record the deferred gain and the replacement property’s carryover basis.

Worked Example: Upgrading to a $500K Duplex

The 1031 exchange is designed for investors who want to trade up. Here is the full math on reinvesting the $375,000 proceeds into a $500,000 duplex.

ItemAmount
The Exchange
Relinquished property sale price$375,000
Net proceeds to Qualified Intermediary$375,000
Replacement property purchase price$500,000
Additional cash brought by investor at closing$125,000
The Basis Carryover
Old adjusted basis (carried forward)$214,548
Additional cash added$125,000
Replacement property tax basis$339,548
Replacement purchase price$500,000
Deferred gain embedded in basis$160,452
Tax Outcome
Tax deferred (without NIIT)$32,613
Tax paid now$0

The $160,452 in deferred gain is not gone — it lives inside the $500,000 property as a basis gap. The replacement property is worth $500,000, but its tax basis is only $339,548. If you sell the duplex tomorrow for $500,000 with no additional depreciation, you would owe tax on the full $160,452 at that point.

The Real Cost: What You Give Up in Future Depreciation

The 1031 exchange is not free money. The carryover basis reduces the depreciable base of the replacement property, which means lower annual depreciation deductions going forward.

ScenarioDepreciable BasisAnnual Depreciation
Fresh $500K purchase (no 1031)$425,000 (85% of $500K)$15,455/yr
1031 carryover basis$288,616 (85% of $339,548)$10,495/yr
Annual difference$4,960/yr less

At a 22% bracket, that $4,960/yr difference represents $1,091/yr in foregone tax deductions. Over 27.5 years, the present value of those foregone deductions (at an 8% discount rate) is approximately $12,000.

Compare that to the $32,613 deferred today: the net present value benefit of doing the 1031 exchange is approximately $20,000 in today’s dollars. Time value works in your favor — a dollar of tax deferred today is worth more than a dollar of tax deduction in year 20.

The Debt Boot Trap

Boot is any non-like-kind value received in the exchange. Receiving boot triggers gain recognition equal to the lesser of the boot received or the total realized gain. There are two types.

Cash boot is the obvious one: if your QI holds $375,000 and you only spend $350,000 on the replacement property, the $25,000 leftover is boot. You recognize $25,000 of gain, and only $135,452 is deferred.

Mortgage boot is the trap that catches investors off guard.

Debt boot scenario: You sell a property with a $200,000 mortgage (net $175,000 to QI). You want to simplify and buy a $300,000 all-cash replacement, adding $125,000 of your own cash at closing. Old debt: $200,000. New debt: $0. New cash added: $125,000.

Rule: Replacement debt + new cash ≥ old debt must hold to avoid boot.
$0 + $125,000 = $125,000 < $200,000 — you are $75,000 short. The IRS treats the $75,000 debt reduction as $75,000 of cash boot received. You must recognize $75,000 of gain.

The fix: either take on at least $75,000 of new mortgage on the replacement, or bring an additional $75,000 cash to closing. Going all-cash is fine — as long as you replace the debt dollar for dollar with cash.

The Chain Strategy: Indefinite Deferral

There is no limit on the number of 1031 exchanges an investor can do. The same gain can be rolled from property to property indefinitely — each exchange restarting the clock on deferral while the portfolio grows with pre-tax dollars.

Three outcomes resolve the deferred gain eventually:

  1. Final taxable sale: Sell without another exchange and pay all deferred taxes on the full accumulated gain at that time.
  2. Installment sale: Section 453(i) of the tax code requires depreciation recapture to be recognized in full in the year of sale even on installment terms — so installment sales do not defer the recapture portion. The LTCG portion can be spread over installments, but recapture comes due immediately.
  3. Death + stepped-up basis: Your heirs inherit the property at its fair market value at your date of death. All deferred gain — including the accumulated depreciation recapture from every exchange in the chain — is permanently eliminated. This is the “die holding it” strategy that estate planners reference for high-net-worth landlords with substantial deferred gains.

Estate planning note: A landlord who does three sequential 1031 exchanges over 30 years might accumulate $500,000 or more in deferred recapture gains. Holding through death eliminates that entire liability for heirs. Combined with a stepped-up basis, heirs can sell immediately after inheriting with zero capital gains tax and begin fresh depreciation on the inherited value.

When the 1031 Exchange Is NOT Worth It

Not every situation favors deferral. Three scenarios where you might intentionally sell and pay taxes:

Track Every Tax Number Across Your Portfolio

The 1031 analysis above requires accurate basis tracking, cumulative depreciation records, and hold-period data for every property. The Rental Property Tracker Pro does all of it: Schedule E data, depreciation schedule, cash-on-cash return, DSCR, and the NOI metrics that drive your exchange decisions.

Start Tracking — Lite $9 Rental Tracker Pro $29

What to Do Before You List the Property

The 1031 clock does not start until closing, but preparation starts months earlier. Before you put the property on the market:

  1. Calculate your deferred gain and tax liability using your adjusted basis and current market value. Know the exact number you are deferring — this is your negotiating data point with your QI and your CPA.
  2. Identify target markets and property types for the replacement. You will only have 45 days after closing to identify candidates. Doing the research now removes time pressure from the process.
  3. Engage a Qualified Intermediary before listing — ideally before signing a purchase agreement for the sale. QIs must be set up in advance; they cannot be brought in after closing.
  4. Consult a CPA familiar with Section 1031. The rules around boot, basis allocation, and debt replacement have nuances that vary by transaction structure. The numbers in this post are illustrative; your actual tax outcome depends on your full financial picture.

Frequently Asked Questions

What is the 45-day rule in a 1031 exchange?
The 45-day rule requires you to identify potential replacement properties in writing within 45 calendar days of closing on your relinquished property. The clock starts the day after your sale closes — not the day you list the property or sign the contract. You must provide the written identification to your Qualified Intermediary by midnight on day 45. There are no extensions except for federally declared disasters. You can identify up to three properties of any value (the 3-property rule), any number of properties whose total FMV does not exceed 200% of your sold property’s value (the 200% rule), or any number of properties if you actually close on 95% of their total value (the 95% rule). Missing the 45-day deadline is fatal to the exchange — the full gain is recognized immediately.
Does a 1031 exchange eliminate depreciation recapture?
No. A 1031 exchange defers depreciation recapture — it does not eliminate it. When you exchange into a replacement property, the deferred gain (including the Section 1250 recapture portion) is embedded in the replacement property’s adjusted basis. If you sell the replacement without another exchange, the full accumulated recapture comes due at that point. However, if you hold the replacement property until death, your heirs receive a stepped-up basis equal to fair market value at your date of death — which permanently eliminates the deferred recapture tax. This is why “die holding it” is a legitimate estate planning strategy for high-net-worth landlords with substantial unrealized gains.
What counts as like-kind property in a 1031 exchange?
“Like-kind” is broadly defined for real property. Any U.S. real property held for investment or productive use in a trade or business qualifies — single-family rentals, multifamily, commercial, industrial, raw land, or a leasehold interest of 30+ years. A single-family rental can exchange for a duplex, a duplex for a commercial building, or raw land for a triple-net lease property. What does NOT qualify: your primary residence, vacation homes used primarily for personal use, foreign property (cannot exchange U.S. for foreign), stocks, bonds, or partnership interests. Since the Tax Cuts and Jobs Act of 2017, personal property exchanges (equipment, vehicles, artwork) no longer qualify — real property only.
What is boot in a 1031 exchange and how does it work?
Boot is any non-like-kind property received in the exchange — most commonly cash or mortgage relief. Receiving boot does not disqualify the exchange, but you must recognize gain equal to the lesser of the boot received or your total realized gain. Cash boot: if your QI holds $375,000 and you only spend $350,000 on the replacement, the $25,000 left over is boot. Mortgage boot: if your old property carried $200,000 in debt and your replacement carries only $100,000, the $100,000 reduction in liabilities is treated as boot unless you offset it with additional cash. Rule of thumb: replacement debt plus new cash added must equal or exceed the old debt to avoid mortgage boot.

Related Reading