Tax StrategyApril 7, 2026 · 14 min read

Depreciation Recapture When You Sell: Section 1245 vs Section 1250 Tax Breakdown

Every dollar of depreciation you took during ownership gets sorted into three tax buckets at sale. Most investors do not know which bucket hits hardest until the CPA sends the bill.

Matthew Gigantelli

Matthew Gigantelli

Lead Cost Seg Engineer · ASCSP M009-25

Financial analysis charts and tax documents showing layered depreciation recapture calculations

Cost segregation accelerates depreciation into the early years of ownership. That is the whole point. But acceleration creates a tax liability that sits dormant until you sell the property, and when that liability surfaces, it does not arrive as a single number. It arrives as three separate tax layers, each governed by different IRC sections, each taxed at a different rate. The total recapture bill depends on which assets generated the depreciation, how long you held them, and what your income looks like in the year of sale. This article breaks down exactly how the gain splits, what each layer costs, and why cost segregation still wins even after you account for the recapture.

The Three Tax Layers at Sale

When you sell a depreciated property at a gain, the IRS does not tax the entire gain at the capital gains rate. Instead, it separates the gain into layers based on the type of depreciation that was taken. Each layer has its own maximum rate.

Layer 1: Section 1245 Recapture (Ordinary Income)

What it covers: Depreciation taken on personal property, including 5-year property (carpeting, appliances, specialized electrical, decorative fixtures), 7-year property (office furniture, certain equipment), and 15-year property (land improvements like parking lots, sidewalks, landscaping, fencing). These are the asset classes that cost segregation reclassifies out of the building.

Tax rate: Ordinary income rates, up to 37% federal (2026 rates). This is the most expensive recapture layer.

How it works: Under IRC Section 1245, the gain attributable to depreciation previously taken on personal property is recaptured as ordinary income, up to the amount of depreciation claimed. Any gain above the depreciation amount is treated as Section 1231 gain (capital gains rates).

Layer 2: Unrecaptured Section 1250 Gain (25% Maximum)

What it covers: Straight-line depreciation taken on the building itself, meaning the 27.5-year residential or 39-year commercial structural components.

Tax rate: Maximum 25% federal. If your ordinary income tax rate is below 25%, you pay the lower rate instead.

How it works: Under IRC Section 1250, the depreciation taken on real property using the straight-line method is recaptured at a maximum 25% rate. This is often called "unrecaptured Section 1250 gain" and appears on Schedule D. For most investors in the 32% or higher brackets, this layer saves money compared to Section 1245 recapture.

Layer 3: Long-Term Capital Gain (0/15/20%)

What it covers: The appreciation in property value above your original purchase price. This is the "true" gain, not the recapture of depreciation.

Tax rate: 0%, 15%, or 20% depending on taxable income. Most investors selling commercial property fall into the 15% or 20% bracket.

How it works: After recapture is calculated, the remaining gain (sale price minus original cost basis, not adjusted basis) is taxed at long-term capital gains rates, assuming you held the property for more than one year.

Critical Ordering Rule

The IRS applies these layers in order. Section 1245 recapture is calculated first on accelerated depreciation. Then unrecaptured Section 1250 gain is calculated on straight-line building depreciation. Only after both recapture layers are satisfied does the remaining gain qualify for capital gains rates. You cannot cherry-pick which layer absorbs the gain.

Worked Example: $1M Property With Cost Segregation

Let us walk through a complete example. This is the math your CPA will do at sale, but most investors never see it until closing.

Setup

Purchase price: $1,000,000

Land allocation (20%): $200,000 (not depreciable)

Depreciable basis: $800,000

Cost segregation reclassification: $200,000 moved to 5-year and 15-year property

Remaining building basis: $600,000 (27.5-year residential)

Holding period: 7 years

Sale price: $1,400,000

Bonus depreciation assumed: Standard MACRS rates without bonus depreciation (to isolate the cost segregation reclassification benefit)

Note on bonus depreciation: This example uses standard MACRS recovery rates without bonus depreciation to isolate the impact of cost segregation reclassification alone. With bonus depreciation (40% in 2026 under the current TCJA phase-down schedule), Year 1 deductions and the resulting NPV advantage would be significantly larger. The analysis below represents the conservative case.

Step 1: Calculate Total Depreciation Taken

Asset ClassBasisAnnual Depr.7-Year TotalIRC Section
5-year property (fixtures, appliances, carpeting)$120,000Varies (MACRS)$120,000Section 1245
15-year property (parking, landscaping, site work)$80,000Varies (MACRS)$39,848Section 1245
27.5-year building (structural components)$600,000$21,818$152,727Section 1250
Total$800,000$312,575

