The short answer
When you replace a roof, HVAC system or elevator, the old component is still part of the building for depreciation purposes and keeps depreciating unless you make a partial asset disposition election. The election under Reg. section 1.168(i)-8(d)(2) lets you deduct the old component's remaining basis as a loss in the year of replacement, but it must be made on a timely filed return, including extensions, for that year. A missed year generally cannot be fixed later with Form 3115, so the cleanup before a sale is mostly about the current and most recent open year.
At a glance
| The asset | A building and all its structural components are one asset for disposition purposes |
|---|---|
| Election | Reg. section 1.168(i)-8(d)(2), made by reporting the loss on the return |
| Deadline | Due date, including extensions, of the original return for the year of disposition |
| Late election | Not by Form 3115, except after an IRS exam reclassifies a repair as capital |
| Loss amount | Adjusted depreciable basis of the retired portion |
| Automatic dispositions | Casualties, sales of a portion and exchanges of a portion need no election |
| Reporting | Form 4797, with 'Partial Disposition Election' in the description |
The building is one asset, so a retired roof keeps depreciating unless you elect otherwise
Reg. section 1.168(i)-8(c)(4)(ii)(A) treats each building, including its structural components, as a single asset for disposition purposes. Replacing a roof, a boiler or an elevator is therefore not a disposition by itself. Example 1 of the regulation says it plainly: when an owner replaces one of four elevators and makes no election, depreciation continues on the cost of the building, including the retired elevator, and no loss is recognized.
The replacement is a separate asset. If the new roof has to be capitalized, it starts its own 27.5-year or 39-year schedule, so without the election the owner depreciates two roofs at once: the one in the dumpster and the one on the building. These are the ghost assets that turn up in a pre-sale review of a fixed asset schedule.
Some partial dispositions happen automatically. Under paragraph (d)(1), a casualty, a sale of a portion of an asset, a transfer of a portion in a section 1031 or section 1033 transaction, and certain transfers under section 168(i)(7)(B) are dispositions whether or not you elect. For everything else, including the ordinary retirement of a worn-out component, the election is the only route.
The election is made on the return for the replacement year, and a missed year generally stays missed
Paragraph (d)(2)(ii) requires the election by the due date, including extensions, of the original federal return for the year the portion is disposed of. You make it simply by reporting the loss on that return; the Form 4797 instructions ask you to write 'Partial Disposition Election' in the description of the asset. There is no separate statement.
The regulation says the election may not be made through an application for change in accounting method, with two exceptions. Paragraph (d)(2)(iii) allows a Form 3115 when an IRS examination disallows a repair deduction for the replacement and capitalizes it instead, and paragraph (d)(2)(iv) gave a transition rule for 2012 and 2013 returns. Revoking the election requires a private letter ruling.
The timing matters in 2026. The IRS extension rules give individuals until October 15 to file, so a component replaced in 2025 can still be elected on an extended 2025 return that has not yet been filed. That is a different fix from claiming depreciation you never took at all, which Form 3115 catch-up depreciation handles.
Electing changes how the replacement is treated and requires a basis for the old component
If you deduct a loss on the retired component, Reg. section 1.263(a)-3(k)(1)(i) treats the replacement as a restoration that must be capitalized. You cannot both write off the old roof and expense the new one as a repair, so the election is for owners already capitalizing the work.
The loss is the adjusted depreciable basis of the retired portion. Under paragraph (e)(2), a physical abandonment produces a loss equal to that basis; under paragraph (e)(3), other retirements produce a loss equal to basis over fair market value. Most owners never recorded what the original roof cost, and paragraph (f)(3) accepts any reasonable method: discounting the replacement cost back with the Producer Price Index for a like-for-like restoration, a pro rata allocation by replacement cost, or a study allocating cost to components.
The adjusted basis must include the share of any bonus depreciation claimed on the asset that relates to the retired portion. A cost segregation study done at purchase gives the cleanest component costs.
Worked example: a retail building's roof replaced before a planned sale
Hypothetical, round figures. An owner placed a retail building in service in 2014 with $2,000,000 of building basis, of which a reasonable method assigns $200,000 to the roof. The roof depreciates at about $5,100 a year on the 39-year schedule. In 2025 the owner replaces it for $300,000 and capitalizes the new roof.
By the end of 2025, roughly $56,000 has been taken on the old roof, leaving about $144,000 of basis. With the election on the 2025 return, that $144,000 is deducted as a loss for 2025 and depreciation on the old roof stops. Without it, the old roof keeps adding about $5,100 a year of depreciation, and its remaining basis only comes off when the whole building is sold or exchanged.
The election does not create new deductions; it moves them earlier and ends depreciation that would otherwise sit in the depreciation recapture layer at sale. Run your own numbers with your CPA.
In a sale or exchange, cleaning up the schedule first gives a truer basis and a cleaner Form 4797
When the building is sold, the whole asset is disposed of, so any ghost component's remaining basis reduces the gain at that point anyway. The value of an earlier election is timing: a loss in the replacement year instead of at sale, and fewer years of depreciation on a component you no longer own. Checking the schedule before listing also catches components retired by casualty, which paragraph (d)(1) treats as dispositions automatically and which should already be off the books.
In a 1031 exchange, the relinquished building's adjusted basis carries into the replacement under section 1031(d), so a lower basis from an earlier write-off means a larger deferred gain, not a larger tax today. A replacement held through a traditional DST leaves component decisions to the trust's sponsor rather than to you. Basis in replacement property after a 1031 shows how the carried basis is depreciated.
Related questions
Can I make a partial disposition election for a roof I replaced three years ago?
Generally no. The election must be made on the timely filed original return, including extensions, for the year of replacement, and the regulation bars making it through Form 3115 except after an IRS examination reclassifies a repair.
Does the election apply to rental houses as well as commercial buildings?
Yes. The regulation applies to MACRS buildings and their structural components generally, so a replaced roof or furnace on a residential rental can be elected the same way.
What if I expensed the new roof as a repair?
Then there is no election to make for that year. Deducting a loss on the old component would require capitalizing the replacement under Reg. section 1.263(a)-3(k)(1)(i).
How do I find the cost of an original roof I never tracked?
Paragraph (f)(3) allows a reasonable method, such as discounting the replacement cost to the original year with the Producer Price Index, a pro rata allocation by replacement cost, or a component cost study.
Is a partial disposition required when I sell part of a building?
Yes. A sale of a portion of an asset, or an exchange of a portion under section 1031, is a disposition under paragraph (d)(1) whether or not you elect, and the Form 4797 instructions list it as a required partial disposition.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- Treas. Reg. section 1.168(i)-8, dispositions of MACRS property
- Treas. Reg. section 1.263(a)-3, amounts paid to improve tangible property
- Instructions for Form 4797, partial dispositions of MACRS property
- IRS, Get an extension to file your tax return
- IRC section 168, accelerated cost recovery system
- IRC section 1031, like-kind exchanges
