# The 1031 Exchange, Explained: Defer Tax, Keep Your Equity Working > How a 1031 exchange works — the 45-day and 180-day deadlines, the equal-or-greater-value and reinvest-all-cash rules, boot, qualified intermediaries, and common mistakes. By [Adam Kalimi](https://whosetitle.com/author/adam-kalimi) · Published 2026-07-17 · Updated 2026-07-17 Canonical: https://whosetitle.com/blog/1031-exchange-guide --- Sell an investment property at a healthy profit and you meet a silent partner at the closing table: the IRS. Between federal capital gains, depreciation recapture, the net investment income surtax, and state tax, a quarter to a third of your gain can vanish before you reinvest a dollar. A **1031 exchange** is the provision that lets you keep that money working — roll the entire proceeds into a new property and defer every cent of the tax. It's one of the most powerful tools in real estate investing, and one of the easiest to fumble. This is how it actually works, in plain language. ## What a 1031 exchange is Named for Section 1031 of the tax code, a 1031 (or "like-kind") exchange lets you sell one investment or business property and buy another **without recognizing the gain** — meaning you don't pay tax on the sale now. The tax isn't forgiven; it's deferred, rolled forward into the replacement property. Keep exchanging and you can defer it for decades. Two things it is *not*: it doesn't apply to your primary residence or a personal vacation home (investment and business property only), and it isn't a way to pull cash out tax-free. The whole mechanism is built to keep your equity invested, not to let you cash out. ## The two deadlines that govern everything The moment your sale closes, two clocks start ticking — on the same day, running at the same time. ```viz-stats { "items": [ { "value": "Day 0", "label": "Your relinquished property closes — both clocks start" }, { "value": "45 days", "label": "Identify your replacement property in writing" }, { "value": "180 days", "label": "Close on the replacement property" } ], "note": "The 180 days is not added on top of the 45 — both are counted from your sale date, so the 45-day window sits inside the 180-day one." } ``` Within **45 calendar days** you must identify your replacement property in writing, signed and delivered to your qualified intermediary. Within **180 calendar days** you must close on it. Both are counted from the day your sale closed, and both are hard: unlike most IRS deadlines, they do **not** roll forward when they land on a weekend or holiday. Miss either and the exchange fails — the sale becomes fully taxable, retroactive to the day you sold. One trap catches late-year sellers. The exchange period is actually the *earlier* of 180 days or the due date of your tax return for the year of the sale. Sell after mid-October and day 180 runs past the following April 15 — so unless you file a tax extension, your window is cut short. Our [1031 exchange deadline calculator](/free-tools/1031-exchange-deadline-calculator) maps both dates from your closing day and flags this automatically. ### The identification rules Your 45-day identification has to follow one of three counting rules: | Rule | How many you can name | The catch | | --- | --- | --- | | 3-property | Up to three, any value | No value cap — what most people use | | 200% | Any number | Combined value can't exceed 200% of what you sold | | 95% | Any number, any value | Only valid if you actually buy 95%+ of the total identified | ## The two rules for deferring 100% of the tax Hitting the deadlines keeps the exchange alive. Deferring *all* of the tax takes two more things: 1. **Buy equal or up in value.** Your replacement property must be worth at least the net sale price of what you sold. 2. **Reinvest all your cash.** Every dollar of net equity proceeds — the cash sitting with your intermediary — has to go into the replacement. There's a corollary about debt: the loan on your replacement should be at least as large as the loan you paid off, *or* you make up the difference with additional out-of-pocket cash. Buy down in value, pocket some proceeds, or shed debt without replacing it, and you create **boot**. ## Boot: the taxable leftover Boot is any value you walk away with that isn't like-kind property, and it's taxable up to the amount of your gain. It comes in two forms: - **Cash boot** — proceeds you didn't reinvest, because you bought cheaper or pulled money out at closing. - **Mortgage boot** — you took on less debt than you paid off without offsetting the gap with cash. The debt relief is treated as if you received cash. Boot doesn't blow up the exchange; it just makes it partial. You defer the rest and pay tax on the boot. The art of a clean exchange is structuring the purchase so there's no boot at all — which is exactly the problem a [tenants-in-common interest solves](/blog/tenants-in-common-1031-exchange) when no single property matches your numbers. ## The qualified intermediary is not optional Here's the rule that surprises first-timers: **you can never touch the money.** The proceeds from your sale must go directly from closing to a *qualified intermediary* (QI) — an independent third party who holds the funds and delivers them to buy your replacement. If the cash ever lands in your account, or you even have the *right* to it, the IRS treats it as a completed, taxable sale. There's no undo. A few things that follow from that: - The QI must be engaged and the exchange agreement signed **before** your relinquished property closes. You can't set it up after the fact. - Your CPA, attorney, or real estate agent can't serve as your QI — anyone with a recent business relationship to you is disqualified. - You can't use the QI-held funds as collateral or borrow against them. Any control over the money taints the exchange. ## What actually gets deferred The reason investors go to all this trouble is the size of the bill they're deferring. On a straight sale, four taxes stack up: ```viz-bars { "title": "The four taxes a 1031 exchange defers", "items": [ { "label": "Federal capital gains", "value": 20, "display": "0–20%" }, { "label": "Depreciation recapture", "value": 25, "display": "up to 25%" }, { "label": "Net Investment Income Tax", "value": 4, "display": "3.8%" }, { "label": "State income tax", "value": 13, "display": "0–13.3%" } ], "note": "Rates shown as their statutory ceilings. Depreciation recapture — tax on every dollar of depreciation you deducted over the years — is often the biggest and most surprising line." } ``` Combined, that's routinely 25–35% of the gain. The [1031 capital gains calculator](/free-tools/1031-exchange-capital-gains-calculator) estimates the exact figure for your property, so you can see what's genuinely at stake before deciding whether an exchange is worth the effort. And because you can exchange repeatedly — "swap till you drop" — the deferral can last a lifetime. Under current law, if you still hold the property at death, your heirs receive it at a stepped-up basis and the deferred gain disappears entirely. Plenty of investors never pay the tax this all defers. ## The mistakes that sink exchanges Most failed exchanges die from a handful of avoidable errors: - **Touching the money.** Any actual or constructive receipt of the proceeds ends it. Route everything through the QI. - **Missing or botching the 45-day ID.** The identification must be specific, written, signed, and delivered by day 45 — a vague or late one is fatal. - **A late-year sale with no tax extension.** File your return before day 180 and you cut the exchange period short. - **Title mismatches.** The same taxpayer that sold must buy — sell as yourself and try to buy through a new LLC and it can disqualify the exchange. - **Personal-use property.** A primary residence, second home, or a flip held for resale doesn't qualify. It has to be held for investment or business use. - **Careless boot.** Buying down, pocketing cash, or shedding debt without offsetting it all create taxable boot. ## The bottom line A 1031 exchange is a deadline-driven, intermediary-dependent, all-or-nothing maneuver — and when it's done right, it's the closest thing real estate offers to a tax-free compounding machine. Run your numbers through the [savings calculator](/free-tools/1031-exchange-capital-gains-calculator) and [deadline calculator](/free-tools/1031-exchange-deadline-calculator), then assemble your team — a qualified intermediary and a tax advisor — before you list. The rules reward preparation and punish improvisation. *This article is general information, not tax or legal advice. 1031 exchanges are governed by strict IRS rules; work with a qualified intermediary and your CPA before you sell.*