Taxstra Logo
Free Initial Consultation Available

Depreciation Recapture: The Tax Bill That Comes Due When You Sell

Every dollar of depreciation you deducted, and even the depreciation you skipped, comes back at sale. Here is how the two recapture rates work, what the bill looks like in real dollars, and the legitimate ways to defer it.

A guide by Taxstra Tax & Accounting — CPA-led tax strategy for business owners

Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last reviewed July 10, 2026.

Depreciation recapture is the tax you pay on your prior depreciation deductions when you sell a rental property for more than its depreciated basis. Most sellers budget for capital gains tax at 15% or 20% and stop there. The recapture layers sit on top of that math, at 25% or even your full ordinary rate, and on a property that has been depreciated for years they are often the biggest line on the closing tax bill.

Key Insight
Depreciation recapture is the tax on previously deducted depreciation, triggered in the year you sell a depreciated property at a gain. It comes in two flavors: straight-line depreciation on the building is unrecaptured Section 1250 gain, taxed at your ordinary rate up to a 25% cap, while depreciation on cost segregation assets (appliances, flooring, land improvements) is Section 1245 recapture, taxed at your full ordinary rate with no cap. The main way to defer the entire bill is a 1031 exchange.

What Is Depreciation Recapture?

The payback provision built into every depreciation deduction

Think of depreciation as an interest-free loan from the government. Each year you own a rental, you deduct a slice of the building's cost against your rental income, and each deduction reduces the property's basis. When you sell for more than that reduced basis, the IRS collects on the loan: the portion of your gain created by depreciation is taxed under the recapture rules rather than at the friendlier long-term capital gains rates.

Recapture hits in the year of a taxable sale, and only when there is a gain. It is calculated on Form 4797 and flows from there to your return. No sale, no recapture. Sell at a loss, no recapture either (more on that in the FAQ). What you cannot do is escape it by simply never claiming the deduction.

Watch Out
The law reduces your basis by depreciation "allowed or allowable." If you owned a rental for ten years and never took a depreciation deduction, the IRS still computes your gain, and the recapture on it, as if you had. Skipping depreciation gets you the tax bill without ever getting the benefit. It is the worst of both worlds.
Taxstra CPA Tip
If you discover missed depreciation, do not amend ten years of returns. A single Form 3115 filing catches up all of the missed deductions in one year through a Section 481(a) adjustment. We file these routinely, and the catch-up deduction often lands in the exact year a client needs it most: the year before a sale.

The Two Types: Section 1250 vs Section 1245

Not all recapture is taxed the same, and the difference is the whole cost seg debate

The building itself is Section 1250 property. Because real property placed in service after 1986 is depreciated straight line, there is usually no ordinary-rate recapture on the structure. Instead, the straight-line depreciation reflected in your gain becomes unrecaptured Section 1250 gain, taxed at your ordinary rate but capped at 25%.

Everything a cost segregation study carves out of the building (appliances, carpet, cabinetry, fences, parking, landscaping) is Section 1245 property. Gain on those assets is ordinary income to the extent of the depreciation you took on them, with no rate cap. This is the trap cost segregation critics point to: the same bonus depreciation that produced a large deduction at your marginal rate comes back at your marginal rate if you sell the assets at a gain. Whether that trade still works for you is a math question, and we walk through it honestly in section 5.

Unrecaptured Section 1250 gain (the building)Section 1245 recapture (cost seg assets)
What it coversThe building structure: straight-line depreciation on residential (27.5-year) or commercial (39-year) real propertyPersonal property and land improvements: the 5-, 7-, and 15-year assets a cost segregation study identifies
Rate at saleYour ordinary rate, capped at 25%Your full ordinary rate, no cap (top bracket is 37% in 2026)
Where the depreciation came fromThe standard annual deduction every landlord takesBonus depreciation and accelerated schedules, usually from cost segregation
Amount recapturedThe straight-line depreciation reflected in your gainThe lesser of the gain on the asset or the depreciation taken on it
How it is reportedForm 4797, then the Unrecaptured Section 1250 Gain Worksheet on Schedule DForm 4797, Part III, taxed as ordinary income

