How to Avoid Depreciation Recapture When You Sell a Rental Property.
A landlord selling a duplex after ten years finds $120,000 of her gain taxed at a higher rate than the rest. What the 25% slice is, the four exits that actually cut it, and the two popular moves that fail.
A landlord bought a duplex in 2016 for $400,000, rented it for ten years, and just accepted an offer at $560,000. Her projection uses the 15% long-term capital gains rate, and it is wrong by five figures, because $120,000 of that gain, one dollar for every dollar of depreciation she deducted along the way, is taxed at up to 25% instead. So she asks the question every seller asks me: how to avoid depreciation recapture on a rental property. There are four answers that work, and the two moves people try first are not among them.
Why the 25% bill is already locked in.
A residential building depreciates straight line over 27.5 years under §168(c), and §1016(a)(2) reduces your basis by every dollar of it. At sale, the slice of gain those basis reductions created is unrecaptured §1250 gain under §1(h)(6), taxed at the lesser of your ordinary rate or 25% rather than the 0/15/20% long-term rates. Two details surprise people. First, none of this is technically recapture: true §1250 ordinary-income recapture reaches only depreciation in excess of straight line, which effectively does not exist for buildings placed in service after 1986. Second, §1016(a)(2) runs on depreciation "allowed or allowable," so a landlord who never claimed a dollar of depreciation owes the same tax at sale as one who claimed all of it. If that is your situation, catch up the missed depreciation on Form 3115 before you sell. You are paying the toll either way; you might as well collect the deductions that fund it.
- Sale price, net of selling costs
- $560,000
- Purchase price ($330,000 building, $70,000 land)
- $400,000
- Depreciation claimed, ten years at $12,000
- $120,000
- Adjusted basis ($400,000 less $120,000)
- $280,000
- Total long-term gain
- $280,000
- Tax on unrecaptured §1250 gain ($120,000 at 25%)
- $30,000
- Tax on the remaining gain ($160,000 at 15%)
- $24,000
- Net investment income tax ($280,000 at 3.8%)
- $10,640
- Total federal tax
- $64,640
Tax year 2026, married filing jointly. Assumes taxable income high enough that the 25% cap binds on the §1250 slice but under the $613,700 breakpoint where a joint filer's long-term rate reaches 20% (Rev. Proc. 2025-32), and MAGI over the $250,000 NIIT threshold of §1411, which is not indexed. Depreciation rounded to ten full years of the 27.5-year straight-line schedule. A Utah seller adds the flat 4.5% individual income tax (the rate H.B. 106 set beginning in tax year 2025) on the full gain.
How to avoid depreciation recapture on a rental property: the four moves that hold up.
A 1031 exchange defers the whole gain, the 25% slice included. The old basis carries into the replacement property under §1031(d), so the recapture is postponed, not forgiven, and it keeps growing as you depreciate the new building. What turns deferral into elimination is §1014: hold the property, or the last link in a chain of exchanges, until death, and your heirs take a basis stepped up to fair market value. The $120,000 of accumulated depreciation in my example is never taxed at all. Planners call it swap till you drop, and it is the only move on this list that erases the bill instead of relocating it. The cost of entry is the exchange itself, starting with the 45-day identification deadline that kills more exchanges than any other rule.
An installment sale under §453 spreads the gain across the years you collect payments. Straight-line depreciation on a building is not "recapture income" under §453(i), so the unrecaptured §1250 gain spreads with everything else. It just goes first: Treas. Reg. §1.453-12(a) takes the 25%-rate gain into account before the 15%-rate gain, so the early installments are the expensive ones. The real value is bracket control. Spreading $280,000 of gain over five years can hold MAGI under the $250,000 net investment income tax threshold and keep the total below the $613,700 line where a joint filer's long-term rate jumps to 20% in 2026.
Timing is the cheapest strategy on the list. The 25% is a ceiling, not a flat rate: the Schedule D worksheet taxes unrecaptured §1250 gain at your ordinary rates whenever those are lower. For 2026, a married couple's 12% bracket runs to $99,600 of taxable income under Rev. Proc. 2025-32. A landlord who retires and sells in a year with little other income pays 12% on the depreciation gain that lands inside that bracket, less than half the cap. Pair this with an installment sale and you can aim several small slices at several cheap years instead of one large slice at an expensive one.
The two moves that don't work.
Skipping the depreciation deduction fails because of three words in §1016(a)(2): allowed or allowable. Basis drops whether or not you claimed the deduction, so the seller who never depreciated gets the full 25% bill with none of the write-offs that were supposed to fund it. Moving in fails because §121(d)(6) permanently carves gain attributable to depreciation claimed after May 6, 1997 out of the home-sale exclusion. Live there two more years or twenty, the depreciation slice stays taxable. And one clarification rather than a strategy: recapture exists only to the extent of gain. Sell below your adjusted basis and there is nothing to recapture, and the loss is an ordinary §1231 loss, not a capital loss capped at $3,000 a year.
Cost segregation raises the stakes at exit.
Everything above assumes straight-line depreciation on a building. A cost segregation study changes the character of the exit. The 5-, 7-, and 15-year property it carves out is §1245 property, and §1245 recapture is genuine ordinary income at rates up to 37%, with no 25% cap. Worse for planning, §453(i) pulls every dollar of §1245 recapture into the year of sale even on an installment deal. None of this makes cost segregation for a high-income landlord a bad trade; deducting at 37% now and recapturing at 37% later is still an interest-free loan from the Treasury. It does mean you should pick the exit, 1031 or hold to death, before commissioning the study, not the year the property sells.
Why quietly skipping the recapture line is not an option.
The sale is fully visible to the IRS. The closing agent files Form 1099-S with the gross proceeds, the gain computes on Form 4797, and the depreciation slice flows through the Unrecaptured Section 1250 Gain Worksheet to Schedule D line 19. The IRS also holds every Schedule E you ever filed for the property, showing the depreciation year by year. This is a document-matching problem, not a judgment call, so the planning has to happen in the structure of the sale, not on the return.