After 10 years of holding a rental property, a landlord on a $300,000 purchase has accumulated $85,452 in depreciation deductions. That’s roughly $18,800 in deferred tax at the 22% bracket — real cash that stayed in their pocket every year instead of going to the IRS.
The bill comes at the closing table. Selling that property for $375,000 triggers $32,613 in federal tax (before NIIT): $21,363 in depreciation recapture at 25% and $11,250 in long-term capital gains at 15%. Writing that check reduces the capital available for the next deal by nearly $33,000.
A Section 1031 like-kind exchange defers that entire bill. The gain doesn’t disappear — it follows you into the replacement property’s adjusted basis — but it doesn’t come due until you sell the replacement without another exchange. And if you die holding the property, it never comes due at all.
What a 1031 Exchange Actually Does
Section 1031 of the Internal Revenue Code allows you to swap one investment property for another “like-kind” investment property and defer all recognized gain on the transaction. The IRS treats the exchange as a continuation of the original investment rather than a sale-and-purchase.
Three things happen simultaneously:
- Your gain (both the recapture portion and the LTCG portion) is deferred — not eliminated
- Your old adjusted basis carries forward into the replacement property
- Your hold period carries forward (you don’t restart the long-term capital gains clock)
The practical result: $32,613 that would have gone to the IRS stays invested in your next property.
The Tax Bill You’re Deferring
This example uses the same property from the depreciation deep-dive and the recapture post so the numbers carry through cleanly.
| Item | Amount |
|---|---|
| Purchase price (2016) | $300,000 |
| Depreciable basis (80% of purchase) | $240,000 |
| Annual depreciation ($240K ÷ 27.5 years) | $8,727/yr |
| Cumulative depreciation — 10 years | $85,452 |
| Adjusted basis ($300K − $85,452) | $214,548 |
| Sale price (2026) | $375,000 |
| Total realized gain | $160,452 |
That $160,452 gain splits into two buckets, taxed at different rates:
| Gain Component | Amount | Rate | Tax |
|---|---|---|---|
| Depreciation recapture (Section 1250) | $85,452 | 25% | $21,363 |
| Long-term capital gains (appreciation) | $75,000 | 15% | $11,250 |
| Total tax deferred with 1031 | $32,613 | ||
NIIT note: Filers with modified AGI above $200,000 (single) / $250,000 (married) also owe the 3.8% Net Investment Income Tax. On $160,452 of gain that adds $6,097 — bringing the deferred tax to $38,710. The same deferral logic applies to NIIT; the 1031 defers it along with the rest.
The 5 Core Rules
Section 1031 is rule-bound. Miss one requirement and the entire exchange fails — you recognize the full gain immediately with no second chances.
45-Day Identification Window
You have 45 calendar days from the date your relinquished property closes to identify potential replacement properties in writing to your Qualified Intermediary. The clock starts the day after closing. No extensions, no exceptions (except presidentially declared disasters).
180-Day Closing Window
You must close on the replacement property within 180 calendar days of your relinquished property’s closing — or by your tax return due date (including extensions) if that’s earlier. The 45-day and 180-day clocks run concurrently; they both start on the same day.
Like-Kind Property
Any U.S. real property held for investment or business use qualifies. A single-family rental can exchange for a duplex, commercial building, or raw land. Primary residences and vacation homes used primarily for personal purposes do not qualify.
Equal or Up
To defer 100% of your gain, the replacement property must cost at least as much as the net sale price of the relinquished property, and you must replace all the debt or substitute cash. Buying down in value or leverage triggers partial recognition (see boot section below).
Qualified Intermediary (QI) Required
You cannot touch the sale proceeds at any point in the exchange. A QI (also called an exchange accommodator) holds the funds from the moment your old property closes until you close on the replacement. If the cash ever hits your bank account, the exchange is disqualified.
Investment or Business Use Only
Both the relinquished property and the replacement property must be held for investment or productive use in a trade or business — not for personal use. Properties converted to a primary residence immediately after exchange will draw IRS scrutiny; the IRS requires a holding period before any change of use.
The most common mistake: Waiting until after the sale closes to engage a QI. Once the sale is complete and funds are distributed, the exchange cannot be initiated retroactively. Your QI must be in place before closing — typically before you sign the purchase agreement for the sale.
How the Exchange Works: Step by Step
Using the $300K property above, here is the mechanics of a clean forward exchange (the most common type).
Engage a Qualified Intermediary
Sign an exchange agreement with a QI before you close the sale. QI fees typically run $800–$1,500 for a straightforward residential exchange. Your attorney or closing agent will coordinate the paperwork. The QI’s job: receive the proceeds, hold them in a segregated account, and release them only to purchase the replacement.
Sale Proceeds Go to QI (Never to You)
At closing, the net proceeds from the $375,000 sale — after paying off any existing mortgage and closing costs — flow directly to the QI. You never receive a check. The 45-day and 180-day clocks both start the day after this closing.
Identify Replacement Properties in Writing
You have 45 days to submit a written identification list to your QI. The standard approach is the 3-property rule: identify up to three properties of any value. Most landlords identify two or three candidates to give themselves flexibility, since one deal often falls through during due diligence.
Close on the Replacement
Proceed with due diligence and contract negotiation on your chosen replacement. At closing, the QI wires the held funds directly to the title company. If the replacement costs more than the proceeds held by the QI, you bring the difference to closing in cash or via a new mortgage.
Report on Form 8824
The exchange is reported on IRS Form 8824 (Like-Kind Exchanges) filed with your annual return. No gain is recognized if the exchange was clean (no boot). Your tax preparer will record the deferred gain and the replacement property’s carryover basis.
Worked Example: Upgrading to a $500K Duplex
The 1031 exchange is designed for investors who want to trade up. Here is the full math on reinvesting the $375,000 proceeds into a $500,000 duplex.
| Item | Amount |
|---|---|
| The Exchange | |
| Relinquished property sale price | $375,000 |
| Net proceeds to Qualified Intermediary | $375,000 |
| Replacement property purchase price | $500,000 |
| Additional cash brought by investor at closing | $125,000 |
| The Basis Carryover | |
| Old adjusted basis (carried forward) | $214,548 |
| Additional cash added | $125,000 |
| Replacement property tax basis | $339,548 |
| Replacement purchase price | $500,000 |
| Deferred gain embedded in basis | $160,452 |
| Tax Outcome | |
| Tax deferred (without NIIT) | $32,613 |
| Tax paid now | $0 |
The $160,452 in deferred gain is not gone — it lives inside the $500,000 property as a basis gap. The replacement property is worth $500,000, but its tax basis is only $339,548. If you sell the duplex tomorrow for $500,000 with no additional depreciation, you would owe tax on the full $160,452 at that point.
The Real Cost: What You Give Up in Future Depreciation
The 1031 exchange is not free money. The carryover basis reduces the depreciable base of the replacement property, which means lower annual depreciation deductions going forward.
| Scenario | Depreciable Basis | Annual Depreciation |
|---|---|---|
| Fresh $500K purchase (no 1031) | $425,000 (85% of $500K) | $15,455/yr |
| 1031 carryover basis | $288,616 (85% of $339,548) | $10,495/yr |
| Annual difference | — | $4,960/yr less |
At a 22% bracket, that $4,960/yr difference represents $1,091/yr in foregone tax deductions. Over 27.5 years, the present value of those foregone deductions (at an 8% discount rate) is approximately $12,000.
Compare that to the $32,613 deferred today: the net present value benefit of doing the 1031 exchange is approximately $20,000 in today’s dollars. Time value works in your favor — a dollar of tax deferred today is worth more than a dollar of tax deduction in year 20.
The Debt Boot Trap
Boot is any non-like-kind value received in the exchange. Receiving boot triggers gain recognition equal to the lesser of the boot received or the total realized gain. There are two types.
Cash boot is the obvious one: if your QI holds $375,000 and you only spend $350,000 on the replacement property, the $25,000 leftover is boot. You recognize $25,000 of gain, and only $135,452 is deferred.
Mortgage boot is the trap that catches investors off guard.
Debt boot scenario: You sell a property with a $200,000 mortgage (net $175,000 to QI). You want to simplify and buy a $300,000 all-cash replacement, adding $125,000 of your own cash at closing. Old debt: $200,000. New debt: $0. New cash added: $125,000.
Rule: Replacement debt + new cash ≥ old debt must hold to avoid boot.
$0 + $125,000 = $125,000 < $200,000 — you are $75,000 short. The IRS treats the $75,000 debt reduction as $75,000 of cash boot received. You must recognize $75,000 of gain.
The fix: either take on at least $75,000 of new mortgage on the replacement, or bring an additional $75,000 cash to closing. Going all-cash is fine — as long as you replace the debt dollar for dollar with cash.
The Chain Strategy: Indefinite Deferral
There is no limit on the number of 1031 exchanges an investor can do. The same gain can be rolled from property to property indefinitely — each exchange restarting the clock on deferral while the portfolio grows with pre-tax dollars.
Three outcomes resolve the deferred gain eventually:
- Final taxable sale: Sell without another exchange and pay all deferred taxes on the full accumulated gain at that time.
- Installment sale: Section 453(i) of the tax code requires depreciation recapture to be recognized in full in the year of sale even on installment terms — so installment sales do not defer the recapture portion. The LTCG portion can be spread over installments, but recapture comes due immediately.
- Death + stepped-up basis: Your heirs inherit the property at its fair market value at your date of death. All deferred gain — including the accumulated depreciation recapture from every exchange in the chain — is permanently eliminated. This is the “die holding it” strategy that estate planners reference for high-net-worth landlords with substantial deferred gains.
Estate planning note: A landlord who does three sequential 1031 exchanges over 30 years might accumulate $500,000 or more in deferred recapture gains. Holding through death eliminates that entire liability for heirs. Combined with a stepped-up basis, heirs can sell immediately after inheriting with zero capital gains tax and begin fresh depreciation on the inherited value.
When the 1031 Exchange Is NOT Worth It
Not every situation favors deferral. Three scenarios where you might intentionally sell and pay taxes:
- You are in a low bracket temporarily. If your income dropped significantly — career transition, business loss, large retirement contribution — your LTCG rate may be 0% for that year. Paying 0% on the LTCG portion and resetting the basis is often better than deferring into a year when you will be in the 15% or 20% bracket.
- You are exiting real estate entirely. If you have no desire to buy another investment property, there is nothing to roll into. Paying the taxes and redeploying capital into stocks or other assets may produce better after-tax returns than forcing a suboptimal real estate purchase just to defer.
- The replacement market is overpriced. A 1031 exchange requires you to act within 45/180 days. Forcing a purchase in a hot market to meet the deadline can result in overpaying by more than the tax you would have owed. The deferred tax has to be weighed against the quality of the replacement deal.
Track Every Tax Number Across Your Portfolio
The 1031 analysis above requires accurate basis tracking, cumulative depreciation records, and hold-period data for every property. The Rental Property Tracker Pro does all of it: Schedule E data, depreciation schedule, cash-on-cash return, DSCR, and the NOI metrics that drive your exchange decisions.
Start Tracking — Lite $9 Rental Tracker Pro $29What to Do Before You List the Property
The 1031 clock does not start until closing, but preparation starts months earlier. Before you put the property on the market:
- Calculate your deferred gain and tax liability using your adjusted basis and current market value. Know the exact number you are deferring — this is your negotiating data point with your QI and your CPA.
- Identify target markets and property types for the replacement. You will only have 45 days after closing to identify candidates. Doing the research now removes time pressure from the process.
- Engage a Qualified Intermediary before listing — ideally before signing a purchase agreement for the sale. QIs must be set up in advance; they cannot be brought in after closing.
- Consult a CPA familiar with Section 1031. The rules around boot, basis allocation, and debt replacement have nuances that vary by transaction structure. The numbers in this post are illustrative; your actual tax outcome depends on your full financial picture.
Frequently Asked Questions
Related Reading
- Rental Property Depreciation Recapture: What You’ll Owe When You Sell — The three-layer tax calculation at sale (recapture at 25%, LTCG, NIIT), full $300K worked example, and the four deferral strategies including the 1031.
- Rental Property Depreciation: The Tax Shelter Most Landlords Underuse — The 27.5-year formula, year-by-year deduction table, PAL rules, and the time-value case for claiming every dollar — the same depreciation the 1031 defers.
- Schedule E Rental Income: What Every Landlord Must Track — Where rental income and depreciation are reported on your tax return, with the passive loss rules that determine how much paper loss you can use now versus carry forward.
- Net Operating Income (NOI): Formula, Full Example, and What It Misses — NOI is the pre-depreciation, pre-financing metric that drives property valuation — and the number you use when evaluating replacement candidates during your 45-day window.
- Rental Property Expense Tracker: The Full List and How to Organize It — The seven Schedule E expense categories and the tracking system that maintains the accurate basis records a 1031 exchange requires.
- Landlord Insurance: What It Covers, What It Doesn't, and How to Factor It Into Your Deal — Insurance is an operating expense, not an afterthought. The ACV vs. replacement cost gap, liability coverage levels, and how to model the premium correctly in your NOI.