One nuance worth knowing: Section 1245 recapture is limited to the lesser of the depreciation taken on an asset or the actual gain on that asset. A seven-year-old carpet that sells for next to nothing produces little or no recapture, no matter how much bonus depreciation it generated. That detail drives the allocation planning covered in section 4.

Worked Example: The $400K Rental Sold for $650K

The full recapture calculation, step by step

Take a hypothetical investor who bought a rental for $400,000, ran a cost segregation study, took $120,000 of total depreciation over about seven years, and now sells for $650,000. Round, illustrative numbers; results vary with your facts.

Step 1: Find the adjusted basis.

Basis calculationAmount
Purchase price (land $60,000 + building $290,000 + cost seg assets $50,000)$400,000
Straight-line depreciation taken on the building (about 7 years at roughly $10,500 per year)($70,000)
Bonus depreciation taken on the cost seg assets (5- and 15-year property)($50,000)
Adjusted basis at sale$280,000

Step 2: Find the total gain.

Gain calculationAmount
Sale price$650,000
Adjusted basis($280,000)
Total gain$370,000

Step 3: Split the gain into its tax layers.

The sale contract allocates $50,000 to the cost seg assets, so their full $50,000 of bonus depreciation is recaptured as ordinary income. The $70,000 of straight-line depreciation on the building becomes unrecaptured Section 1250 gain at the 25% cap. The remaining $250,000 is ordinary long-term capital gain. Because this seller's income is well over the $250,000 married filing jointly threshold, the 3.8% net investment income tax applies to the gain as well.

Tax layerFederal tax
Layer 1: Section 1245 ordinary recapture ($50,000 at an assumed 32% bracket)$16,000
Layer 2: Unrecaptured Section 1250 gain ($70,000 at the 25% cap)$17,500
Layer 3: Remaining long-term capital gain ($250,000 at 15%)$37,500
Net investment income tax (3.8% on the $370,000 gain)$14,060
Total federal tax at sale (no 1031 exchange)about $85,000

Notice the shape of that bill. The "capital gains" line most sellers plan for is $37,500. The recapture layers and NIIT add roughly $47,500 on top, more than doubling it. That is why we model the exit before a client lists, not after.

Taxstra CPA Tip
Run this math while the property is still on the market, not at tax time. Once you know the recapture number, the decision between a taxable sale and a 1031 exchange stops being a guess. With a properly executed exchange in this example, the roughly $85,000 federal bill is deferred in full.

Selling a rental and want your real number first?

A free initial consultation models your recapture, capital gain, and NIIT before you list, so the sell-versus-exchange decision is made with actual dollars.

Limited Availability

Find Out What You're Overpaying in Taxes

Book a free 30-minute call to walk through your situation. We'll tell you exactly how our CPA-led team can help — and whether we're the right fit.

Learn how our CPA-led team can help
30 minutes — no fluff, just answers
Zero obligation, zero pressure
Or Call (217) 788-0750
0+
Tax Returns Filed
0+
Years Experience
0%
CPA-Led Service
0min
Free Consultation

What to Expect on the Call

1
We learn about your business and tax situation
2
We explain which services fit your needs
3
You get honest answers — no hard sell

How to Defer or Reduce Depreciation Recapture

Five legitimate levers, from full deferral to margin trimming

1. The 1031 exchange

The primary tool. Roll the sale proceeds into like-kind replacement real estate through a qualified intermediary and both the capital gain and the recapture are deferred, not forgiven, into the new property. You can exchange repeatedly. One caution for cost-segregated properties: since 2018, Section 1031 applies only to real property, so components your study classified as personal property need careful handling in the exchange documents. Our 1031 exchange guide covers the deadlines and mechanics.

2. Hold until the basis steps up

Under current law, heirs generally receive inherited property at its fair market value on the date of death. All of the deferred depreciation, including everything rolled forward through prior 1031 exchanges, is wiped from the basis math. This is why long-term investors talk about never selling. To be clear: this is an estate planning outcome that has to fit your actual life and liquidity needs, not a quick tax move, and the rules could change. It belongs in a plan, not a slogan.

