Electrical Wire Colors Meaning
Replacing a light switch, ceiling fan, or outlet? Decode what Black, White, Green, Red, and Brown wires actually do in US (NEC) and UK/European (IEC) systems.
Rule #1 of Electrical DIY: Never Rely on Color Alone!
Previous homeowners or unlicensed contractors may have wired circuits incorrectly or used white wires as hot switch legs without wrapping black tape around them. Always switch off the circuit breaker and test with an inductive non-contact voltage tester probe before touching any copper.
Black Wire
US (NEC 120V/240V)The primary power wire in standard North American household circuits. It carries electricity directly from the breaker panel to outlets and switches. Never touch without turning off the main breaker!
White Wire
US (NEC 120V/240V)Completes the electrical circuit by returning electricity back to the service panel. Even though it is grounded at the panel, a loose neutral under load can deliver a serious electric shock.
Bare Copper / Green Wire
US (NEC 120V/240V)A life-saving safety mechanism. It directs stray electrical fault currents safely into the physical ground (earth rod) to immediately trip the circuit breaker instead of electrocuting someone touching a metal appliance.
Red Wire
US (NEC 120V/240V)Secondary hot conductor. In 240V circuits (dryers, ovens, water heaters), red provides the opposite 120V phase leg. In 120V circuits, it serves as a traveler wire for 3-way stairway switches or interconnected smoke alarms.
Blue / Yellow Wire
US (NEC 120V/240V)Used as traveler wires pulled through metal conduit pipes in commercial or complex residential switch loops.
Brown Wire
UK & Europe (IEC 230V)The standard Live (phase) wire across all modern UK and European Union installations (harmonized since 2004). Replaced the old UK red wire.
Blue (UK/EU) Wire
UK & Europe (IEC 230V)CRITICAL WARNING: In Europe and the UK, Blue is the NEUTRAL return wire (replaced the old black neutral). In the US, blue is HOT! Never assume blue is harmless without checking geography.
Green & Yellow Striped Wire
UK & Europe (IEC 230V)International earth safety wire with dual green and yellow diagonal stripes for colorblind visibility. Connects to metal casings to divert electrical faults.
Red (DC) Wire
DC Low-Voltage (12V/24V)Direct current positive battery lead. In cars, solar panels, and electronics power supplies, red connects to the positive terminal (+).
Black (DC) Wire
DC Low-Voltage (12V/24V)FATAL CONFUSION ALERT: In DC circuits, Black is NEGATIVE (Ground)! In US AC household wiring, Black is 120V HOT! Never mix up AC and DC color codes.
Cheat Sheet: US (NEC) vs UK & European (IEC) Wire Colors
| Function | US / Canada (NEC 120V) | UK / EU Modern (IEC 230V) | Old UK (Pre-2004) |
|---|---|---|---|
| Hot / Live (Phase) | Black (or Red for 2nd leg) | Brown | Red |
| Neutral (Return) | White or Light Gray | Blue | Black (Caution!) |
| Ground (Earth) | Bare Copper or Green | Green & Yellow Striped | Bare Copper or Green |
| 3-Way Switch Traveler | Red or Blue | Black or Grey | Yellow or Blue |