First, check your manufacturer’s warranty. You may need to contact them if your panels go bad before their time. Depending on the quality solar panels can last 20 to 40 years. Be aware that the efficiency of solar panels decreases over the life of the panel by as much as 20% at roughly the 25-year mark.
