Skip to content
RoofElm

Solar

Solar panels and roof age: fix the roof before the array

A roof that fails under panels costs you twice. How to judge the roof, what order to work in, and who answers for a leak.

By RoofElm Editorial Team Updated 6 min read

Rule of thumb
Roof first, panels second
Panels off and back on
Called detach and reset
Roof penetrations
Flashing plus warranty
Federal 25D credit
Ended after 2025
Illustration: a cutaway of a roof with shingles, flashing, a rack foot bolted to a rafter and a solar panel above it
Each rack foot goes through the shingles into a rafter, with flashing around it.

In short

Panels stay on a roof for a long time, so the roof underneath should have more life left than you need from the array. A roof that wears out under panels means paying to take the panels off and put them back, which is called detach and reset. Have the roof looked at by a roofer before you collect solar quotes, and get the roofer's and the installer's warranties in writing. The federal 25D credit ended after 2025, so a quote cannot lean on it. Start with rooftop solar for sizing and net metering.

Why roof age comes first

Solar panels are bolted to the roof, not set on top of it. The racking feet go through the shingles into the rafters, and flashing and sealant close each hole. If the roof needs replacing while the panels are up, the crew must remove the array, strip and re-roof the area, and reinstall the panels. That is detach and reset, and you pay for the labor of two trades and a longer job. A roof that is replaced first lets the installer work on a clean, sound surface.

The U.S. Department of Energy has published advice that a roof replacement is a convenient time to add solar. The reverse is also true: a solar quote is a good prompt to ask how long the roof has left. The roof age and homeowners insurance guide covers how your insurer may treat an older roof.

Judging the roof you have

Age on the calendar is one input. The condition of the roof, the material and the weather it has seen matter too. A roofer can judge it in an hour. You can look first from the ground and from the attic.

Signs a roof may be near the end of its life
Where to lookSignWhat it can mean
Shingle surfaceCurling, cupping, cracks, bare spotsThe material is wearing out
Gutters and groundPiles of granules from the shinglesThe surface is shedding
FlashingRust, gaps or old sealant at chimneys and wallsLeak points that need repair
Attic underside of the roofStains, damp insulation, daylightWater or air is getting in
Ceilings and wallsBrown stains or peeling paintA leak has already reached the house

If you see these, read roof repair or replace. The material also matters for racking and warranty, so see roofing materials. Do not climb onto a roof to check it; use binoculars and the attic. Ask the roofer for a written note on the roof's condition and the years you can expect from it, and keep that note with your solar contract.

Options and the order of work

There are four ways to handle it, and the right one depends on the roof's age, your budget and your plans for the house.

Replace the roof, then add solar

The cleanest order. The roofer finishes, the roof is inspected, and the installer works on a new surface.

Solar on a sound roof

A roof with many years left can take panels now. Get the roofer's opinion in writing.

Roof and solar as one project

One contractor or two coordinated crews can plan the flashing, the racking and the schedule together. Ask who is responsible for leaks.

Detach and reset later

Install now and plan to take the panels off for a re-roof. Ask what the installer charges for that, in writing.

Here is the arithmetic with made-up numbers. Say the roof has 6 years left, a new roof is assumed to last 25 years, and you plan to keep the panels for 25 years.

Example: roof life against a 25 year panel horizon, assumed numbers
ChoiceRoof replacement falls in yearDetach and reset
Install now on the old roof6Once, in year 6
Replace the roof first, then install25, when the new roof is also at its assumed endNone before year 25

The assumptions drive the result, so use your own roofer's estimate of remaining life. The point of the example is to count how many times the panels would have to come off.

Roof material and structure

The roof type changes how panels are attached, and who should do it. Ask any installer how many roofs of your type they have done, and ask to see the attachment method in the plans.

  • Asphalt shingles: the most common case, with attachments through the shingles into the rafters and flashing at each one.
  • Metal: some metal roofs take clamps that grip the seams without drilling, and others need screws. The roof maker's instructions say which.
  • Tile and slate: brittle to walk on and harder to flash. Tiles are often lifted or replaced around each mount, so ask who pays for broken pieces.
  • Rafters and decking: the framing under the array must carry the added weight, and soft decking cannot hold a fastener.

Penetrations, warranties and who answers for a leak

Every attachment is a hole in your roof. Most leaks under solar start at those holes, not in the panels, so the question is who is responsible. Roofers and installers can each point at the other, so settle it before you sign.

  1. Ask the installer how each roof attachment is flashed and sealed, and ask for the installer's written workmanship warranty on roof penetrations.
  2. Ask your roofer, if the roof is recent, whether solar attachments affect the roofing warranty, and get the answer in writing.
  3. Ask the shingle maker's or roofer's terms for work done by another trade on the roof.
  4. Take dated photos of the roof before and after the install.
  5. Ask who removes and reinstalls the array if a repair is needed, and who pays. Contracts, warranties and lien waivers explains the terms to watch.

Money, payback and what is gone

The federal 25D credit for rooftop solar ended for property placed in service after December 31, 2025, and the 25C credit for some home upgrades ended on the same date. A quote that counts on either for a 2026 job is wrong. Some states and utilities have their own programs: check the state help pages.

A new roof adds to the cost of going solar and changes how long it takes to pay back. Run the numbers both ways in the solar payback calculator, once with the old roof and once with the roof cost added. If the roof is due anyway, count it as a roof cost and ask whether the solar quote would still make sense on its own. Ask a tax professional before you assume any cost gets special tax treatment. If money is the limit, what to fix first helps you order the jobs.

Common questions

Do I have to replace my roof before installing solar?

Not always. A roof with many years of life left can take panels. If the roof will need replacing soon, doing it first usually avoids paying to remove and reinstall the array.

What is detach and reset?

It means a crew removes the panels, the roof is repaired or replaced, and the panels are reinstalled. Ask what the installer charges for it, in writing.

Who is responsible if my roof leaks after solar?

It depends on the contracts. Get the installer's workmanship warranty on roof penetrations and the roofer's warranty in writing before you sign, and ask who pays to remove panels for a repair.

Does roof age affect my homeowners insurance?

It can. Some insurers treat older roofs differently. See the roof age and homeowners insurance guide and ask your insurer about solar.

Sources

Reference list checked on November 19, 2026 for relevance. The end of the 25C and 25D credits for property placed in service after December 31, 2025 comes from the law passed in July 2025. This article gives no prices or roof lifespans on purpose: they depend on the material and the place, so ask a roofer.