A landlord selling a rental property is usually taxed on two separate things at once: the appreciation in value since purchase, and the depreciation claimed every year the property was rented out. Treating those as one number is the most common mistake owners make when estimating what a sale will actually cost them.
Two Taxes, Not One
Capital gain is the sale price minus adjusted basis, taxed at long-term capital gains rates if the property was held over a year. Depreciation recapture is a separate calculation on the portion of the gain attributable to depreciation already deducted, and it is taxed at a flat 25 percent rate up to the amount of depreciation claimed, regardless of the owner's regular income bracket.
A landlord who has owned a rental for fifteen years and depreciated it heavily can find that recapture, not appreciation, is the larger piece of their total tax bill at closing.
How State Taxes Layer on Top
Federal capital gains and recapture rates are only part of the picture. Most states also tax the gain as ordinary income at the state level, on top of whatever the federal government collects, and a handful of states have no income tax at all. An owner selling a rental in one state while living in another may owe tax in both, depending on where the property sits and where the owner is a resident.
This state layer is frequently left out of quick online estimates, which is part of why a landlord's actual closing tax bill often runs higher than the number they had in mind going into the sale.
Net Investment Income Tax and the 3.8 Percent Surcharge
Higher-income sellers may also owe the 3.8 percent net investment income tax on some or all of the gain, depending on modified adjusted gross income thresholds. This surcharge applies on top of the standard capital gains rate and recapture, and it catches owners off guard because it is calculated on total income for the year, not just the property sale.
A landlord with a modest rental income in most years can still cross the threshold in the year of sale simply because the gain itself pushes total income above the trigger point, which is why this line item is easy to underestimate when working from a prior year's tax return instead of a projection that includes the sale.
Deferring the Bill Through a 1031 Exchange
Because rental property is investment real estate, it qualifies for Section 1031 treatment, meaning the gain and the recapture can both be deferred by reinvesting proceeds into another qualifying rental or investment property through a qualified intermediary within the required deadlines. The tax is not eliminated; it carries forward into the replacement property's basis and comes due whenever that property is eventually sold without another exchange behind it.
For a landlord who wants to keep building a rental portfolio rather than converting equity to cash, this is usually the mechanism that changes the math the most, and it applies whether the replacement is another single-family rental, a small multifamily building, or a different asset class entirely, as long as both properties are held for investment or business use.
Estimating Before Listing, Not After Closing
- Pull the full depreciation schedule filed on every year's return
- Confirm current basis after subtracting cumulative depreciation and adding documented improvements
- Check the state of residence and the state where the property sits for double-taxation exposure
- Run a preliminary net investment income tax check against current-year income
- Decide before signing a listing agreement whether a 1031 exchange fits the ownership goal
Common Questions
Is depreciation recapture taxed at the same rate as capital gains?
No. Recapture on real property is taxed at a flat 25 percent rate up to the depreciation claimed, while the remaining appreciation is taxed at standard long-term capital gains rates, which can be lower depending on income.
Do I owe capital gains tax if I sell at a loss on a rental?
Generally no capital gains tax is owed on a sale below adjusted basis, but recapture can still apply on any depreciation already claimed even in a year where the overall sale results in a loss, so the two calculations stay separate.
Can I avoid the net investment income tax on a rental sale?
Deferring the gain through a 1031 exchange removes it from current-year taxable income, which can also keep it out of the net investment income tax calculation for that year, since the gain is not recognized until a later, non-exchanged sale.
Does converting a rental to a primary residence before selling change anything?
It can reduce exposure through the separate home sale exclusion under certain holding-period rules, but depreciation recapture from the rental years typically still applies, and the rules for mixed-use history are detailed enough to need a CPA's review before relying on this approach.




