When you sell a rental property you've been depreciating, the IRS wants back some of the benefit those deductions gave you. That's depreciation recapture — the portion of your gain equal to the depreciation you claimed, taxed as unrecaptured Section 1250 gain at a maximum rate of 25%. On a property held for years, that can be a five- or six-figure surprise. The good news: there are several legal ways to defer or even eliminate it. Here are six, from most common to most situational.
Want to see the number first? Estimate your exposure with the depreciation recapture calculator before you plan around it.
1. Do a 1031 like-kind exchange (defer)
This is the most common strategy. A 1031 exchange lets you sell an investment property and reinvest the proceeds into another investment property, deferring both the capital gains tax and the depreciation recapture. You must identify a replacement property within 45 days and close within 180 days, and the cash must be held by a qualified intermediary. It's a deferral, not forgiveness — but investors who keep exchanging can push the tax out indefinitely.
2. Pass the property to heirs (potentially eliminate)
If you hold the property until death, your heirs generally receive a stepped-up basis equal to the property's fair market value at that time. That step-up can wipe out both the deferred capital gain and the depreciation recapture that would otherwise have been owed. Combined with repeated 1031 exchanges during your lifetime — a strategy sometimes called "swap till you drop" — recapture can be deferred forever and then eliminated.
3. Sell in a year with offsetting losses
Recapture is still income, so passive losses, suspended losses, or capital losses from other investments can offset the tax in the year of sale. If you have a property carrying suspended passive activity losses, selling it frees those losses, which may absorb much of the gain. Timing a sale into a lower-income year can also reduce the capital gains portion (though the recapture portion is capped at 25% regardless).
4. Use an installment sale (spread it out)
Selling on an installment note lets you report the capital gain over several years as you receive payments, which can keep you in lower brackets. Note an important limit: depreciation recapture is generally taxed in full in the year of sale, even on an installment sale — so this spreads the capital gains portion, not the recapture portion. Still useful when the capital gain dwarfs the recapture.
5. Sell at no gain
Recapture only applies to gain. If you sell at or below your adjusted basis, there's no gain and therefore no recapture. This obviously isn't a goal, but in a soft market — or after heavy accelerated depreciation from a cost segregation study — a sale can genuinely produce little or no taxable gain.
6. Convert to a primary residence (partial)
Living in the property as your primary residence for two of the last five years can qualify part of the gain for the Section 121 home-sale exclusion. Important caveat: the exclusion does not cover depreciation recapture — you still owe recapture on depreciation taken after May 6, 1997 — and periods of rental use are treated as nonqualified. It can reduce the capital gains portion, not the recapture.
The one thing you can't do: skip depreciation
Some owners think that not claiming depreciation avoids recapture later. It doesn't. The IRS taxes recapture on depreciation "allowed or allowable" — meaning you owe it on the depreciation you could have taken, whether you claimed it or not. So you might as well claim the deductions. See how much you should be claiming each year with the rental property depreciation calculator.
Estimate your recapture first
Before choosing a strategy, know the size of the problem. Plug your purchase price, total depreciation, and sale price into the depreciation recapture calculator to see your recapture tax and capital gains tax, then use the 1031 exchange calculator to see how much a deferral would keep working for you.
Frequently asked questions
Can you fully avoid depreciation recapture?
Rarely permanently — you can defer it (1031 exchange, installment sale) or eliminate it in specific cases (step-up in basis at death, or selling at no gain). You can't avoid it by not claiming depreciation.
Does a 1031 exchange eliminate recapture?
No, it defers it. The recapture rolls into the replacement property and comes due when you sell without exchanging — unless a step-up at death eliminates it for heirs.
What happens to recapture when I die?
Heirs usually get a stepped-up basis to fair market value, which can eliminate the deferred gain and recapture entirely.
Estimate and educational information only. Not tax or legal advice. Rules like the Section 121 exclusion, installment-sale recapture, and step-up in basis have important conditions — consult a qualified tax professional before acting.