A: I replaced my 20-year old roof before adding solar panels. Taking the panels off to install a new roof will cost you more money, so if the roof will need replacing within the next few years, I think it is better to do it now. Solar panels will extend the life of the roof because it is the sun that deteriorates the asphalt not the wind and rain, and with solar panels, the asphalt is now shaded.