In the USA, the National Electrical Code (NEC) mandates specific wiring color codes to ensure safety and consistency across installations. For standard 120/240V residential circuits, Black or Red is Hot, White or Gray is Neutral, and Bare Copper or Green is Ground. However, commercial 3-phase systems and older homes introduce critical variations that can lead to dangerous miswiring if misunderstood.

Function 120/240V Single-Phase 208V 3-Phase (Wye) 480V 3-Phase (Wye) NEC Reference
Line 1 (Hot) Black Black Brown 210.5(C)(1)(a)
Line 2 (Hot) Red Red Orange 210.5(C)(1)(b)
Line 3 (Hot) Blue (if 3-wire) Blue Yellow 210.5(C)(1)(c)
Neutral (Grounded) White or Gray White or Gray White or Gray 200.6(A)
Equipment Ground Bare or Green Bare or Green Bare or Green 250.119

What Each NEC Color Code Means in Practice

The NEC (NFPA 70) does not just assign colors arbitrarily; the color coding reflects the electrical potential and the physical role of the conductor within the circuit. Understanding the 'why' behind the table prevents catastrophic mistakes at the panelboard.

Hot (Ungrounded) Conductors: Black, Red, Blue, Brown, Orange, Yellow

These wires carry the full supply voltage from the breaker to the load. In a standard 120V branch circuit, black is your standard hot. When wiring a 240V appliance (like a dryer or baseboard heater), you use both black and red to deliver two 120V legs that are 180 degrees out of phase, yielding 240V across them. In commercial 480V 3-phase systems, the NEC mandates Brown, Orange, and Yellow to visually warn electricians that they are dealing with lethal, high-voltage commercial power, not standard residential 120V.

Neutral (Grounded) Conductors: White or Gray

The neutral wire completes the circuit by carrying the unbalanced return current back to the transformer. Because it carries current under normal operation, it is a current-carrying conductor and must be treated with respect. Per NEC guidelines, white or gray is strictly reserved for grounded conductors. Gray is typically used in commercial 277/480V systems to differentiate the neutral from the white neutral of a 120/208V system running in the same conduit.

Equipment Grounding Conductors: Bare or Green

The ground wire carries zero current under normal operation. Its sole purpose is to provide a low-impedance fault path back to the panel to trip the breaker during a short circuit. NEC 250.119 allows bare copper, green, or green with one or more yellow stripes. Never use a green wire for a switched hot or a neutral; doing so will energize the entire grounding system of the building if a fault occurs.

Rows People Get Wrong & Faded Wire Protocols

Even experienced apprentices trip up on specific edge cases in the NEC color code rules. Here are the most common field mistakes and how to handle degraded wiring.

WARNING: High-Leg Delta Systems
In older commercial buildings with a 240V High-Leg Delta service, Phase B (the 'high leg') measures 208V to neutral, while Phases A and C measure 120V to neutral. The NEC strictly requires this high leg to be colored Orange. If you wire a standard 120V receptacle to the orange wire, you will instantly destroy the connected equipment and create a severe shock hazard.

Mistake 1: The 'Switch Loop' White Wire

In older homes wired before the 2011 NEC update, electricians commonly used standard 2-wire /w ground Romex (black, white, bare) to run power 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 fixture.

The Fix: Under NEC 200.7(C)(1), if a white wire is used as an ungrounded (hot) conductor, it must be permanently re-identified at every location where it is visible and accessible. Wrap the ends of the white wire with black electrical tape or use a black permanent marker. Never assume a white wire is neutral in an older switch box.

Mistake 2: Traveler Wires in 3-Way Switches

When wiring 3-way or 4-way switches, the 'traveler' wires carry the hot feed between switches. While the NEC doesn't mandate a specific color for travelers, it explicitly forbids using white, gray, green, or bare copper. Electricians typically use red, black, and blue. If you are replacing a 3-way switch and see two black wires and one red wire on the old switch, the red is almost always a traveler, and one black is the common (line/load).

Safe Interpretation When Markings Are Faded or Missing

If you are working in a home built before 1960, you will likely encounter cloth-sheathed wiring or early rubber insulation. Over decades, heat and oxidation cause black wires to fade to dark gray, and white wires to turn yellowish-beige. Never trust the color of pre-1950s wiring.

The Faded Wire Protocol:

  1. De-energize the panel: Shut off the main breaker or the specific branch circuit breaker.
  2. Verify dead: Use a non-contact voltage tester (NCVT) like the Fluke 2AC-II to confirm no AC field is present.
  3. Test continuity: With power off, use a digital multimeter (DMM) in continuity mode to trace which wire connects to the neutral bus bar and which connects to the breaker.
  4. Re-identify: Once traced, apply modern colored heat-shrink tubing or high-quality vinyl electrical tape at both ends of the run to bring the circuit up to modern visual standards.

Global Context: USA (NEC) vs. IEC vs. Old UK Standards

If you are importing machinery from Europe, working on international projects, or troubleshooting a home with mixed international DIY work, you must understand how USA wiring color codes compare to global standards. The International Electrotechnical Commission (IEC) standard 60446 dictates colors for most of the world, which are fundamentally different from the NEC.

Function USA (NEC / NFPA 70) Europe / Modern UK (IEC 60446) Old UK (Pre-2006)
Line 1 (Hot/Phase) Black Brown Red
Line 2 (Hot/Phase) Red Black Yellow
Line 3 (Hot/Phase) Blue Grey Blue
Neutral White or Gray Blue Black
Earth / Ground Bare or Green Green/Yellow Stripe Green (or Bare)

Why the Differences Matter

The most dangerous crossover occurs with the Neutral wire. In the USA, neutral is White. In the IEC (Europe), neutral is Blue. However, in the USA, Blue is a Hot wire (Line 3 or 480V Phase 3). If an American electrician wires a European-imported machine assuming the blue wire is neutral, they will dead-short a hot leg directly to the chassis or neutral bus.

Similarly, the Old UK standard used Black for Neutral, which in the USA and modern Europe is a Hot/Phase conductor. Always check the manufacturer's nameplate and wiring diagram on imported equipment, and verify conductor functions with a multimeter before terminating. For comprehensive safety practices regarding electrical testing and verification, refer to OSHA's electrical safety guidelines.

By memorizing the NEC table, respecting the high-leg delta exceptions, and treating every faded wire as unverified until tested with a meter, you ensure your installations remain safe, code-compliant, and easy for the next electrician to troubleshoot.