§1031 — the "like-kind exchange" (the foundation)
Statute: 26 USC §1031
A §1031 exchange lets an investor sell one piece of investment real estate ("relinquished property") and reinvest the proceeds into another investment property ("replacement property") without recognizing capital gain in the year of sale. The gain isn't erased — it's deferred into the new property's cost basis. The tax bill only arrives when the investor eventually sells for cash (or dies, at which point step-up wipes it out entirely).
The clock — 45 days and 180 days
45 days
to identify replacement property in writing to the qualified intermediary. Missed by one day = entire exchange fails.
180 days
to actually close on the replacement property (deed transferred, funds delivered).
The 45-day clock is the killer. Common mitigations:
- Start hunting for replacement property before listing the relinquished property
- Use the "three-property rule" (identify up to 3 candidates without value cap)
- Or the "200%-of-value rule" (identify unlimited candidates as long as combined value ≤ 200% of relinquished property value)
- Or the "95% rule" (identify unlimited candidates, but must acquire 95% by value of what was identified)
The qualified intermediary — mandatory third-party
The seller cannot touch the sale proceeds. Cash must flow from the relinquished-property sale directly to a qualified intermediary (QI) — a neutral third party — who then delivers the funds to close the replacement property. If the seller receives the cash even briefly (bank account, escrow to seller's name), the exchange is disqualified.
QIs charge $500–$5,000 per exchange. Major providers: IPX1031, Asset Preservation, First American Exchange, Old Republic.
Warning: QIs are lightly regulated. A QI that goes bankrupt with your funds is a real risk — several high-profile QI failures over the past 20 years cost investors hundreds of millions. Pick a QI with segregated qualified escrow accounts, not commingled funds.
"Like-kind" is broader than intuition suggests
For real estate, "like-kind" means any US real estate held for investment or business use, exchanged for any other US real estate held for investment or business use. Apartment building ↔ farmland ✓. Vacant land ↔ office building ✓. Rental single-family ↔ commercial warehouse ✓. Vacation rental ↔ industrial property ✓.
But NOT: foreign real estate ↔ US real estate ✗ (must be US-to-US). Primary residence ↔ investment property ✗ (personal use disqualifies). Real estate ↔ REIT shares ✗ (REIT shares are securities). Real estate ↔ stocks, bonds, art, crypto ✗ (post-TCJA 2017, §1031 is real-estate-only).
Boot — the taxable leftover
If the replacement property costs less than the relinquished property, OR the taxpayer walks away with cash or non-like-kind property ("boot"), the boot portion is taxable in the year of exchange.
Example: Sell relinquished for $2M, buy replacement for $1.6M, take $400k cash. That $400k is boot and is fully taxable as capital gain in the exchange year. The remaining $1.6M gain rolls into the new property's basis.
Rule of thumb: to fully defer, the replacement property must be equal or greater value, and all cash must roll. Any downgrade or cash-out triggers proportional recognition.
The "swap till you drop" endgame
Property A (bought $500k, sold $2M)
↓ §1031
Property B (bought $2M with rolled gain, sold $5M)
↓ §1031
Property C (bought $5M with rolled gain, held to death)
↓ Death — IRC §1014 step-up
Heirs inherit Property C at $5M fair market value.
$4.5M of accumulated deferred gain → wiped out entirely.
No income tax ever paid on that $4.5M.
This is the mechanic that has built countless multi-generational real estate fortunes.