Electrical wire colour coding is a standardized visual system that identifies the specific function and voltage status of a conductor within a circuit. It changes a chaotic bundle of copper into a predictable, safe map, dictating which wire carries live current, which returns it, and which protects you from faults. People commonly confuse the white 'neutral' wire with a 'ground' wire, assuming both are safe to touch because they share a bond at the main service panel—a mistake that can be fatal under load.
Whether you are pulling new 14/2 NM-B for a bedroom receptacle or troubleshooting a legacy 3-way switch, understanding the exact legal and practical application of these colours is non-negotiable. This guide breaks down the modern standards, provides a real-world numeric sizing example, and dissects a common wiring failure to show exactly where the colour rules save lives.
Decoding the Standard: US NEC vs. UK/EU IEC Colours
The colour of a wire's insulation tells you its job. However, the specific colour assigned to that job depends entirely on your regional electrical code. In North America, the NFPA 70 National Electrical Code (NEC) governs conductor identification. In the UK and Europe, the IEC 60446 standard (adopted into BS 7671) applies. Mixing these up when working with imported appliances or reading international schematics is a frequent source of errors.
| Function | US / Canada (NEC) | UK / EU (IEC 60446) | Common Cable Type (US) |
|---|---|---|---|
| Line / Hot (Phase 1) | Black | Brown | 14/2 or 12/2 NM-B |
| Line / Hot (Phase 2) | Red | Black | 14/3 or 10/3 NM-B |
| Neutral (Grounded) | White or Grey | Blue | All standard NM-B |
| Earth Ground (Equipment) | Bare or Green | Green/Yellow Stripe | All standard NM-B |
| Traveler / Switched Hot | Red, Black, or Blue | Brown or Black (sleeved) | 14/3 or 14/4 NM-B |
Where You Meet This In Practice
You will interact with these colour codes constantly across three primary residential scenarios:
- Standard 120V Receptacles: You will strip a 12/2 or 14/2 NM-B cable. The black wire terminates on the brass (hot) screw, the white wire on the silver (neutral) screw, and the bare copper on the green grounding screw. Torque the terminal screws to the manufacturer's specification (typically 14 in-lbs for standard 15A/20A devices) to prevent arcing.
- 240V Split-Phase Appliances: For electric ranges or dryers, you will use a 4-wire cable (e.g., 10/3). Here, both black and red carry 120V each (240V across them), the white carries the 120V return for the appliance's control board, and the bare wire handles fault currents.
- 3-Way Switch Loops: When wiring a light controlled from two locations, the red and black wires in a 14/3 cable act as 'travelers' carrying the switched hot between the two switch boxes. The white wire in this specific cable run is often re-identified with black tape to serve as the common hot feed.
Worked Numeric Example: Sizing and Colouring a 240V Dryer Circuit
Let's walk through a precise calculation and colour assignment for a standard residential electric dryer to see how wire sizing and colour codes intersect.
The Setup: You are installing a new 30A receptacle (NEMA 14-30R) for a 5500W electric dryer. The run from the main panel to the outlet is 60 feet.
The Math:
Current (I) = Power (P) / Voltage (V)
I = 5500W / 240V = 22.9 Amps.
While 22.9A is the baseline load, NEC Article 210.23 and standard residential practices dictate a 30A breaker for dryers. According to NEC Table 310.16, we must size the wire based on the 60°C column because standard NEMA receptacles and NM-B cable terminations are rated for 60°C, even if the THHN wire inside the panel is rated for 90°C.
- 10 AWG Copper at 60°C: Rated for 30 Amps. (Perfect match).
- Voltage Drop Check: 22.9A on 10 AWG copper over 60 feet yields a voltage drop of roughly 2.8V (1.1%), well below the 3% NEC recommendation for branch circuits.
The Colour Assignment (10/3 NM-B with Ground):
- Black (Hot A): Connects to the X terminal (120V to neutral, 240V to Hot B).
- Red (Hot B): Connects to the Y terminal (120V to neutral, 240V to Hot A).
- White (Neutral): Connects to the W (center) terminal. This provides the 120V return path for the dryer's timer, motor, and electronics.
- Bare (Ground): Connects to the G terminal and the metal outlet box. This carries fault current only during a short circuit.
Real-World Scenario Walkthrough: The Switched Outlet Disaster
To understand why colour codes are enforced so strictly, let's look at a common DIY failure involving a half-hot receptacle (top half controlled by a wall switch, bottom half always on).
Setup: A homeowner wants to wire a living room outlet so a floor lamp can be switched. They run a 14/3 NM-B cable (Black, Red, White, Bare) from a single-pole switch to the 15A duplex receptacle. The switch box receives a 14/2 feed (Black hot, White neutral).
Numbers: The circuit is 120V nominal, protected by a 15A breaker. The 14 AWG wire is rated for 15A at 60°C. The load (a 150W LED floor lamp) draws roughly 1.25A.
Outcome: The DIYer connects the white wire of the 14/3 cable to the brass (hot) screw on the receptacle to carry the 'always-hot' power down from the panel. They use the black wire as the 'switched-hot' return from the switch to the top brass screw. They cap the red wire with a wire nut, assuming it's a spare. The lamp works perfectly when the switch is flipped.
What Went Wrong: This installation violates NEC 200.7(C) and creates a severe shock hazard. The NEC strictly forbids using a white or grey wire as an ungrounded (hot) conductor unless it is permanently re-identified with black tape, paint, or a marker at every single termination point. The DIYer failed to wrap the white wire in black electrical tape at the receptacle and the switch.
Three years later, the homeowner decides to replace the receptacle with a smart plug. They turn off the breaker, but accidentally trip the wrong one. Seeing the white wire connected to the brass screw, their brain registers 'white = neutral = safe'. They grab the white wire to pull it out of the backstab terminal and take a full 120V shock. Furthermore, using white for always-hot and black for switched-hot reverses the intuitive hierarchy (black should be the primary feed, red or black-taped-white should be the switch leg). The colour code exists to prevent exactly this cognitive trap.
Frequently Asked Questions
Can I use a green wire for a hot conductor if I tape it black?
No. NEC 250.119 strictly prohibits re-identifying green or bare wires as anything other than an equipment grounding conductor. While you can tape a white wire to make it hot (under specific conditions), you can never use a green or bare wire for current-carrying purposes. Doing so defeats the universal safety standard that green/bare means 'safe to touch'.
What do I do if my old house has black, white, and no ground wire?
If you are working with legacy 2-wire NM cable (common in homes built before the 1960s), you lack an equipment ground. You cannot legally install a standard 3-prong receptacle and use a 'bootleg ground' (jumpering the neutral screw to the ground screw). According to OSHA Electrical Safety Standards and NEC 406.4(D), your legal options are to either run a new grounded cable, or install a GFCI receptacle and label it 'No Equipment Ground'. The GFCI will protect you from shocks even without a ground wire.
Why do some 12/2 cables have a yellow jacket and others are white?
The outer jacket colour of NM-B cable indicates the wire gauge inside, which helps inspectors and electricians verify breaker sizing at a glance. White jackets typically house 14 AWG wire (15A circuits), while yellow jackets house 12 AWG wire (20A circuits). Orange jackets indicate 10 AWG (30A circuits). The internal conductor colours (black, white, bare) remain exactly the same regardless of the outer jacket colour.
Are UK and US colour codes converging?
No. While the UK harmonized with the European IEC standard in 2006 (moving from Red/Black to Brown/Blue), North America maintains its own distinct NEC colour system. If you are wiring a home in the US, you must use US colours. If you are importing a European appliance, you will need to carefully map the Brown (Live), Blue (Neutral), and Green/Yellow (Earth) to the US Black, White, and Bare connections at the plug or hardwired junction. For deeper insights into international harmonization, refer to the IET Wiring Matters archives.






