Most rental owners know roughly what they paid for a property and roughly what it is worth today. Far fewer know what the tax bill on a sale will actually be, and it is usually larger than the simple difference suggests. Years of depreciation come back into the calculation, a separate surtax can apply, and losses you could not use in earlier years may finally become deductible. The good news is that almost every piece of the bill can be planned, but most of that planning has to happen before the closing date, not after.
Why the gain is bigger than you think
Every year you own a residential rental, you deduct depreciation on the building over 27.5 years. That deduction lowers your taxable rental income, and it also lowers your basis in the property. When you sell, your gain is measured from that reduced basis, not from what you paid.
As an illustration, say you bought a rental for $400,000, with $320,000 allocated to the building, and you have owned it for ten years. You have claimed roughly $116,000 of depreciation, so your adjusted basis is about $284,000 before improvements and selling costs. Sell for $550,000 and your gain is about $266,000, not the $150,000 of appreciation you might expect.
How the gain is taxed
The gain on a long-held rental is split into two layers:
- Depreciation recapture. The portion of the gain equal to the depreciation you claimed (or were allowed to claim) is "unrecaptured section 1250 gain," taxed at your ordinary rate but capped at 25%. In the example above, that is about $116,000.
- Appreciation. The rest of the gain is long-term capital gain, taxed for 2026 at 0%, 15% or 20% depending on your taxable income. The 20% rate applies above $613,700 of taxable income for married couples filing jointly ($545,500 single).
On top of both layers, the 3.8% net investment income tax applies once modified AGI passes $250,000 for joint filers ($200,000 single). A large sale can push a household over that line for the year, even if it is normally below it. Your state will usually tax the gain as well. Our 2026 Tax Rates page has the full federal schedule.
The losses you may get back
If your rental has produced losses you could not deduct because of the passive activity rules, those losses are not gone. They carry forward, and when you sell the property in a fully taxable sale to an unrelated buyer, the accumulated losses from that property are released and can offset your other income that year. For long-time owners with large carryforwards, this can reduce the net tax on a sale substantially. It is one of the most commonly missed items when the sale is handled at filing time instead of planned in advance.
Deferring the tax with a 1031 exchange
If you plan to stay invested in real estate, a like-kind exchange under section 1031 lets you defer the gain, including the recapture, by rolling the proceeds into another investment property. The rules are strict:
- Real property only. Exchanges are limited to real estate held for investment or business use. Your home and vacation property used mostly personally do not qualify.
- 45 days to identify, 180 days to close. You must identify replacement property in writing within 45 days of the sale and close on it within 180 days (or by your return due date, including extensions, if earlier).
- A qualified intermediary holds the money. If the sale proceeds reach your hands, even briefly, the exchange fails. The intermediary has to be in place before the sale closes.
- Cash or debt reduction is taxable. Any cash you take out, or any drop in mortgage debt that is not replaced, is taxable "boot."
An exchange defers the tax; it does not erase it. Your old basis carries into the new property, and the deferred gain comes due if you later sell without exchanging again.
Why the timing of the sale matters
- December versus January. Closing on January 2 instead of December 30 moves the entire gain into the next tax year. If this year already includes a bonus, RSU vests or a business sale, that one-week difference can change your capital gains rate and whether the 3.8% surtax applies.
- Installment sales. If you carry back financing for the buyer, the gain can generally be spread over the years you receive principal. Recapture on shorter-lived property, such as appliances, furniture or components separated in a cost segregation study, is still taxed in the year of sale.
- Pair the sale with other moves. A year with a large gain is often the right year to bunch charitable gifts or to realize losses elsewhere, and a year with low income may be the right year to sell.
- Estimated payments. A large gain can create an underpayment penalty if no extra tax was paid in during the year. A fourth-quarter estimated payment after the closing usually solves it.
How we approach it
We start with the numbers you will need at closing: your adjusted basis, depreciation taken, improvements, selling costs and any suspended losses on that property. Then we build a full-year projection showing the tax on the sale under each option, including selling this year or next, a 1031 exchange, or an installment sale, alongside the rest of your income, so you can see the real after-tax result before you sign a listing agreement. If you own short-term rentals, our article on the short-term rental strategy covers how those properties are treated differently. See our Real Estate page for how we work with property owners.
Start with a complimentary tax projection
New clients start with a complimentary tax projection and a short conversation with one of our tax planning specialists, who will model the tax on your sale before you commit to a closing date. Book a consultation on our Contact page.
This article is general information about federal tax rules as of 2026. It is not tax advice for your situation; the right answer depends on your facts, your state and your full return.