Rental Property Taxes · 2026

Capital Gains Tax on Rental Property: The Full Calculation (2026)

Selling a rental property triggers three separate tax layers. Most investors only see the appreciation gain — and miss the $15,000+ depreciation recapture bill sitting underneath it.

$161,091Total taxable gain on $100K appreciation
$30,273Tax bill at 15% LTCG bracket
$15,273Depreciation recapture (the surprise)

Most landlords know that selling an investment property means paying capital gains tax. What catches investors off guard is that the gain on paper — sale price minus what you paid — is not the number the IRS taxes. The real taxable gain is larger, and it gets split across multiple tax layers at different rates.

On a $300,000 property purchased in 2019 and sold for $400,000 in 2026, the naive calculation says you earned $100,000. The IRS calculation says your taxable gain is $161,091 — and that extra $61,091 is taxed at a higher rate than your appreciation gain.

This post walks through the mechanics: how adjusted basis works, why depreciation recapture exists, how the three tax layers stack, what the IRS “allowed or allowable” rule means for investors who never claimed depreciation, and four strategies to reduce or defer what you owe.

Why Your Taxable Gain Is Larger Than You Think

Every year you own a rental property, you claim a depreciation deduction that reduces your taxable rental income. On a $240,000 depreciable basis, that is $8,727 per year — a real tax benefit during ownership.

When you sell, the IRS recovers those deductions. Your adjusted basis — the number subtracted from your sale price to calculate gain — is reduced by every dollar of depreciation you claimed. After 7 years, $61,091 in depreciation deductions reduces your adjusted basis by exactly that amount. The result: your taxable gain includes not just appreciation, but the full value of every deduction you took.

Adjusted Basis Calculation

Purchase price: $300,000
+ Capital improvements: $0
− Accumulated depreciation (7 yrs × $8,727): ($61,091)
= Adjusted basis: $238,909

Gain Calculation

Sale price: $400,000
− Adjusted basis: ($238,909)
= Total gain: $161,091

vs. the number most investors think of:
Sale price $400,000 − purchase price $300,000 = $100,000 (wrong)
Hidden additional gain from depreciation recapture: $61,091

The Three Tax Layers

The $161,091 gain does not all get taxed at the same rate. The IRS splits it into two components, each taxed separately, with a possible third layer for high earners.

Layer 1: Depreciation Recapture (Max 25%)

The first $61,091 of gain — equal to accumulated depreciation — is classified as unrecaptured Section 1250 gain and taxed at a maximum federal rate of 25%. The 25% rate is a ceiling, not a floor: if your ordinary income bracket is below 25% (10% or 12% filers), you pay your actual ordinary rate instead. For most landlords who also have W-2 income and are in the 22% or higher bracket, the full 25% ceiling applies. For high earners in the 32%, 35%, or 37% bracket, the 25% recapture rate is actually lower than their ordinary income rate — one of the few cases where a dedicated recapture rate works in the taxpayer’s favor.

Layer 2: Long-Term Capital Gain (0%, 15%, or 20%)

The remaining $100,000 of gain — the actual appreciation above your original purchase price — qualifies for long-term capital gains treatment, provided you held the property more than one year. For 2026, the rate depends on taxable income:

Filing Status0% Rate (taxable income up to)15% Rate (taxable income)20% Rate (taxable income above)
Single~$48,350~$48,351 – ~$533,400~$533,400
Married Filing Jointly~$96,700~$96,701 – ~$600,050~$600,050
⚠ Verify 2026 Thresholds LTCG thresholds adjust annually for inflation. The figures above are estimates based on recent trends. Confirm the exact 2026 thresholds at irs.gov before filing — the IRS publishes the official table each November in Revenue Procedure form.

Layer 3: Net Investment Income Tax — 3.8% (High Earners Only)

If your modified adjusted gross income (MAGI) exceeds $200,000 (single) or $250,000 (married filing jointly), an additional 3.8% Net Investment Income Tax applies to the lesser of your net investment income or the amount your MAGI exceeds the threshold. Rental gains and depreciation recapture are both classified as net investment income.

Full Worked Example: $300K Property, 7-Year Hold

Property purchased in 2019 for $300,000 (land: $60,000 / structure: $240,000). Sold in 2026 for $400,000. No capital improvements. All math Python-verified.

ComponentAmountTax RateTax Owed
Annual depreciation ($240,000 ÷ 27.5)$8,727/yr
Accumulated depreciation (7 years)$61,091
Adjusted basis$238,909
Total taxable gain$161,091
 
Depreciation recapture (Layer 1)$61,09125%$15,273
Long-term capital gain (Layer 2)$100,00015%$15,000
NIIT (Layer 3, if MAGI > $200K)$161,0913.8%$6,121
Total federal tax (15% LTCG bracket)$30,273
Total federal tax (20% LTCG + NIIT)$41,394

