Get expert tax and accounting help!
Call (866) 681-2140
Recapture + Gain + Surtax

Capital Gains Tax on Investment Property

When you sell a rental, the tax is not only on the appreciation. The depreciation you claimed over the years is 'recaptured' and taxed first — at up to 25%. Then the remaining long-term gain is taxed at 0, 15, or 20%. A 3.8% net investment income tax can apply on top.

All three layers modeled
1031 feasibility checked
Capital Gains Tax on Investment Property
Unrecaptured §1250 Gain

Depreciation you took (or were allowed to take) comes back at up to 25% — before the capital gain rate applies.

That second layer does not apply to a stock or a home, which is why the bill is rarely the flat percentage owners expect. A 1031 exchange can defer the whole thing if you reinvest on schedule.

The Short Version

  • When you sell a rental, the tax is not only on the appreciation. Depreciation you claimed over the years is recaptured and taxed first — at up to 25%.
  • The remaining long-term gain is taxed at 0, 15, or 20%. A 3.8% net investment income tax can apply on top for higher earners.
  • A 1031 exchange can defer the whole thing if you reinvest in other real estate on schedule. If you're not exchanging, the bill is larger than most owners expect.

Selling a rental triggers two taxes, not one: depreciation recapture on top of the capital gain. That second layer does not apply to a stock or a home, which is why the bill is rarely the flat percentage owners expect.

Years of depreciation that lowered your rental income are recaptured at sale, taxed before any appreciation and at a higher rate than the long-term gain. For higher earners, the 3.8% surtax is added on top, so the real bill usually runs well above the plain capital gains estimate. See IRS Topic 409 for the unrecaptured §1250 rules.

The Three Layers of Capital Gains Tax on Investment Property

Every rental sale carries all three. The recapture layer surprises the most owners.

01

Depreciation Recapture

The depreciation you took (or were allowed to take) is recaptured as unrecaptured Section 1250 gain, taxed at a maximum of 25%. This applies EVEN IF you never actually claimed the deduction — you owe on what you were allowed to take.

02

Long-Term Capital Gain

Appreciation above your adjusted basis is taxed at 0, 15, or 20% for the 2026 tax year, depending on your total income. The gain stacks on your other income, so the same gain can fall partly in the 15% band and partly in 20%.

03

Net Investment Income Tax (3.8%)

Higher earners add 3.8% on the investment gain — pushes the top combined federal rate to about 28.8% on the LTCG portion. Applies to single filers above $200k MAGI, joint above $250k.

04

Adjusted Basis — the Number That Shrinks the Bill

Your taxable gain is sale price − adjusted basis. Capital improvements (roof, HVAC, addition, buildout) raise basis and shrink the gain — but only if they were tracked. Basis rebuilding often lowers the bill more than any single other move.

How We Calculate a Rental Sale Tax

1

Rebuild adjusted basis from records

Original purchase price + closing costs + every capital improvement you can document, minus accumulated depreciation. Rebuilding basis before filing often lowers the taxable gain more than anything else.

2

Model all three layers separately

Recapture at 25% on the depreciation portion. LTCG at 0/15/20% on the appreciation portion. NIIT at 3.8% on the investment income portion if AGI thresholds are crossed. Numbers on a page, not a range.

3

Check whether a 1031 still helps

A 1031 exchange defers recapture AND gain into the next property. Has to be arranged BEFORE closing, and runs on a fixed clock afterwards (45 days to identify, 180 days to close). See 1031 exchange if it's still an option. See capital gains tax planning for the full framework.

Why Rental Owners Trust Dimov Tax

About a quarter of rental sale returns we see missed basis or double-counted recapture. Both make the tax larger than it needs to be. Rebuilding basis and running the three layers separately usually shrinks the bill materially.

$1.5B+
in tax savings identified for clients
63%
of clients return year after year
70+
tax and financial services under one roof
15+ yrs
advising on rental and investment property sales across multiple states

Pricing for a Rental Sale Review

Your fee depends on the work involved, not hours billed. Three things move it: how many years the property was rented; how many properties are involved; whether more than one state taxes the gain.

To get a quote, tell us the purchase and sale details and how many years the property was rented. The fee comes back in writing before any work begins.

You get the full bill with recapture included. Not just the gain — plus a clear answer on whether a 1031 or basis correction still changes it.
25%
the maximum federal rate on unrecaptured §1250 gain — the depreciation portion is taxed first, before any capital-gain treatment

How to Lower or Defer the Tax on a Rental Sale

Four levers that actually move the number on a rental sale — in order of impact:

1031 exchange
Defers BOTH recapture and gain into the next property. Arranged before closing; 45/180-day clock afterwards
Rebuild basis
Every documented capital improvement raises basis and shrinks the gain — often the biggest single reduction
Time the sale
Sale in a lower-income year drops more of the gain into the 0% or 15% band instead of 20% + NIIT
Cost seg trap
A prior cost segregation study GROWS the recapture layer at sale — flag this before you sell

Sources: IRS Topic 409 (§1250 recapture, LTCG rates); Topic 559 (NIIT thresholds); Form 8824 instructions (§1031 deferral)

Signs You Need This Review

A good fit if:

  • You're selling a rental in the next 6 months and want the real bill (all three layers)
  • You have improvement records buried in old emails/receipts and want basis rebuilt properly
  • You're considering a 1031 exchange and want to know if it still makes sense
  • You did a cost segregation study while you owned it — recapture is bigger than you think
  • You have multiple rental properties and want the sale sequenced for tax efficiency
  • The property crosses state lines (rented in one state, you live in another)

Selling your main home? See capital gains tax on real estate sale for the $250k/$500k exclusion. Vacation/second home? capital gains tax on second home. Inherited it? capital gains tax on inherited property. Prior cost seg? cost segregation study cost.

Calculate My Rental Sale Tax

Send the purchase and sale details, how many years the property was rented, and any improvement records you have. You get the full bill with recapture included — not just the gain — and a clear answer on whether a 1031 or basis correction still changes it before you file.

"About a quarter of the clients' returns that I look at are not fully utilizing the deductions that they have available. I think that number is even more."
— George Dimov, CPA, Founder of Dimov Tax

The real bill, not a range. Numbers approximate; consult a CPA before making decisions based on them.

Reviewed by George Dimov, CPA

Founder of Dimov Tax

15+ years advising on rental and investment property sales, §1031 exchanges, and depreciation recapture across multiple states.