The exact colour code wires use in your junction box or distribution board depends entirely on your region, the governing electrical code, and the year the building was wired. In the US and Canada, the National Electrical Code (NEC) mandates black for hot, white for neutral, and green or bare copper for ground. In the UK and Europe, IEC 60446 and BS 7671 dictate brown for live, blue for neutral, and green/yellow for earth. Below is the master reference table to identify your conductors immediately, followed by the specific edge cases that cause the most electrical faults.
Master Wire Colour Code Reference Table
Use this spec-sheet-table to cross-reference the conductors in your panel. Always verify with a meter before touching any terminal, as previous owners or DIYers frequently ignore code requirements.
| Function | US / Canada (NEC) | Europe & UK (IEC / BS 7671) | Old UK (Pre-2004) |
|---|---|---|---|
| Line / Hot (Single Phase) | Black | Brown | Red |
| Neutral | White or Grey | Blue | Black |
| Earth / Ground | Green, Green/Yellow, or Bare | Green/Yellow | Green (or Bare) |
| Line 2 (Split/3-Phase) | Red or Blue | Black | Yellow |
| Line 3 (3-Phase) | Blue or Yellow | Grey | Blue |
| High-Leg Delta (US Only) | Orange | N/A | N/A |
The Rows People Get Wrong (And Why It Matters)
Memorizing the table above is only half the battle. The most dangerous wiring faults occur when installers misuse a standard colour for a non-standard function. Here are the specific rows and scenarios that trip up even experienced hobbyists.
1. The White Wire in a Switch Loop
In older US residential wiring (pre-2011 NEC updates), a 2-wire NM-B cable was often run from a ceiling fixture down to a wall switch. The black wire carried hot down to the switch, and the white wire carried the switched hot back up to the light. If you see a white wire connected to a brass (hot) screw on a single-pole switch, it is acting as a line conductor, not a neutral. Per NEC 200.7(C)(2), this white wire must be permanently re-identified with black tape or marker at both ends. If it isn't, you risk assuming it's neutral and creating a dead short.
2. Old UK Black vs. Modern IEC Black
If you are working in a UK home built before 2004, a black wire is the neutral. If you are working in a modern European appliance cord or a post-2004 UK installation, a black wire is Line 2 (Hot) in a 3-phase system. Mixing these up during a consumer unit (breaker panel) swap will result in a catastrophic phase-to-neutral short or energized appliance chassis.
3. The High-Leg Delta Orange Wire
Found primarily in older US commercial and light-industrial panels, the High-Leg (or Wild-Leg) Delta system provides both 120V and 240V three-phase power. The B-phase leg measures 208V to ground/neutral, rather than the standard 120V. The NFPA 70 (NEC) Article 110.15 strictly requires this conductor to be identified by the colour orange. Plugging a standard 120V appliance or smart home relay into a breaker tied to the orange high-leg will instantly destroy the device and pose a severe fire hazard.
Regional Standards: Which Code Applies to Your Panel?
To safely interpret colour code wires, you must first establish the legal standard for your jurisdiction. Local Authorities Having Jurisdiction (AHJ) always have the final say, but these are the baseline frameworks:
- North America (US & Canada): Governed by the NEC (NFPA 70) and CEC. Neutral must be white or grey; ground must be green, green/yellow, or bare. Hot wires can be any colour except white, grey, or green. Standard residential split-phase uses black (Line 1) and red (Line 2).
- United Kingdom: Governed by BS 7671 (The IET Wiring Regulations). The UK harmonized with European IEC colours in 2004 (Brown=Live, Blue=Neutral). If you open a junction box and see a mix of red/black (old) and brown/blue (new) wires, you must install a permanent warning label at the distribution board stating "CAREFUL: THIS INSTALLATION CONTAINS BOTH OLD AND NEW CABLE COLOURS".
- Europe & International: Governed by IEC 60446. Follows the same Live/Neutral/Earth scheme as the modern UK. For 3-phase systems, the standard line colours are Brown (L1), Black (L2), and Grey (L3).
- Australia / New Zealand: Governed by AS/NZS 3000. Active (Hot) is Brown, Neutral is Blue or Black, and Earth is Green/Yellow. Note that black can be used for neutral here, which differs from the modern EU 3-phase standard where black is L2.
Decision Tree: Identifying Faded, Painted, or Unmarked Wires
When you open a junction box and find wires where the colours are faded by UV/heat, painted over by drywallers, or completely non-standard, use this decision-tree-table to safely identify them. You will need a Non-Contact Voltage Tester (NCVT) and a True-RMS Digital Multimeter (DMM).
| Step / Condition | Measurement / Observation | Conclusion & Next Action |
|---|---|---|
| 1. Test with NCVT | NCVT beeps and glows red near the wire insulation. | Result: Wire is HOT (Line). Action: Mark with black or brown phase tape. Do not touch bare copper. |
| 2. NCVT is silent | NCVT shows no voltage indication. | Result: Wire is Neutral, Ground, or a broken Hot. Action: Proceed to Step 3 with DMM. |
| 3. DMM: Hot to Unknown | Set DMM to AC Volts. Measure between a known Hot wire and the Unknown wire. Reading is ~120V (US) or ~230V (UK/EU). | Result: Wire is NEUTRAL. Action: Mark with white or blue tape. Verify neutral bus bar connection. |
| 4. DMM: Hot to Unknown | Measure between a known Hot wire and the Unknown wire. Reading is 0V (or < 2V phantom). | Result: Wire is EARTH / GROUND. Action: Mark with green tape. Verify continuity to grounding electrode system. |
| 5. DMM: Neutral to Unknown | Measure between a known Neutral and the Unknown wire. Reading is ~120V/230V. | Result: Wire is a SWITCHED HOT or alternate phase. Action: Trace to switch/fixture. Re-identify as Hot. |
Safe Re-Identification: Concrete Picks and Procedures
Once you have definitively identified a wire using the decision tree above, you must legally and safely re-identify it if the original insulation colour is wrong or missing. The HSE and NEC both mandate that re-identification must be permanent and visible at every termination point.
Do not use cheap, generic vinyl electrical tape. In a warm panel (which routinely reaches 35°C–40°C under load), low-grade tape adhesive turns to gel, slips off the THHN insulation, and leaves the wire misidentified for the next person who works on the panel.
The Right Materials for the Job
- For Phase Taping (Hot wires used as neutral, or switch loops): Use 3M Scotch 35 Series vinyl electrical tape. It features a pressure-sensitive rubber adhesive that resists heat up to 105°C and maintains its dielectric strength. Wrap the tape tightly around the last 2 inches of the wire insulation, overlapping by half the tape width.
- For Permanent Panel Labeling: Use Brady BPM-43 or equivalent self-laminating wire markers. These wrap around the wire and feature a clear tail that seals the printed text, preventing it from fading under UV or rubbing off against other conductors in a crowded conduit.
- For THHN in Conduit: If you are pulling new wire and need a specific colour you don't have in stock, use heat-shrink tubing with adhesive lining (e.g., 3M EPS300) at the stripped ends. Slip it over the wire before terminating, and shrink it with a heat gun. This provides a semi-permanent, code-compliant colour marker that won't slide off when you pull the wire back through a junction box.
By combining the master colour code chart with a rigorous multimeter testing protocol and high-quality re-identification materials, you eliminate the guesswork from electrical troubleshooting. Always default to measuring the circuit, trust your meter over the insulation colour, and document any non-standard wiring you leave behind.