Note: 5-year MACRS property is fully depreciated by year 6 (using the half-year convention). 15-year property uses 150% declining balance; after 7 years approximately 49.8% of the basis is recovered. The 27.5-year building uses straight-line depreciation at $21,818/year.

Step 2: Calculate Adjusted Basis and Total Gain

Original cost basis: $1,000,000

Less total depreciation taken: ($312,575)

Adjusted basis at sale: $687,425

Sale price: $1,400,000

Less adjusted basis: ($687,425)

Total gain recognized: $712,575

Step 3: Split the Gain Into Three Layers

Tax LayerAmountMax Federal RateFederal Tax
Section 1245 recapture (5-yr + 15-yr depreciation)$159,84837%$59,144
Unrecaptured Section 1250 gain (building depreciation)$152,72725%$38,182
Long-term capital gain (appreciation above original cost)$400,00020%$80,000
Total$712,575$177,326

The effective federal tax rate on the total gain is 24.9%. That is significantly higher than the 20% rate many investors assume when they think "capital gains." The recapture layers push the blended rate up by nearly 5 percentage points.

Why the 1245 Layer Looks Worse Than It Is

The $159,848 in Section 1245 recapture generates $59,144 in federal tax at 37%. That sounds painful. But remember: that $159,848 in accelerated depreciation saved you $59,144 in taxes in Years 1 through 6 (at the same 37% rate). The net cost of the recapture itself is zero in nominal dollars. The real benefit is the time value of the deductions: you got the tax savings 5 to 7 years before you paid the recapture. At a 7% discount rate, that timing difference is worth approximately $15,000 in present value. Cost segregation does not create a free lunch. It creates a valuable loan from the IRS.

NIIT: The Fourth Layer Nobody Expects

The three-layer model is incomplete without the Net Investment Income Tax under IRC Section 1411. The NIIT is a 3.8% surtax that applies to all net investment income, including all three gain layers, when your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).

For most commercial real estate investors selling a property at a meaningful gain, MAGI will exceed the threshold. This means the NIIT stacks on top of every layer:

Tax LayerBase Rate+ NIIT (3.8%)Effective Federal Rate
Section 1245 recapture37.0%3.8%40.8%
Unrecaptured Section 1250 gain25.0%3.8%28.8%
Long-term capital gain20.0%3.8%23.8%

The 28.8% Trap

Many investors and even some CPAs quote the Section 1250 recapture rate as "25%." In practice, for any investor with MAGI above the NIIT threshold, the effective rate on unrecaptured Section 1250 gain is 28.8%. On the $152,727 of building depreciation in our example, that is an additional $5,804 in tax that does not show up in simplified recapture calculators. Always model the NIIT when projecting sale proceeds.

Applying NIIT to our worked example:

Federal tax before NIIT: $177,326

NIIT (3.8% on $712,575 total gain): $27,078

Total federal tax with NIIT: $204,404

Effective federal rate with NIIT: 28.7%

State Tax Stacking: Where Recapture Gets Brutal

Federal recapture rates are only part of the picture. State income taxes stack directly on top, and several high-tax states do not offer preferential rates for capital gains or recapture. California is the worst case: it taxes all gain categories, including capital gains and recapture, at ordinary income rates with no preference whatsoever.

Tax Layer Federal + NIIT California (13.3%) New York (10.3%) New Jersey (10.75%) Texas / Florida (0%)
Sec. 1245 recapture40.8%54.1%51.1%51.6%40.8%
Sec. 1250 gain28.8%42.1%39.1%39.6%28.8%
Long-term cap gain23.8%37.1%34.1%34.6%23.8%

California: Section 1245 Recapture at 54.1%

A California investor who did cost segregation and sells at a gain faces an effective rate of 54.1% on the Section 1245 recapture portion: 37% federal + 3.8% NIIT + 13.3% California (which provides no capital gains preference). On $159,848 of accelerated depreciation recapture, that is $86,478 in combined tax on the 1245 layer alone. This is why California investors must be especially disciplined about exit strategy planning.

Applying the full California stack to our $1,400,000 sale example:

Tax LayerAmountCA Combined RateTotal Tax
Section 1245 recapture$159,84854.1%$86,478
Unrecaptured Section 1250 gain$152,72742.1%$64,298
Long-term capital gain$400,00037.1%$148,400
Total (California)$712,575$299,176

The California investor pays $299,176 on a $712,575 gain, an effective blended rate of 42.0%. Compare that to a Texas investor at $204,404 (28.7% effective). The state tax alone adds $94,772 to the sale tax bill.

Cost Seg vs No Cost Seg: Who Wins at Exit?

The common objection to cost segregation is: "You're just going to pay it back when you sell." This is mathematically incomplete. Let us compare the same property with and without cost segregation, holding everything else constant.

