Every year you own a rental property, the tax code lets you deduct a portion of the building's value as depreciation. Residential rental property runs on a 27.5-year straight-line schedule, so a building worth $550,000 generates a $20,000 deduction annually — against your rental income, and often against your ordinary rate.
Most owners think of this as one of the good parts of owning rental property. It is — and over the years you hold, it is often a profitable one, because you take the deduction at your ordinary rate and settle it later at a lower one.
But it is not forgiveness. Depreciation is a deferral, and it is settled in a single payment, in cash, on the day you sell.
How the deduction comes back
Every dollar you depreciate reduces your basis — the number the IRS subtracts from your sale price to work out your gain. Take $200,000 of depreciation over a decade and your basis falls by $200,000, which means your taxable gain at sale is $200,000 larger than the appreciation alone would suggest.
That portion has its own name and its own rate. It's unrecaptured Section 1250 gain, and federally it is taxed at a maximum of 25% — not the 15% or 20% long-term capital gains rate people tend to budget for. The rest of the gain, the genuine appreciation, gets the ordinary long-term rate.
Two further layers land on top of both of those figures. The first is the 3.8% net investment income tax, if your income clears the threshold. The second is your state — and states differ here more than most owners expect. A few don't tax income at all. Others give capital gains a preferential rate, much as the federal government does. And some give no preference whatsoever: California is the sharpest example, where the entire gain — appreciation and depreciation alike — is added to your ordinary income and taxed at rates running up to 13.3%. Which of those three you live in is worth knowing before you model the sale.
The number that surprises people
A property bought for $700,000, with $150,000 of that allocated to land. The $550,000 building depreciates at $20,000 a year. Hold it ten years and you've taken $200,000 in deductions, which puts your adjusted basis at $500,000.
Now sell it for $850,000, with 6% in selling costs.
| Amount realized ($850,000 less $51,000 in costs) | $799,000 |
| Adjusted basis | $500,000 |
| Total taxable gain | $299,000 |
| — of which unrecaptured §1250 (the depreciation) | $200,000 |
| — of which long-term capital gain | $99,000 |
Take a California seller in a high bracket: 25% federal on the recapture, 20% on the capital gain, 3.8% net investment income tax, and 11.3% to the state. The bill comes to roughly $115,000.
Now compare that with the appreciation. You bought at $700,000 and sold at $850,000; after selling costs, the property produced $99,000 of appreciation.
The tax bill is larger than the appreciation.
That is not the same as saying you were cheated. Those $200,000 of deductions were real, and they sheltered rental income for a decade at rates that were probably higher than the 25% you settle at now. In present-value terms you likely came out ahead.
But the deductions arrived a little at a time, over ten years, and the settlement arrives all at once, in cash, at the closing table. That is the part almost nobody models — and it is the part that decides whether the sale actually happens.
It gets sharper if the market doesn't cooperate
Run the same property, but sell it into a soft market at $720,000 — barely above what you paid.
After 6% in selling costs you realize $676,800 on a property you bought for $700,000. In cash terms, you lost about $23,000.
Your basis is still $500,000. So your taxable gain is $176,800 — all of it depreciation, all of it recapture. Federal 25%, plus the net investment income tax, plus the state: roughly $70,000 in tax.
A cash loss, and a tax bill. Nothing unusual happened here. This is the ordinary operation of the rules.
One important assumption. That figure assumes there is nothing waiting to offset it. Many landlords have suspended passive losses stacked up under §469 — rental losses their income was too high to deduct in the years they arose. A fully taxable sale of the property releases those losses, and they offset the gain. If you have a large enough balance, the bill above shrinks, and it can shrink a long way.
So the first thing to find out is not the tax rate. It's whether you are carrying losses that have been waiting years for this exact moment. It's a line on your return, and it changes the answer.
Two provisions that close the obvious exits
You owe it even if you never claimed it. The statute reduces your basis by depreciation allowed or allowable. An owner who never took the deduction — who didn't know, or whose preparer missed it — has their basis reduced anyway, and pays recapture on a deduction they never received. That's the worst version of this: the bill without the benefit.
And moving back in does far less than people think. The plan you hear most often is to reoccupy the rental, live there two of the last five years, and claim the residence exclusion — up to $250,000 of gain, or $500,000 for a married couple filing jointly.
Two provisions gut it.
§121(d)(6) removes the depreciation entirely: the exclusion does not cover gain attributable to depreciation taken after May 6, 1997. The recapture survives, whatever you do.
And §121(b)(5), added in 2008, handles the rest. Years the property was not your principal residence are nonqualified use, and the gain allocated to them isn't excludable. Rent a property for ten years, move in for two, and only a fraction of the remaining gain qualifies — roughly in proportion to the time you actually lived there. The exclusion you were counting on largely isn't there.
Moving back in is a real strategy in some situations. It is not the escape hatch it is usually described as.
Why this belongs in a climate conversation
This is the cost that quietly shapes whether people leave.
When an owner concludes that a rental sits in the wrong place — the insurance is going one way, the risk is going the same way — the modelled exit is usually the listing-site version: sale price, minus loan, minus commission. What's missing is a tax bill that can exceed every dollar of appreciation the property produced.
That's a lock-in, and it works in the wrong direction. The longer you've held, the more you've depreciated, and the more expensive the exit becomes — at exactly the point in the property's life when the risk has had the longest time to build.
Which means the exit is worth planning while there's still time to plan it. A sale made after the third non-renewal letter is a sale with the options already narrowing.
One exception worth knowing, precisely because it is the climate case. If the property is actually destroyed — by fire, storm, or flood — you are no longer in the world of §1031. You are in §1033, involuntary conversion, and its terms are more generous: reinvest the insurance proceeds in replacement property and the gain is deferred, with two years to do it, extended to four where the loss occurs in a federally declared disaster.
It is a strange thing to have to say, but the code deals more gently with the owner whose property burned than with the owner who saw it coming and sold. That asymmetry is worth understanding before you decide which of those two people you intend to be.
What to do with the number
Before you decide whether a property is worth keeping, price the alternative honestly:
- Find your accumulated depreciation. It's on your depreciation schedule, and it drives everything here. If you don't have one, that itself is the finding.
- Split the gain into its two halves — recapture and appreciation — because they carry different rates.
- Add the state, and find out how yours treats the gain. In a state like California it can be the largest single line, and it lands on both halves.
- Check for suspended losses before anything else. They may already be sitting there, and they may absorb a large part of the bill.
- Then compare exits, not just prices. Selling and paying is one option. A §1031 exchange is another: sell the rental, roll the proceeds into a replacement property, and the bill — capital gain and recapture — is deferred rather than settled. It is the door most often used to leave a deteriorating market without the tax deciding the question for you, and the deadlines are unforgiving. It's the subject of the next post. It is not the only door — §1033 covers the property that is destroyed, an installment sale spreads the gain across years, and an Opportunity Zone fund defers it in exchange for a ten-year commitment.
Recapture isn't a penalty for selling. It's the settlement on a deduction you already took — and the useful question is not whether you owe it, but when, and against what.
This is general information, not tax advice. The figures above are illustrative, and depreciation, recapture and the passive-loss rules turn on facts specific to you. Work through them with your own tax advisor before acting.
