Solar panels can last for 25 years or more. However, their efficiency will gradually decline over time.