Is Roof Replacement Tax Deductible? Credits and Depreciation

Is a roof replacement tax deductible? For your personal home, no — the IRS treats it as a capital improvement, so the cost gets added to your home’s tax basis instead of coming off this year’s return. A handful of situations do produce a current tax benefit: energy-efficient roofing materials, rental property depreciation, a home office share, casualty losses from a federally declared disaster, and, in narrow cases, a medically necessary replacement.

What Happens to the Cost on Your Personal Home

The money you spend replacing the roof on the house you live in gets added to your cost basis under federal tax law.1Office of the Law Revision Counsel. 26 USC 1016 – Adjustments to Basis IRS Publication 523 lists a new roof as an improvement that increases basis.2Internal Revenue Service. Publication 523 (2024), Selling Your Home

A higher basis means less taxable profit when you sell. Buy for $300,000, spend $18,000 on a new roof, and your adjusted basis becomes $318,000. Sell for $600,000 and your gain is $282,000 instead of $300,000. That matters only if your gain exceeds the home-sale exclusion of $250,000 for single filers or $500,000 for married joint filers.3Internal Revenue Service. Topic No. 701, Sale of Your Home Above those thresholds, the basis adjustment directly reduces the amount taxed at long-term capital gains rates of 0%, 15%, or 20%, depending on income. Below them, the adjustment has no immediate effect.

When Insurance Pays for Part of It

If insurance reimburses part of the replacement, only what you actually paid out of pocket goes into basis. The IRS requires you to reduce your property’s basis by any insurance reimbursement and by any casualty loss deduction you claimed.4Internal Revenue Service. Publication 551, Basis of Assets On a $20,000 roof with $12,000 of insurance covering the damage, only the $8,000 you paid increases basis, less any casualty deduction you already took.

Credits for Energy-Efficient Roofing

Two federal credits can offset roofing costs in the year of installation. Both are credits against tax, not deductions from income.

Energy Efficient Home Improvement Credit

The Section 25C credit covers building envelope components, including insulation and air-sealing materials that meet International Energy Conservation Code standards in effect two years before installation.5Internal Revenue Service. Energy Efficient Home Improvement Credit Some roofing products designed for efficiency, such as metal roofs with reflective pigmented coatings or asphalt shingles with cooling granules, may qualify if they meet those standards. The credit equals 30% of qualifying material costs, capped at a $1,200 annual limit for energy efficiency improvements.6Internal Revenue Service. Updates to Frequently Asked Questions About the Energy Efficient Home Improvement Credit

Two limits catch people off guard. Labor doesn’t count, only materials.5Internal Revenue Service. Energy Efficient Home Improvement Credit And you’ll need the manufacturer’s certification statement confirming the product meets the required standards. The cap resets annually through 2032, when the provision is currently scheduled to expire.6Internal Revenue Service. Updates to Frequently Asked Questions About the Energy Efficient Home Improvement Credit

Residential Clean Energy Credit for Solar Roofing

Solar roofing, including solar shingles and panels installed as part of the roof, falls under Section 25D. The credit is 30% of the full cost, materials and labor included.7Internal Revenue Service. Instructions for Form 5695 (2025) The statute specifically preserves eligibility for solar property that also serves as a structural roof component.8Office of the Law Revision Counsel. 26 USC 25D – Residential Clean Energy Credit There is no annual dollar cap, and the property must generate electricity for a home you use as a residence in the United States.

Rental Property: Depreciate the New Roof

If the building is a residential rental, a full roof replacement is a capital improvement depreciated over 27.5 years, the standard recovery period for residential rental property.9Internal Revenue Service. Publication 527 (2025), Residential Rental Property Patching leaks or swapping a few damaged shingles is generally a repair and fully deductible in the year you pay. The dividing line is whether the work fixes a discrete problem or extends the useful life of the structure itself.

Writing Off the Old Roof

When you replace the whole roof, the undepreciated basis of the old one is still on your books. The partial disposition election lets you write off that remaining basis as a loss in the year of replacement instead of continuing to depreciate a roof that no longer exists. You make the election by reporting the loss on a timely filed return for that year; no separate form or statement is required.10Internal Revenue Service. Examining a Taxpayer Electing a Partial Disposition of a Building The new roof then starts a fresh 27.5-year schedule as its own asset.

