Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / Partial disposition election
Partial disposition

The Partial Disposition Election Before a Sale: Writing Off the Old Roof, HVAC or Parking Lot

Short answerWhen you replace a roof, HVAC system or parking lot, the old component's remaining basis stays buried in the building unless you make the partial disposition election (Treas. Reg. 1.168(i)-8(d)(2)) on a timely filed original return for that year. In our example, a $120,000 write-off is worth $44,621 in a high-income year, versus $28,560 of extra gain tax when the building sells later.

What happens to the old roof by default

For depreciation, a building and its structural components (roof, HVAC, plumbing, electrical, elevators) are generally one asset. When you tear off a roof and put on a new one, the new roof is a capitalized improvement with its own schedule, but the old roof does not leave the books. Its undepreciated basis stays inside the building and keeps depreciating on the building's 27.5- or 39-year schedule, even though it is in a landfill.

A sale of the whole building eventually recovers that basis, because it lowers the gain. The partial disposition election lets you recover it now instead: you treat the retired portion as disposed of, stop depreciating it and deduct its remaining basis as a loss in the year of retirement (Treas. Reg. 1.168(i)-8(d)(2)).

When the regulation applies without an election

Some partial dispositions count automatically, election or not (Treas. Reg. 1.168(i)-8(d)(1)):

  • a casualty event described in IRC 165 (storm, fire),
  • a portion disposed of in a 1031 or 1033 exchange,
  • a transfer described in IRC 168(i)(7)(B), and
  • a sale of a portion of an asset.

Everything else, including the ordinary case of retiring a worn roof, HVAC unit, windows or a parking lot surface when you replace it, counts as a disposition only if you make the election.

The deadline that makes or breaks it

The election is made by reporting the loss on your timely filed original return, including extensions, for the tax year in which the portion was disposed of (Treas. Reg. 1.168(i)-8(d)(2)(ii)). There is no general late path:

  • No Form 3115 later. The regulation says the election may not be made through an accounting method change, except where the IRS on exam disallows a repair deduction for the replacement and you then want the election for the old portion (1.168(i)-8(d)(2)(iii); Rev. Proc. 2025-23 section 6.10, DCN 198, which also requires owning the asset at the start of the year of change).
  • The amended-return and two-year Form 3115 windows in the regulation applied only to 2012 and 2013 tax years (1.168(i)-8(d)(2)(iv)).
  • Revocation requires a private letter ruling (1.168(i)-8(d)(2)(v)).

So for a seller, the live question is narrow: did you replace something in a year whose return is not filed yet? If the roof went on in 2026, the 2026 return (on extension, if needed) is the one chance.

Worked example: deduct now or recover at sale

Our couple replaces a roof in 2026 whose remaining basis is $120,000, in a year with $600,000 of income. The election removes the top $120,000 of that income, worth $44,621 of federal income tax and net investment income tax at 2026 rates (Rev. Proc. 2025-32).

The cost shows up at the sale. With the election, basis is $120,000 lower, and a 2028 sale after retirement costs $393,453; without it, $364,893. The difference, $28,560, is less than the 2026 saving because the deduction hit a 35% bracket while the extra gain is taxed at 20% plus the 3.8% net investment income tax. Two years of use of the money is on top. If the deduction would have landed in a low bracket, or been suspended as a passive loss until the sale, the advantage mostly disappears. Numbers are illustrative engine output from labeled assumptions.

Figuring the old roof's basis

The deduction is the retired portion's adjusted depreciable basis at the time it is disposed of (Treas. Reg. 1.168(i)-8(f)(3)). If your records do not show what the old roof cost, the regulation allows any reasonable method, applied consistently to every portion of the same asset. A cost segregation study that already priced the building's components is a common, well-documented source. Discounting the new roof's cost back to the year the building was placed in service with a price index is another approach your CPA may use.

The side effect on the replacement

If you properly deduct a loss for a component, the amount you pay to replace it is a restoration that must be capitalized (Treas. Reg. 1.263(a)-3(k)(1)(i)). In practice that matters when a replacement might otherwise have been argued as a deductible repair: you cannot take the loss on the old roof and also expense the new one. For a full roof or HVAC replacement, capitalization is usually the answer anyway, so the election tends to be a pure gain. For smaller, arguable repairs, model both.

A separate small-taxpayer safe harbor lets some owners of buildings with an unadjusted basis of $1,000,000 or less expense smaller repairs and improvements (Treas. Reg. 1.263(a)-3(h)); ask your CPA whether it applies before you choose.

