Can You Write Off a New Roof on Your Taxes? Rentals and Solar

You generally cannot write off a new roof on your taxes if it goes on your personal home, but the cost is not lost. Rental property owners depreciate a new roof over 27.5 years, commercial building owners depreciate over 39 years or can often deduct the full cost in one year under Section 179, and homeowners add the expense to their property’s tax basis, which reduces the taxable gain when they sell. Solar roofing is the one exception that produces a direct tax credit on a personal residence.

Personal Residence: No Deduction, Higher Basis

The IRS treats home maintenance and improvement costs as nondeductible personal expenses. A $25,000 roof replacement on the house you live in gets you no write-off in the year you pay for it, no matter how necessary the work was.

What the roof does is increase your home’s adjusted basis. Basis starts with what you paid for the house and grows each time you make a capital improvement. When you sell, your taxable gain equals the sale price minus that adjusted basis. A higher basis means a smaller gain.

For most homeowners, the primary residence exclusion under Section 121 already wipes out any tax on a sale. Single filers can exclude up to $250,000 of gain and married 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 basis increase from a new roof still matters for two groups: owners of high-value homes where the gain may exceed the exclusion, and owners who don’t meet the two-year residency requirement.

Insurance reimbursements reduce the basis adjustment. If your roof cost $20,000 and insurance covered $18,000, only the $2,000 you paid out of pocket adds to basis.

Financing With a HELOC

The roof itself isn’t deductible on a personal residence, but the interest on a loan used to pay for it can be. Interest on a home equity loan or HELOC used to substantially improve the home that secures the loan qualifies as deductible home acquisition debt.2Internal Revenue Service. Real Estate (Taxes, Mortgage Interest, Points, Other Property Expenses) 2 A roof replacement counts.

You have to itemize on Schedule A to claim it, and the combined mortgage and HELOC balances are subject to dollar limitations. If you use only part of the loan for the roof and the rest for something else, only the roof portion generates deductible interest.

Home Office Portion

If part of your home qualifies as a home office used regularly and exclusively for business, you can recover a slice of the roof cost. A repair, like patching a leak, is multiplied by your business-use percentage and deducted as an indirect business expense in the current year. Publication 587 specifically lists “repairing roofs and gutters” as a deductible repair.3Internal Revenue Service. Publication 587 – Business Use of Your Home (Including Use by Daycare Providers)

A full replacement is a capital improvement and can’t be deducted all at once. Instead, you multiply the total cost by the 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 with a 10% business-use percentage, that’s roughly $51 a year. Small, but easy to miss.

The total home office deduction, depreciation included, can’t exceed the gross income from the business use of your home. Unused depreciation carries forward.

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 the Modified Accelerated Cost Recovery System.4Internal Revenue Service. Publication 946 (2025) – How to Depreciate Property A $15,000 roof produces roughly $545 a year in depreciation deductions that reduce taxable rental income. You claim it on Form 4562, and it flows through to Schedule E.5Internal Revenue Service. About Form 4562 – Depreciation and Amortization

Depreciation is a non-cash deduction. You already spent the money on the roof, and you now get to deduct a portion of that cost every year for nearly three decades without any additional cash leaving your account.

There is a tradeoff at sale. All the depreciation you claimed is subject to depreciation recapture, taxed at a maximum rate of 25% on the gain attributable to those deductions. You’ve had the use of the tax savings for years, so this doesn’t erase the benefit, but plan for it. Track everything on Form 4562 and Schedule E so the recapture calculation is accurate when the property sells.

Commercial Property: 39 Years, or One Year With Section 179

A new roof on nonresidential real property, like an office building, warehouse, or retail store, depreciates over 39 years under MACRS.4Internal Revenue Service. Publication 946 (2025) – How to Depreciate Property A $50,000 commercial roof yields roughly $1,282 a year. Small annual deductions, a long recovery period.

Section 179 changes the math. The Tax Cuts and Jobs Act expanded Section 179 to include roof improvements on nonresidential real property.6Internal Revenue Service. Depreciation Expense Helps Business Owners Keep More Money An eligible business can potentially deduct the full cost of a new 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 qualifying property placed in service exceeds $4,090,000. Most small and mid-size businesses stay well inside those limits.

