🇺🇸 Made in America·100% U.S.-Based Team · 24+ Years in Cost Segregation
Cost Segregation

How to Deduct the Old Roof the Year You Replace It

Jim Dougherty and team
Jim Dougherty and team
June 22, 2026
•
5 min read

The short answer

When you tear off an old roof, pull out an old HVAC system, or rip up an old parking lot, the undepreciated cost of the old component is still sitting on your depreciation schedule. The partial disposition election under Reg. 1.168(i)-8 lets you write off that remaining cost as a loss in the year you removed it. The catch: the election has to be made on the timely filed return for the year of the removal, you need a defensible number for what the old component cost, and claiming the loss means the replacement gets capitalized rather than deducted as a repair. Get those three things right and a roof replacement that would have dripped out over 28 more years becomes one deduction this year.

Phil's roof in Fort Wayne

Phil owns a 24,000 square foot office building on Coldwater Road in Fort Wayne, Indiana. He bought it in January 2014 for $2,300,000. The county assessment put the land at $500,000, so his depreciable basis was $1,800,000. In 2015 he had a fully engineered and accounted cost segregation study done on the building, and his CPA filed a Form 3115 to catch up the missed depreciation. The study came with a component schedule. One line on that schedule read: roof membrane and insulation, $48,000.

In May 2025 the roof failed for the last time. The replacement bid came in at $340,000, with $18,000 of that for tear-off and disposal of the old membrane. Phil signed it. The crew finished in three weeks.

In June he called his CPA. "The old roof is in a dumpster. What happens to it on my books?"

"You keep depreciating it," he said. "The new roof goes on as a separate 39-year asset."

That is what most CPAs say, and it is what most depreciation schedules show: two roofs, one that exists and one that does not. The answer is also incomplete. Phil had another option, and because his 2015 study had already put a number on the old roof, he could use it in an afternoon.

What the depreciation schedule gets wrong

A commercial building depreciates over 39 years. A residential rental building depreciates over 27.5 years. When you buy a building without a study, the whole depreciable basis goes on one line and gets written off evenly across that period. That one line contains the roof, the HVAC, the plumbing, the electrical, the parking lot, the windows and everything else.

The trouble starts when one of those parts wears out. The roof comes off and goes to the landfill. Under the default treatment, the old roof keeps depreciating as if it were still up there. The new roof is capitalized as an improvement and starts its own 39-year clock. You are now deducting the cost of an asset that left the building, and you are doing it at about $1,200 a year.

The disposition regulations finalized in 2014 fixed this. Reg. 1.168(i)-8(d)(2) lets you elect to treat the removal of a portion of a building as a disposition of that portion. The remaining undepreciated cost of the old roof becomes a loss on this year's return. The ghost roof comes off the schedule for good.

The arithmetic on Phil's roof

This example is illustrative. Your numbers will differ, and your CPA should run them.

  • Original cost allocated to the old roof by the 2015 study: $48,000
  • Depreciation on that roof in 2014 at the IRS mid-month table rate for January, 2.461 percent: $1,181
  • Annual depreciation from 2015 through 2024: $48,000 divided by 39, or $1,230.77, times ten years, or $12,308
  • Depreciation claimed through 2024: $13,489
  • Remaining undepreciated basis going into 2025: $48,000 minus $13,489, or $34,511 (your CPA will also take the few months of 2025 depreciation up to the removal, which trims the loss slightly)

Without the election, that $34,511 keeps coming out at $1,231 a year for 28 more years. With the election, Phil reports a loss of about $34,511 on Form 4797 for 2025. At a 37 percent federal rate, that is $12,769 of federal tax he does not pay in April.

There is a second piece. Because Phil disposed of the old roof and took the loss, the $18,000 of tear-off and disposal cost is deductible in 2025 under Reg. 1.263(a)-3(g)(2) instead of being capitalized into the new roof. At 37 percent, that is another $6,660.

Total federal tax reduced in 2025: $19,429. The alternative was $1,231 of deductions a year, worth $455 in tax each year, for the next 28 years.

The new roof goes on the schedule at $322,000 ($340,000 less the $18,000 of removal cost that was deducted). It is exterior structure, outside the definition of qualified improvement property, so it depreciates over 39 years at $8,256 a year. That part does not change. What changed is that Phil stopped paying for a roof he no longer owns.

Why the election gets missed

There are three reasons, and they stack.

