The life expectancy of electrical panels can vary depending on factors such as the quality of the panel, its usage, environmental conditions, and maintenance. However, on average, a well-maintained electrical panel can last anywhere from 25 to 40 years.