Electrical code

Electrical installations
Wiring practice by region or country
Regulation of electrical installations
  • BS 7671 UK wiring regulations
  • IEC 60364 IEC international standard
  • Canadian Electrical Code (CE Code)
  • U.S. National Electrical Code (NEC)
Cabling and accessories
  • AC power plugs and sockets
  • Cable tray
  • Electrical conduit
  • Mineral-insulated copper-clad cable
  • Multiway switching
  • Steel wire armoured cable
  • Ring main unit
  • Ring circuit
  • Thermoplastic-sheathed cable
Switching and protection devices
  • v
  • t
  • e

An electrical code is a set of regulations for the design and installation of electrical wiring in a building. The intention of a code is to provide standards to ensure electrical wiring systems that are safe for people and property.

Such wiring is subject to rigorous safety standards for design and installation. Wires and electrical cables are specified according to the circuit operating voltage and electric current capability, with further restrictions on the environmental conditions, such as ambient temperature range, moisture levels, and exposure to sunlight and chemicals. Associated circuit protection, control and distribution devices within a building's wiring system are subject to voltage, current and functional specification. To ensure both wiring and associated devices are designed, selected and installed so that they are safe for use, they are subject to wiring safety codes or regulations, which vary by locality, country or region.

The International Electrotechnical Commission (IEC) is attempting to harmonise wiring standards amongst member countries, but large variations in design and installation requirements still exist.

List of electrical codes

See also