First, the number. To claim the loss you need the original cost of the component you removed. If the building was bought for one price and depreciated on one line, nobody ever assigned a cost to the roof. The regulations allow any reasonable method to reconstruct it, and they name one: take the cost of the replacement and discount it back to the year the building was placed in service using the Producer Price Index. That method works, and it is far better than guessing. It can also overstate the number on a building that was already old when you bought it, because the discounted cost of a new roof is not the same as what you paid for a roof that had twenty years on it at closing. An examiner will ask about that. A component schedule from an engineered study, which ties the roof's share to what you actually paid for the building, answers the question before it is asked.

Second, the deadline. The election is made on the timely filed return, including extensions, for the year the component was removed. There is no separate form. You report the loss on Form 4797 and take the old component off the depreciation schedule. If the roof came off in 2025 and the 2025 return goes in without the loss, the election is gone as a rule, and Form 3115 does not rescue it. The exception is narrow: if an examiner later disallows a repair deduction and requires you to capitalize the replacement, Reg. 1.168(i)-8(d)(2)(iii) lets you make the election late for that component.

Third, the regulations are young and the habit is old. Many CPAs learned depreciation before 2014 and never changed the routine. Others know the rule exists and have never been handed a number they could defend, so they default to the familiar answer, which is the expensive one.

What qualifies

The election covers the removal of a portion of a building asset you have been depreciating as one unit. In practice, the common cases are:

  • Full roof replacement (membrane, insulation, decking)
  • Replacement of a rooftop HVAC system or a central plant
  • Replacement of the main electrical service and distribution
  • Replacement of a plumbing riser system or water heaters serving the building
  • Full parking lot replacement (removal and repaving rather than resurfacing)
  • Window and storefront replacement across the building
  • Elevator modernization that removes the original cab, machine and controls
  • Interior demolition before a renovation, where walls, ceilings, flooring and fixtures are removed

The test is physical. The old component is gone or permanently out of service, and something took its place. Patching a roof, replacing one rooftop unit out of twelve, or sealing a parking lot is maintenance.

And it is one or the other. If the work is deducted as a repair under the tangible property regulations, there is no disposition and no loss. If you claim the loss on the old component, Reg. 1.263(a)-3(k)(1)(i) treats the replacement as a restoration, and it must be capitalized. You cannot deduct the new roof as a repair and also write off the old one. Your CPA picks the better of the two, and on a large replacement the disposition loss plus the deductible removal cost usually wins.

Where the cost segregation study comes in

The election works on any building. It works best on a building that already has an engineered component schedule, because the number you need is already on it.

If you have never had a study and you are facing a major replacement, you have two routes.

The first is a fully engineered and accounted cost segregation study on the whole building now. That produces the component schedule, which gives you the original cost of the part you are removing. It also produces the catch-up on everything else: the 5-year, 7-year and 15-year property the building has been carrying at 39 years since you bought it, claimed in one year through Form 3115 and a Section 481(a) adjustment. The disposition loss and the catch-up land on the same return.

The second is a disposition analysis on the replaced component alone. The fee is smaller. The deduction is smaller too, and the rest of the building stays on the slow schedule.

On a building with $180,000 or more of depreciable basis after land, the first route almost always produces more cash, because the catch-up on the whole building is usually several times the loss on one component.

What an engineered study does here that an estimate does not

A cheap estimate assigns a percentage to the building and stops. It never tells you what the roof cost. A fully engineered and accounted study works component by component under the first two approaches the IRS Audit Techniques Guide describes: Approach 1, detailed engineering from actual cost records, and Approach 2, engineering with documented estimates reconciled to actual cost. The result is a component schedule your CPA imports and an examiner can trace line by line, with the roof, the rooftop units, the electrical service and the parking lot each carrying a cost and a recovery period. It is signed by credentialed professionals, and Cost Seg America defends it for as long as you own the building, no time limit, no hour cap, no additional fee, with written responses and participation in examiner calls alongside your CPA. When you replace a component ten years from now, the number is already there.

The documentation an examiner expects

A disposition loss is an ordinary audit item. The file should hold four things.

Identification of what was removed. The contractor's scope of work, the demolition invoice, disposal receipts, and photographs of the old component before and during removal.

The original cost of what was removed. Either the line from an engineered component schedule or a documented reasonable method under Reg. 1.168(i)-8(f)(3), with the PPI discounting worked out and the index values cited.

The depreciation already taken on it. Original cost less accumulated depreciation through the removal date equals the loss.

The return itself. The loss on Form 4797, the old component removed from the schedule, and the replacement added as a new asset. That is the election. There is nothing else to attach.

Common mistakes

Claiming the loss after the deadline. Owners find out about the election two years after the roof was replaced and ask for an amended return. The regulations do not allow a late election on an amended return or through Form 3115 outside the examiner-adjustment exception.

