If your roof has fewer than 10 years of life left, replace it before you install solar. If it has 15 or more, you can put solar on it now and the timing works out. The 10-to-15-year window is the judgment call, and it comes down to your roof material, your climate, and whether you would rather pay once or twice.
This is one of the few solar decisions where getting the order wrong has a clear dollar cost. Solar panels are built to last about 25 years and frequently keep generating past that. An asphalt shingle roof lasts somewhere between 20 and 30 years depending on the shingle grade and your weather. When those two timelines are close, you install once and forget about it. When the roof is much older than the panels, you will end up paying someone to take the whole array down, replace the roof underneath, and put the array back up, usually around the 10-to-15-year mark, right in the middle of the system's productive life.
The cost of getting the order wrong
Removing and reinstalling an existing solar array costs most homeowners $2,800 to $5,900, with a national average near $3,800 to $4,400 (Fixr, January 2025). That price covers disconnecting the panels, labeling and detaching the wiring, removing the mounting hardware, storing the panels while the roof work happens, then reinstalling and re-commissioning the system. It scales with how many panels you have, how steep and complex your roof is, and whether the inverter or wiring needs attention while everything is apart.
Here is the part that matters: that money buys you nothing. It adds no generation capacity, no warranty extension, no efficiency. It is pure labor to undo and redo work that was already done. Spend it once because your roof genuinely wore out at the end of its life, and that is just the cost of owning a home. Spend it because you installed solar on a 17-year-old roof that had five years left, and you paid several thousand dollars to skip a step you could have taken in the right order.
Having reviewed a fair number of solar quotes, this is the single most common avoidable mistake we see: a homeowner gets excited about the tax credit and the monthly savings, signs for panels, and nobody in the sales process asks hard questions about the roof underneath. The solar salesperson is selling solar, not roofing, and "your roof is fine" is the answer that closes the deal fastest. It is worth being your own advocate here, because the installer's incentive and yours are not perfectly aligned on this one question.
The factors that actually decide it
Roof age and remaining life (the big one)
This is 80% of the decision. Find out how old your roof is and what it is made of, then estimate the remaining life:
- 3-tab asphalt shingles: 15–25 year total life. The most common and cheapest roof; also the one most likely to be the limiting factor.
- Architectural (dimensional) asphalt shingles: 25–30 years. Better odds of matching panel life.
- Metal: 40–70 years. Almost never the limiting factor; install solar whenever.
- Tile (clay or concrete): 50+ years. Also rarely the issue, though tile is more expensive to remove and reinstall panels on.
Subtract the roof's age from its expected life. If the answer is under 10 years, replace first. If it is over 15, install solar now. In between, weigh the next two factors.
Your climate
Published shingle lifespans assume average conditions, and most roofs do not live in average conditions. Intense sun, frequent hail, high winds, and big temperature swings all pull the real lifespan toward the bottom of the range. A 30-year architectural shingle in the Texas Hill Country or the Arizona desert realistically performs more like a 20-to-25-year roof. The same shingle in a mild coastal climate may hit its full rating. If you are in a punishing climate, treat your roof as older than its calendar age.
Whether you are doing the roof anyway
If the roof needs replacing in the next few years regardless, the math gets simple: do the roof first, then solar, and you pay for each exactly once. Some roofing and solar companies will even coordinate the two jobs so the roof goes on and the panels go up in a single mobilization, which can shave a bit off the combined cost. The worst outcome is doing solar this year and roof in three years; the best is doing roof this year and solar right after.
What we'd tell a friend
Get up on a ladder or get a roofer to give you an honest read on the roof before you sign anything with a solar company. Specifically:
- Roof has 15+ years of life left: install solar now. The timelines align and you will not face a mid-life teardown.
- Roof has under 10 years left: replace the roof first, then install solar on the fresh roof. Paying to tear the array off a roof you knew was near the end is the avoidable mistake.
- Roof is in the 10-to-15-year gray zone: if you are in a harsh climate or the roof is 3-tab shingle, lean toward replacing first. If it is architectural shingle in a mild climate, leaning toward installing now is defensible.
One practical move: when you collect solar quotes, tell each installer your roof's age and material and ask directly whether they would recommend replacing it first. An installer who says "replace it first" on a roof that genuinely needs it is showing you they are not just chasing the sale. That is the installer you want.
When this advice changes
If you are getting solar shingles rather than panels (an integrated solar roof, like the Tesla product or similar), the roof and the solar are the same purchase, so the sequencing question disappears. You are replacing the roof and adding solar in one job by definition.
If you are leasing rather than buying, the removal-and-reinstall cost during a future roof replacement often becomes a contract question rather than a simple bill. Many lease and power-purchase-agreement contracts make the homeowner responsible for the cost of removing and reinstalling the system for roof work, and the process requires coordinating with the leasing company. Read the contract's roof-work clause before signing, because a leased system on an aging roof can turn a routine roof replacement into a logistical headache.
If your roof needs only a localized repair, not a full replacement, that is usually a smaller question. A good installer can sometimes work around a section, or remove and reinstall only the panels over the affected area at a fraction of the full-array cost.
What to do next
Start with the roof, not the panels. Get a roofer to tell you the roof's remaining life in years; most will do a basic inspection cheaply or free. Then take that number into your solar shopping. If the roof has plenty of life, move straight to comparing solar quotes. If it is near the end, get the roof replaced first and install solar on the new surface, ideally coordinating the two so you are not paying for two separate mobilizations.
When you are ready to see what solar would cost and save on your specific roof, our solar calculator uses satellite roof analysis to estimate system size and savings, and you can compare quotes from pre-screened local installers who can give you a firsthand read on your roof's condition as part of the process.
Frequently asked questions
Can you put solar panels on an old roof?
Physically, yes. Installers can mount panels on most structurally sound roofs. The question is whether you should. If your roof is within about 10 years of needing replacement, putting solar on it means you will likely pay to remove and reinstall the panels mid-system-life, which runs $2,800–$5,900 on top of the new roof itself.
How much does it cost to remove and reinstall solar panels for a roof replacement?
Most homeowners pay between $2,800 and $5,900 to remove and reinstall an existing solar array, with a national average near $3,800–$4,400 (Fixr, 2025). The figure scales with panel count, roof complexity, and whether the inverter or wiring needs work. That is money spent purely on labor; it adds no generation capacity.
How long does a roof last compared to solar panels?
Asphalt shingle roofs typically last 20–30 years, with cheaper 3-tab shingles closer to 15–25 and architectural shingles 25–30. Solar panels are warrantied for about 25 years and often generate beyond that. The goal is to roughly align the two lifespans so the roof does not fail years before the panels do.
Will solar panels damage or protect my roof?
Properly installed panels generally protect the section of roof beneath them from UV, rain, and hail, and can slightly slow shingle aging there. The risk is not the panels themselves but the penetrations where mounting hardware attaches. A reputable installer flashes and seals those properly; a bad one creates leak points.
Does installing solar void my roof warranty?
It can. Drilling mounting hardware into the roof may void portions of a roofing manufacturer or workmanship warranty if the solar installer is not certified to work on that roof type. Ask both your roofer and your solar installer about warranty interaction before installing, and get the answer in writing.