3. Installment sales (know the trap)

Seller financing spreads the capital gain over the years you collect payments, which can keep the 15% versus 20% brackets in check. But the ordinary recapture portion does not spread: any Section 1245 (or Section 1250 ordinary) recapture is reported in full in the year of sale, even if you received no payment that year. On a heavily cost-segregated property, an installment sale can create a year-one tax bill with no cash to pay it. The unrecaptured Section 1250 layer is also recognized ahead of the lower-rate gain as payments arrive.

4. Partial disposition elections along the way

When you replace a roof, HVAC, or other structural component, you can elect to recognize a loss on the retired component and remove its remaining basis from the depreciation schedule. You get a deduction now, and you stop depreciating an asset that no longer exists, which trims the depreciation pile waiting to be recaptured at sale.

5. Asset-by-asset planning before the sale

Because Section 1245 recapture is capped at the actual gain on each asset, the purchase price allocation in your sale contract matters. Worn-out five-year property is rarely worth its original cost at sale, and a defensible allocation that reflects that reality shrinks the ordinary-rate layer. This is a before-the-contract-is-signed conversation with your CPA, not a tax-prep-season cleanup.

Watch Out
The 25% cap is a federal concept. Most states with an income tax simply tax the recaptured gain as ordinary income at their regular rates, with no special cap, and a state with no income tax only helps if you are actually taxed there in the year of sale. On a large sale, the state layer can add five figures to the bill in the example above.

When Recapture Makes Cost Seg Not Worth It

The honest math on short holds

We sell cost segregation studies, so take this section as the disclosure it is: cost seg is a timing and character trade, and there are fact patterns where it loses.

The favorable case is easy to see. A $50,000 bonus depreciation deduction at a 37% bracket saves $18,500 today. Hold the property a decade, exchange or hold until death, and much of that recapture is deferred indefinitely while you had years of use of the cash.

Now run the short hold. Same $50,000 deduction, same $18,500 saved, but you sell in a taxable sale two years later with the assets still holding value. The Section 1245 recapture claws back up to that same ordinary-rate tax, you paid several thousand dollars for the study, and you got only two years of use of the money. If your bracket went up in between, you repay at a higher rate than you deducted at. The net can easily be negative.

Cost seg tends to be the wrong call when:

  • You expect a taxable sale within roughly two to three years and a 1031 is unlikely.
  • Your current bracket is low but the sale-year bracket will be high.
  • The losses would just sit suspended as passive losses you cannot use, while the recapture clock runs anyway.

It tends to be the right call for long holds, exchange-and-hold investors, and owners who can actually use the losses now, such as those with short-term rental losses that qualify as nonpassive or real estate professional status. The point is that the exit plan decides, so decide the exit before you commission the study.

Frequently Asked Questions

Depreciation recapture rates, exceptions, and planning

It depends on which depreciation is being recaptured. Straight-line depreciation on the building itself is taxed as unrecaptured Section 1250 gain at your ordinary rate, capped at 25%. Depreciation on personal property and land improvements, the assets a cost segregation study carves out, is Section 1245 recapture taxed at your full ordinary rate with no cap. The 3.8% net investment income tax can apply on top of both if your modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly).

Plan the Exit Before You Sign the Listing Agreement

Recapture is a known, calculable number, and the time to calculate it is before the sale, while a 1031, an installment structure, or a smarter allocation is still on the table. A free initial consultation puts your actual numbers on paper.

Limited Availability

Find Out What You're Overpaying in Taxes

Book a free 30-minute call to walk through your situation. We'll tell you exactly how our CPA-led team can help — and whether we're the right fit.

Learn how our CPA-led team can help
30 minutes — no fluff, just answers
Zero obligation, zero pressure
Or Call (217) 788-0750
0+
Tax Returns Filed
0+
Years Experience
0%
CPA-Led Service
0min
Free Consultation

What to Expect on the Call

1
We learn about your business and tax situation
2
We explain which services fit your needs
3
You get honest answers — no hard sell