The answer to 'lifespan of electrical panel' is that a properly maintained electrical panel can last 25-40 years on average. Electrical panels are designed to withstand regular use and the elements, but their lifespan can vary depending on factors like the quality of the installation, the electrical load, and environmental conditions.
Older panels made with outdated materials or technology may need to be replaced sooner, often within 20-25 years. It's important to have your electrical panel inspected regularly by a licensed electrician to ensure it's functioning safely and efficiently. They can identify any signs of wear or damage and recommend repairs or replacement if necessary.