How it fits with the rest of a sale plan

  • Selling soon? A replacement in the sale year itself matters less: the old roof's basis offsets the gain at closing anyway, so the election mostly changes character and timing within the same return.
  • Passive owners with no passive income: the loss is suspended until the sale frees it (IRC 469(g)), which removes most of the timing benefit.
  • Cost segregation and missed depreciation are related clean-ups; see missed depreciation before a sale and cost segregation before a sale.
  • Spreading the remaining gain: an installment sale spreads capital gain and the 25% layer across payment years, but not recapture (IRC 453(i)).

Get the Big Sale Tax Analysis to see the clean-up items and the sale modeled together.

What to know

The partial disposition election is a timing and rate tool with a hard deadline: the timely original return for the year of the replacement. Miss it and the old component's basis stays in the building until sale, which is not a disaster, only slower. The deduction raises the gain at sale dollar for dollar, so it pays mainly when it lands in a higher bracket than the later gain. Taking it also forces the replacement to be capitalized.

Worked example

Assumptions: married couple, Texas, $600,000 of income in 2026, including enough net rental income that a loss in the rental is usable. The roof replaced in 2026 had $120,000 of remaining basis. The row shows the tax on the top $120,000 of that income, which is what the deduction removes. The building sells in 2028 after the couple retires ($180,000 of other income). Because the old roof's $120,000 was written off, basis is $120,000 lower and long-term gain is $1,120,000, plus $400,000 of unrecaptured Section 1250 gain (projected 2028 brackets). Same sale without the election: the old roof's basis stayed in the building, so long-term gain is $1,000,000. For simplicity the small amount of depreciation the old roof would have kept generating is ignored.

Engine run2026: value of a $120,000 write-off2028 sale, election made in 20262028 sale, no election
Filing statusMarried, jointMarried, jointMarried, joint
StateTexasTexasTexas
Other income (wages, pension, interest)$480,000$180,000$180,000
Long-term capital gain$0$1,120,000$1,000,000
Unrecaptured Section 1250 gain (25% max)$0$400,000$400,000
Income offset by the $120,000 write-off$120,000$0$0
Federal income tax on the sale$40,061$338,353$314,353
Net investment income tax (3.8%)$4,560$55,100$50,540
State income tax on the sale$0$0$0
Total tax caused by the sale$44,621$393,453$364,893
Effective rate on the gain37.2%25.9%26.1%
Gain kept after these taxes$75,380$1,126,548$1,035,108

Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.

Run your own numbers

Federal on the sale$0
NIIT$0
State$0
Total tax, held over a year$0
Effective rate0%
If held one year or less$0

2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

What is a partial disposition election?
It is an election under Treas. Reg. 1.168(i)-8(d)(2) to treat a retired portion of a building, such as an old roof or HVAC system, as disposed of. You stop depreciating it and deduct its remaining basis as a loss in the year it was retired, instead of leaving it inside the building's basis.
When is the deadline for a partial disposition election?
The due date, including extensions, of the timely filed original federal return for the year the portion was disposed of (Treas. Reg. 1.168(i)-8(d)(2)(ii)). It cannot generally be made later through Form 3115; the main exception is when the IRS disallows a repair deduction on exam (Rev. Proc. 2025-23 section 6.10).
Can I write off the old roof when I replace it?
Yes, by making the partial disposition election for the year of replacement and deducting the old roof's remaining adjusted basis. If you do, the new roof must be capitalized as a restoration (Treas. Reg. 1.263(a)-3(k)(1)(i)), not expensed as a repair.
How do I figure the basis of a roof I replaced?
Use your records if they show the original cost. If that is impracticable, the regulation allows any reasonable method applied consistently (Treas. Reg. 1.168(i)-8(f)(3)). A prior cost segregation study or discounting the new roof's cost with a price index are common approaches.
Is a partial disposition worth it before selling a building?
It helps most when the deduction lands in a high bracket and the sale is a few years away. If the sale is this year, the old component's basis reduces the gain at closing anyway. If the loss would be suspended under the passive rules until the sale, the benefit is small.
Can I revoke a partial disposition election?
Only by requesting a private letter ruling and getting the IRS's consent (Treas. Reg. 1.168(i)-8(d)(2)(v)). It cannot be revoked through an accounting method change.
How Hans helps: the free Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know your number before you sign.

The Big Sale Tax Analysis is free until November 2027. Start with a free scoping call. No checkout, no obligation.

Prefer email? Request the analysis by email.

Book a callCall Hans