How To Calculate Depreciation Recapture On Sale Of Rental Property

Depreciation Recapture Calculator for Rental Property Sales

Estimate adjusted basis, total gain, depreciation recapture, and taxes after selling costs.

Enter Property and Tax Inputs

This estimate applies common federal rules for unrecaptured Section 1250 gain (up to 25%). Actual filings may differ based on passive losses, installment sales, 1031 exchanges, entity structure, and state-specific treatment.

Results

How to Calculate Depreciation Recapture on Sale of Rental Property

Depreciation recapture is one of the most misunderstood parts of real estate investing, especially when landlords prepare to sell a rental and estimate taxes. Investors often focus on appreciation and forget that depreciation deductions taken during ownership reduce basis, which increases gain when the property is sold. The portion of gain tied to depreciation is generally taxed at a special federal rate cap of 25% under unrecaptured Section 1250 gain rules. That is why two sellers with the same sale price can owe very different tax amounts.

At a high level, the process is straightforward: compute adjusted basis, compute gain, isolate the depreciation portion, then apply the right tax rates to each layer of gain. In practice, the details matter: land is not depreciable, improvements change basis, depreciation is often required even if you did not claim it, and selling costs reduce amount realized. If you want a reliable estimate before listing, you need all those pieces in one model.

Core concept: depreciation deductions reduce your adjusted basis over time. When you sell at a gain, part of that gain is recharacterized as depreciation recapture and taxed differently than the rest of long-term capital gain.

Step 1: Determine Your Original Basis and Depreciable Basis

Start with your original cost basis, typically purchase price plus certain closing costs and capitalizable acquisition costs. Then separate land from building value. Land does not depreciate, so depreciation generally applies to the building portion and eligible improvements. For residential rental property, federal MACRS recovery is usually 27.5 years. For nonresidential real property, it is generally 39 years.

  • Original total basis: purchase price plus capitalized acquisition costs.
  • Depreciable basis: building portion plus qualifying capital improvements (land excluded).
  • Why this matters: depreciation claimed over the years reduces adjusted basis and can later trigger recapture.

If your records are incomplete, reconstructing basis from settlement statements, improvement invoices, depreciation schedules, and prior tax returns is critical before sale. Errors here flow through the entire gain computation.

Step 2: Compute Adjusted Basis at the Time of Sale

Your adjusted basis generally starts with original basis, increases for capital improvements, and decreases for depreciation allowed or allowable. The phrase “allowed or allowable” is crucial. Even if depreciation was not actually claimed on one or more returns, the IRS may still require basis reduction as though it had been claimed. That can create unexpected recapture exposure.

  1. Take original purchase basis.
  2. Add capital improvements (not routine repairs).
  3. Subtract total depreciation claimed or allowable.
  4. Result is adjusted basis.

Example: purchase at $350,000, improvements of $50,000, depreciation of $90,000. Adjusted basis is $310,000 before considering additional adjustments from casualty losses, credits, or specific elections.

Step 3: Calculate Amount Realized and Total Gain

Next compute amount realized from sale: gross sale price minus selling expenses such as broker commission, title fees, legal fees tied to disposition, transfer taxes, and other qualified selling costs. Subtract adjusted basis from amount realized to get total gain or loss.

  • Amount realized = sale price minus selling expenses.
  • Total gain = amount realized minus adjusted basis.
  • If total gain is negative, there is no depreciation recapture from gain because no net gain exists.

This step is where pre-listing planning can materially change outcome. A seller who ignores selling costs may overstate tax exposure. Conversely, a seller who forgets depreciation basis reduction may understate it.

Step 4: Isolate Depreciation Recapture Amount

For most rental buildings, recapture is approximated as the lesser of total gain or total depreciation deductions claimed (or allowable). If gain is large enough, all depreciation is exposed to recapture treatment up to the federal cap rate on unrecaptured Section 1250 gain. If gain is smaller than depreciation, the gain may be entirely recapture-character gain.

Formula used in the calculator:

  • Recapture gain = max(0, min(total gain, depreciation claimed))
  • Remaining long-term capital gain = max(0, total gain minus recapture gain)

Then apply rates:

  • Recapture tax rate is generally your ordinary rate capped at 25%.
  • Remaining gain is typically taxed at long-term capital gains rates (0%, 15%, or 20% federal, depending on taxable income).
  • State taxes may apply to some or all gain, depending on your jurisdiction.

Federal Rates and Reference Data

Use current-year IRS thresholds before filing because brackets and limits are indexed. The table below shows commonly used federal rates for planning.

