1031 exchange step-by-step: defer capital gains by trading up your investment property
How a 1031 exchange works, the deadlines you cannot miss, the boot rules, and how to actually run one without blowing it up.
Last updated April 2026
On this page
- Who qualifies
- ”Like-kind” is broader than people think
- The two non-negotiable deadlines
- The four steps
- Step 1: Hire a Qualified Intermediary (QI) BEFORE closing on the sale
- Step 2: Sell the relinquished property
- Step 3: Identify replacement(s) by day 45
- Step 4: Close on the replacement by day 180
- The “trade equal or up” rule for full deferral
- Concrete example
- Calculating the deferred tax
- Choosing a QI
- Reverse 1031 (when you find the replacement first)
- Improvement / build-to-suit 1031
- Death and the step-up: “swap till you drop”
- Things that disqualify the exchange (or trigger gain)
- Cost-benefit
- Common mistakes
- Tools you’ll use
A 1031 exchange lets you sell investment real estate and defer ALL capital gains tax plus depreciation recapture by reinvesting the proceeds into like-kind property. On a $300k gain at a 25% effective tax rate that’s $75,000 of buying power preserved — a meaningful nudge to your next deal.
The mechanics are strict and unforgiving. Miss a deadline by one day, touch the cash for one second, or pick the wrong intermediary and the exchange is dead. This guide walks through it step by step.
Who qualifies
Property held for productive use in a trade or business OR for investment, exchanged for property of the same character. That’s the rule.
- Primary residences DON’T qualify. Use the Section 121 exclusion ($250k/$500k tax-free gain) instead.
- Vacation homes qualify only under the Rev. Proc. 2008-16 safe harbor: in EACH of the 2 years before the exchange, the property was rented to others at fair rental for at least 14 days AND your personal use did NOT exceed the greater of 14 days or 10% of the days rented at fair rental. The same 2-year test applies AFTER the exchange to the replacement.
- Flips don’t qualify. Property held primarily for resale (dealer property) is excluded under §1031(a)(2).
- Partnership interests don’t qualify (§1031(a)(2)(D)). If you’re in a partnership that owns real estate, the partnership can do a 1031, but your individual partnership interest cannot. TIC (tenancy-in-common) interests in real estate DO qualify if structured per Rev. Proc. 2002-22.
- Title-holding entity matters. The same taxpayer that sells must buy. Single-member LLCs (disregarded entities) are fine; the LLC member is the taxpayer. Switching from individual title to a multi-member LLC mid-stream blows up the exchange.
”Like-kind” is broader than people think
Almost ANY US real estate held for investment is like-kind to almost ANY other US real estate held for investment. Examples that qualify:
- Single-family rental → 4-unit apartment building
- Raw land → office building
- Vacation rental → industrial warehouse
- Strip mall → portfolio of single-family rentals
Examples that do NOT qualify:
- Real estate → REIT shares or partnership interests (TIC and DST interests structured under Rev. Rul. 2004-86 qualify; REIT shares and LP/LLC interests do NOT under §1031(a)(2)(D))
- US property → foreign property (and vice versa — though foreign-to-foreign is allowed)
- Real estate → personal property (vehicles, equipment) — killed by the 2017 TCJA, which restricted §1031 to real property only
- Primary residence → rental property (or vice versa) without intent to hold for investment
DSTs (Delaware Statutory Trusts) deserve a mention: a popular landing spot for investors who want passive income post-exchange. They qualify as like-kind real estate under Rev. Rul. 2004-86, but you give up control and can’t exchange out of a DST except into another DST or qualifying real estate. Run the fees and exit options before committing.
The two non-negotiable deadlines
Both clocks start the day you close on the sale of the relinquished property (the day after closing is day 1; the close date itself is day 0). There are essentially NO extensions — the only carveout is IRS-issued disaster relief in federally declared disaster areas (per Rev. Proc. 2018-58), which can extend by up to 120 days for affected taxpayers.
- 45 days to identify replacement property in writing
- 180 days to close on the replacement — OR the due date of your tax return (including extensions) for the year of sale, whichever is EARLIER. If you sell late in Q4, you MUST file an extension on your return or your 180-day window gets cut short.
Miss either by one day and the entire exchange is disqualified. The full gain becomes taxable in the year of sale.
The four steps
Step 1: Hire a Qualified Intermediary (QI) BEFORE closing on the sale
The QI is the legal third party that holds the proceeds. The structural requirement of a 1031 is that you NEVER take possession of the cash — even for one second. If the proceeds wire to your account between closings, the exchange is destroyed and the gain is fully taxable.
Hire the QI before the sale closes. Have them coordinate with the title company so the proceeds wire from the sale closing directly to the QI.
Step 2: Sell the relinquished property
Standard sale closing, with one critical wrinkle: proceeds wire from title to the QI, not to you. You sign exchange documents at closing (typically an Exchange Agreement, an Assignment of the Sale Contract to the QI, and a Notice of Assignment to the buyer).
The 45-day and 180-day clocks start the day after closing.
Step 3: Identify replacement(s) by day 45
Written notice to the QI, signed and dated. You have three identification rules to choose from:
- 3-property rule: identify up to 3 properties, of any value. The most-used rule.
- 200% rule: identify any number of properties, with combined fair market value ≤ 200% of the sold property’s sale price.
- 95% rule: identify any number of properties, but you must close on properties valued at ≥ 95% of the total identified value. High risk if any deal falls through.
Most exchangers use the 3-property rule. Identify a primary plus 2 backups.
Step 4: Close on the replacement by day 180
The QI wires the funds directly to the replacement closing. You take title. Exchange complete.
The “trade equal or up” rule for full deferral
To defer 100% of the gain, you must:
- Replacement value ≥ relinquished value
- Replacement debt ≥ relinquished debt (or replace the debt with equivalent new cash)
- Reinvest ALL the cash from the sale
Miss any of these and you have boot — taxable to the extent you fall short.
Concrete example
Sell a $700k rental with a $200k mortgage. After paying off the loan, you have $500k of equity at risk.
To fully defer:
- Buy replacement valued at $700k or more
- Take on new debt of $200k or more
- Reinvest all $500k of equity
If you trade DOWN to a $600k property with a $100k mortgage, you’ve got two kinds of boot:
- Cash boot: you pulled equity (taxable up to your gain). In this example you reinvested $400k of equity in a $600k property with a $100k loan — meaning $100k of cash is left in the QI account that comes back to you. That $100k is cash boot.
- Mortgage boot (debt relief): $200k old debt − $100k new debt = $100k of mortgage boot, taxable as gain. You can OFFSET mortgage boot by adding new cash to the deal — but cash boot cannot be offset by taking on extra debt.
Boot is taxed in this priority order: depreciation recapture (up to 25%) first, then remaining LTCG. So small amounts of boot can be disproportionately painful if recapture is large.
Calculating the deferred tax
Run your numbers through the 1031 calculator and the Capital Gains calculator.
The math:
- Gain = sale price − selling costs − adjusted basis (purchase price + improvements − accumulated depreciation)
- Tax without exchange = depreciation recapture × 25% + remaining LTCG × 15–20% + state tax + 3.8% NIIT (if your income exceeds the threshold)
- Tax with exchange = $0 today; the basis carries forward to the new property (you’ll restart depreciation on the carryover basis, with adjustments for any boot or new cash invested)
Example: $700k sale, $300k adjusted basis = $400k gain, ~$100k from depreciation recapture and ~$300k from appreciation. At ~25% blended effective tax, that’s ~$100k of tax saved (or really, deferred).
Choosing a QI
The QI is the single point of failure in the entire transaction. Choose carefully.
- Use a 1031-specialized firm (Asset Preservation, IPX 1031, Accruit, or your local equivalent). Decades of clean track record.
- NEVER use your CPA, attorney, real estate agent, employee, or family member as QI — the IRS “disqualified persons” rule under Reg. §1.1031(k)-1(k) prohibits it. Anyone who has acted as your agent (attorney, accountant, broker, real estate agent) within the 2 years before the exchange is disqualified, with a narrow carveout for routine 1031 services.
- Verify they hold funds in segregated qualified escrow accounts (not commingled), are bonded and insured, and have written procedures.
- Cost: $1,000–$2,500 per exchange. Cheap relative to the tax savings.
A QI that goes bankrupt with your money mid-exchange has happened. Ask about their fidelity bond and how funds are held.
Reverse 1031 (when you find the replacement first)
If your dream replacement appears before you’ve sold the relinquished property, a reverse 1031 lets an Exchange Accommodation Titleholder (EAT) hold title to either the replacement or the relinquished property under the Rev. Proc. 2000-37 safe harbor. You still must identify the relinquished property within 45 days and complete the exchange within 180 days of the EAT taking title.
More expensive ($5,000–$15,000) and more complex, but it preserves the deal. Financing a parked property is harder — many lenders won’t lend to an EAT, so cash or bridge financing is often required.
Improvement / build-to-suit 1031
You can use exchange funds to improve the replacement property. The catch: all improvements must be in place by day 180. Practical for finishing a shell building or completing rehab; not practical for ground-up construction unless tightly scoped.
Requires a specialized QI and a more complex Exchange Accommodation Titleholder structure.
Death and the step-up: “swap till you drop”
This is the holy grail of long-term real estate investing.
Each 1031 exchange defers gain — it doesn’t eliminate it. The deferred gain accumulates as a lower basis on each successive property.
But when you die, your heirs inherit at fair market value (the “stepped-up basis”). All of the deferred gain — potentially decades of compounded appreciation and depreciation — is wiped out for tax purposes.
If you exchange continuously and hold to death, you’ve grown your real estate portfolio with NEVER paying capital gains tax. This is not a loophole; it’s explicit policy, and it’s why long-term real estate investors so rarely sell.
Things that disqualify the exchange (or trigger gain)
- Touching the cash, even briefly. Proceeds must flow QI → QI.
- Missing either deadline by one day. Essentially no extensions outside federally declared disasters.
- Related-party traps (§1031(f)). Buying replacement FROM a related party (spouse, sibling, ancestor, descendant, or >50%-controlled entity) generally requires both parties to hold for 2 years post-exchange or both exchanges unwind. Selling TO a related party is even more fraught and often disqualifies the exchange entirely under the basis-shifting rules. Talk to a CPA before any related-party leg.
- Replacement property intended for personal use. Convert later with caution. The Rev. Proc. 2008-16 safe harbor for converting an exchanged property to a primary residence: in EACH of the 2 years AFTER exchange, rent at FMV for at least 14 days and limit personal use to the greater of 14 days or 10% of days rented. Then you can move in. To later claim Section 121, you also need the 5-year holding period under §121(d)(10) for property acquired in a 1031.
- Switching from real property to securities. Like-kind requires real estate. (Post-TCJA, personal property no longer qualifies for §1031 at all.)
- Receiving anything other than like-kind property and cash boot. Furniture, equipment, debt relief beyond debt assumption can all trigger boot. If you’re buying a property with included FF&E (furniture, fixtures, equipment — common in short-term rentals), allocate value to real property in the contract and consider buying personal property separately.
Cost-benefit
A 1031 makes sense for any gain greater than ~$50,000. Below that, the QI fees and friction often exceed the tax saved — especially if your state has no income tax and the federal LTCG hit is the only tax.
For larger gains ($200k+), the math is overwhelming and the only real question is execution.
Common mistakes
- Hiring a QI after closing on the sale. Too late. The exchange is dead the moment you receive the proceeds.
- Missing the 45-day identification deadline because you’re still shopping. Identify your top 3 candidates before day 45 even if you’re unsure.
- Replacement closing delayed past day 180 by lender or seller. Build cushion. Don’t close a sale on the 1st of the month with a slow buyer on the replacement.
- Trading down without realizing it triggers boot. Always model the numbers ahead of time.
- Using a non-specialist as QI. Your CPA is NOT allowed to be your QI. Neither is your attorney or agent.
- Failing the “investment intent” test on the replacement. You bought, immediately moved in, called it a primary residence. The IRS unwinds the exchange.
- Forgetting state-level rules. California has clawback provisions (FTB Form 3840) requiring annual reporting on California-sourced gain even after exchanging out of state — CA wants its tax when you eventually sell the out-of-state replacement, even if you no longer live in CA. Oregon, Massachusetts, and Montana have similar clawback regimes.
- Forgetting Form 8824. Every 1031 must be reported on Form 8824 with your tax return for the year of sale, even when no tax is due.
- Not basis-tracking the new property. Your basis in the replacement is generally the basis of the relinquished property plus any new cash/debt added minus any boot received. Depreciation on the replacement gets complicated — the carryover basis continues its original schedule, and only the “excess basis” (new money) starts a fresh 27.5-year clock (Reg. §1.168(i)-6). Almost no one models this correctly without a CPA.
Tools you’ll use
- 1031 Exchange calculator — model the deferred tax and boot scenarios
- Capital Gains calculator — what you’d owe without the exchange
- Seller Net Sheet — real proceeds at the sale closing
- Investment Property Analyzer — underwrite the replacement
- Sell vs Rent calculator — sometimes the right answer is to keep the existing property