In the US (NEC), standard 120/240V single-phase wiring uses black, red, or blue for hot conductors, white or gray for neutral, and bare or green for ground. In Europe, the UK, and Australia (IEC), brown, black, and gray are hot, blue is neutral, and green-and-yellow is ground. Because guessing wrong means a lethal shock or a burned-down panel, you must identify the standard governing your region before stripping a single jacket.

The Master Electrical Wire Color Codes Reference Table

This table covers the most common residential and light-commercial voltage systems. Keep this bookmarked on your phone when you are standing in front of an open junction box.

Function US 120/240V (NEC) US 277/480V (NEC) EU / UK / AU (IEC) Old UK (Pre-2004)
Hot (Line 1) Black Brown Brown Red
Hot (Line 2) Red Orange Black Yellow
Hot (Line 3) Blue Yellow Gray Blue
Neutral White / Gray Gray Blue Black
Ground (Earth) Bare / Green Green / Green-Yellow Green-Yellow Green
⚠️ SAFETY WARNING: Never assume a wire's function based solely on its insulation color. Previous owners or DIYers frequently misuse colors. Always de-energize the circuit, lock out the breaker, and verify the wires are dead with a known-working multimeter or non-contact voltage tester (NCVT) before touching them.

Regional Standards: Which Rulebook Applies to You?

The color of the plastic insulation is dictated by the regulatory body in your region. Mixing standards in a single panel is a massive red flag for inspectors and a hazard for the next person who works on the board.

North America (NEC / NFPA 70): The National Electrical Code (NEC) governs the US. While the NEC doesn't strictly mandate the color of the "hot" ungrounded conductors (it just says they can't be white, gray, or green), industry standard practice—enforced by local Authorities Having Jurisdiction (AHJ)—dictates Black/Red/Blue for 120/208V and Brown/Orange/Yellow for 277/480V. Canada (CEC) follows nearly identical color conventions.

Europe, UK, Australia, and New Zealand (IEC 60446 / BS 7671): These regions follow the International Electrotechnical Commission harmonized colors. The UK officially adopted the IEC colors in 2004 (via BS 7671), aligning with the rest of Europe. Australia and New Zealand also use the IEC standard (AS/NZS 3000). If you are working in these regions, brown is always your primary phase, and blue is always your neutral.

The "Rows People Get Wrong" Trap

Experienced electricians know that the most dangerous wires are the ones that break the standard rules. Here are the specific scenarios where the table above will lead you astray if you aren't paying attention.

1. The "White as Hot" Switch Loop

In older US homes, 2-wire NM-B (Romex) was often run from a ceiling light down to a wall switch. The black wire carries hot down to the switch, and the white wire carries the switched hot back up to the light. Under NEC 200.7(C)(1), that white wire must be re-identified with black or red electrical tape at both ends. In practice, DIYers skip the tape. If you see a white wire connected to the brass (hot) screw on a single-pole switch, treat it as a live hot conductor.

2. 240V Appliances on 2-Wire Cable

Electric baseboard heaters, water heaters, and well pumps often run on 240V and do not require a neutral. Installers will use 12/2 or 10/2 NM-B cable, which contains a black, a white, and a bare wire. Both the black and the white are used as hot legs (Line 1 and Line 2). Again, the white wire must be taped black or red. If you measure 240V across black and white, the white is hot.

3. The Pre-2004 UK Black Neutral

If you are troubleshooting a home in the UK built before 2004, the IEC table will get you shocked. Under the old BS 7671 colors, black was the neutral wire, and red was the hot wire. When the UK harmonized with Europe in 2004, blue became neutral and brown became hot. In a mixed-age junction box, you might find old black (neutral) spliced to new blue (neutral). Always test with a meter in older British properties.

4. Bare Copper in Conduit

In the US, bare copper is perfectly fine as a ground wire inside NM-B (Romex) cable. However, if you are pulling individual THHN wires through EMT or PVC conduit, you cannot use bare copper for a ground. NEC 250.119 requires the equipment grounding conductor in a raceway to be insulated (green) or covered. Buy the green THHN.

Decision Tree: Identifying Unmarked or Faded Wires

Sun exposure, heat, and age can bleach wire insulation or make tracer threads invisible. If you open a box and cannot confidently identify the conductors by color, follow this strict testing sequence.

💡 PRO TIP: Invest in a true-RMS multimeter (like the Fluke 117 or Klein Tools MM400) and a reliable NCVT (like the Klein NCVT-2). Cheap testers give false positives near phantom voltages.
  1. Kill the Power & Verify: Turn off the breaker. Use your NCVT to confirm no voltage is present on any wire in the box.
  2. Visual Tracer Check: Look closely at the white/gray wires. NEC 200.7(B) allows neutral conductors to have a colored tracer thread woven into the insulation. If you see a red or black thread inside the white insulation, it is a dedicated neutral for a specific multi-wire branch circuit (MWBC).
  3. Restore Power & NCVT Sweep: Turn the breaker back on. Sweep the NCVT over the wires. The hot wires will beep aggressively. The neutral and ground should not trigger the tester (or will trigger very faintly due to induced phantom voltage).
  4. Multimeter Voltage Test (Line-to-Neutral): Set your meter to AC Voltage. Measure between the suspected Hot (from step 3) and suspected Neutral. You should read 114V–126V (in a 120V system).
  5. Multimeter Voltage Test (Line-to-Ground): Measure between the Hot and suspected Ground. You should read the same 114V–126V.
  6. Neutral-to-Ground Check: Measure between Neutral and Ground. This should read less than 2V. If it reads 120V, your neutral and ground are swapped. If it reads 0V under load but the breaker trips when you plug in a device, you have a bootleg ground (neutral and ground bonded downstream).

Quick-Select Decision Path for Your Next Project

Stop guessing at the hardware store. Use this decision path to pick the exact THHN wire colors and gauges for your next pull. All recommendations assume standard copper conductors in a 30°C ambient environment, per the 75°C column of NEC Table 310.16.

Project Scenario Breaker Size Wire Gauge (AWG) Exact Colors to Buy
Standard 120V Duplex Receptacle (Kitchen/Bath) 20A 12 AWG Black (Hot), White (Neutral), Green (Ground)
Standard 120V Lighting Circuit 15A 14 AWG Black (Hot), White (Neutral), Green (Ground)
240V Electric Dryer or Range 30A / 50A 10 AWG / 6 AWG Black (L1), Red (L2), White (Neutral), Green (Ground)
240V Water Heater (No Neutral Required) 30A 10 AWG Black (L1), White taped Red (L2), Green (Ground)
3-Phase 208V Commercial Motor Varies Varies Black (A), Red (B), Blue (C), Green (Ground)

Final Rule of Thumb: If you are pulling individual THHN through conduit, always buy green for the ground. While bare copper is legal inside NM-B cable, pulling bare wire through metal EMT conduit can cause the bare copper to scrape against the inside of the pipe, creating a short or damaging the wire. Green insulated THHN prevents this and keeps your inspector happy.