How Does a 1031 Exchange Work?
A 1031 exchange lets real estate investors sell appreciated investment property and defer all capital gains tax — indefinitely — by reinvesting the proceeds into a replacement property. Here is the plain-English mechanics, the rules that govern it, and the numbers that determine whether it makes sense for your situation.
The core idea
Section 1031 of the Internal Revenue Code1 says that when you exchange one investment property for another "like-kind" property, no gain is recognized at the time of the exchange. The taxable event is deferred — not forgiven — until you eventually sell the replacement property in a taxable transaction.
Congress has provided this deferral since 1921. The practical effect is that investors can:
- Move equity from one property into a larger or different property without immediately paying tax
- Compound gains tax-free across multiple exchanges over many years
- Eliminate all deferred tax entirely at death via the §1014 step-up in basis
- §1250 unrecaptured depreciation — taxed at 25% on a regular sale
- Long-term capital gain on appreciation — taxed at 0%, 15%, or 20% depending on income
- Net investment income tax (NIIT) — 3.8% on high earners
- State capital gains tax — rates vary by state (0–13.3%)
The tax you are deferring — a worked example
Suppose you bought a rental fourplex in 2014 for $1,000,000, took $250,000 in depreciation over 11 years, and are now selling for $2,200,000 in 2026. Your adjusted basis is $750,000 ($1,000,000 − $250,000). Your total realized gain is $1,450,000.
| Tax layer | Amount | Rate | Federal tax owed |
|---|---|---|---|
| §1250 unrecaptured depreciation | $250,000 | 25% | $62,500 |
| Long-term capital gain on appreciation | $1,200,000 | 20% | $240,000 |
| Net investment income tax (NIIT) | $1,450,000 | 3.8% | $55,100 |
| Total federal tax on a taxable sale | $357,600 | ||
| In a fully compliant 1031 exchange | $0 |
State taxes are additional. A California seller at 13.3% would add another $192,850 in state tax, for a combined bill of ~$550,000. All of it deferred in a compliant exchange.2
The four requirements for a valid exchange
A 1031 exchange is not just an escrow mechanic — it is a legal structure with specific requirements. All four must be satisfied:
1. Like-kind property
Both the relinquished property and the replacement property must be real property held for investment or productive use in a trade or business. "Like-kind" is broad for real estate: an apartment building can exchange into a NNN retail building, raw land, a Delaware Statutory Trust (DST), or a TIC interest. What does not qualify: primary residences, fix-and-flip inventory, personal property (TCJA 2017 eliminated personal property 1031s), or partnership interests.1
2. The qualified intermediary (QI)
You cannot receive the sale proceeds yourself — even for a day. The funds must flow directly to a qualified intermediary (an unrelated third party, not your attorney or accountant if they have represented you in the last two years) who holds them until the replacement property purchase closes. If you touch the money, the exchange is blown and the gain is recognized immediately.3
3. The 45-day identification window
You have exactly 45 calendar days from the sale of the relinquished property to deliver a signed, written list of replacement property candidates to your QI. You must use one of three identification rules: the Three-Property Rule (identify up to three properties regardless of value), the 200% Rule (identify any number of properties as long as combined FMV does not exceed 200% of what you sold), or the 95% Rule (identify anything, but you must actually close on 95% of the identified value). The 45-day clock does not stop for weekends or holidays and cannot be extended.1
4. The 180-day closing window
You must close on the replacement property within 180 days of the relinquished-property sale (or the due date of your tax return if that falls earlier — see the deadline calculator). Both deadlines run simultaneously from the same start date. There is no pause between them.1
Step-by-step: how a forward exchange actually flows
A standard "forward" exchange (the most common structure) follows these stages:
- Select a QI before listing the property. The QI agreement must be signed before the sale closes. Lining one up after you have a buyer but before close is fine — but do not wait until the last minute. A good QI interview takes time.
- Open escrow on the sale. At closing, the title company sends net proceeds directly to the QI — not to you. Your sale contract should include a cooperation clause alerting the buyer that this is an exchange.
- 45-day identification window opens. From the day the sale closes, you have 45 days to identify replacement properties in writing to your QI. Most investors identify 2–3 candidates under the Three-Property Rule as backup.
- Due diligence on replacement property. Use this period to underwrite the replacement asset: cap rate, debt coverage, condition, title, lease terms, debt replacement math. Your lender, CPA, and financial advisor should all be reviewing the deal simultaneously.
- QI funds replacement close. When the replacement property closes within the 180-day window, the QI wires the exchange proceeds to escrow. You bring additional down payment if needed to cover any debt-replacement shortfall.
- File Form 8824 with your tax return. Your CPA reports the exchange, the carryover basis, and any boot recognized. The deferred gain appears nowhere on your return — it lives inside the new property's basis.
The reinvestment rule: equity, debt, and boot
To defer 100% of the gain, you must reinvest all net equity and replace all the debt that was on the relinquished property (or substitute cash for any debt reduction). If you pocket cash or reduce your debt load, the amount you kept or reduced is called boot — and it is taxable in the year of exchange.
You sell a property with a $600,000 mortgage and buy a replacement with a $400,000 mortgage. You have a $200,000 mortgage boot — taxed as recognized gain even though you received no cash. To avoid it, bring $200,000 in cash to the replacement closing to make up the difference.
The boot tax calculator shows the exact tax on different combinations of cash kept and debt reduction, layered in the correct order: §1250 recapture first at 25%, then capital gain at 20%, then NIIT at 3.8%.
The replacement property calculator tells you the minimum replacement value, equity, and debt needed for full deferral given your specific sale terms.
What happens to depreciation
The replacement property inherits the relinquished property's adjusted basis — carryover basis — not its fair market value. This means the deferred depreciation recapture stays inside the new property's tax life. If you sell the replacement property someday in a taxable transaction, you will owe the accumulated §1250 recapture on every dollar of depreciation ever taken across the entire exchange chain.
The one clean exit: death. Under IRC §1014, an heir's basis steps up to the date-of-death fair market value. All deferred recapture and all deferred capital gain — accumulated across every exchange — disappears. This is a central part of the long-term strategy for investors who intend to hold through their estate.
For more on how the carryover basis works and how depreciation interacts with the exchange, see the depreciation recapture guide.
Alternative structures
The standard "forward" exchange described above is the most common form, but three alternative structures exist for different situations:
| Structure | Use case | Key constraint |
|---|---|---|
| Forward exchange | Sell first, then buy | 45/180-day clocks start at sale close |
| Reverse exchange | Buy first, then sell | EAT holds title; up to $25K-$35K in extra costs; financing is harder |
| Build-to-suit / improvement exchange | Use exchange funds for construction on replacement property | All improvements must be complete within 180-day window; substantially-the-same-property rule |
| Delaware Statutory Trust (DST) | Passive fractional ownership in institutional real estate | Accredited investor required; Seven Deadly Sins restrictions; illiquid |
When a 1031 exchange makes sense — and when it doesn't
Deferring tax is not free. The exchange preserves equity in the new property, but it also locks you into a low-cost basis that amplifies future tax on any subsequent taxable sale. Here are the situations where the math genuinely favors the exchange:
- Large deferred gain relative to exchange costs. If you are deferring $200,000 in tax for a $2,500 QI fee, the math is obvious. At very small gains (under $50,000), QI fees and deal friction can erode the benefit.
- You intend to hold through the estate. The step-up at death eliminates everything. Investors who expect to hold the exchange chain until death capture the full benefit with zero ultimate tax.
- You have a clear, underwritten replacement property. A rushed exchange that forces you into a weak property can destroy more wealth than the tax would have. The 45-day window is not a reason to buy something you haven't underwritten.
- The replacement property fits the retirement and liquidity plan. The exchange moves equity into illiquid real estate. That only makes sense if the investor has adequate liquidity elsewhere and the replacement cash flow fits their income needs.
When the taxable sale wins: when the gain is small, when you need cash, when no suitable replacement exists within 45 days, when the replacement property concentrates risk badly, or when you are already in a low tax bracket in a low-tax state. The exchange vs taxable sale guide walks through the full comparison.
Where a financial advisor fits in
A qualified intermediary handles the legal mechanics of the exchange. Your CPA handles the tax reporting. What neither of them typically does:
- Model the full after-tax comparison between completing the exchange and taking the taxable proceeds
- Stress-test the replacement property against the household income and liquidity plan
- Evaluate DST concentration risk and commission conflicts
- Integrate the exchange with estate planning, retirement income projections, and the family balance sheet
A fee-only financial advisor — one with no product sales — can do all of that without a conflict of interest. This matters most when the DST option is on the table, because most DST sponsors pay 7–12% upfront commissions to the advisors who recommend them. A fee-only advisor has no financial incentive to push you toward a DST over direct property.
For more on how advisors are involved and what to ask when hiring one, see the financial advisor guide.
Sources
- IRC §1031 and Treasury Regulation §1.1031(k)-1 — law.cornell.edu/uscode/text/26/1031 — the statutory basis for like-kind exchanges, identification rules, and deadlines
- IRS Publication 544 (Sales and Other Dispositions of Assets) — irs.gov/publications/p544 — how gain and basis are computed for exchange transactions; 2026 tax rates verified against IRS Rev. Proc. 2025-61
- Treasury Regulation §1.1031(k)-1(g)(4) — Qualified Intermediary safe harbor and disqualified persons rule — law.cornell.edu/cfr/text/26/1.1031(k)-1
- IRS Form 8824 instructions (Like-Kind Exchanges) — irs.gov/forms-pubs/about-form-8824 — how to report the exchange and compute basis in replacement property
Tax rates and IRC section references verified against 2026 rules as of July 2026. Section 1031 exchange mechanics were not modified by OBBBA (July 2025) — the 45-day and 180-day deadlines, like-kind requirement, and QI rules remain unchanged. OBBBA did restore 100% bonus depreciation for replacement property acquired after January 19, 2025.
Get matched with a 1031 exchange specialist
Ready to model your exchange? A fee-only financial advisor in our network can help you compare the exchange against a taxable sale, check the replacement property math, and coordinate with your QI, CPA, and lender.