Capital gains tax on rental property is the federal income tax on the profit from selling a rental, measured as the amount realized minus adjusted basis. The amount realized is the sale price after selling costs, and adjusted basis is the purchase price plus improvements minus depreciation taken.

What counts as a taxable gain on a rental sale?

A taxable gain is the amount realized from the sale minus the property’s adjusted basis. The IRS defines capital gain or loss that way: sale proceeds after costs, less adjusted basis.

Adjusted basis starts with what you paid for the property. Add capital improvements that add value or extend the useful life, such as a new roof or a kitchen remodel.

Subtract depreciation you deducted or could have deducted. Land is not depreciated, so keep the land and building values separate in your records.

The holding period decides whether the gain is long-term or short-term. Long-term means held more than one year, counted from the day after acquisition through the sale date. Short-term means one year or less, and short-term gain is taxed as ordinary income.

What federal rate applies to long-term rental gains in 2026?

Long-term rental gains are taxed at 0%, 15%, or 20% federal rates in 2026, based on taxable income. The brackets use total taxable income, not the size of the sale or the gain alone.

Filing status0% up to15% up to20% starts above
Single$49,450$545,500$545,500
Married filing jointly or qualifying surviving spouse$98,900$613,700$613,700
Married filing separately$49,450$306,850$306,850
Head of household$66,200$579,600$579,600

These are 2026 figures for returns filed in 2027. A single filer with $40,000 of taxable income can add a long-term gain and have part of it taxed at 0% until taxable income reaches $49,450. The rest fills the 15% bracket until taxable income reaches $545,500; above that, the 20% rate applies.

Short-term gains do not get these brackets. They are added to ordinary income and taxed at 2026 rates from 10% to 37% for single filers. The top ordinary rate is 37%.

Why does depreciation recapture get a separate 25% rate?

Depreciation lowers your adjusted basis, so the tax law recaptures part of the gain when you sell. The unrecaptured §1250 gain is generally the lesser of the depreciation you took or the total gain, and it is taxed at a maximum 25% rate.

This is the catch many landlords miss. A rental held for years can have a large gap between purchase price and adjusted basis because of depreciation.

That gap is not all taxed at 0%, 15%, or 20%. The depreciation portion can be taxed at 25%, which is higher than the 15% rate many sellers expect.

Collectibles have a maximum 28% rate, and §1202 qualified small business stock has a maximum 28% rate. Those are separate rules, but they show why all long-term gains do not fit the standard 0%/15%/20% table.

How do you calculate the tax on a rental sale?

Work through five steps: adjusted basis, amount realized, total gain, depreciation recapture, and remaining gain. The example below is hypothetical and uses round numbers; it is not a tax return.

Step 1: Find the adjusted basis

Start with the purchase price and separate land from the building. In the example, the property cost $300,000: $80,000 for land and $220,000 for the building.

Depreciation uses the building value only. At $220,000 over 27.5 years, annual depreciation is $8,000. After 10 years, depreciation taken is $80,000, so adjusted basis is $300,000 minus $80,000, or $220,000.

Step 2: Calculate the amount realized

The amount realized is the sale price minus selling costs. In the example, the sale price is $450,000 and selling costs are $30,000, so the amount realized is $420,000.

Step 3: Subtract adjusted basis from the amount realized

Subtract adjusted basis from the amount realized. $420,000 minus $220,000 equals $200,000 of total gain.

Step 4: Split out depreciation recapture

Split out the depreciation recapture. The lesser of depreciation taken ($80,000) or total gain ($200,000) is $80,000.

At the maximum 25% rate, tax on that part is $20,000. The remaining gain is $120,000.

Step 5: Apply long-term rates and NIIT

Apply the long-term rates to the remaining $120,000. Assume a single filer with $40,000 of other taxable income.

The 2026 0% bracket ends at $49,450, so $9,450 of the gain is taxed at 0%. The other $110,550 is taxed at 15%, which is $16,582.50.

Add the $20,000 recapture tax to get $36,582.50. If MAGI is $240,000, the filer is $40,000 above the $200,000 single threshold.

The 3.8% NIIT is 3.8% of the lesser of net investment income or that $40,000 excess, or $1,520. Total federal tax in the example is $38,102.50 before state tax.

This is a simplified illustration and ignores the exact ordering rules in the Schedule D tax worksheet.

When does the 3.8% net investment income tax apply?

The 3.8% NIIT applies when modified adjusted gross income exceeds $200,000 for single or head of household, $250,000 for married filing jointly, or $125,000 for married filing separately. The tax is 3.8% of the lesser of net investment income or the amount above the threshold.

Rental sale gain is net investment income unless an exception applies. The gain on a personal residence that is excluded from gross income for regular tax is also excluded from NIIT, but a rental sale does not usually get that treatment.

A taxpayer can owe both the 0.9% Additional Medicare Tax on wages and the 3.8% NIIT on investment income, but not on the same income. The NIIT is reported and paid with the annual return, and a large gain may require estimated tax payments during the year.

Can you reduce or defer capital gains tax on a rental?

You can reduce the tax by documenting basis and defer it with a 1031 exchange. A 1031 exchange lets you reinvest sale proceeds into like-kind property and postpone federal capital gains tax, but it does not erase the tax. The new property takes a carryover basis, and the deferred gain can be taxed when you eventually sell.

Improvements are the record-keeping part. A new roof, an addition, or a full kitchen remodel adds to basis and lowers the gain.

Routine repairs do not add to basis; they are deducted as rental expenses. The rental property tax deductions guide explains that split.

Selling costs also lower the amount realized, so keep the closing statement. Commissions, title fees, and legal costs tied to the sale reduce the gain. An installment sale can spread gain over several years when you finance the buyer, but it adds collection risk and paperwork.

What records do you need for the basis calculation?

Keep the closing statement, improvement receipts, and depreciation schedules for every year you owned the rental. Without those records, you may pay tax on gain that depreciation already reduced, or miss improvements that should raise basis.

The depreciation schedule matters because it proves the amount recaptured. If you used a tax preparer, keep the depreciation worksheets with the return. If you inherited the property, special basis rules apply, so keep the estate’s valuation and the documents that support the inherited value.

Report the sale on Form 8949 and summarize it on Schedule D of Form 1040. A taxable gain may also require estimated tax payments, especially when the sale closes late in the year. The rental property checklist covers the records worth keeping from the first tenant.

Common mistakes

  • Treating the full sale price as taxable gain. The starting point is amount realized minus adjusted basis, not the sale price.
  • Forgetting depreciation. Depreciation lowers basis and creates unrecaptured §1250 gain taxed at up to 25%.
  • Using the wrong holding period. Count from the day after acquisition through the sale date; one year or less is short-term.
  • Ignoring the 3.8% NIIT. It sits on top of capital gains tax above the MAGI thresholds.
  • Skipping estimated tax payments. A large gain can create an underpayment penalty even when the return is filed correctly.
  • Assuming the personal-residence exclusion applies. A pure rental generally does not qualify without a conversion and the required use tests.
  • Deducting a loss on personal-use property. Losses on a home or car are not deductible; rental property is treated differently.