← The Guides

Selling a Rental in 2026: The 1031 Exchange and the 25% Recapture Tax Nobody Warns You About

Sell an investment property at a profit and two taxes hit: capital gains on the appreciation, plus depreciation recapture taxed up to 25% on every deduction you ever took. A 1031 exchange defers both — if you follow the 45- and 180-day clocks exactly. Here's how it works in 2026.

Two Taxes, Not One

Here's the conversation that ruins a lot of rental-property sales. The owner sold for a great price, mentally pocketed the gain at 15%, and then the accountant calls. There's a second tax. It's higher. And it's on money they "saved" years ago and forgot about.

Selling an investment property triggers two separate hits: capital gains tax on the appreciation, and depreciation recapture on every deduction you took while you owned it. The second one catches almost everybody. So before we get to the 1031 exchange that defers both, you have to understand what you're deferring.

§ 01The 25% Recapture Surprise

When you own a rental, the IRS lets you depreciate the building — deducting a slice of its value every year (residential real estate over 27.5 years) as a paper expense. It's one of the best parts of owning property: a deduction against your rental income that doesn't cost you any cash.

But there's a bill at the end. Every dollar of depreciation you deducted also lowered your basis in the property. So when you sell, that depreciation comes back as taxable gain — and it has its own rate. This "unrecaptured Section 1250 gain" is taxed at a maximum federal rate of 25% in 2026, not the friendlier 0/15/20% you pay on the appreciation.

Component of your gain2026 federal rate
Appreciation (sale price above original cost)0% / 15% / 20% (long-term)
Depreciation recapture (Sec. 1250)Up to 25%
Plus, possibly3.8% NIIT on the whole gain

So a landlord who depreciated $120,000 over the years is looking at up to $30,000 of recapture tax on that piece alone — on top of capital gains on the appreciation, on top of a possible 3.8% surtax. Run the full picture through the capital gains calculator for the appreciation portion; the recapture stacks on separately at 25%.

§ 02How a 1031 Exchange Defers Both

This is where Section 1031 earns its reputation. A like-kind exchange lets you sell one investment property and roll the entire proceeds into another — deferring both the capital gains tax and the depreciation recapture. Not reducing. Deferring, potentially forever.

The logic: you never really "cashed out." You moved your investment from one building to another. So the tax code lets the gain and the recapture ride along into the new property, carried in its basis, until some future day when you actually sell for cash. Done right, you can trade up through bigger and bigger properties for decades without ever writing the IRS a check.

One hard limit, courtesy of the 2017 Tax Cuts and Jobs Act: only real property qualifies now. Before 2018 you could 1031 equipment, vehicles, even artwork. Not anymore. Today it's real estate held for investment or business use — rentals, commercial buildings, raw land. Your personal residence doesn't qualify (that's the Section 121 home-sale exclusion instead).

§ 03The 45-Day and 180-Day Clocks

The exchange lives or dies on two deadlines, and they're unforgiving. From the day you close the sale of your old property:

  • 45 days to formally identify your replacement property (or properties) in writing. No extensions. Weekends and holidays included.
  • 180 days to close on the replacement. Also no extensions, and it runs concurrently with the 45 — so you have 180 days total, not 45 + 180.

Miss either deadline by a day and the exchange fails — the entire gain and recapture become taxable in that year. There's no "almost." This is why serious investors line up replacement candidates before they sell.

§ 04The Rules That Trip People Up

Beyond the clocks, a few mechanics sink unprepared exchanges:

  • You can't touch the money. The sale proceeds must go to a qualified intermediary — a neutral third party who holds the cash and buys the replacement on your behalf. If the money hits your bank account, even briefly, the exchange is dead.
  • Like-kind is broad for real estate. You can swap a duplex for raw land, an apartment building for a strip mall. Within US investment real estate, almost anything trades for anything.
  • Title has to match. The taxpayer who sold must be the one who buys. Subtle entity changes between the two ends can break it.
  • Trade up, not down. To defer all the tax, the replacement should be equal or greater in value, and you should replace your old debt with equal or greater debt (or add cash).

§ 05Boot: Where the Tax Sneaks Back In

"Boot" is the part of the deal that isn't like-kind property — leftover cash, or debt relief if your new mortgage is smaller than your old one. Boot is taxable up to the amount of your gain.

And here's the sting: when boot creates a recognized gain, the IRS taxes it worst-first. The recognized gain is treated first as unrecaptured Section 1250 gain at up to 25%, up to the amount of depreciation you'd taken, and only the remainder gets the lower long-term rate. So even a "partial" exchange where you pull a little cash out can hand you a disproportionately high tax bill, because the cash you kept is taxed at the 25% recapture rate first.

The lesson: if your goal is full deferral, reinvest every dollar and replace all the debt. Pulling cash out is allowed — it's just taxed at the least favorable rate available.

§ 06Swap Till You Drop

Why do real-estate investors love 1031 so much? Because of how the story can end. You exchange property after property, deferring gain the whole way, building a larger portfolio than you could have if you'd paid tax at each step. Then you hold the final property until you die.

Defer through life, step up at death — and the deferred gain can disappear entirely.

At death, your heirs get a stepped-up basis to fair market value. All that deferred capital gain and depreciation recapture — gone. The heirs could sell the next day and owe nothing on a lifetime of appreciation. It's the legal, fully-sanctioned endgame that makes the 1031 exchange one of the most powerful wealth-transfer tools in the code. Tax lawyers call it "swap till you drop."

§ 07Key Takeaways

Selling a rental triggers two taxes: long-term capital gains on appreciation, plus up to 25% depreciation recapture on what you deducted — often the bigger surprise.

A 1031 exchange defers both if you reinvest into like-kind US real estate, use a qualified intermediary, and hit the 45-day ID and 180-day closing deadlines.

Boot is taxed worst-first — recognized gain hits the 25% recapture rate before the lower long-term rates.

Deferral can become elimination if you hold the final property to death and your heirs take a stepped-up basis.

For the appreciation side of the math, see the 2026 capital gains guide and the calculator. This is a complex area — use a qualified intermediary and a tax pro for any real exchange.

Sources: IRC §1031 (like-kind exchanges) and §1250 (recapture); IRS Publication 544 and Topic No. 409; TCJA (2017) limitation of §1031 to real property. General information, not tax advice.