How to coordinate roofing, gutters and solar panel installation (and avoid paying detach-and-reset twice)

Short answer

If the roof is near the end of its life, replace it before solar goes on; panels typically stay 25+ years. EnergySage reports roughly $1,500 to $6,000 to remove and reinstall panels for a later roof replacement, plus the roof itself. Gutters usually go on after roofing (drip edge and flashing first) and before or alongside solar so conduit and racking don't block them.

Three separate contractors work on the same roof edge. Who goes first affects warranties, leaks and whether you pay to move panels later.

This guide is educational, not building-code, engineering or legal advice. Your local building department, permit conditions and manufacturer instructions control. What's Normal? never takes referral payments from contractors or trades.

1. Recommended order

  • Roof assessment: remaining life, decking condition, structural capacity for the array.
  • Roof replacement, including drip edge, flashing and any vents relocated away from the planned array.
  • Gutters and downspouts tied to the new drip edge.
  • Solar racking, flashing of penetrations, conduit routed clear of gutters, then electrical inspection and utility interconnection.

2. Detach-and-reset costs

ItemPublished figureNote
Remove and reinstall solar panelsAbout $1,500–$6,000 (EnergySage)Varies with array size, roof type and installer; get it itemized
Roof + solar togetherAbout $40,600 average for 12 kW + asphalt roof (EnergySage example)Marketplace averages, US, before incentives

Ask whether detach-and-reset includes storage, re-flashing new penetrations, electrical re-commissioning, critter guard reinstallation and any permit. Ask whether your solar workmanship warranty survives if a different company removes the panels.

3. Questions for each contractor

Coordination questions

  1. 1.“Roofer: will removing or re-flashing solar penetrations affect your roof warranty?”
  2. 2.“Solar installer: who must do a future detach-and-reset to keep your warranty?”
  3. 3.“Gutter installer: where will conduit and downspouts cross?”
  4. 4.“Everyone: who is responsible if a leak appears at a penetration?”

Hypothetical double-cost example

Installing solar on a roof with five years left, then paying a $4,000 detach-and-reset in year five, adds cost that replacing the roof first could have avoided. Illustration only; compare against your roof's actual remaining life.

The one thing to remember

Roof first, panels last

Panels outlive most aging roofs, so replace a worn roof before the array goes on.

Common questions

How much does it cost to remove solar panels for a new roof?

EnergySage reports roughly $1,500 to $6,000, plus the roof itself. Get an itemized quote from your installer.

Should gutters go before or after a new roof?

Usually after, so they attach properly with the new drip edge and flashing.

Does my roof warranty cover solar penetrations?

It depends on the roofing manufacturer and installer. Ask both companies in writing.

Keep reading

Sources

Last reviewed November 2026. This article explains how prices and bills are structured in general terms, and is not a price guarantee, because what's reasonable depends on your location, scope and market. Educational information only — not professional, legal or financial advice. See our disclaimer and browse the full cost guide library.