At the 15% LTCG rate with no NIIT, the investor keeps $369,727 after federal tax from a $400,000 sale. At the 20% rate with NIIT (high-income investor), after-tax proceeds drop to $358,606. Add state capital gains tax on top of these figures — most states tax investment gains at ordinary income rates, ranging from 0% (Texas, Florida, Washington) to 13.3% (California).

✓ If You Made Capital Improvements Capital improvements — a new roof, HVAC replacement, kitchen renovation — increase your cost basis and reduce your gain. Example: the same $300K property with a $20,000 kitchen renovation has an adjusted basis of $258,909 instead of $238,909. Total gain drops from $161,091 to $141,091. Keep receipts for every capital improvement; they are dollar-for-dollar reductions in taxable gain at sale.

Short-Term vs. Long-Term: Why Holding Matters

If you sell a rental property within 12 months of purchase, the entire gain — including what would otherwise be depreciation recapture — is taxed as ordinary income at your marginal rate. For most investors in the 22% or 24% bracket, this means:

Scenario A: Sell at 7 years (long-term), 15% LTCG bracket
Recapture (25%) + LTCG (15%) = $30,273

Scenario B: Sell at 11 months (short-term), 22% ordinary income bracket
Same $161,091 gain, taxed entirely at ordinary income: $161,091 × 22% = $35,440

Cost of selling before the 1-year mark: $5,167 in extra federal tax

The one-year holding requirement is a hard line. Selling on day 364 costs the same as selling on day 1. Selling on day 366 qualifies for long-term rates. When you are close to the one-year mark, the math almost always favors waiting.

The “Allowed or Allowable” Trap

This is the rule that catches investors who stopped claiming depreciation, forgot to claim it, or inherited a property without claiming it properly.

IRC §1250 uses an “allowed or allowable” standard: the IRS recaptures depreciation you were entitled to take, whether you actually claimed it on your return or not. If you owned a rental property for 10 years and never claimed depreciation, the IRS still reduces your adjusted basis by what you could have deducted — and taxes you on the full recapture amount at sale.

⚠ If You Never Claimed Depreciation You owe the recapture tax regardless. But you can still benefit from the deductions you missed. Options: Do not sell a rental property without first confirming your depreciation history with a CPA, especially if you self-prepared returns or used a preparer who did not specialize in real estate.

State Capital Gains Taxes

Federal tax is only part of the bill. Most states treat capital gains as ordinary income, adding a significant layer on top of the federal calculation.

StateCapital Gains Tax TreatmentTop Rate
Texas, Florida, Nevada, WashingtonNo state income tax0%
ColoradoFlat income tax rate4.4%
GeorgiaFlat income tax rate (phased reduction)~5.39%–5.49%
ArizonaFlat income tax rate (enacted 2023)2.5%
New YorkOrdinary income rate + NYC surchargeUp to ~12.7%
CaliforniaOrdinary income rate (no LTCG discount)13.3%
⚠ State Rates Change Annually State income tax rates listed above are estimates based on 2025–2026 law and may change. Georgia’s flat rate is phasing down over several years. Arizona enacted its 2.5% flat rate in 2023. Always verify your state’s current-year rate with your CPA or state revenue department before modeling a sale.

A California investor selling the $300K example property and paying the federal 20% + NIIT rate ($41,394 federal) plus California at 13.3% ($21,425 state) faces a combined tax bill of over $62,000 on the same transaction — leaving $337,606 after taxes from a $400,000 sale.

The Primary Residence Conversion: What §121 Does and Doesn’t Do

Some investors convert a rental to a primary residence before selling, hoping to use the §121 exclusion — which allows up to $250,000 ($500,000 MFJ) of gain to be excluded from capital gains tax if the home was your primary residence for at least 2 of the 5 years before sale. This section only applies if the property was previously your primary residence or you plan to move in before selling; a property that has always been a rental does not qualify for §121 at all.

For properties that were once a primary residence, there are two important limits:

  1. Depreciation recapture is never excluded. Even if your home qualifies for the full §121 exclusion, the IRS still taxes accumulated depreciation recapture at up to 25%. The exclusion only applies to the appreciation gain, not the recapture portion. You cannot move into a rental and eliminate the recapture tax.
  2. Nonqualified use reduces the exclusion. Under IRC §121(b)(5), any period after January 1, 2009 that the property was rented (and not used as your primary residence) counts as “nonqualified use.” The exclusion is reduced proportionally. A property rented for 4 years and then used as a primary residence for 2 years before sale would have only 2/6 of the exclusion available — roughly $83,333 excluded instead of $250,000.

Converting a rental to primary residence before selling can reduce your tax bill meaningfully, but the math is complex and the recapture tax is unavoidable. Run the numbers with a CPA before counting on the exclusion.

