How cost segregation works
When you buy a commercial building, the default is to depreciate the whole building over 39 years (27.5 for residential rental). A cost segregation study, usually done by an engineer or a specialist firm, breaks the purchase price into its parts: carpet, cabinetry, dedicated electrical, specialty plumbing and similar items become 5- or 7-year property, and parking lots, landscaping, sidewalks and site utilities become 15-year land improvements.
Those shorter-life components qualify for bonus depreciation because their recovery period is 20 years or less (IRC 168(k)(2)(A)). The One Big Beautiful Bill Act made 100% bonus depreciation permanent for property acquired after January 19, 2025 (with no binding contract before that date). For buildings bought earlier, the old phase-down rates for the year the property was placed in service still apply.
If you have owned the building for years and never did a study, you do not amend old returns. You file Form 3115 for an automatic change in accounting method and take the missed depreciation as a single Section 481(a) adjustment in the year of change.
That catch-up is why late studies get pitched to owners who are getting ready to sell. The automatic change (designated change number 7, Rev. Proc. 2025-23 section 6.01) requires that you own the building at the start of the year of change, so a calendar-year seller can still file it with the sale-year return. See missed depreciation before a sale.
The catch: recapture in the sale year
Depreciation on the 5- and 7-year components is Section 1245 property. When you sell, every dollar of depreciation taken on those components (up to the gain on them) comes back as ordinary income, taxed at rates up to 37%, not at the 20% capital gain rate (IRC 1245(a)).
The 15-year land improvements are Section 1250 property, and depreciation above straight line on them, including bonus, is also recaptured as ordinary income under 1250(a).
Without a study, most depreciation on a building is straight line and becomes "unrecaptured Section 1250 gain," taxed at a maximum of 25%. So a study done shortly before a sale mostly converts tax you would have paid at 25% (or 20%) into tax at ordinary rates, one or two years later. The benefit is a timing and rate difference, not a permanent saving.
Recapture is also immune to installment reporting. Under IRC 453(i), all recapture income is recognized in the year of sale even if you receive only a small down payment. More cost segregation means more tax due in year one of a seller-carried deal.
The per-component cap works in your favor. Recapture on each component is the lesser of the depreciation taken on it or the gain on it (IRC 1245(a)(1)).
Five-year carpet installed eight years ago may be worth little at sale, so a defensible, documented low sale value for worn 5- and 7-year items limits the ordinary income. That value has to be consistent with the contract, which is where the buyer comes in (next section).
The allocation conflict with your buyer
With 100% bonus depreciation back for property acquired after January 19, 2025 (P.L. 119-21 section 70301; IRS Notice 2026-11), buyers of used commercial and rental property want as much of the price as possible assigned to 5-, 7- and 15-year components, because they can write those off in year one.
Every dollar assigned there is a dollar of potential ordinary recapture for the seller who cost-segged or took bonus. The two sides want opposite numbers.
Whatever is signed tends to stick. Under the Danielson rule and IRC 1060, a party to a written allocation is generally bound by it. In Peco Foods, Inc. v. Commissioner, T.C. Memo.
2012-18, aff'd 522 Fed. Appx. 840 (11th Cir.
2013), a buyer that signed purchase price allocation schedules was not allowed to use a later cost segregation study to re-split the assets.
The IRS audit guide tells examiners that a written allocation between personal and real property "is binding on the taxpayer and cannot be changed by a taxpayer's subsequent cost segregation study" (IRS Publication 5653, rev. 2-6-2025), while noting it is unclear whether Peco Foods reaches purchases that are not applicable asset acquisitions under IRC 1060.
For a seller: read the allocation schedule before it is signed, price what a high personal property allocation costs you at ordinary rates, and treat the allocation as part of the price negotiation. See purchase price allocation.
Can cost segregation offset capital gains?
Partly, and only in the right order. Extra depreciation is an ordinary deduction. It lowers taxable income, but capital gain is stacked on top of ordinary income when the rate is figured (IRC 1(h)).
So the deduction first wipes out income taxed at ordinary rates, and only reduces taxed gain once ordinary income is used up. Along the way it can pull some gain down into the 0% or 15% bracket.
Three cases come up around a sale:
- A study on a building you keep, in the year you sell another one. If both are rentals and you are a passive owner, the new depreciation is a passive loss, and gain on selling a rental is passive income, so the loss can be used against it that year (IRC 469; Treas. Reg. 1.469-2T(c)(2)). This is the "sell, then buy with bonus" path compared on our bonus vs 1031 page.
- A study on the building you are selling. The deduction comes back as ordinary recapture in the sale year (next section), so it mostly trades a 25% or 20% rate for an ordinary rate later. It does not erase gain.
- Losses you cannot use yet. Passive losses that the study creates but you cannot use are suspended and released when you sell the whole activity in a taxable sale (how a sale releases them).
Where cost segregation sits in IRC 168
"Cost segregation" is not a Code term. It is a study that sorts a building's cost into the recovery classes in IRC 168:
| Component | Recovery period (IRC 168(c)) | Bonus eligible? | Recapture class at sale |
|---|---|---|---|
| Personal property in the building (5- or 7-year) | 5 or 7 years | Yes, 20 years or less (168(k)(2)(A)) | Section 1245: all depreciation, up to the gain, is ordinary |
| Land improvements (15-year) | 15 years | Yes | Section 1250: depreciation above straight line (including bonus) is ordinary |
| Residential rental building | 27.5 years | No | Section 1250: straight-line amount is unrecaptured 1250 gain, max 25% |
| Nonresidential building | 39 years | No | Same as residential |
Section 1250 property is depreciable real property that is not Section 1245 property (IRC 1250(c)). The study's job is to prove which dollars belong in the shorter classes.
Who it fits, and who it does not
- Fits: owners who will hold for several more years, so the deduction compounds before any recapture.
- Fits: real estate professionals or owners with passive income who can actually use a large deduction this year, at a high marginal rate.
- Fits: owners planning a 1031 exchange into property with enough Section 1245 property to absorb the recapture (IRC 1245(b)(4)).
- Fits: heirs, because a basis step-up at death wipes out the recapture exposure.
- Does not fit: a cash sale or installment sale within a year or two, where the deduction and the recapture land at similar rates.
- Does not fit: passive investors with no passive income, whose deduction is suspended and then released in the sale year, right next to the recapture.
- Partly fits: inherited property or property bought from a related party. Bonus depreciation is not allowed on property acquired from a decedent (inherited basis under IRC 1014) or from a related person (IRC 168(k)(2)(E)(ii); IRC 179(d)(2)), though a study can still shorten recovery periods under regular MACRS.
- Watch the cap: real estate professionals whose rental losses are nonpassive still face the excess business loss limit, $512,000 for joint filers in 2026 (IRC 461(l); Rev. Proc. 2025-32); the excess becomes a net operating loss carryforward, usable against only 80% of taxable income in later years (IRC 172(a)).
- Does not fit: California filers looking for a state benefit. California does not follow federal bonus depreciation (R&TC 17250(a)(11)).
A different case is a study on the property you are buying, not selling: if you take boot in a 1031 exchange, a study on the replacement can create a deduction in the same year the boot is taxed. See cost segregation after a 1031 with boot.
Worked example
Assumptions (engine, 2026 federal rules, married filing jointly, Texas, no state income tax): a rental building held since 2015 sells in 2026. Without a study, the sale produces $1,000,000 of capital gain plus $500,000 of unrecaptured Section 1250 gain, on top of $150,000 of other income.
A study filed the year before the sale adds $400,000 of extra depreciation through a 481(a) catch-up, and that deduction offsets $400,000 of non-passive ordinary income in a $900,000 income year.
| Step | Federal tax effect |
|---|---|
| Year before sale: $400,000 deduction (income tax only) | About $140,643 less tax |
| Sale year without study: tax on the sale | $391,353 (including $53,200 NIIT) |
| Sale year with study: $400,000 more gain, all ordinary recapture | $522,375 (including $68,400 NIIT) |
| Extra tax in the sale year | About $131,022 |
Net: about $140,643 of tax avoided one year, about $131,022 paid back the next. The roughly $9,600 difference plus one year of use of the money is the benefit, before the study fee. It exists here only because the deduction hit a higher bracket than the recapture.
If the deduction had been suspended under the passive loss rules and released in the sale year, the two would largely cancel. Numbers are illustrative engine output, not a forecast.
IRS stance and audit risk
Cost segregation itself is legitimate and well settled. The Tax Court accepted component-based classification in Hospital Corporation of America v. Commissioner, 109 T.C. 21 (1997), and the IRS publishes a Cost Segregation Audit Techniques Guide (Publication 5653) that tells examiners what a quality study looks like: an engineering-based approach, documentation tied to construction records or site inspection, and a reconciliation to total cost.
The guide lists 13 principal elements of a quality study (IRS Publication 5653, rev.
2-6-2025): preparation by someone with expertise and experience; a detailed description of the methodology; appropriate documentation; interviews with appropriate parties; a common nomenclature; a standard numbering system; an explanation of the legal analysis; unit costs and engineering take-offs; organization of assets into lists or groups; reconciliation of allocated costs to actual costs; treatment of indirect costs; identification and listing of Section 1245 property; and consideration of related issues such as IRC 263A, accounting method changes and sampling.
Ask any provider to show how its report covers each one. The guide treats the residual estimation approach, which prices only short-lived assets and assigns the rest to the building, as less reliable.
Audit risk comes from weak studies: aggressive classification of structural items (walls, roofs, HVAC serving the building) as personal property, residual estimation without support, or ignoring land. The other common error is at sale: failing to report recapture, or allocating almost nothing of the price to the reclassified components when the contract or appraisal says otherwise. This is not a listed transaction or a transaction of interest.
Costs and fees
- Study fee, which varies with building size and complexity; desktop studies cost less than engineering site visits.
- Return preparation for Form 3115 and the 481(a) adjustment.
- Ongoing tracking of component basis so the right amount is recaptured when you sell or dispose of parts.
- The hidden cost: higher year-one tax at sale, which reduces the cash a seller-carried deal leaves you after closing.
How it compares with a Section 453 installment sale
The two tools work on different parts of the gain. An installment sale spreads capital gain and unrecaptured 1250 gain across the years you collect the note, which can keep more of it in lower brackets and under the NIIT threshold.
It cannot spread recapture. Cost segregation adds recapture, so it shrinks the part of the gain an installment sale can spread and raises the tax owed out of the down payment.
If you already did a study, an installment sale still helps with the rest of the gain, but all the recapture is taxed in the year of sale (IRC 453(i)).
Size the down payment, or the cash at closing, to cover that year-one recapture tax first, so the note does not leave you paying tax out of pocket.
The same check applies before a 1031: a cost-segged property needs enough Section 1245 property in the replacement, or the shortfall is ordinary income in the exchange year (IRC 1245(b)(4)); see Section 1245 recapture in a 1031.
If you have not, and a sale or seller-carried deal is a year or two away, a study is usually a small timing play at best. If a 1031 exchange is the plan, recapture can be deferred when the replacement property carries enough Section 1245 property, which makes a study more attractive.
How Hans helps
The $5,000 Big Sale Tax Analysis models the deduction years and the sale year together, at your actual brackets and state, and compares a cash sale, an installment sale, a 1031 and the other paths side by side. You see whether a study adds anything after recapture and fees before you pay for one. Start with the one-year vs spread estimate or see the analysis.
What to know
Cost segregation shifts tax in time; it does not remove it. Close to a sale, Section 1245 and 1250(a) recapture bring the deduction back as ordinary income in the sale year, and Section 453(i) puts that recapture in year one even in an installment sale.
The math works when the deduction lands at a higher rate than the recapture, when the hold is long, or when a 1031 or a step-up at death is the exit. A signed purchase price allocation binds both sides, so the buyer's bonus and the seller's recapture are negotiated together.
State conformity varies, and a study is only as good as its documentation.
Your Big Sale Options
One page, eleven paths: cash, installment sale, 1031, Delaware statutory trust, Opportunity Zone, charitable remainder trust, Section 121, QSBS, loss harvesting, bracket timing and moving states. What each does, who it fits, the trade-off, liquidity and the 2026 rule, plus four questions for your CPA.
Installment sale + 1031 + ILIT: when is it a slam dunk?
For a large estate, a 1031 exchange, an installment sale and a trust-owned life insurance policy (an ILIT) can work together. It tends to win when most of these are true (2026 figures: the federal estate tax exemption is $15,000,000 per person, $30,000,000 for a married couple):
- Your estate is clearly over the line: a projected estate tax bill of $10,000,000 or more.
- You are married, age 50 to 60, in preferred health or better. At 75 or older, single, or in a rated health class it usually does not win.
- One separate property has stuck (suspended) passive losses at least as big as its gain.
- That property earns little: low cap rate, slow growth.
- You would sell or borrow anyway, or you do not have the cash on hand to pay the premiums.
Four or five true? Run the numbers. Enter your own estate and ages below, or open the full calculator. Estimates from published rates, not a quote or advice; your CPA and attorney decide.
Open the calculator on this page
Frequently asked questions
Is cost segregation worth it if I am selling next year?
Can I do a cost segregation study on a building I have owned for years?
Does 100% bonus depreciation apply to my building?
Does an installment sale defer depreciation recapture?
Is cost segregation an audit red flag?
Does California allow bonus depreciation?
Can a buyer's cost segregation study override the purchase price allocation?
Can I take bonus depreciation on an inherited building?
Can cost segregation offset capital gains?
What happens when I sell a property after cost segregation?
Sources
- IRC 168 (Cornell LII)
- IRC 1245 (Cornell LII)
- IRC 1250 (Cornell LII)
- IRC 453, including 453(i) (Cornell LII)
- IRC 481 (Cornell LII)
- Publication 5653, Cost Segregation Audit Techniques Guide (IRS)
- About Form 3115 (IRS)
- Rev. Proc. 2025-23, automatic accounting method changes (IRS)
- Notice 2026-11, interim bonus depreciation guidance (IRS)
- Public Law 119-21, One Big Beautiful Bill Act (Congress.gov)
- IRC 179(d)(2), related-party and inherited property (Cornell LII)
- IRC 461(l), excess business losses (Cornell LII)
- Rev. Proc. 2025-32, 2026 inflation adjustments (IRS)
- IRC 1060, allocation in asset acquisitions (Cornell LII)
- IRC 1(h) (Cornell LII)
- IRC 469 (Cornell LII)
- Treas. Reg. 1.469-2T (Cornell LII)
Updated November 13, 2026. Education only, not legal or tax advice.
Keep comparing
Installment sale (Section 453)
Report the gain as the buyer pays you instead of all in the year of sale, under rules that have been in the tax code for decades.
ReadNet investment income tax on a sale
The 3.8% surtax can add tens of thousands to a big sale; here is when it applies, when it does not, and how timing shrinks it.
Read1031 exchange
Defer the whole gain by trading investment real estate for more real estate, if you can find it and close inside 180 days.
ReadYear-end closing timing
December or January? The closing date picks the tax year, the estimated tax bill, the Medicare premium two years out and which deductions still count.
ReadStep-up at death (hold)
Holding an appreciated asset until death can erase the built-in gain for heirs; here is when that beats selling now and when it does not.
ReadTax-loss harvesting and the loss bank
Count every loss you already own, capital carryforwards, suspended passive losses and Section 1231 losses, and line them up against the sale gain.
ReadKnow your number before you sign.
Start with a free scope call: a short call to see whether the Big Sale Tax Analysis is worth it for your sale. No obligation.
Prefer email? Request the analysis by email.
You talk to Hans Goldstein. Enrolled Agent, admitted to practice before the IRS.