Most solar panels come with a warranty of 25 years, and many installations can last 30 years or more with proper maintenance.