The electrical wires color code you need depends entirely on your region, voltage class, and phase configuration. Misidentifying a conductor can result in a dead short, equipment destruction, or fatal shock. Below is the master reference for US (NEC), International (IEC), and legacy UK systems, followed by the exact decision paths for your next wiring run.
Master Electrical Wires Color Code Reference Table
Use this table as your primary spec sheet. Note that US residential (120/240V) and US commercial (277/480V) use entirely different color schemes for their phase conductors to prevent cross-voltage miswiring in shared panels.
| Function | US NEC (120/240V Residential) | US NEC (277/480V Commercial) | IEC (Global / EU / Modern UK) | Old UK (Pre-2004) |
|---|---|---|---|---|
| Line 1 (Hot/Phase) | Black | Brown | Brown | Red |
| Line 2 (Hot/Phase) | Red | Orange | Black | Yellow |
| Line 3 (Hot/Phase) | Blue | Yellow | Grey | Blue |
| Neutral | White or Grey | Grey or White (with phase tape) | Blue | Black |
| Ground / Earth | Bare Copper or Green | Bare Copper or Green | Green with Yellow Stripe | Green (or Green/Yellow) |
Rows People Get Wrong (And How to Fix Them)
Even experienced DIYers trip over specific edge cases where standard color rules are legally modified or physically misleading. Here are the most common failures and how to address them.
The 'White Wire as Hot' Switch Loop
In older homes, you will often open a switch box and find a 2-wire cable (Black and White) where the White wire is actually the switched hot returning to the light fixture. According to NEC 200.7(C)(1), a white wire can be used as an ungrounded (hot) conductor if it is permanently re-identified at both terminations. The Fix: Wrap black or red electrical tape around the last 2 inches of the white wire's insulation at both the switch and the fixture. Never leave a white wire acting as a hot without re-identification.
The High-Leg Delta 'Orange' Wild Leg
In older US commercial buildings with a 240V 3-phase Delta service, one of the phase legs (usually B-phase) measures 208V to ground instead of the standard 120V. This is the 'High Leg' or 'Wild Leg'. The Fix: NEC 110.15 strictly mandates this conductor must be colored Orange. If you are pulling wire in a High-Leg Delta panel and use a standard Black/Red/Blue scheme, you risk connecting 120V single-phase loads to a 208V leg, instantly destroying the equipment. Always verify the B-phase voltage with a multimeter before terminating.
Ground vs. Neutral Bonding
People frequently confuse the Neutral (White/Blue) and Ground (Bare/Green) because they measure 0V between them at the main panel. The Fix: Neutral carries return current during normal operation; Ground only carries current during a fault. They are bonded only at the main service disconnect. In any subpanel, they must remain strictly isolated on separate bus bars.
Regional Variants: NEC vs. IEC vs. Old UK
Assuming a single global standard is a fast track to a short circuit. You must identify which code cycle and region governs your installation.
- US NEC (National Electrical Code): Governs the US and territories. Strictly separates 120/240V split-phase colors from 277/480V 3-phase colors. Grounding conductors must be bare, green, or green with a yellow stripe (NEC 250.119).
- IEC 60446 (International Electrotechnical Commission): Used across the EU, Asia, and modern UK. Standardizes 3-phase as Brown, Black, Grey. Neutral is always Blue. Earth is always Green/Yellow.
- Old UK (Pre-2004 BS 7671): Before the UK harmonized with the IEC in 2004, UK fixed wiring used Red (Live), Black (Neutral), and Green (Earth). If you are working in a UK home built before 2004, expect to see these legacy colors. Treat the old Black wire as a live Neutral, and be highly suspicious of mixed-color installations where old and new cables meet in the same junction box.
Decision Path: Selecting and Identifying Wire Colors
Use this decision tree to select the exact cable type and color configuration for your specific project. Do not guess; follow the path to the concrete material requirement.
| Scenario | If Your Application Is... | Then Your Concrete Pick Is... |
|---|---|---|
| Standard US 120V Receptacle | Wiring a 20A kitchen or bedroom outlet on a standard split-phase residential panel. | Buy 12/2 NM-B cable. Use Black (Hot to brass screw), White (Neutral to silver screw), Bare (Ground to green screw). |
| US 240V Appliance | Wiring a dryer, oven, or EV charger requiring two hots and a neutral. | Buy 10/3 or 6/3 NM-B (depending on ampacity). Use Black & Red (Hots), White (Neutral), Bare (Ground). Do not use 2-wire cable for modern 4-prong appliances. |
| EU/UK 230V Appliance | Wiring a standard European single-phase appliance or outlet. | Buy 3-core H07V-K or standard flex. Use Brown (Line), Blue (Neutral), Green/Yellow (Earth). |
| US 3-Way Switch Loop | Running cable between two switches to control one light from two locations. | Buy 14/3 or 12/3 NM-B. Use Black (Common), Red & White (Travelers). Re-identify the White traveler with black tape at both ends. |
Safe Interpretation When Markings Are Faded or Missing
Never trust wire color alone, especially in older homes, DIY renovations, or environments where UV exposure or heat has bleached the insulation. According to OSHA electrical safety guidelines, you must treat every conductor as energized until proven otherwise through testing.
Follow this exact verification protocol before touching any exposed conductor:
- Initial Scan: Use a Non-Contact Voltage Tester (NCVT) like the Fluke 1AC-II to check for the presence of an electromagnetic field around the wire jacket. This tells you if a hot wire is in the bundle, but it cannot identify neutral or ground.
- De-energize and Lockout: Turn off the breaker. If the panel is unlabeled, turn off the main breaker. Verify the NCVT no longer alerts on the known-hot wires.
- Multimeter Verification (Live Testing): If you must identify wires while the circuit is live (e.g., troubleshooting a multi-wire branch circuit), use a CAT III rated multimeter (like the Klein Tools MM400).
- Measure Line-to-Neutral: Should read nominal voltage (114V-126V in the US, 220V-240V in the EU).
- Measure Line-to-Ground: Should read the exact same nominal voltage.
- Measure Neutral-to-Ground: Should read between 0V and 2V. If you read full line voltage here, your neutral is open or floating, and the 'neutral' wire is currently carrying a lethal load.
- Permanent Re-identification: Once identified, use colored heat-shrink tubing or high-quality electrical tape (3M Super 33+) to mark the wire at every single junction box and termination point. Faded sharpie marks on white THHN insulation are unacceptable for passing inspection.
For deeper reading on grounding and bonding updates, refer to the Electrical Technology Wiring Color Codes Guide, which provides excellent visual breakdowns of international phase shifts. Always defer to your local Authority Having Jurisdiction (AHJ) when local amendments override standard NEC or IEC tables.