Metric With Cost Seg Without Cost Seg Difference
Total depreciation (7 years)$312,575$203,636+$108,939
Year 1 depreciation$153,818$29,091+$124,727
Tax savings from depreciation (37%)$115,653$75,345+$40,308
Total gain at sale$712,575$603,636+$108,939
Federal tax at sale (incl. NIIT)$204,404$153,847+$50,557
Net tax savings (nominal)-$10,249
NPV of timing benefit (7% discount)+$25,000
Net advantage of cost seg (NPV)+$14,751

The Verdict

Even in this conservative scenario (7-year hold, full recapture at highest rates, no 1031 exchange), cost segregation produces a net present value advantage of $14,751. The additional recapture tax of $50,557 at sale is more than offset by the time value of $40,308 in accelerated tax savings received in Years 1 through 6. The longer you hold, the larger the NPV advantage because the early deductions compound further. At a 10-year hold, the NPV advantage exceeds $25,000 on this same property.

Want to run this analysis on your own property? Use our free cost segregation calculator to see the projected savings and recapture impact for your specific situation.

Important: These Figures Exclude Study Costs

A cost segregation study on a $1,000,000 property typically costs $7,000 to $12,000. After deducting study fees, the net NPV advantage on a 7-year hold shrinks from approximately $14,751 to roughly $3,000 to $8,000. On shorter holds or smaller properties, study costs can erase the advantage entirely. Cost segregation does not make financial sense for every property — particularly those with depreciable basis under $300,000 or planned holds under 3 years. Always model the full cost including study fees before proceeding.

Without Cost Seg: Recapture Still Happens

A critical point that many investors miss: depreciation recapture applies whether or not you did a cost segregation study. If you took straight-line depreciation on the full building for 7 years, you have $203,636 in accumulated depreciation. At sale, 100% of that is subject to unrecaptured Section 1250 gain at up to 25% (plus NIIT). The question is never "does recapture happen?" It always happens. The question is whether you maximized the benefit of the depreciation before recapture came due.

The Partial Asset Disposition Angle

If you perform renovations during ownership, Partial Asset Disposition (PAD) under Treasury Regulation 1.168(i)-8 lets you write off the remaining basis of demolished or replaced components in the year of renovation. This creates a current-year deduction and simultaneously reduces your depreciable basis, which means less depreciation recapture at sale.

How PAD Reduces Future Recapture

Suppose you replace the HVAC system (originally allocated $40,000 in the cost seg study) in Year 4. Under PAD, you deduct the remaining $30,545 of undepreciated basis as a loss in Year 4. The new HVAC system starts a fresh depreciation schedule. At sale, the old $40,000 allocation is no longer in your depreciable basis, which means $30,545 less recapture. PAD does not just accelerate deductions during ownership. It structurally reduces the recapture bill at exit.

For a complete walkthrough of the mechanics, see our Partial Asset Disposition ultimate guide.

Exit Strategies That Reduce or Eliminate Recapture

The recapture bill is not inevitable. Several exit strategies can defer, reduce, or completely eliminate it.

1031 Like-Kind Exchange: Full Deferral

A properly structured 1031 exchange under IRC Section 1031 defers both capital gains and all depreciation recapture. The recapture obligation transfers to the replacement property's basis. You do not pay Section 1245 or Section 1250 recapture in the year of the exchange.

Investors who chain multiple 1031 exchanges can defer recapture indefinitely. The accumulated recapture liability grows with each exchange (because the replacement property carries over the depreciation history), but no tax is due until a taxable sale occurs. Combined with cost segregation on each replacement property's excess basis, this creates a powerful compounding depreciation shield.

For details on cost segregation within exchange transactions, see our guide on 1031 exchange and cost segregation strategy.

Stepped-Up Basis at Death: Complete Elimination

This is the most powerful provision in the tax code for real estate investors. Under IRC Section 1014, when a property owner dies, heirs receive the property at its current fair market value, not the decedent's adjusted basis. This step-up eliminates all accumulated depreciation recapture, both Section 1245 and Section 1250.

Example: The Buy-Hold-Die Strategy

Our $1,000,000 property with $312,575 in accumulated depreciation and a fair market value of $1,400,000 at the owner's death. The heirs receive a stepped-up basis of $1,400,000. If they sell immediately, the gain is zero. The $312,575 in depreciation taken during the owner's lifetime, the $400,000 in appreciation, and the $204,404 in federal tax liability all disappear. This is why the "buy, depreciate, 1031, depreciate again, die" strategy is one of the most tax-efficient wealth transfer approaches in real estate.

Installment Sale: Partial Deferral With a Catch

Installment sales under IRC Section 453 allow you to spread capital gains recognition over the years you receive payments. However, IRC Section 453(i) contains a critical exception: all depreciation recapture must be recognized in the year of sale, regardless of how little cash you actually receive in Year 1.

