The color code for wiring is the fundamental language of electrical safety, dictating circuit function and preventing catastrophic faults. However, a black wire in the US means something entirely different than a black wire in Europe, and a white wire in a modern US home might not be a neutral if it is acting as a switch leg. Below is the definitive, table-forward reference for identifying AC power conductors across major global standards, followed by the edge cases and testing protocols you need when dealing with faded or legacy installations.
Master Reference: AC Power Color Code for Wiring (NEC, IEC, UK)
Before opening a panel or junction box, identify your region's governing standard. In North America, the NFPA 70: National Electrical Code (NEC) dictates conductor identification (specifically Articles 200, 210, and 250). In Europe and the UK, IEC 60446 and BS 7671 apply. Read the tables below to map the insulation color to the conductor's physical role in the circuit.
Table 1: US & Canada (NEC) AC Wiring Colors
| Conductor Role | 120/240V Split-Phase (Residential) | 120/208V 3-Phase (Commercial) | 277/480V 3-Phase (Industrial) |
|---|---|---|---|
| Line 1 (Hot/Ungrounded) | Black | Black | Brown |
| Line 2 (Hot/Ungrounded) | Red | Red | Orange |
| Line 3 (Hot/Ungrounded) | N/A (Blue if 3-phase) | Blue | Yellow |
| Neutral (Grounded) | White or Gray | White or Gray | White or Gray |
| Ground (Equipment Bonding) | Bare Copper or Green | Bare Copper or Green | Bare Copper or Green |
Table 2: Europe (IEC 60446) & UK (BS 7671) AC Wiring Colors
| Conductor Role | IEC / Modern UK (Post-2004) | Legacy UK (Pre-2004) | Practical Function in Circuit |
|---|---|---|---|
| Line 1 (Live) | Brown | Red | Carries alternating current from the source to the load. |
| Line 2 (Live) | Black | Yellow | Second phase in 3-phase or second hot in split-phase. |
| Line 3 (Live) | Grey | Blue | Third phase in 3-phase systems. |
| Neutral | Blue | Black | Provides the return path to the source; bonded to ground at the service entrance. |
| Earth (Ground) | Green/Yellow Stripe | Green (or Green/Yellow) | Safety fault path; carries current only during a ground fault to trip the breaker. |
What these rows mean in practice: The 'Line' (or Hot/Live) conductors are ungrounded and carry the full system voltage relative to earth. The 'Neutral' is a current-carrying conductor that is intentionally grounded at the main service panel; it completes the circuit but can still carry lethal voltage if the return path is broken upstream. The 'Ground' (or Earth) is strictly a non-current-carrying safety shield. It provides a low-impedance path back to the panel to ensure a breaker trips instantly if a hot wire touches a metal appliance chassis.
Always de-energize the circuit at the breaker panel before inspecting wire colors. Lock out or tag the breaker, and verify the circuit is dead using a known-working non-contact voltage tester (NCVT) and a multimeter. NEC-style guidance is provided here for educational purposes; your local Authority Having Jurisdiction (AHJ) or licensed electrician has final authority on code compliance.
The "Rows People Get Wrong" & High-Voltage Edge Cases
Memorizing the standard tables is only the first step. In the field, installers frequently encounter exceptions mandated by code or born from practical necessity. Here are the specific scenarios where the standard color code for wiring is intentionally altered, and how to interpret them safely.
1. The White "Switch Leg" Exception (NEC 200.7(C)(2))
In residential lighting, power often drops into the ceiling fixture first, and a 2-wire cable runs down to the wall switch. In this configuration, the white wire in the cable is used to carry switched hot power back up to the light, not neutral. The Rule: When a white wire is used as an ungrounded (hot) conductor, the NEC requires it to be permanently re-identified at both terminations. You must wrap black or red electrical tape (or use heat shrink) around the insulation at the splice points. If you open a switch box and see a white wire connected to the brass screw of a single-pole switch, treat it as a live 120V hot until proven otherwise.
2. 277/480V Commercial 3-Phase (The Brown/Orange/Yellow Trap)
DIYers and residential electricians transitioning to commercial work frequently miswire 480V panels because they default to Black/Red/Blue. In the US, 277/480V 3-phase systems strictly use Brown, Orange, and Yellow for the hot legs. Using black tape on a 480V orange leg creates a massive safety hazard for the next technician who assumes the circuit is de-energized because it doesn't match their mental model of a 120/208V panel. Furthermore, the high-leg delta (240V 3-phase with a 120V center tap) requires the 208V-to-ground wild leg to be identified as Orange, regardless of the system's overall voltage class.
3. 3-Way and 4-Way Switch Travelers
When wiring multi-way switches, the two 'traveler' wires run between the switches to carry the hot connection depending on the toggle position. The NEC does not mandate a specific color for travelers. In practice, when using standard 14/3 or 12/3 NM-B cable, the red and black wires are used as travelers, while the white wire serves as the neutral (or the re-identified hot feed, depending on the wiring topology). Never assume a red wire is exclusively a secondary hot phase in a residential switch box; trace it or test it.
Faded, Unmarked, or Legacy Wiring: Safe Interpretation Protocols
Color insulation degrades. THHN wire in a 130°F attic can fade to a uniform dusty grey over a decade. Older homes may feature cloth-covered wiring, knob-and-tube, or early rubber insulation where black and white have both faded to a muddy brown. When visual identification fails, you must rely on electrical measurement, not guesswork.
Step-by-Step Verification with a Multimeter
When markings are faded or missing, use a digital multimeter (DMM) set to AC Voltage (V~) to map the conductors safely while the circuit is energized. Use a known-good ground (like a bare copper water pipe or a verified grounded metal box) as your reference.
- Test Conductor A to Ground: If you read 114V–126V (in a 120V system), Conductor A is your Line (Hot).
- Test Conductor B to Ground: If you read 0V to 2V, Conductor B is likely your Neutral.
- Test Conductor A to Conductor B: You should read the full system voltage (114V–126V). This confirms the circuit is complete.
- Load Test (The definitive check): Plug in a high-draw load (like a hair dryer or space heater) on the circuit. Re-measure Neutral to Ground. A healthy neutral will show a slight voltage rise (typically 0.5V to 2.0V) due to voltage drop across the wire's resistance. If the 'neutral' reads 120V to ground under load, you have an open neutral or a bootleg ground.
Spotting "Bootleg Grounds" in Legacy Systems
In older homes where 2-prong outlets were illegally upgraded to 3-prong receptacles without running a new ground wire, bad actors often install a jumper wire between the neutral (silver) terminal and the ground (green) terminal on the back of the receptacle. This is a bootleg ground. It tricks a cheap plug-in receptacle tester into showing "Correct," but it is lethal: if the neutral wire breaks upstream, the metal chassis of any plugged-in appliance becomes energized at 120V. The Fix: Always remove the receptacle cover and visually inspect the terminal screws. If you see a jumper between silver and green, remove the receptacle. Replace it with a GFCI receptacle (which provides shock protection without an equipment ground) and apply the included "No Equipment Ground" sticker, or pull a new 3-wire cable with a dedicated green/bare ground conductor back to the panel.
Understanding the color code for wiring is about more than memorizing a chart; it is about understanding the physical behavior of the circuit and verifying assumptions with test equipment. When in doubt, treat every unverified conductor as energized and test before you touch.






