DEV Community

Lina Reeves
Lina Reeves

Posted on

The 1031 Exchange: Tax Deferral Math That Most Investors Get Wrong

The 1031 Exchange: Tax Deferral Math That Most Investors Get Wrong

You know the drill. You sell a rental property for $450,000, and suddenly the IRS wants 20% of your profit. That’s $90,000 gone if you held it for more than a year. Most investors panic and either pay the tax or scramble into a 1031 exchange without running the numbers first. That’s where the mistakes start.

A 1031 exchange lets you defer capital gains taxes by reinvesting sale proceeds into a like-kind property. But the math isn’t automatic. If you screw up the equity rollover or miss the 45-day identification window, you’re stuck with a tax bill you could have avoided. Let’s walk through the specific numbers so you don’t leave money on the table.

The Two Rules That Break Investors

Rule 1: You must reinvest all net proceeds. If you sell a property for $500,000, owe $350,000 on the mortgage, and walk away with $150,000 in cash, you need to put that full $150,000 into the next property. Pull out $10,000 for closing costs? That’s “boot” (taxable cash). You’ll pay capital gains on that $10,000 at your ordinary rate—likely 15% to 20% federally, plus state taxes.

Rule 2: The new property must be equal or greater in value. Sell a $400,000 duplex and buy a $380,000 triplex? You just created $20,000 in taxable boot. The IRS sees that $20,000 difference as cash in your pocket, even if you didn’t technically take cash out.

Here’s the kicker: most investors in 2026 are buying down. With 7.5% conventional mortgage rates and 12% hard money rates, people are snatching up cheaper properties to keep payments manageable. That’s fine for cash flow, but it’s a tax trap in a 1031.

The Real 2026 Numbers

Let’s say you bought a quadplex in 2019 for $300,000. You’ve depreciated it to $240,000 (straight line, 27.5 years). You sell it in 2026 for $550,000. Your taxable gain breaks down like this:

  • Capital gain: $550,000 - $300,000 = $250,000
  • Depreciation recapture: $60,000 depreciation taken, taxed at 25% = $15,000
  • Total federal tax (20% capital gains): $250,000 × 20% = $50,000
  • Plus 3.8% net investment income tax: $250,000 × 3.8% = $9,500
  • Grand total: $74,500

That’s $74,500 the IRS wants. A 1031 exchange defers that entire amount. But only if you buy a replacement property worth at least $550,000 and reinvest all proceeds.

Where the Math Breaks Down

Most investors look at a $550,000 replacement property and see a $4,125 monthly payment at 7.5% (30-year fixed). They panic and buy a $450,000 property instead. That creates $100,000 in taxable boot. They owe $20,000 in capital gains tax plus depreciation recapture—plus they still have to pay the full $74,500 deferred amount on the original sale. Now they’re paying taxes on a property they no longer own.

The fix: Use a 1031 Exchange Calculator before you list your property. Input your sale price, mortgage balance, and closing costs. It will show you the minimum replacement property value needed to avoid boot. In the example above, you need a property worth at least $550,000. If that’s too rich, consider a reverse exchange (buy first, sell later) or a tenant-in-common (TIC) structure to pool with other investors.

The Depreciation Trap

Depreciation is free money while you own the property. But it’s a tax bomb when you sell. The IRS recaptures all depreciation taken at 25%, plus you pay capital gains on the rest.

Most investors don’t track their depreciation basis correctly. Say you bought a building for $200,000, allocated 80% to structure ($160,000) and 20% to land ($40,000). Over 10 years, you’ve taken $58,182 in depreciation ($160,000 ÷ 27.5 × 10). If you sell for $350,000, your recapture is $58,182 × 25% = $14,545.

But here’s the error: many investors forget to add back capital improvements. If you put a new roof on for $30,000, your depreciable basis increases. That reduces your recapture. Run the numbers through a Depreciation Calculator to nail down your exact basis before you sell.

Capital Gains vs. 1031: The Real ROI

Let’s compare two scenarios for that $550,000 sale:

Option A: Pay taxes, keep $475,500. Invest that in a $500,000 property with a 7.5% loan. Monthly payment: $3,495. Rent at $4,200/month. Cash flow: $705/month. After 5 years, you’ve earned $42,300 in cash flow. Sell at $600,000, pay taxes again, net $520,000. Total net: $475,500 + $42,300 + $520,000 = $1,037,800.

Option B: 1031 exchange into $550,000 property. Monthly payment at 7.5%: $3,845. Rent at $4,620/month. Cash flow: $775/month. After 5 years, cash flow: $46,500. Sell at $650,000, do another 1031, defer taxes. Total net in property: $650,000 + $46,500 = $696,500 (plus you’ve deferred the original tax).

Option B wins by $58,700 because you never paid the initial tax. But you need that higher purchase price. Use a Capital Gains Tax Calculator to compare your specific numbers.

The IRR Blind Spot

Most investors focus on cash flow but ignore internal rate of return (IRR). A 1031 exchange resets your basis to the new property’s purchase price. That means you start depreciation over from scratch, which boosts your after-tax returns.

Say you exchange into a $600,000 property with $150,000 equity. Your annual cash flow after expenses is $12,000. But with $21,818 in annual depreciation ($600,000 ÷ 27.5), you shelter $9,818 of that income from taxes. Your

Top comments (0)