The 453(i) Trap

In our example, even if the buyer pays only 10% down ($140,000) in Year 1, the seller must recognize all $312,575 of depreciation recapture immediately. That generates $204,404 in federal tax (with NIIT) against only $140,000 in cash received. The seller is writing a check to the IRS for more than they collected. This is a cash flow disaster that catches investors off guard. Only the capital gain portion ($400,000) gets deferred under the installment method.

For more on the intersection of seller financing and recapture, see our guide on seller financing and cost segregation.

Opportunity Zone Reinvestment

Investing capital gains into a Qualified Opportunity Fund (QOF) under IRC Section 1400Z-2 can defer and partially reduce capital gains. If the QOF investment is held for at least 10 years, all appreciation in the QOF investment is tax-free. However, the original depreciation recapture portion follows the same rules as any other gain: it can be deferred by investing in the QOF but must eventually be recognized. This strategy works best for the capital gain layer rather than the recapture layers.

Important timing note: The original OZ gain deferral required investment in a Qualified Opportunity Fund by December 31, 2026, with deferred gain recognized by the same date. For investors considering this strategy in 2026, consult your tax advisor on current legislative status and remaining deferral windows.

Planning Checklist: Before You List the Property

If you own a property that had a cost segregation study and you are considering a sale, run through these items with your CPA before listing:

1. Pull the cost seg study. Identify exactly how much was reclassified to 5-year, 7-year, and 15-year property. These amounts determine your Section 1245 recapture exposure.
2. Calculate total depreciation taken. Include both accelerated (cost seg) and straight-line (building) depreciation for each year of ownership. Your tax returns (Form 4562) have the numbers.
3. Model all three layers. Split the projected gain into 1245 recapture, 1250 gain, and capital gain. Apply your actual federal bracket, NIIT, and state tax rate to each layer.
4. Check for PAD opportunities. If you replaced major components during ownership and did not take the partial disposition, you may be able to file amended returns to claim the loss and reduce recapture exposure.
5. Evaluate 1031 exchange feasibility. If the recapture bill is significant, a 1031 exchange may be worth the complexity. Run the numbers both ways.
6. Consider holding period. If you are close to a milestone that changes the math (e.g., the property is about to generate significantly more 15-year depreciation), waiting may reduce the net recapture impact.

Frequently Asked Questions

What is the difference between Section 1245 and Section 1250 depreciation recapture?

Section 1245 recapture applies to personal property (5-year, 7-year, and 15-year assets identified in cost segregation) and is taxed at ordinary income rates up to 37% federal. Unrecaptured Section 1250 gain applies to the straight-line depreciation taken on the building (39-year commercial or 27.5-year residential) and is taxed at a maximum 25% federal rate. Section 1245 recapture hits harder per dollar, but Section 1250 gain is typically a larger total amount because the building carries most of the depreciable basis.

Does cost segregation increase depreciation recapture when you sell?

Yes. Cost segregation reclassifies building components into shorter-lived property classes, which shifts depreciation from the 25% recapture layer (Section 1250) to the 37% recapture layer (Section 1245). However, the time value of money from accelerated deductions in the early years typically outweighs the higher recapture rate at sale, especially with holding periods of 5 or more years. The NPV analysis consistently favors cost segregation.

How does a 1031 exchange affect depreciation recapture?

A 1031 like-kind exchange defers both capital gains and all depreciation recapture (Section 1245 and Section 1250). The recapture obligation transfers to the replacement property. No recapture tax is due until a taxable sale occurs. Investors who chain multiple exchanges can defer recapture indefinitely, and if combined with a stepped-up basis at death, the recapture may never be paid.

Is depreciation recapture eliminated at death?

Yes. Under IRC Section 1014, heirs receive a stepped-up basis equal to fair market value at the date of death. This eliminates all accumulated depreciation recapture, including both Section 1245 and Section 1250 recapture. The depreciation taken during the owner's lifetime effectively becomes a permanent tax benefit. This is why many investors pursue a "buy, depreciate, exchange, die" strategy.

Disclaimer: This article is for informational purposes only and does not constitute tax, legal, or financial advice. Depreciation recapture calculations depend on individual circumstances including filing status, state of residence, holding period, and overall income. Consult a qualified CPA or tax attorney before making decisions based on projected recapture amounts. Tax rates and thresholds referenced are based on 2026 tax law and may change.

Related: For a strategic framework on when cost segregation still wins after accounting for recapture at exit, see Overline's exit strategy recapture analysis.

See Your Property's Cost Segregation Savings

Enter your property address for an instant, free estimate. Results in 60 seconds — all assumptions editable.

No email required Instant results All assumptions editable 1,000+ studies completed

Prefer to talk to an expert? Schedule a free consultation