Electricity wiring colours are a standardized insulation coding system that identifies the specific electrical function and voltage potential of a conductor within a circuit. In a real installation, these colours dictate exactly which terminal a wire lands on—connecting a hot conductor to a neutral bus bar will instantly trip a breaker or cause a catastrophic dead short, while misidentifying a switched hot as a neutral leaves a device energized and lethal when you think it is off. The most common and dangerous confusion arises when DIYers assume a white wire is always a neutral, failing to recognize that in older switch loops or modern 3-way setups, white conductors are frequently repurposed as always-hot or switched-hot legs.
Standard US NEC Color Codes for Residential AC
In the United States, the National Fire Protection Association (NFPA) dictates conductor identification through NFPA 70, commonly known as the National Electrical Code (NEC). While the NEC strictly mandates the colours for neutral (white/grey) and ground (green/bare), it is surprisingly flexible on 'hot' or 'line' conductors, allowing any colour except white, grey, or green. However, decades of trade practice have established a rigid de facto standard for residential 120V/240V split-phase systems.
| Function | Standard US NEC Color | Terminal / Bus Connection | IEC (UK/EU/AU) Equivalent |
|---|---|---|---|
| Hot (Line 1) | Black | Brass screw / Breaker terminal | Brown |
| Hot (Line 2 / Traveler) | Red (or Blue) | Brass screw / Breaker terminal | Black (or Grey) |
| Neutral (Grounded) | White (or Grey) | Silver screw / Neutral bar | Blue |
| Ground (Equipment) | Bare Copper or Green | Green screw / Ground bar | Green/Yellow Stripe |
For international readers or those working with imported machinery, the IEC 60446 standard (used in the UK, EU, and Australia) shifts the palette entirely. A brown wire in an IEC system is your hot leg, not a secondary traveler. Always verify the standard your specific equipment or regional Occupational Safety and Health Administration (OSHA) jurisdiction enforces before terminating connections.
Where You Meet This in Practice: A 20A Kitchen Circuit Example
Let us trace a real-world installation to see how these colours translate to physical current flow and load calculations. Imagine you are wiring a 20A Small Appliance Branch Circuit (SABC) for a kitchen counter using 12/2 NM-B (Romex) cable.
You plug in a 1500W toaster. Using Ohm's law derived power formula ($I = P / V$), we calculate the current draw: 1500W / 120V = 12.5A. This draws 62.5% of the 20A breaker's capacity, keeping it safely below the NEC's 80% continuous load threshold (though toasters are classified as non-continuous loads).
Here is exactly how the colours route that 12.5A load:
- Black (Hot): Originates at the 20A breaker's brass terminal in the main panel. It travels through the 12/2 cable and terminates on the brass screw of the duplex receptacle. This supplies the 120V potential.
- White (Neutral): Originates at the panel's silver neutral bus bar. It travels alongside the black wire and terminates on the silver screw of the receptacle. This completes the circuit, carrying the 12.5A return current back to the source.
- Bare Copper (Ground): Originates at the panel's ground bus bar. It terminates on the green grounding screw of the receptacle. Under normal operation, this wire carries exactly 0A. It only carries current during a fault condition to trip the breaker.
What changes if you swap black and white? AC current alternates, so the toaster's heating element will still heat up. However, the receptacle's internal polarity is reversed. If you plug in a lamp, the lamp's switch will now break the neutral path instead of the hot path. The bulb will turn off, but the entire metal socket sleeve remains energized at 120V, creating a severe shock hazard if you touch it while changing the bulb.
International Variations and Multi-Wire Branch Circuits
When you move beyond simple 120V branch circuits, colour combinations take on critical mathematical significance. Consider a Multi-Wire Branch Circuit (MWBC), often used to supply two kitchen countertops from a single 12/3 or 14/3 NM-B cable. An MWBC uses a Black hot, a Red hot, and a shared White neutral.
The Black and Red wires must be connected to breakers on opposite phases (legs) of your 240V split-phase panel. When on opposite legs, the 120V sine waves are 180 degrees out of phase. If Black carries 12A and Red carries 10A, the shared White neutral only carries the difference (2A). If an amateur places both breakers on the same phase leg, the neutral carries the sum (22A). A 14 AWG white wire rated for 15A will overheat, melt its insulation, and start a fire inside the wall cavity, all while the breakers happily remain un-tripped because the hot legs are only seeing 12A and 10A respectively.
Common Mistakes and Code Violations
Warning: The 'Phantom' Neutral Trap
In homes wired before the 2011 NEC update, electricians routinely ran 2-wire cable (Black and White) from a ceiling light down to a wall switch. In this 'switch loop', the White wire was used as the always-hot feed down to the switch, and the Black wire was the switched-hot returning to the light. There is no neutral wire in that switch box. If you attempt to install a modern smart switch or motion sensor that requires a neutral wire, you cannot use the white wire in the box. Doing so will dead-short the circuit or destroy the smart switch's internal logic board. You must either pull new 3-wire cable or use a smart switch specifically designed to work without a neutral (which leaks a small current through the load).
Another frequent violation involves failing to re-identify conductors. NEC Article 200.7(C) strictly requires that if a white wire is used as an ungrounded (hot) conductor, it must be permanently re-identified at both ends using black tape, permanent marker, or heat shrink tubing. Leaving a white wire unmarked while using it as a hot leg is a guaranteed way to cause a lethal shock to the next person who opens that junction box assuming it is dead.
Frequently Asked Questions About Electricity Wiring Colours
Can I use a white wire as a hot conductor in a switch loop?
Yes, but NEC 200.7(C) mandates you must permanently re-identify it with black tape or marker at both the origin and the switch box. Furthermore, modern code (NEC 2011 and later) requires a true neutral at most switch locations to accommodate smart home devices. This means you should be pulling 3-wire cable (e.g., 14/3 or 12/3) to switches, using black for always-hot, red for switched-hot, and leaving the white wire untouched as the actual neutral.
What colour is the ground wire in older homes without a bare copper?
In older NM cable (pre-1960s) or certain conduit systems, you will not see a bare wire. In flexible metal conduit (FMC) or older armored cable (BX), the metal armor itself sometimes acts as the ground path, though modern AC cable includes a thin internal aluminum bonding strip for this purpose. If you are dealing with ungrounded cloth-sheathed Romex or knob-and-tube, there is no equipment ground. Per NEC 406.4(D), you must either rewire the circuit, install a GFCI receptacle marked 'No Equipment Ground', or run a separate retrofit ground wire back to the panel per NEC 250.134.
Why are there two black wires and one white wire on my light switch?
This is a standard single-pole switch loop configuration where the switch also feeds power downstream. The white wire is the neutral passing through the box (it should be wire-nutted to the other white wires and not connected to the switch). One black wire is the always-hot feed from the panel, and the second black wire is either the switched-hot going up to the light, or a continuation of the always-hot feed to another outlet. The switch simply bridges the two brass terminals; it never connects to the white neutral.
Do electricity wiring colours change for 240V appliances like dryers?
Yes. A standard 120/240V electric dryer uses a 4-wire setup (typically 10/3 NM-B or 10 AWG THHN in conduit). You will see Black (Hot Leg A, 120V to neutral), Red (Hot Leg B, 120V to neutral, but 240V measured across Black and Red), White (Neutral for the 120V timer, controls, and motor), and Bare/Green (Equipment Ground). Older 3-prong dryers combined the neutral and ground on a single white/grey wire, a dangerous practice banned by the NEC in 1996 because a failed neutral connection would energize the dryer's metal chassis with 120V.






