1031 Exchange Rules: How Real Estate Investors Defer Capital Gains & Depreciation Recapture
Selling an appreciated investment property triggers up to 20% federal capital gains tax, 3.8% NIIT, state taxes, and 25% depreciation recapture. Learn the strict 45-day and 180-day IRS 1031 Exchange rules.
The Hidden Tax Bomb When Selling Rental Real Estate
Many real estate investors assume that if they sell a rental property and immediately use the proceeds to buy a larger property, they won't owe taxes. That is false. Unless you structure the transaction as a formal IRC Section 1031 Like-Kind Exchange prior to closing, selling an investment property triggers four simultaneous tax liabilities:
- Depreciation Recapture Tax (25% Federal): Every dollar of depreciation you deducted (or were eligible to deduct) over your holding period is recaptured and taxed at up to 25%.
- Long-Term Federal Capital Gains Tax (15% or 20%): Applied to the price appreciation above your original purchase price plus capital improvements.
- Net Investment Income Tax (3.8% NIIT): Applied when Modified Adjusted Gross Income exceeds $200,000 (single) or $250,000 (married).
- State Capital Gains Tax: Ranges from 0% in states like Texas and Florida up to 13.3% in California.
Combined, an outright sale can easily wipe out 28% to 38% of your equity, severely reducing your purchasing power for your next acquisition.
The 3 Ironclad Rules of a 100% Tax-Deferred 1031 Exchange
To defer 100% of both capital gains and depreciation recapture taxes, you must satisfy three non-negotiable IRS requirements:
1. You Must Use a Qualified Intermediary (QI) Before Closing
You can never take constructive receipt of the sale proceeds—not even for one hour in your personal bank account. Before closing on your relinquished property, you must engage an independent Qualified Intermediary (Accommodator) who holds the funds in escrow and wires them directly to close on your replacement property.
2. Buy "Equal or Greater Value" & Reinvest All Cash (Avoiding "Boot")
To defer 100% of taxes, your replacement property (or properties) must have:
- A purchase price equal to or greater than the net sales price of the property you sold.
- 100% of the net cash proceeds reinvested into the replacement property.
- Equal or greater debt (mortgage) replaced on the new property (or offset with additional fresh cash out of pocket). Any leftover cash or Debt Calculator">net debt reduction is known as "Boot" and is taxed immediately up to your total realized gain.
3. The Strict 45-Day Identification & 180-Day Closing Deadlines
The clock starts the day your relinquished property closes (Day 0). There are no extensions for weekends or holidays:
- Day 45 (Identification Period): You must formally identify your potential replacement property(ies) in writing to your Qualified Intermediary within 45 calendar days. Under the Three-Property Rule, you can identify up to three properties of any value.
- Day 180 (Exchange Period): You must close on the purchase of one or more of your identified replacement properties within 180 calendar days of the sale (or the due date of your tax return, including extensions, whichever comes first).
"Swap 'Til You Drop": The Ultimate Estate Planning Strategy
Why defer taxes if you'll eventually pay them later? Because real estate investors can chain multiple 1031 Exchanges across their lifetime—scaling from a single-family rental to a fourplex, and eventually into passive triple-net (NNN) commercial properties. Under current estate tax law (IRC Section 1014), when heirs inherit real estate, they receive a full step-up in cost basis to fair market value, permanently erasing decades of deferred capital gains and depreciation recapture taxes.
Try These Related Calculators
Put these concepts into practice with our interactive calculators
Continue Learning
House Hacking & the BRRRR Method: How to Scale a Rental Portfolio in a 6%–7% Rate Environment
High interest rates haven't killed real estate cash flow—they've just changed the math. Learn how House Hacking and the BRRRR strategy force equity and reduce living expenses to zero.
Real Estate Investing: NOI, Cap Rate, DSCR & Cash-on-Cash Return Analysis
Evaluate rental properties like an institutional underwriter using Net Operating Income (NOI), Capitalization Rate, Debt Service Coverage Ratio (DSCR), and Cash-on-Cash Return.
Debt Payoff Strategies: Avalanche vs. Snowball Method (2026 Guide)
Compare the mathematical efficiency of the Debt Avalanche against the behavioral momentum of the Debt Snowball. Includes a side-by-side $45,000 debt payoff breakdown and consolidation benchmarks.