Tax Component Federal Rate or Cap Planning Note
Unrecaptured Section 1250 gain (depreciation-related) Up to 25% Often modeled as min(ordinary marginal rate, 25%).
Long-term capital gains rate 0%, 15%, or 20% Depends on taxable income and filing status.
Net Investment Income Tax (NIIT) 3.8% Can apply above MAGI thresholds; model separately if applicable.
Residential rental depreciation recovery period 27.5 years Applies to building and qualifying improvements, not land.
2024 Long-Term Capital Gain Thresholds 0% Rate Up To 15% Rate Up To 20% Rate Above
Single $47,025 $518,900 Over $518,900
Married Filing Jointly $94,050 $583,750 Over $583,750
Head of Household $63,000 $551,350 Over $551,350

Thresholds are shown for planning context and may be revised annually. Always verify the tax year being filed.

Detailed Example Walkthrough

Assume you bought a residential rental for $350,000, allocated $70,000 to land, added $50,000 in capital improvements, claimed $90,000 in depreciation, sold for $600,000, and paid $36,000 in selling costs.

  1. Adjusted basis = $350,000 + $50,000 – $90,000 = $310,000
  2. Amount realized = $600,000 – $36,000 = $564,000
  3. Total gain = $564,000 – $310,000 = $254,000
  4. Recapture gain = lesser of $254,000 and $90,000 = $90,000
  5. Remaining LTCG = $254,000 – $90,000 = $164,000

If your marginal ordinary rate is 24%, recapture tax estimate is $21,600 (24% of $90,000, under the 25% cap). If your LTCG rate is 15%, LTCG tax estimate is $24,600 on the $164,000 balance. Add state tax based on local rules and your taxable base assumptions.

Common Mistakes That Cause Expensive Surprises

  • Using full purchase price as depreciable basis: land must be separated because it is not depreciable.
  • Ignoring “allowable” depreciation: basis may still be reduced even if deductions were missed on prior returns.
  • Mixing repairs and capital improvements: only capitalized improvements increase basis.
  • Forgetting selling costs: these reduce amount realized and may lower taxable gain.
  • Assuming all gain is taxed at LTCG rates: depreciation-linked gain can be taxed up to 25% federally.
  • Skipping state tax modeling: state treatment can materially change net proceeds.
  • No record reconciliation: depreciation schedules, Form 4562 history, and settlement statements should all agree before closing.

Advanced Planning Strategies Before You Sell

Tax planning should begin months before closing, not after. Depending on facts, investors evaluate installment sale structures, timing income and deductions to control bracket placement, and coordinating passive loss utilization. In some cases, a like-kind exchange strategy can defer gain, though strict identification and timing rules apply. Entity structure and state of residency also influence outcome.

Do not treat online calculators as final tax returns. They are best used for scenario analysis:

  • Compare “sell now” vs “hold longer” if appreciation is likely but depreciation recapture remains.
  • Model different selling-cost assumptions and net proceeds sensitivity.
  • Estimate estimated-tax payments to avoid penalties when gain recognition is large.
  • Run conservative and optimistic scenarios (higher and lower state/federal effective rates).

When Primary Residence Rules and Rental Rules Interact

If a property was converted between personal and rental use, things can become more complex. Some taxpayers ask if Section 121 home-sale exclusion removes recapture tax. In general, depreciation taken after May 6, 1997 is not excluded under Section 121 and remains potentially taxable as unrecaptured Section 1250 gain. Mixed-use and partial-year conversion histories should be reviewed carefully because timelines matter.

Also note that depreciation recapture rules apply at disposition even if the property generated little annual cash flow. Tax outcomes are based on gain character and basis math, not just annual profit and loss statements.

Authoritative Sources for Verification

For legal and filing accuracy, consult primary IRS guidance and statutory references:

These sources are the right place to verify definitions, exceptions, and form-level mechanics before filing. For large transactions, coordinate with a CPA or tax attorney, especially when passive activity losses, prior depreciation errors, or multi-state issues are involved.

Bottom Line

To calculate depreciation recapture on sale of rental property, you need clean basis records, accurate depreciation totals, and a proper gain allocation. The sequence is consistent: adjusted basis, amount realized, total gain, recapture layer, then remaining capital gain layer. Done correctly, this method gives you realistic after-tax proceeds and helps you decide whether to sell, exchange, or hold. Use the calculator above for fast scenario modeling, then confirm final numbers with your tax professional and current IRS guidance.

Leave a Reply

Your email address will not be published. Required fields are marked *