How Much Tax When Selling a Rental Property: Four Layers, Not One Rate.
The 25% depreciation recapture rate everyone quotes is a ceiling, not a flat rate, and the suspended losses sitting on your Form 8582 are worth more per dollar than the rate you pay on the gain. Here is a $560,000 sale run through all four layers.

A landlord with one rental gets an offer at $560,000 on a house they bought in 2014 for $345,000. They do the subtraction on the drive home, land on $215,000 of profit, figure 15% of it, and decide the sale costs about $32,000. The real federal and Utah bill on that sale is $64,421. So, the question every landlord asks the week an offer comes in: how much tax when selling a rental property, and why is the answer never one rate times one number.
The gain is bigger than the price minus what you paid.
Two adjustments move the number before any rate touches it. Selling costs come off the price to give you the amount realized, so a 6% commission plus title and closing fees on a $560,000 sale takes $36,000 out of the gain. Then depreciation comes off your basis. Every year you owned the rental you deducted the building over 27.5 years under §168(c), and every one of those deductions lowered what the house cost you for tax purposes.
That second adjustment is the one that surprises people, because it works whether or not you took the deduction. Section 1250(b)(3) measures depreciation "allowed or allowable," so a landlord who never put the house on a depreciation schedule still has the basis reduction waiting at closing. The fix is a Form 3115 with a §481(a) adjustment before the sale, which lets you claim the depreciation you missed instead of paying for it twice.
- Sale price
- $560,000
- Less commission and closing costs
- ($36,000)
- Amount realized
- $524,000
- Purchase price in 2014 (land $70,000, building $275,000)
- $345,000
- Less depreciation, $10,000 a year for 12 years
- ($120,000)
- Adjusted basis
- $225,000
- Total gain
- $299,000
- Of that, unrecaptured §1250 gain (the depreciation)
- $120,000
- Of that, remaining long-term capital gain
- $179,000
Tax year 2026. Residential rental depreciated straight line over 27.5 years under §168(c) on $275,000 of building basis. The mid-month convention in §168(d)(4)(B) makes the first and last years partial, so a real schedule lands within a few hundred dollars of $120,000. No capital improvements assumed.
The split matters because the two pieces get different rates. The depreciation portion, $120,000 here, is unrecaptured §1250 gain. The $179,000 on top is ordinary long-term capital gain. If a cost segregation study carved out appliances, carpet, or land improvements, a third piece shows up as §1245 ordinary income recapture, taxed at your full marginal rate, which is the part of a cost seg that comes due on exit.
How much tax when selling a rental property, layer by layer.
Put the sale on a real return. Married filing jointly, $185,000 of W-2 wages, the $32,200 standard deduction, a Utah address, and $38,000 of suspended passive losses that have been stacking up on Form 8582 since the roof year.
- Unrecaptured §1250 gain of $120,000, taxed at 22% and 24%
- $26,868
- Long-term capital gain of $179,000 at 15%
- $26,850
- Net investment income tax, 3.8% on $196,000
- $7,448
- Suspended passive losses of $38,000 released, deducted at 22%
- ($8,360)
- Federal tax caused by the sale
- $52,806
- Utah income tax, 4.45% on $261,000
- $11,615
- Total tax on the sale
- $64,421
Tax year 2026, married filing jointly, no other income or deductions. The 2026 joint brackets run 22% from $100,800 to $211,400 and 24% to $403,550, and the 15% long-term rate holds to $613,700 of taxable income. The 3.8% tax applies to the lesser of net investment income or the excess of modified AGI over $250,000; modified AGI here is $446,000, so $196,000 is taxed. Utah's flat rate is 4.45% for 2026 and the taxpayer tax credit is fully phased out at this income.
Compare that to what a search result will tell you: 25% on the $120,000 of depreciation, 15% on the $179,000, and 3.8% on the whole $299,000. That arithmetic produces $68,212 of federal tax. The actual federal number is $52,806. The $15,406 gap is two errors pointing the same direction, and both are worth understanding before you sign anything.
25% is the most you pay on the depreciation, not what you pay.
Section 1(h)(1)(E) applies 25% only to the unrecaptured §1250 gain sitting above the point where ordinary rates would already be below 25%. Everything underneath that point is taxed at your ordinary rate instead. On the 2026 joint schedule the 24% bracket runs all the way to $403,550 of taxable income, so a seller stays under the ceiling for a long time.
In this sale the $120,000 of depreciation stacks on top of $114,800 of ordinary taxable income and runs from there to $234,800. That puts $96,600 of it in the 22% bracket and $23,400 in the 24% bracket, for $26,868 of tax and an effective rate of 22.4%. A flat 25% would have been $30,000. That $3,132 gets handed over for no reason, because most of the rental sale calculators online hardcode the 25%.
The suspended losses are worth more than the rate on the gain.
The second error is the bigger one. Section 469(g)(1) releases every suspended passive loss on the activity when you dispose of your entire interest in a fully taxable transaction to a buyer who is not related to you. All three conditions have to hold. The losses do not trickle out over time, and they do not stay passive.
That matters because they come off as ordinary deductions while the gain is taxed at capital rates. The $38,000 here drops wage income from $185,000 to $147,000 at 22%, pulls the entire capital gain stack down into lower brackets behind it, and cuts net investment income as well: suspended losses from an activity that was always passive are allowed in full as a properly allocable deduction in the year of disposition under Treas. Reg. §1.1411-4(g)(8), which is why the 3.8% applies to $196,000 instead of $234,000.
- Total tax on the sale if the losses stay trapped
- $76,676
- Total tax on the sale with the losses released
- $64,421
- Difference
- $12,255
- Value per dollar of suspended loss
- 32 cents
Same 2026 facts. Trapped losses leave ordinary income at $185,000, which stacks the §1250 layer higher ($27,628 instead of $26,868) and raises the modified AGI excess subject to the 3.8% tax from $196,000 to $234,000. Utah is figured at 4.45% on $299,000 rather than $261,000.
So the losses are worth 32 cents on the dollar against a gain being taxed at 15%. Three things turn that off. A 1031 exchange is not a fully taxable transaction, so the losses stay suspended and ride along with the replacement property. Selling to a related party under §267(b) freezes them too, even when the sale produces a real gain. An installment sale releases them only as the gain is recognized, year by year. If you have a meaningful number on Form 8582, what happens to those losses should drive the structure of the sale rather than the other way around.
Where the number lands on the return.
Five forms carry the sale, and the order matters because each one feeds the next.
- Form 4797, Part III: computes the §1250 and §1245 recapture on the property.
- Form 4797, Part I: carries the net §1231 gain to Schedule D as long-term capital gain.
- Schedule D, line 19: the unrecaptured §1250 gain, produced by the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions. This line is what triggers the Schedule D Tax Worksheet and the 25% ceiling.
- Form 8582: releases the suspended passive losses, which then land on Schedule E.
- Form 8960: the 3.8% net investment income tax, where the released losses reduce net investment income.
What I would actually do.
Pull the depreciation schedule before you sign the listing agreement, not in March. I once reviewed several years of returns for a client and found that the years they had prepared themselves looked better than the year a paid service did. The errors were small and not worth amending, with one exception: the depreciation method had drifted from year to year. On a rental you are holding, that is a quiet flag. On a rental you are selling, it is the number the entire bill is built on, and nobody can compute the gain without it.
Then there are two levers worth working. If the suspended losses are large, a fully taxable sale to an unrelated buyer is often worth more than the deferral a 1031 buys, and that is a calculation, not a rule of thumb. And if your taxable income for the year will land near $403,550 on a joint return, the depreciation layer is sitting right on the 24% to 25% seam, so whether the sale closes in December or January can move the number on its own.