Four Strategies to Reduce or Defer the Tax Bill

  1. 1031 Exchange — Defer Indefinitely

    Under IRC §1031, if you reinvest the proceeds from a rental sale into a “like-kind” replacement property within 180 days (45-day identification window), you defer the entire gain — including recapture — to the replacement property. You can chain 1031 exchanges throughout your investment lifetime. At death, heirs receive a stepped-up basis and the deferred tax disappears permanently. Requires a qualified intermediary (QI); you cannot touch the proceeds directly.

  2. Installment Sale — Spread the Tax Over Time

    Instead of receiving the full sale price at closing, you carry back a note and receive payments over several years (IRC §453). Each payment is partially gain (taxed) and partially return of basis (untaxed). Spreading the gain over multiple years can keep each year’s income in a lower bracket. Important caveat: depreciation recapture must be reported in full in the year of sale regardless of how payments are structured — you cannot installment-sell your way out of recapture.

  3. Die Holding It — Stepped-Up Basis at Death

    This is not macabre — it is estate planning. When investment property is inherited, the heir receives a stepped-up basis equal to fair market value at the date of death. All accumulated depreciation and the deferred recapture are permanently eliminated. The heir can sell immediately at FMV with zero federal capital gains tax (though a fresh depreciation schedule begins on the stepped-up basis). For investors with long-held, highly appreciated properties, this is often the highest-value strategy.

  4. Qualified Opportunity Zone — Defer + Partial Exclusion

    If you reinvest realized gains into a Qualified Opportunity Zone Fund within 180 days of sale, you defer the original gain until December 31, 2026 (or when you sell the QOZ investment, whichever comes first). Gains on the QOZ investment itself are excluded if you hold for at least 10 years. QOZ funds vary widely in quality and liquidity — due diligence on the fund is as important as the tax benefit. Not appropriate for investors who need liquidity from the sale.

Decision Framework: What to Do Before You Sell

SituationPriority Action
Hold period < 12 monthsWait if possible — one year of holding is worth thousands in tax savings
Never claimed depreciation or unsure of historyPull your tax returns; consult CPA before listing. Recapture is owed regardless.
Planning to reinvest in another propertyContact a QI now — the 45-day ID window starts at closing, not when you think about it
California or NY investor, large gainModel state tax — combined rates can exceed 25%; 1031 or QOZ math changes significantly
MAGI near $200K/$250K thresholdModel whether sale pushes you into NIIT range; consider partial sale or installment structure
Property in estate planCompare sell-now tax cost vs. stepped-up basis value at death before deciding

Track Every Number Before You Sell

Accumulated depreciation, capital improvements, net operating income — the adjusted basis calculation relies on records you need to have been keeping for years. The Rental Cash Flow Tracker Pro includes a dedicated Schedule E worksheet that tracks all income, expenses, and depreciation year-by-year so the adjusted basis math is ready when you need it.

Rental Tracker Pro — $29 Expense Tracker Lite — $9
Instant download · Excel + Google Sheets · Fix it or refund it

Frequently Asked Questions

What is the capital gains tax rate on rental property in 2026?
Rental property sold after more than one year triggers long-term capital gains rates of 0%, 15%, or 20% on the appreciation portion, depending on your taxable income. The depreciation recapture portion is taxed separately at a maximum rate of 25%. High-income investors (MAGI above $200,000 single / $250,000 MFJ) also owe 3.8% NIIT on top. Most middle-income landlords pay 25% on recapture and 15% on appreciation. Verify exact 2026 thresholds at irs.gov — they adjust annually for inflation.
How do I calculate adjusted basis when selling a rental property?
Adjusted basis = purchase price + capital improvements − accumulated depreciation. Closing costs paid at purchase add to basis; selling costs reduce your amount realized. On a $300,000 property with no improvements and 7 years of $8,727/year depreciation, adjusted basis is $238,909. If you sell for $400,000, your taxable gain is $161,091 — not the $100,000 you might calculate using your purchase price.
Does depreciation recapture apply even if I never claimed the depreciation deduction?
Yes. The IRS uses an “allowed or allowable” standard — you owe recapture on depreciation you were entitled to take, whether you claimed it or not. If you failed to claim depreciation in prior years, you can recover missed deductions via Form 3115 (accounting method change) or amended returns (last 3 years only). Consult a CPA; the missed-deduction recovery before sale is worth the professional fee.
Can I avoid capital gains tax by moving into my rental property before selling?
Partially. The §121 primary residence exclusion ($250K single / $500K MFJ) can apply if you live there for 2 of the 5 years before sale — but it never excludes depreciation recapture, which is always taxable. The exclusion is also reduced proportionally by any “nonqualified use” (rental periods after January 1, 2009). A 4-year rental followed by 2 years of primary use yields roughly 33% of the full exclusion, not 100%. Run the numbers with a CPA before assuming conversion eliminates the tax bill.