Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Tax Tools / Cost segregation before a sale
Tax Tool Analysis

Cost Segregation Before a Sale: How It Works, Who It Fits, and the Catch

offset
Short answerA cost segregation study moves parts of a building into 5-, 7- and 15-year property so you can deduct them faster, now with 100% bonus depreciation for property acquired after January 19, 2025. Right before a sale, most of that deduction comes back as ordinary recapture in the sale year. It pays when the deduction lands at a higher rate than the recapture, or when the sale is years away.

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 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-financed deal.

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.
  • Does not fit: California filers looking for a state benefit. California does not follow federal bonus depreciation (R&TC 17250(a)(11)).

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.

StepFederal 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 yearAbout $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.

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-financed 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; size the down payment to cover the year-one recapture tax. If you have not, and a sale or seller-financed 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. State conformity varies, and a study is only as good as its documentation.

Frequently asked questions

Is cost segregation worth it if I am selling next year?
Usually not by much. The extra depreciation comes back as ordinary recapture in the sale year. It can still help if this year's deduction offsets income taxed at a higher bracket than the recapture will be, and the study fee is small relative to that difference.
Can I do a cost segregation study on a building I have owned for years?
Yes. You file Form 3115 for an automatic accounting method change and take the missed depreciation as a single Section 481(a) adjustment in the year of change, without amending prior returns.
Does 100% bonus depreciation apply to my building?
Bonus applies only to components with a recovery period of 20 years or less, not to the 39-year or 27.5-year building shell. The 100% rate applies to property acquired after January 19, 2025; earlier acquisitions use the phase-down rate for their placed-in-service year.
Does an installment sale defer depreciation recapture?
No. Under IRC 453(i), all Section 1245 and 1250 recapture income is recognized in the year of sale, regardless of when the payments arrive. Only the remaining gain is spread.
Is cost segregation an audit red flag?
A well-documented engineering-based study is routine and supported by case law and the IRS audit guide. Problems arise from aggressive classification of structural parts, unsupported estimates, and failing to report recapture at sale.
Does California allow bonus depreciation?
No. California does not follow federal bonus depreciation, so the state deduction is slower and California gain on sale is smaller than federal gain because state basis stays higher.
How Hans helps: the $5,000 Big Sale Tax Analysis models this path side by side with every other option for your sale and ends with a written recommendation. See the analysis.
Next step

Know your number before you sign.

The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.

Prefer email? Request the analysis by email.

Book a callCall Hans