Yes, an electrical panel can be located above a sump pump. However, there are certain requirements that must be met in order for this to be done safely. The National Electrical Code (NEC) has specific guidelines that must be followed when installing an electrical panel in this location.
The NEC requires that the electrical panel be installed at least 6 inches above the flood level of the sump pump. This is to ensure that the electrical components within the panel will not be damaged by flooding. In addition, any wiring or conduits leading to and from the panel must also be installed at least 6 inches above the flood level of the sump pump.
It is important to note that if your home is located in an area that is prone to flooding, you may need to install your electrical panel higher than 6 inches above the flood level of your sump pump. This is something you should discuss with your electrician before having them install your new electrical panel.