Solar panels typically have a lifespan of 25-30 years, with many continuing to produce energy well beyond that.