You generally cannot write off a new roof on your taxes in the year you pay for it if the roof goes on your personal home. On a rental or commercial building, you recover the cost through depreciation, and on nonresidential property you may be able to deduct the full amount in a single year under Section 179. Homeowners still get an indirect benefit: the cost is added to the home’s tax basis and reduces the taxable gain when you sell.
Personal Home: No Current Deduction, but Your Basis Goes Up
The IRS treats home maintenance and improvement costs on a personal residence as nondeductible personal expenses. A $25,000 tear-off and replacement produces no write-off on this year’s return.
What it does produce is an increase in your adjusted basis. Basis starts with what you paid for the house and grows every time you make a capital improvement. When you sell, your taxable gain is the sale price minus that adjusted basis, so a bigger basis means a smaller gain.
Most sellers never owe capital gains tax on a primary residence anyway. Under Section 121, single filers can exclude up to $250,000 of gain and joint filers up to $500,000, provided you owned and lived in the home for at least two of the five years before the sale.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The roof still matters for two groups: owners of higher-value homes where the gain may exceed the exclusion, and owners who don’t meet the two-year residency test.
Keep every invoice and proof of payment. The burden of proving a basis adjustment is entirely on you, and without records at sale time you lose the increase. Hold the paperwork for as long as you own the home, plus at least three years after you file the return for the year of sale.
When a Personal-Home Roof Does Produce a Tax Break
HELOC or Home Equity Loan Interest
The roof itself isn’t deductible, but the interest on money borrowed to pay for it may be. If you use a home equity loan or HELOC to substantially improve the home securing the loan, the interest qualifies as deductible home acquisition debt.2Internal Revenue Service. Real Estate (Taxes, Mortgage Interest, Points, Other Property Expenses) 2 A full roof replacement counts as substantial. You have to itemize on Schedule A to claim it, and the combined mortgage and HELOC balances are subject to dollar caps. If any of the borrowed funds paid for something other than the improvement, only the improvement portion of the interest is deductible.
Home Office Portion
If part of your home is used regularly and exclusively for business, a slice of the roof cost comes back to you. How much depends on whether the work is a repair or a full replacement.
A repair, such as patching or fixing gutters, is deductible in the current year at your business-use percentage. IRS Publication 587 lists “repairing roofs and gutters” as a qualifying indirect expense.3Internal Revenue Service. Publication 587 – Business Use of Your Home (Including Use by Daycare Providers) If your office is 200 square feet in a 2,000-square-foot home, your business-use percentage is 10%, and you deduct 10% of the repair cost.
A full replacement is a capital improvement, so you don’t deduct the business portion all at once. Instead, you multiply the total roof cost by your business-use percentage and depreciate that amount over 39 years using the MACRS nonresidential real property schedule.3Internal Revenue Service. Publication 587 – Business Use of Your Home (Including Use by Daycare Providers) On a $20,000 roof at 10% business use, that’s $2,000 depreciated over 39 years, roughly $51 a year. Modest, but easy to miss. The total home office deduction can’t exceed the gross income from that business use; any unused amount carries forward.
Roofs Damaged in a Federally Declared Disaster
Since 2018, personal casualty loss deductions are limited to losses from federally declared disasters. If a hurricane, tornado, wildfire, or similar qualifying event damages your roof, the unreimbursed portion of the loss may be deductible.4Internal Revenue Service. Topic No. 515 – Casualty, Disaster, and Theft Losses
The deductible loss is the lesser of the property’s adjusted basis or the decrease in fair market value, reduced by insurance reimbursements. Under the general rule, you also subtract $100 per event and only the excess over 10% of your adjusted gross income is deductible. Qualified disaster losses get better treatment: the per-event reduction rises to $500 and the 10% AGI floor drops away.5Internal Revenue Service. Publication 547 (2025) – Casualties, Disasters, and Thefts The list of qualifying disasters shifts with legislation, so check Publication 547 or the Form 4684 instructions.
You can also elect to claim a federally declared disaster loss on the prior year’s return, which can speed up a refund when you need cash for repairs. Note that insurance proceeds reduce both any deductible loss and any basis adjustment. If a $20,000 roof is $18,000 covered by insurance, only your $2,000 out-of-pocket cost adds to basis.
Solar Roofing
Solar shingles and solar roofing tiles that generate electricity qualify for the Residential Clean Energy Credit under Section 25D. The statute makes clear that solar property installed as a roof isn’t disqualified because it also serves as a structural component. The credit equals 30% of the total installed cost with no annual dollar cap. On a $30,000 solar roof, that’s a $9,000 credit. It’s nonrefundable, but any unused portion carries forward.
The original statute set a termination date of December 31, 2025. IRS guidance indicates the credit continues through 2032 at 30% with a phasedown starting in 2033, but recent legislation has modified these provisions, so verify the credit’s current status before you rely on it for a 2026 purchase.
Conventional Energy-Efficient Roofs
If you have seen guidance about a credit for metal roofs or reflective asphalt shingles, that information is out of date. The Inflation Reduction Act removed roofing products from the definition of “building envelope component” under Section 25C, and Section 25C expired entirely for property placed in service after December 31, 2025.6Office of the Law Revision Counsel. 26 USC 25C – Energy Efficient Home Improvement Credit For 2026, there is no federal credit for conventional energy-efficient roofing on a personal residence.
Rental Property: Depreciate Over 27.5 Years
A new roof on a residential rental building is a capital improvement depreciated over 27.5 years under MACRS.7Internal Revenue Service. Publication 946 (2025) – How to Depreciate Property A $15,000 roof produces roughly $545 in annual depreciation that reduces taxable rental income. You claim it on Form 4562, and it flows to Schedule E.8Internal Revenue Service. About Form 4562 – Depreciation and Amortization
Depreciation is a non-cash deduction, which is what makes rental real estate attractive from a tax standpoint. You already spent the money, and you continue to deduct a portion of it every year for close to three decades.
The tradeoff arrives at sale. Depreciation you claimed is subject to recapture, taxed at a maximum rate of 25% on the portion of the gain attributable to those deductions. That doesn’t erase the benefit, because you had the use of the tax savings for years, but it’s worth planning for. Keep clean Form 4562 and Schedule E records so the recapture calculation later is straightforward.
Commercial Property: 39 Years, or Section 179 in One Shot
A roof on nonresidential real property, such as an office, warehouse, or retail building, depreciates over 39 years under MACRS.7Internal Revenue Service. Publication 946 (2025) – How to Depreciate Property On a $50,000 roof, that’s roughly $1,282 per year. Small per dollar spent, and a long wait to recover the cost.
Section 179 changes the picture. The Tax Cuts and Jobs Act expanded Section 179 to include roof improvements on nonresidential real property as qualifying property.9Internal Revenue Service. Depreciation Expense Helps Business Owners Keep More Money Eligible businesses can potentially deduct the full cost of a new commercial roof in the year it’s placed in service. For 2026, the maximum Section 179 deduction is $2,560,000, with a phase-out beginning when total qualifying property placed in service exceeds $4,090,000. Most small and mid-size businesses fall well within those limits.
Two limits to know. Section 179 applies to improvements on existing nonresidential buildings, not to roofs on brand-new construction. And the deduction cannot exceed your taxable business income for the year, though any excess carries forward.
Repair or Improvement: Why the Label Controls Everything
Whether your roof work is a “repair” or an “improvement” drives everything above. A repair keeps the property in its current working condition without adding meaningful value or extending its life: patching a leak, sealing a few seams, replacing a handful of shingles. On income-producing property, repair costs are deductible immediately.
The IRS defines an improvement as a betterment, restoration, or adaptation of the property. Ripping off an old roof and installing a new one restores the component to like-new condition, which fits the restoration category.10Internal Revenue Service. Tangible Property Regulations – Frequently Asked Questions Improvements are capitalized and recovered over time rather than deducted at once.
Partial replacements are the gray zone. Replacing one slope of a four-slope roof might look like a repair, but if the work is extensive enough to constitute a restoration, the IRS will treat it as a capital improvement. The test is whether the work materially adds to the property’s value or substantially prolongs its useful life. When in doubt, capitalize. If the IRS later reclassifies a deduction you took as a capital expenditure, you can face penalties on top of the reversed deduction.
Keeping the Right Records
Documentation ties every version of this together. Homeowners need invoices and proof of payment to support the basis adjustment at sale. Rental and business owners need depreciation schedules, Form 4562 filings, and supporting invoices for the entire holding period plus at least three years after the final return claiming depreciation. If you’re claiming a disaster loss, keep insurance correspondence, contractor estimates, and before-and-after photos. The IRS will not accept a verbal recollection of what you spent a decade ago, and missing paperwork usually costs more than the deduction it was meant to support.