Section 179 applies only to improvements on existing nonresidential buildings, not to roofs on brand-new construction. The deduction also can’t exceed your taxable business income for the year, and any excess carries forward. For a business owner replacing a commercial roof, this is usually the most powerful tax tool available.

Roofs Damaged by Federally Declared Disasters

Since 2018, personal casualty loss deductions have been limited to losses from federally declared disasters. If a hurricane, tornado, wildfire, or other qualifying event damages your roof, you may be able to deduct the unreimbursed portion of the loss on a personal residence.7Internal Revenue Service. Topic No. 515 – Casualty, Disaster, and Theft Losses

The deductible amount is the lesser of the property’s adjusted basis or the decrease in fair market value caused by the damage, reduced by any insurance reimbursement. Under the general rule, you then subtract $100 per casualty event, and only the amount above 10% of your adjusted gross income is deductible.

Qualified disaster losses get better treatment. The per-casualty reduction rises to $500, and the 10% AGI floor drops away entirely.8Internal Revenue Service. Publication 547 (2025) – Casualties, Disasters, and Thefts Which disasters qualify for the enhanced treatment shifts with legislation, so check Publication 547 or the Form 4684 instructions for the current list.

You also get a timing option. If the loss qualifies as a federally declared disaster loss, you can elect to claim it on the prior year’s return instead of waiting to file for the year the damage occurred, which can speed up a refund when you need cash for repairs.

Solar Roofing Qualifies for a 30% Credit

Solar shingles and solar roofing tiles that generate electricity qualify for the Residential Clean Energy Credit under Section 25D. The statute specifically provides that solar property installed as a roof doesn’t lose eligibility just because it also serves as a structural component. The credit equals 30% of the total cost, including installation, with no annual dollar cap.

The credit applies to the full installed cost of qualifying solar property, not just the materials. On a $30,000 solar roof, the credit is $9,000. It’s nonrefundable, so it can reduce your tax bill to zero but won’t generate a refund on its own. Any unused portion carries forward to future tax years.

Timing note for 2026: the original statute set a termination date of December 31, 2025, but IRS guidance indicates the credit continues through 2032 at the 30% rate, with a phasedown beginning in 2033. Recent legislation has modified these provisions, so verify current availability on irs.gov or with a tax professional before relying on the credit for a 2026 purchase.

Conventional energy-efficient roofing materials, like metal roofs or cool asphalt shingles with reflective coatings, do not qualify for a federal credit in 2026. The Inflation Reduction Act removed roofing products from the Section 25C “building envelope component” definition, and Section 25C itself expired for property placed in service after December 31, 2025.9Office of the Law Revision Counsel. 26 USC 25C – Energy Efficient Home Improvement Credit

Repair or Improvement: The Classification That Drives Everything

Before applying any of the above, figure out whether the IRS treats your work as a repair or an improvement. The label controls the tax treatment.

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, or swapping a handful of damaged shingles counts as a repair. On income-producing property, repair costs are deductible in the year you pay them.

A full tear-off and replacement is almost always an improvement. The IRS defines an improvement as a betterment, restoration, or adaptation of the property. Stripping an old roof and installing a new one restores the building component to like-new condition, which fits the restoration category.10Internal Revenue Service. Tangible Property Regulations – Frequently Asked Questions Improvements must be capitalized, meaning added to basis and recovered over time through depreciation.

Partial replacements are the gray zone. Replacing one slope of a four-slope roof can look like a repair, but if the work is extensive enough to be 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. Getting it wrong can trigger penalties if the IRS reclassifies a deduction you took as a capital expenditure that should have been depreciated.

Keep the Records

Documentation is the common thread across every scenario above. Homeowners need invoices and proof of payment to support the basis adjustment at sale, kept for as long as you own the home plus at least three years after you file the return for the year of sale. Rental and business property owners need depreciation schedules, Form 4562 records, and supporting invoices for the length of ownership plus three years after the final return claiming depreciation. Casualty loss claimants should hold onto insurance correspondence, contractor estimates, and before-and-after photos. Without records, the deduction, credit, or basis adjustment you’re entitled to becomes a deduction, credit, or basis adjustment you cannot prove.