A standard US 120V 3-wire AC mains circuit uses Black (Hot), White (Neutral), and Bare/Green (Ground) under NEC rules, while IEC-compliant regions use Brown, Blue, and Green/Yellow. If you are working on a 240V appliance, the neutral is dropped for a second hot leg (Red in the US, Black in IEC). Never assume wire colors are correct based on the jacket alone; always verify with a tested meter before making contact.

The Complete 3 Wire Color Code Reference Table

The table below maps the standard 3-wire configurations for both 120V (Line, Neutral, Ground) and 240V (Line 1, Line 2, Ground) circuits across the three most common global standards. Use this as your primary bench and jobsite reference.

Function US & Canada (NEC / NFPA 70) EU, Aus, NZ (IEC 60446) UK (Pre-2004 Legacy)
Line / Hot 1 Black Brown Red
Neutral (120V circuits) White (or Grey) Blue Black
Line / Hot 2 (240V circuits) Red Black Yellow
Earth / Ground Bare Copper or Green Green/Yellow Stripe Green (or Bare)

Note: For 240V-only loads (like baseboard heaters or water heaters), the Neutral wire is omitted, and the 3-wire cable carries Hot 1, Hot 2, and Ground. For 120V/240V split-phase loads (like dryers or ranges), a 4-wire code is required by modern NEC, adding a dedicated White neutral.

Regional Variants and 'Rows People Get Wrong'

While the table above covers the baseline standards, real-world jobsites and older homes are full of exceptions. The NFPA 70 (National Electrical Code) and international equivalents have specific carve-outs that trip up even experienced DIYers.

The 'White as Hot' Exception (NEC 200.7)

In North America, the most dangerous row to get wrong is the Neutral. When wiring a switch loop or a dedicated 240V circuit using standard 2-conductor NM-B cable (which contains Black, White, and Bare), the White wire is often used as a hot leg. According to NEC 200.7(C)(1), if you use a white wire as an ungrounded conductor (hot), you must permanently re-identify it with black or red UL-listed vinyl electrical tape at both ends. If you open a junction box and see a white wire without tape connected to a breaker or a switch terminal, assume it is lethal until proven otherwise.

The IEC vs. Old UK Clash

If you are working in the UK or on imported European machinery, the transition from the old British Standard (BS 7671 pre-2004) to the harmonized IEC 60446 colors creates a massive hazard. In the old UK code, Red was Live and Black was Neutral. In the modern IEC code, Brown is Live and Blue is Neutral. The danger arises when a modern IEC Brown (Live) wire is spliced into an old UK Black (Neutral) wire by someone who assumed Black meant ground or neutral in both systems. Always trace wires back to their origin or test them; never trust the color in a mixed-era UK installation.

⚠️ Callout Warning: Grounding Conductor Mix-ups
In IEC regions, the Earth wire is strictly Green with a Yellow stripe. In older US installations, you might find a solid Green wire. Never use a Green/Yellow wire as a current-carrying neutral or hot leg in any region. If you are pulling THHN through conduit and only have solid Green available for ground in the US, it is legal, but Green/Yellow is globally recognized as earth and should be your default purchase for new conduit runs to avoid future confusion.

Safe Interpretation When Markings Fade or Go Missing

THHN wire insulation degrades under UV exposure and high ambient heat. A black wire routed through a 130°F attic for a decade can fade to a pale purple or grey, while a white neutral can yellow to the point of looking like a faded orange. When colors are ambiguous, you must rely on measurement, not visual guessing.

Step 1: Non-Contact Voltage Test (NCVT)
Use a dual-range tester like the Klein NCVT-3. Bring the tip within 1 inch of the wire insulation. A high-voltage beep (usually indicated by a red LED) confirms a live hot leg. Note that NCVT testers can give false positives due to capacitive coupling (phantom voltage) from adjacent live wires in the same cable bundle.

Step 2: Multimeter Verification (The Definitive Test)
Set a high-impedance digital multimeter (like a Fluke 117) to AC Volts.

  • Hot to Ground: Should read 114V–126V (US) or 220V–240V (EU/UK).
  • Neutral to Ground: Should read less than 2V under load. If it reads 120V, you have an open neutral or you are measuring a switched hot leg.
  • Hot to Neutral: Should read nominal line voltage (120V or 230V).

If the circuit is de-energized and you need to identify wires in a long run, use the multimeter's continuity (ohms) setting. Bond the suspected ground wire to a known grounding busbar at the panel, then test for continuity (< 1 ohm) at the far end. As detailed in Electronics Tutorials on wiring codes, continuity testing is the only safe way to map faded wires without energizing a potentially faulted circuit.

3 Wire Color Code FAQ

What is the 3 wire color code for a 240V appliance like a water heater?

For a straight 240V resistive load that does not require 120V for controls (like a standard electric water heater or baseboard heater), the US NEC 3-wire color code is Black (Hot 1), Red (Hot 2), and Bare/Green (Ground). There is no neutral wire in this configuration. If you are wiring this using 10/2 NM-B cable (which only contains Black, White, and Bare), the white wire becomes Hot 2. You must wrap both ends of the white wire in black electrical tape to legally and safely re-identify it as a hot conductor.

Can I use the AC 3 wire color code for DC circuits like solar or batteries?

No. Applying AC mains colors to DC systems is a severe safety hazard that leads to fried inverters and short circuits. For DC systems (like 12V/24V/48V solar or LiFePO4 battery banks), the standard 3-wire code is Red (Positive/VCC), Black (Negative/GND), and Yellow or White (Data/Signal or Secondary Positive). Never use a white wire for DC ground, and never use a green/yellow wire for DC positive. Keep your AC THHN and DC automotive/solar wire spools physically separated in your workshop.

Why does my 3-wire cable have a Red wire instead of Black?

If you are looking at a cable with Red, White, and Bare wires, you are likely looking at a specialized fire alarm cable (FPL) or a specific low-voltage control wire, as standard NM-B power cables always lead with Black. However, if you are looking at a 4-wire cable (14/3 or 12/3 NM-B) used for 3-way switches or split-receptacles, the colors will be Black (Hot 1), Red (Hot 2 / Traveler), White (Neutral), and Bare (Ground). If you only see three wires and one is red, verify the cable jacket printing; it may be a 2-conductor cable where the manufacturer used red instead of black for the hot leg, which is permitted by the NEC as long as it is not white, grey, or green.