The deferral mechanism
When you sell a property and reinvest the proceeds into a like-kind replacement property under IRC Section 1031, you do not recognize the gain in the year of sale. Instead, your adjusted basis in the replacement property is reduced by the deferred gain — effectively carrying the tax liability forward into the new investment.
The gain doesn't disappear; it is preserved in the replacement property's low basis. When you eventually sell the replacement without exchanging, the deferred gain (plus any new gain) becomes taxable. You've kept 100% of your equity working in real estate in the meantime.
What gets deferred
A complete 1031 exchange defers both the capital gains portion and the depreciation recapture portion of the gain. You defer unrecaptured Section 1250 gain (up to 25% rate), Section 1245 recapture (ordinary rates), and long-term capital gains (0/15/20% rates). The only taxable amount is 'boot' — cash or net debt relief you receive without reinvesting.
Chaining exchanges and step-up at death
Many investors use a series of 1031 exchanges — selling and exchanging repeatedly over decades — while the deferred gain accumulates in progressively larger properties. When the investor dies, the heirs receive a step-up in basis to the property's fair market value at death, eliminating all accumulated deferred gain and recapture. This 'swap till you drop' strategy means the deferred tax may never be paid.
The two deadlines that govern every exchange
Deferral is not automatic — it depends on hitting two hard deadlines that run concurrently from the day you close on the relinquished property. Within 45 days you must identify your replacement property or properties in a signed, written notice delivered to your qualified intermediary or another party to the exchange. Within 180 days (or your tax-return due date including extensions, if earlier) you must close on the replacement. These deadlines are statutory and essentially never extended except by a federally declared disaster. Miss either one and the exchange fails — the entire gain becomes taxable in the year you sold. Because the 45-day identification window is unforgiving, most investors line up candidate properties before closing on the sale.
Why you cannot touch the money: the qualified intermediary
The single most common way exchanges are blown is constructive receipt. If the sale proceeds ever land in your hands or your own bank account — even briefly — the IRS treats you as having received the gain, and the exchange is dead. To prevent this, the tax rules require a qualified intermediary (QI, also called an accommodator) to be engaged before you close on the sale. The QI holds the proceeds, then uses them to acquire the replacement property on your behalf. You never control the cash. Choosing a reputable, bonded QI matters: they are unregulated in many states and have occasionally failed or absconded with funds, so vet their bonding, segregated accounts, and track record.
Basis carryover, with a worked example
The deferral works by transferring your old basis into the new property, adjusted for any additional investment. Suppose you sell a rental for $600,000 with an adjusted basis of $200,000 — a $400,000 deferred gain. You buy a $750,000 replacement, adding $150,000 of new cash. Your basis in the replacement is roughly your old basis of $200,000 plus the $150,000 of new money = $350,000, not the $750,000 you paid. The $400,000 gap between the $750,000 cost and the $350,000 basis is exactly the deferred gain, preserved for later. When you eventually sell the replacement for $900,000 without exchanging, your gain is $900,000 - $350,000 = $550,000 — the original $400,000 you deferred plus the $150,000 of new appreciation.
The napkin test: trade equal-or-up
A quick way to know whether you will fully defer is the 'napkin test': to avoid all tax, your replacement must be equal or greater in value and you must reinvest all your equity and carry equal or greater debt (or offset reduced debt with additional cash). Trade down in value, pull cash out, or reduce your mortgage without adding equivalent cash, and the shortfall is taxable boot. Two flavors: cash boot is proceeds you keep, and mortgage boot is net debt relief — if your old loan was $300,000 and your new loan is only $200,000, that $100,000 of debt relief is boot unless you offset it with $100,000 of new cash into the deal. Only the boot is taxed; the rest of the gain still defers.
Depreciating the replacement property
After an exchange, depreciation is handled in two pieces. Your carryover basis (the depreciated basis from the old property) continues on its original depreciation schedule and remaining recovery period — you do not restart the clock on that portion. Any excess basis from new money you added is treated as newly placed-in-service property and depreciated over a fresh 27.5-year (residential) or 39-year (commercial) schedule. This split-basis method is the default under the regulations, though an election exists to treat the entire basis as new. The practical effect: an investor who has been chaining exchanges for decades may have very little depreciable carryover basis left, which is one reason a cost segregation study on the excess (new) basis after an exchange can be worthwhile.
Reverse and improvement exchanges
Two variations solve timing and construction problems. In a reverse exchange, you (through an 'exchange accommodation titleholder') acquire the replacement property before selling the relinquished one — useful in a hot market where you cannot risk losing the replacement, but you still must sell the old property within 180 days. In an improvement (or construction) exchange, the intermediary holds title to the replacement and uses your exchange funds to build or renovate it, so improvements completed within the 180-day window count toward the replacement value. Both are more complex and expensive than a standard 'forward' exchange and require careful structuring by an experienced QI, but they extend 1031's reach to situations a simple swap cannot handle.
What qualifies as 'like-kind'
A frequent misconception is that like-kind means 'the same type of building.' For real estate it is far broader: since the 2017 tax law limited Section 1031 to real property only, essentially any real property held for productive use in a trade or business or for investment is like-kind to any other such real property in the United States. You can exchange a single-family rental for an apartment building, raw land for a strip mall, a warehouse for a medical office, or a 30-year leasehold interest for a fee interest — the asset classes need not match, only the character of being investment or business real estate. Two hard limits: the property must be held for investment or business use (your personal residence and property held primarily for resale, like a flipper's inventory, do not qualify), and U.S. real property is not like-kind to foreign real property under Section 1031(h), so you cannot exchange a domestic rental for one abroad.
Vacation homes and the qualifying-use safe harbor
Second homes and vacation properties are a gray area because they mix personal and investment use, and personal-use property does not qualify for 1031. The IRS provided a safe harbor in Rev. Proc. 2008-16: a dwelling unit qualifies as investment property if, for each of the two 12-month periods before the exchange (for the relinquished property) or after it (for the replacement), you rent it at fair market value for at least 14 days and limit your personal use to no more than the greater of 14 days or 10% of the days it was rented. Meeting the safe harbor gives you certainty; falling outside it does not automatically disqualify the property, but you then must prove genuine investment intent on the facts. If you have a vacation rental you want to exchange, document the rental days and keep personal use under the limits for the full two-year windows on both sides of the transaction.
Frequently asked questions
Does a 1031 exchange eliminate capital gains tax?
No — it defers it. The gain is embedded in the replacement property's lower basis and becomes taxable when you sell without exchanging, unless you hold until death and your heirs receive a step-up in basis.
Does 1031 defer depreciation recapture as well?
Yes. Both the capital gains and all depreciation recapture are deferred in a complete exchange. Only boot creates immediate tax.
How many times can I do a 1031 exchange?
As many times as you like, as long as you follow the rules each time. There is no limit on the number of exchanges or the total gain deferred.
What are the 45-day and 180-day rules?
From the day you close on the sale, you have 45 days to identify replacement property in writing and 180 days total to close on it. Both deadlines run concurrently and are rarely extended; missing either makes the full gain taxable.
Why do I need a qualified intermediary?
To avoid constructive receipt. If you take control of the sale proceeds at any point, the exchange fails. A qualified intermediary, engaged before closing, holds the funds and acquires the replacement on your behalf so you never touch the money.
What is boot in a 1031 exchange?
Boot is any value you receive without reinvesting — cash you keep (cash boot) or net debt relief (mortgage boot). Only the boot is taxable; the rest of the gain still defers. Trading equal-or-up in value and debt avoids boot.
What property is 'like-kind' for real estate?
Since 2018, Section 1031 applies only to real property, but almost any U.S. real estate held for investment or business use is like-kind to any other — a rental for an apartment building, land for a strip mall, a leasehold for a fee interest. Your personal residence, dealer inventory, and foreign real estate do not qualify.
Can I 1031 exchange a vacation home?
Only if it is genuinely held for investment. The Rev. Proc. 2008-16 safe harbor requires renting it at fair value at least 14 days a year and keeping personal use under the greater of 14 days or 10% of rental days, for the two-year windows before and after the exchange.
Sources
- IRS Topic No. 409 — Capital Gains and Losses
- IRS Publication 544 — Sales and Other Dispositions of Assets
- IRS — Like-Kind Exchanges (Real Estate Tax Tips)
Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.
