When you sell a rental property at a profit, the IRS wants its share — typically 15–20% federal capital gains tax, plus the 3.8% net investment income tax (NIIT), plus state taxes. On a $150,000 gain, that can easily exceed $35,000. A 1031 exchange, named after Internal Revenue Code Section 1031, lets you defer that tax by reinvesting the proceeds into another investment property.

How a 1031 Exchange Works

The concept is straightforward: instead of selling, collecting the cash, and buying a new property, you "exchange" one investment property for another. The IRS treats it as a continuation of your investment rather than a sale, so the tax bill gets deferred.

💡
The 1031 Exchange Process
  1. Sell the relinquished property. Proceeds go to a qualified intermediary (QI) — you never touch the money.
  2. Identify up to three replacement properties within 45 days of closing.
  3. Close on the replacement property within 180 days of the sale.
  4. Defer the capital gains tax. Your cost basis carries over (minus depreciation) to the replacement property.
💡
Qualified Intermediary (QI)

A qualified intermediary is a neutral third party who holds the sale proceeds during the exchange. You cannot use your own agent, attorney, or accountant as the QI — they must be independent. If you touch the money at any point, the exchange is disqualified and the full gain becomes taxable.

Boot: When You Don't Reinvest Everything

To defer the entire gain, you must reinvest all of the equity from the sale and acquire a replacement property of equal or greater value. Any amount you don't reinvest is called "boot" — and boot is taxable.

📋
Dani Trades Up vs Trades Down

Dani sells a rental property for $350,000 (original basis: $200,000, gain: $150,000). After $21,000 in selling costs, net proceeds are $329,000.

Trading up ($500,000 replacement): Dani reinvests all $329,000 into the new property. No boot. The entire $150,000 gain is deferred. Dani's new cost basis is $329,000 (the old basis carries over, adjusted for the exchange).

Trading down ($250,000 replacement): Dani only needs $250,000 for the new property. The remaining $79,000 is boot — taxable as capital gains. Only the portion reinvested gets tax deferral.

🧮
Try It: Compare 1031 vs Taxable Sale

Open the 1031 Exchange Calculator and model Dani's scenario:

  1. Original basis: $200,000, current value: $350,000
  2. Selling costs: $21,000, capital gains rate: 23.8%
  3. Replacement price: $500,000
  4. Check the deferred tax amount and compare cash flow
  5. Now change replacement price to $250,000 and see the boot calculation

What to notice: Trading up defers the full tax. Trading down creates taxable boot. The calculator shows exactly how much.

The Rules You Must Follow

Myth: "You Can 1031 Exchange Your Personal Home"

The misconception: Any real estate swap qualifies for a 1031 exchange.

The reality: Only properties held for investment or business use qualify. Your primary residence, vacation home (unless you convert it to a rental first), and properties held primarily for resale (fix-and-flips) do not qualify. Both the relinquished and replacement properties must meet this test.

Key rules that trip people up:

  • 45-day identification deadline: You must identify replacement properties in writing within 45 calendar days. No extensions (except for federally declared disasters).
  • 180-day closing deadline: You must close on the replacement within 180 calendar days of the sale. If your tax return is due before day 180, you must file an extension.
  • Like-kind requirement: For real estate, this is broad — any real property for any other real property (a house for a commercial building, land for an apartment complex, etc.).
  • Same taxpayer: The same entity that sells must buy. If you sell through an LLC, the LLC must acquire the replacement.
  • No personal use: You can't live in the replacement property (though mixed-use situations have specific safe harbor rules).

When a 1031 Exchange Makes Sense (and When It Doesn't)

💡
Deferral ≠ Elimination

A 1031 exchange defers the tax — it doesn't eliminate it. The deferred gain transfers to the replacement property's cost basis. If you eventually sell without doing another 1031, the accumulated gains become taxable. However, if you hold until death, your heirs receive a stepped-up basis — potentially eliminating the deferred tax entirely.

A 1031 exchange makes the most sense when:

  • You have a large capital gain and want to keep the full amount working for you
  • You want to upgrade to a better property (more units, better location, higher NOI)
  • You plan to hold real estate long-term or pass it to heirs (stepped-up basis at death)
  • You want to consolidate or diversify — exchange several properties for one, or one for several

A 1031 may not be worth it when:

  • The gain is small relative to the exchange costs (QI fees, time pressure, inspection risk)
  • You want to cash out and invest in something other than real estate
  • The 45-day identification deadline would force you into a bad deal
  • You're already in a low tax bracket and the capital gains rate is minimal
Key Takeaways
  • A 1031 exchange defers capital gains tax when you reinvest the proceeds from an investment property sale into another investment property.
  • You have 45 days to identify replacement properties and 180 days to close. A qualified intermediary must hold the funds.
  • Boot (unreinvested proceeds) is taxable. To defer the full gain, reinvest everything and buy a property of equal or greater value.
  • Deferral isn't elimination — but holding until death can eliminate the gain through a stepped-up basis.
🤔

If you owned a rental property with $100,000 in unrealized gains, would you be more likely to sell and pay the tax (freeing yourself to invest anywhere) or do a 1031 exchange (keeping the full amount in real estate)? What would influence your decision?

You've Finished Level 4

Over the past ten articles, you've moved from understanding financial building blocks to actively optimizing them:

  • Tax Optimization — Account stacking, asset location, and using the tax code as designed.
  • Debt Payoff Strategies — Avalanche vs. snowball, balance transfers, and when to prioritize debt over investing.
  • Mortgage Payoff vs Invest — The math, the certainty argument, and when each strategy wins.
  • Refinancing — Rate-and-term vs. cash-out, the 1% rule, and the hidden cost of resetting amortization.
  • College Savings (529) — Tax-advantaged education savings, qualified expenses, and why retirement comes first.
  • Insurance Basics — Health, auto, home, life, disability, and umbrella — the full insurance portfolio.
  • Estate Planning Basics — Wills, power of attorney, beneficiary designations, and the minimum everyone needs.
  • Tax-Loss Harvesting — Offsetting gains with losses, the wash sale rule, and when it's worth the effort.
  • Backdoor & Mega Backdoor Roth — Getting money into Roth accounts when your income exceeds the limits.
  • 1031 Exchanges — Deferring capital gains tax on investment property sales by reinvesting into replacement properties.

In Level 5, we look at the big picture: financial independence, Social Security, safe withdrawal rates, and building the life you want.