Taking both a repair deduction and a disposition loss on the same work. The regulations make them mutually exclusive. If the replacement is a repair, the old component was never disposed. If the old component was disposed, the replacement is capitalized.

Using the replacement cost as the loss. The loss is the undepreciated cost of the old component. A $340,000 roof does not produce a $340,000 loss.

Capitalizing the tear-off. Once you dispose of the old component and claim the loss, the cost of removing it is deductible. It belongs on the return as a deduction, and the new roof goes on the schedule without it.

Forgetting the Section 1231 lookback. A net Section 1231 loss this year causes an equal amount of net Section 1231 gain in the next five years to be taxed as ordinary income. On a building you plan to sell soon, your CPA should model that before you elect.

When this does not make sense

The election is cheap to make and usually right. It is wrong in a few cases.

If the replacement qualifies as a repair under the tangible property regulations and the repair deduction is larger than the disposition loss plus removal cost, take the repair deduction instead. Replacing a few rooftop units out of many is the classic example.

If the losses are passive and you cannot use them, the loss suspends. A disposition loss on a rental building is part of the rental activity's results under the passive activity rules. If you are not a real estate professional and your income is above the phase-out, the loss carries forward until you have passive income or sell the property.

If you are selling within a year or two, the Section 1231 lookback may convert gain you would have taken at capital rates into ordinary income, and the time value of the loss may not cover that.

If the component is small, the number may not be worth the file. A $6,000 water heater on a building you have owned twenty years has little undepreciated cost left.

And if the building has under $180,000 of depreciable basis after land, a full engineered study does not pencil out, and the disposition should be handled as a standalone analysis.

Frequently asked questions

Do I lose the deduction forever if I miss the election?

No. You lose the timing. The old component keeps depreciating over its remaining years, and the accumulated depreciation comes back as unrecaptured Section 1250 gain at up to 25 percent when you sell. The election moves the deduction to this year and takes it out of that recapture pool.

Can I make the election on an amended return?

Generally no. The election is made on the timely filed original return, including extensions, for the year of the disposition. The exception is when an examiner disallows a repair deduction and requires capitalization; then a late election is allowed for that component.

Do I need a cost segregation study to claim it?

No. The regulations allow any reasonable method to set the original cost of the removed component, including discounting the replacement cost by the Producer Price Index. A component schedule from an engineered study is the stronger support because it ties the number to what you paid, and an examiner can trace it.

What form is the election on?

There is no election form. You report the loss on Form 4797 for the year of removal and take the old component off the depreciation schedule. That reporting is the election.

Is the loss ordinary or capital?

It is a Section 1231 loss. If your net Section 1231 result for the year is a loss, it is ordinary. The five-year lookback rule then recharacterizes an equal amount of future net Section 1231 gain as ordinary income.

Does this work on a residential rental building?

Yes. The same election applies to 27.5-year property. Replace the roof, the boiler, or the parking lot on an apartment building and the remaining cost of the old component is a loss in the year of removal.

Can I deduct the cost of tearing out the old component?

Yes, if you dispose of it and claim the loss. Reg. 1.263(a)-3(g)(2) treats removal costs as deductible when the component is disposed. If you instead treat the work as a repair, the removal cost follows the repair.

What if I bought the building used and the roof was already old?

Then the original cost allocated to that roof at your purchase was low, because you paid for an old roof. The loss will be small. The PPI method can overstate it in that case, which is why an engineered allocation tied to your purchase price holds up better.

I replaced the roof in 2025 and have not filed yet. Is there still time?

Yes. The election goes on the 2025 return. If you have not had a study, this is the year to do one, so the disposition loss and the Form 3115 catch-up on the rest of the building land on the same return.

Does the new roof qualify for bonus depreciation?

No. A roof is exterior structure and falls outside qualified improvement property, so it depreciates over 39 years on a commercial building. The interior work done at the same time may qualify as QIP, and the engineered study separates it.

What to do next

If you replaced a major building component this year, or you are about to, send us the property address, the purchase price and year, and a sentence about the work. Jim Dougherty and his team will send a free proposal within 24 hours showing the estimated disposition loss, the estimated catch-up on the rest of the building, the timeline and the fee. The study is delivered in 30 days, with rush available. Call 1-888-365-5023 or email info@costsegamerica.com.

This article is educational and is not tax advice for your situation; confirm the treatment with your CPA before filing.

Your Building Already Holds the Deduction. Let's Go Find It.

Use the calculator, see your number, and request your free, no-cost proposal - delivered in 24 hours, with your flat fee quoted upfront and no obligation.

Get My Free Proposal →
Or speak with us directly - 1-888-365-5023