The Occupational Safety and Health Administration (OSHA) and the National Electrical Code (NEC), require that electrical panels have a minimum of 3 feet (36 inches) of clearance and a minimum headroom of 6.5 feet or the height of the equipment whichever is greater.