Solar panels typically have a lifespan of 25-30 years, but they can last longer with proper maintenance.