Depreciation Recapture on Rental Property: How to Calculate It and What You'll Actually Owe
A step-by-step guide to understanding, calculating, and legally reducing the depreciation recapture tax when you sell your rental property — with a complete worked example and every strategy worth considering.
What Is Depreciation Recapture on Rental Property?
When you own a rental property, the IRS allows you to deduct the cost of the building — not the land — over its useful life. For residential rental property, that's 27.5 years. For commercial property, it's 39 years. Every year you claim this deduction, it lowers your taxable rental income and simultaneously reduces your property's adjusted basis.
Depreciation recapture is what happens when you sell. The IRS "recaptures" a portion of those deductions by taxing the gain attributable to depreciation at a special rate — up to 25% at the federal level. This isn't a penalty. It's the government's way of saying: you got a tax break while you owned the property, and now it's time to settle up.
The recapture amount is the lesser of two figures: the total depreciation you claimed (or were entitled to claim) during ownership, or the total gain you realized on the sale. If you sell at a loss, there's nothing to recapture.
Here's why this matters: many investors plan only for capital gains taxes when they sell and are blindsided by the recapture portion. On a property held for 10+ years, the depreciation recapture tax alone can run into tens of thousands of dollars — and that's before capital gains, the Net Investment Income Tax (NIIT), and state taxes get stacked on top.
The "Allowed or Allowable" Rule: Why You Owe Even If You Never Claimed Depreciation
This is one of the most misunderstood aspects of depreciation recapture, and it trips up investors who assumed they were playing it safe by not deducting depreciation. The IRS doesn't care whether you took the deduction. If you were allowed to take it, your basis is reduced as though you did. And when you sell, the recapture is calculated on that reduced basis.
Think of it this way: skipping the depreciation deduction during ownership costs you the annual tax savings you would have received. Then at sale, you still owe recapture on the amount you should have deducted. You lose twice.
If you've been neglecting depreciation on your tax returns, the correct fix is to file IRS Form 3115 (Application for Change in Accounting Method) and take a Section 481(a) adjustment. This allows you to recover all missed depreciation in a single tax year, without needing to amend prior returns going back decades. It's best to do this before listing the property, so you have time to claim the deductions before the recapture event is triggered.
How to Calculate Depreciation Recapture: Step by Step
The calculation follows a clear sequence. You need four numbers to get started: what you paid, what the land was worth, what improvements you made, and what you sold for.
Step 1: Determine Your Original Cost Basis
Your cost basis is the purchase price of the property plus certain acquisition costs. This includes closing costs you paid at purchase — such as title insurance, attorney fees, recording fees, and transfer taxes. It does not include prepaid expenses like property taxes or insurance prorations.
Step 2: Subtract the Land Value
Land cannot be depreciated because it doesn't wear out. You must allocate a portion of your purchase price to land and subtract it. The remainder is your depreciable basis.
Step 3: Add Capital Improvements
Any capital improvements made during ownership — a new roof, HVAC system, kitchen renovation, or addition — increase your depreciable basis. Each improvement gets its own 27.5-year depreciation schedule starting from the month it was placed in service.
Step 4: Calculate Total Depreciation Taken
For the original building, divide the depreciable basis by 27.5 to get annual depreciation. Apply the mid-month convention for the first and last year of ownership (the IRS assumes you placed the property in service in the middle of the month). Sum the depreciation from the building and all capital improvements.
Total depreciation = building depreciation + improvement depreciation (all years)
Step 5: Calculate the Adjusted Basis
Step 6: Calculate the Total Gain
Step 7: Split the Gain
The IRS divides your total gain into two pieces. The first piece — up to the amount of total depreciation claimed — is taxed at the recapture rate (maximum 25%). The second piece — everything above that — is taxed at your applicable long-term capital gains rate (0%, 15%, or 20%).
Complete Worked Example: Purchase Through Sale
Let's walk through a realistic scenario from start to finish. You purchased a residential rental property in 2016 for $350,000. You put $25,000 into a new roof in 2019. Now it's 2026 and you're selling for $500,000.
| Item | Amount |
|---|---|
| Purchase price | $350,000 |
| Qualifying closing costs at purchase | $8,000 |
| Total cost basis | $358,000 |
| Land value allocation (20%) | $71,600 |
| Depreciable basis (building) | $286,400 |
| Annual depreciation ($286,400 ÷ 27.5) | $10,415/year |
| Years of ownership (2016–2026) | 10 years |
| Total building depreciation (approx.) | $104,150 |
| Roof replacement (2019, depreciable) | $25,000 |
| Roof depreciation ($25,000 ÷ 27.5 × 7 years) | $6,364 |
| Total depreciation claimed | $110,514 |
Now let's calculate the gain and the tax at sale:
| Calculation | Amount |
|---|---|
| Sale price | $500,000 |
| Selling costs (commissions, closing) | −$32,000 |
| Net sale price | $468,000 |
| Adjusted basis ($358,000 + $25,000 − $110,514) | $272,486 |
| Total gain | $195,514 |
How the Tax Breaks Down
| Tax Category | Amount | Rate | Tax Owed |
|---|---|---|---|
| Depreciation recapture (Section 1250) | $110,514 | 25% | $27,629 |
| Remaining capital gain | $85,000 | 15% | $12,750 |
| Net Investment Income Tax (3.8%) | $195,514 | 3.8% | $7,430 |
| Total federal tax | $47,809 |
And that's federal only. In a state with a 5% income tax rate, you'd owe roughly another $9,776, bringing the total tax bill on this sale close to $57,585. If you only planned for capital gains at 15%, you would have budgeted around $29,327 — nearly $28,000 less than what you actually owe.
Section 1250 vs. Section 1245: How the Tax Rate Changes
Not all depreciation is recaptured at the same rate. The rules depend on what type of asset was depreciated and which method was used.
| Property Type | IRC Section | Depreciation Method | Recapture Rate |
|---|---|---|---|
| Building/structure (residential) | Section 1250 | Straight-line / 27.5 years | Max 25% |
| Building/structure (commercial) | Section 1250 | Straight-line / 39 years | Max 25% |
| Appliances, furniture, equipment | Section 1245 | Accelerated (MACRS 5- or 7-year) | Ordinary income (up to 37%) |
| Land improvements (fencing, paving) | Section 1245 | Accelerated (MACRS 15-year) | Ordinary income (up to 37%) |
Most residential rental property owners are dealing primarily with Section 1250 — the building itself, depreciated straight-line over 27.5 years. The gain attributable to that depreciation is classified as "unrecaptured Section 1250 gain" and capped at a 25% federal tax rate. This is a special category — it's neither the ordinary income rate nor the standard capital gains rate.
If you've done a cost segregation study and reclassified components of your property (appliances, certain fixtures, landscaping, paving) into shorter depreciation schedules under Section 1245, those items are recaptured at ordinary income rates — which can be as high as 37%. This distinction becomes especially important when planning a 1031 exchange, since a standard 1031 defers Section 1250 recapture but does not automatically defer Section 1245 recapture unless your replacement property contains comparable personal property.
Closing Costs That Increase Your Cost Basis
Many investors overlook the closing costs they paid when they originally purchased the property. Adding these to your cost basis increases your depreciable basis, increases your annual depreciation deduction, and ultimately reduces your taxable gain at sale. It's free money left on the table if you skip it.
| Can Be Added to Cost Basis | Cannot Be Added |
|---|---|
| Title insurance premiums | Prepaid property taxes |
| Attorney and legal fees | Prepaid insurance premiums |
| Recording and filing fees | HOA transfer fees (varies) |
| Transfer taxes paid by buyer | Home warranty costs |
| Title search and examination fees | Mortgage interest points (deducted separately) |
| Survey costs | Loan origination fees (amortized) |
| Escrow and settlement fees | Property inspection fees (debatable) |
Go back to your original closing statement (the HUD-1 or Closing Disclosure) and add up every qualifying cost. On a $350,000 purchase, it's common to find $6,000–$12,000 in basis-boosting closing costs that many investors never added.
How to Determine Your Land Value Allocation
Since you can only depreciate the building — not the land — correctly allocating the land value is essential. Overestimate the land and you shortchange your depreciation deduction every year. Underestimate it and you risk an audit.
There are four common methods:
County tax assessment. Most counties separate the assessed value of land from the building on your property tax statement. If the assessment shows 25% land and 75% building, you can apply that ratio to your purchase price. This is the easiest method and generally accepted by the IRS, though the ratios don't always reflect true market conditions.
Professional appraisal. Hiring an appraiser to separately value the land and improvements gives you a defensible allocation. This is the strongest method if the IRS ever challenges your split, and it's worth the cost on higher-value properties.
Comparable land sales. Look at recent sales of vacant lots in the same neighborhood. If similar lots sell for $80,000 and you purchased your property for $350,000, the land allocation would be roughly 23%.
Builder's cost method. If the property was newly built, the builder's cost of construction (excluding land) can establish the building portion. The remainder is land.
| Property Location | Typical Land Allocation |
|---|---|
| Rural areas | 10–15% |
| Suburban areas | 15–25% |
| Urban areas | 25–40%+ |
| Coastal / high-demand cities | 40–60%+ |
Whichever method you choose, document it thoroughly and keep the records with your tax files. The IRS can challenge your allocation, and having a clear rationale — especially an appraisal or detailed comparable analysis — is your best defense.
Capital Improvements vs. Repairs: What Counts Toward Your Basis
This distinction directly affects both your depreciable basis and your recapture calculation. Get it wrong and you'll either overpay in taxes or underreport — both are problems.
The IRS defines a capital improvement as an expense that adds value to the property, prolongs its useful life, or adapts it to a new use. Improvements are added to your basis and depreciated over 27.5 years. A repair, on the other hand, maintains the property in its existing condition and is fully deductible in the year it's incurred — but it does not increase your basis.
| Capital Improvement (Depreciable) | Repair (Expensed) |
|---|---|
| Full roof replacement — $12,000 | Patching a roof leak — $500 |
| New HVAC system — $8,500 | HVAC filter change and tune-up — $200 |
| Kitchen remodel — $22,000 | Replacing a faucet — $150 |
| Room addition — $45,000 | Repainting a room — $400 |
| New flooring throughout — $6,000 | Patching damaged flooring — $300 |
| Upgraded electrical panel — $3,500 | Fixing an outlet — $100 |
| New water heater — $1,800 | Flushing the water heater — $75 |
Here's the practical impact: if you spend $25,000 on a new roof and expense it as a repair instead of capitalizing it, you miss adding $25,000 to your depreciable basis. That's roughly $909 in additional depreciation you could claim each year. Over 10 years, you've left $9,090 in deductions on the table. Conversely, when you sell, having that $25,000 properly capitalized increases your adjusted basis and reduces your total gain.
Capital Gains Rates, NIIT, and State Taxes: Your Full Tax Picture
Depreciation recapture is only one layer of the tax bill when selling a rental property. Here's every federal tax that can apply to the sale, stacked in order:
| Tax Layer | Applies To | Rate |
|---|---|---|
| Depreciation recapture (Section 1250) | Gain up to total depreciation claimed | Max 25% |
| Long-term capital gains | Remaining gain above depreciation | 0%, 15%, or 20% |
| Net Investment Income Tax (NIIT) | Total gain, if MAGI exceeds threshold | 3.8% |
| State income tax | Total gain (varies by state) | 0%–13.3% |
The 3.8% Net Investment Income Tax
The NIIT is a surtax under IRC §1411 that applies to investment income — including rental property gains — for taxpayers whose modified adjusted gross income (MAGI) exceeds $200,000 (single filers) or $250,000 (married filing jointly). It applies to both the recapture portion and the capital gain portion. Many rental property investors clear these thresholds in the year of sale simply because the sale itself pushes their income above the limit.
State Taxes on Depreciation Recapture
Most states that levy an income tax also tax depreciation recapture. The rate varies significantly — from 0% in states like Texas, Florida, and Nevada, to over 13% in California. Some states treat the recapture as ordinary income even if the federal treatment is at the special 25% rate. If you own rental property in a high-tax state, factor the state layer into your planning before you list.
5 Strategies to Avoid or Defer Depreciation Recapture
You can't make depreciation recapture disappear entirely with a simple trick — but there are legitimate, well-established strategies to defer it, reduce it, or in some cases eliminate it altogether.
1. 1031 Like-Kind Exchange
Under IRC §1031, you can sell an investment property and reinvest the proceeds into a replacement property of equal or greater value, deferring both the capital gains tax and the depreciation recapture tax. The accumulated depreciation carries over to the new property through a "carryover basis," and the tax obligation stays deferred until you sell without exchanging.
The rules are strict. You must identify a replacement property within 45 days of selling and close within 180 days. A Qualified Intermediary (QI) must hold the sale proceeds — you can never touch the money yourself, or the exchange is disqualified. Both properties must be held for investment or business use.
Some investors chain 1031 exchanges throughout their lifetime, continuously deferring the tax. When combined with a stepped-up basis at death (see below), the deferred taxes can be eliminated permanently.
2. Installment Sale
An installment sale under IRC §453 spreads the gain recognition over multiple years as you receive payments. This can keep your income below key thresholds in any single year — potentially reducing your capital gains rate and avoiding or reducing the NIIT.
A critical limitation: true Section 1245 ordinary-income recapture must be recognized in full in the year of sale under IRC §453(i), regardless of the installment structure. However, unrecaptured Section 1250 gain (the 25% recapture on the building) is eligible for installment treatment, though it must be reported first, before any capital gain, as payments come in.
3. Convert to a Primary Residence (Section 121 Exclusion)
If you move into the rental property and use it as your primary residence for at least two of the five years before selling, you may qualify for the Section 121 exclusion — up to $250,000 in capital gain excluded for single filers, or $500,000 for married filing jointly.
The catch: the Section 121 exclusion applies only to the capital gains portion. The depreciation recapture is still fully taxable at up to 25%, regardless of how long you live there. This strategy works best for reducing the overall tax bill, not for eliminating the recapture specifically.
4. Stepped-Up Basis at Death
When a property owner dies, their heirs receive the property at its fair market value as of the date of death. This stepped-up basis eliminates all accumulated depreciation recapture and capital gains that built up during the original owner's lifetime. Neither the recapture tax nor the capital gains tax is ever owed.
This is one of the most powerful tax planning strategies in real estate. Investors who hold property (or continue 1031 exchanging) until death can effectively zero out decades of deferred taxes. It's a major reason many long-term investors never plan to sell outright.
5. Offset With Suspended Passive Losses
If your rental property generated passive losses that were suspended under the passive activity rules (because your income exceeded the $25,000 active participation allowance), those losses are released in full in the year you sell the property. The released losses can offset the depreciation recapture and capital gains, significantly reducing or even eliminating the tax owed.
Check your prior tax returns for suspended passive losses on Schedule E and Form 8582. If you've been limited by the passive activity rules for years, you may have a substantial offset waiting to be used.
How Capital Improvements Affect Your Depreciation Schedule
When you make a capital improvement to a rental property during ownership — a new roof, an HVAC replacement, an addition — that improvement doesn't get folded into the original building's depreciation schedule. Instead, it starts its own 27.5-year depreciation schedule beginning in the month it was placed in service.
This means that at any given time, you might be running multiple depreciation schedules simultaneously: one for the original building, and separate ones for each qualifying improvement. At the time of sale, the depreciation from all schedules is summed together for recapture purposes.
You buy a property in January 2016 with a depreciable building basis of $275,000. In 2019, you replace the roof for $18,000. In 2022, you install a new HVAC system for $9,000.
At sale in 2026, your total depreciation is: building ($100,000 over 10 years) + roof ($4,582 over 7 years) + HVAC ($1,309 over 4 years) = $105,891 subject to recapture.
The mid-month convention applies to each improvement individually. If you placed the roof in service in June 2019, you get a half-month of depreciation for June and full months for July through December in the first year.
Keep meticulous records of every improvement — the date it was placed in service, the total cost, and the depreciation claimed each year. Your CPA will need this to properly calculate your recapture and complete Form 4797.
How to Report Depreciation Recapture on Your Tax Return
When you sell a rental property, the depreciation recapture is reported through a specific sequence of IRS forms:
Form 4797 (Sales of Business Property), Part III is where you report the details of the sale — the date acquired, date sold, gross sale price, cost basis, depreciation claimed, and the gain. This form separates the recapture portion from the capital gain portion.
Schedule D (Capital Gains and Losses) captures the long-term capital gain portion. Within the Schedule D instructions, you'll find the Unrecaptured Section 1250 Gain Worksheet, which calculates the exact amount of gain taxed at the special 25% rate.
Form 1040 receives the totals from both Form 4797 and Schedule D, and the tax is calculated on your return.
If you have suspended passive losses being released in the year of sale, those will appear on Form 8582 (Passive Activity Loss Limitations) and flow through to offset the gain.
The documentation you need to keep: your original closing statement, records of all capital improvements with dates and costs, annual depreciation worksheets or Schedule E records, and the final closing statement from the sale.
Frequently Asked Questions
Can I avoid depreciation recapture if I never claimed depreciation?
No. Under the "allowed or allowable" rule (IRC §1016(a)(2)), the IRS reduces your basis by the depreciation you were entitled to claim, whether you took it or not. You owe recapture on the amount you should have deducted. If you've been skipping depreciation, file Form 3115 to recover the missed deductions before you sell.
What is the total tax rate on selling a rental property?
The combined federal rate can include up to 25% on the recapture portion, 0–20% on the remaining capital gain, and 3.8% NIIT if your MAGI exceeds $200,000 single or $250,000 married. State taxes stack on top. In practice, the effective total rate on the full gain often falls between 30% and 40%+ for investors in high-tax states.
Does a 1031 exchange eliminate depreciation recapture?
No — it defers it. The accumulated depreciation carries forward to the replacement property. If you eventually sell without another exchange, the full recapture becomes due. However, chaining 1031 exchanges until death can effectively eliminate the tax through the stepped-up basis rule.
Is depreciation recapture taxed as ordinary income?
For most residential rental property, the recapture is classified as "unrecaptured Section 1250 gain" and taxed at a maximum of 25% — a special rate that's neither ordinary income nor the standard capital gains rate. Section 1245 property (furniture, appliances, equipment) is recaptured at full ordinary income rates, up to 37%.
How can I defer or avoid depreciation recapture tax?
The primary strategies include: (1) a 1031 like-kind exchange to defer all taxes into a replacement property, (2) an installment sale to spread the gain over multiple years, (3) converting the rental to a primary residence for the Section 121 exclusion on capital gains (though recapture still applies), (4) holding until death for a stepped-up basis, and (5) offsetting with suspended passive losses.
What happens to depreciation recapture when I die?
Your heirs receive the property at its fair market value — the stepped-up basis — as of the date of death. This eliminates all accumulated depreciation recapture and capital gains. Neither you nor your heirs pay the recapture tax.
How do I report depreciation recapture on my tax return?
Use IRS Form 4797, Part III to report the sale and calculate the recapture. The unrecaptured Section 1250 gain is then calculated on the worksheet in the Schedule D instructions. Both flow to Form 1040.
How does depreciation recapture work on capital improvements?
Each capital improvement has its own 27.5-year depreciation schedule starting from the date placed in service. At sale, the total depreciation from the original building and every improvement is summed together for recapture. For example, a $30,000 roof replacement in year 5 would have about $5,455 of depreciation subject to recapture by year 10.
Depreciation recapture is one of the largest and most commonly underestimated tax bills in real estate investing. The math isn't complicated, but ignoring it is expensive. Calculate your full exposure — recapture, capital gains, NIIT, and state taxes — before you list your property. And if you've never claimed depreciation, fix that now with Form 3115. Every year you wait is a year of lost deductions you'll still owe recapture on.