Section 179 Doesn’t Cover Residential Rental Roofs

Section 179 can fully expense certain business property in the year it’s placed in service, and the statute does list roofs. It lists them only for nonresidential real property.11Office of the Law Revision Counsel. 26 USC 179 – Election to Expense Certain Depreciable Business Assets A roof on a commercial building such as an office or warehouse may qualify. A roof on a residential rental doesn’t; residential landlords are held to the 27.5-year schedule.

Home Office Share

If part of your home is used exclusively and regularly as your principal place of business, you can deduct a portion of a roof replacement as an indirect business expense. You must use the actual expenses method; the simplified $5-per-square-foot method (capped at 300 square feet) does not allow home improvement or depreciation deductions.12Internal Revenue Service. Simplified Option for Home Office Deduction

Under the actual method, you allocate by square footage. A 200-square-foot office in a 2,000-square-foot home is 10%, so $1,500 of a $15,000 roof is the business portion. That business portion is depreciated over 39 years as part of the home office calculation.13Internal Revenue Service. Publication 587 (2024), Business Use of Your Home

Recapture When You Sell

There is a cost on the back end. When you sell, the Section 121 exclusion does not shelter the portion of gain equal to depreciation claimed after May 6, 1997. That amount is recaptured as ordinary income, taxed at a rate of up to 25%.2Internal Revenue Service. Publication 523 (2024), Selling Your Home Five years of $1,500 in home office roof depreciation means $7,500 of gain gets recapture treatment at sale, even if the rest of your profit sits inside the exclusion. Weigh that future cost before choosing the actual expenses method for a large improvement.

Casualty Loss After a Federally Declared Disaster

If a storm, fire, or other sudden event damages your roof, a deduction is available, but only when the event is a federally declared disaster. Since 2018, personal casualty losses on a home are deductible only if they result from a disaster with a presidential major disaster declaration.14Internal Revenue Service. Publication 547 (2025), Casualties, Disasters, and Thefts

You calculate the loss by comparing your home’s fair market value immediately before and after the event, then subtracting any insurance reimbursement. The math goes on Form 4684.15Internal Revenue Service. 2025 Instructions for Form 4684 – Casualties and Thefts Two reductions then apply:

  • Each separate casualty loss is reduced by $100.
  • Your total casualty losses for the year are further reduced by 10% of your adjusted gross income.

Between those two floors, the deduction only helps when unreimbursed damage is large relative to income. You can also elect to claim the loss on the prior year’s return for a faster refund. Keep appraisals or repair estimates showing before-and-after value, plus the FEMA disaster declaration number for your area.

Medically Necessary Roof Replacement

In rare cases, a roof replacement qualifies as a deductible medical expense under Section 213. This applies when a physician certifies the new roof is medically necessary to treat a specific condition, such as severe respiratory disease or allergies tied to mold from a deteriorating roof.16Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses

You cannot deduct the full cost. Only the portion of the expense that exceeds the increase in your home’s value counts as medical.17eCFR. 26 CFR 1.213-1 – Medical, Dental, Etc., Expenses If a $20,000 roof adds $15,000 to fair market value, $5,000 is potentially medical. Then a second floor applies: only total medical expenses above 7.5% of AGI produce a benefit.16Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses At $100,000 in AGI, only medical costs above $7,500 count.

To support this deduction, get a written statement from your physician explaining why the replacement is necessary for your care, appraisals before and after installation, and medical records tying the roof’s condition to your diagnosis.

Records to Keep

Whichever tax path applies, documentation carries the deduction if the IRS asks. The IRS requires records showing the amount paid, the date, and the business or investment purpose where relevant.18Internal Revenue Service. Publication 946, How To Depreciate Property For a roof, keep:

  • The signed contract with your roofer showing scope and price.
  • Canceled checks, credit card statements, or bank records proving payment.
  • Itemized invoices separating materials from labor, which matters for energy credits.
  • Building permits, which also date the improvement.
  • Manufacturer certifications for energy-efficient products.
  • Before-and-after appraisals if you’re claiming a medical expense or casualty loss.

If the roof is going into your home’s basis rather than a current deduction, keep the records for at least three years after you file the return for the year you sell, not the year you install.19Internal Revenue Service. Topic No. 305, Recordkeeping For a roof installed early in a long stay, that can mean holding paperwork for two decades or more.