A/C wire colors are a standardized visual coding system for alternating current conductors that identifies their voltage level, phase, and function (hot, neutral, or ground) to ensure safe installation and troubleshooting. Getting these colors right changes everything in a real installation: it dictates how overcurrent devices trip, prevents neutral-to-ground parallel paths that cause GFCI nuisance tripping, and stops the next person working on the panel from getting shocked by an assumed 'dead' white wire that is actually carrying 120V. Most commonly, DIYers and hobbyists confuse US NEC AC wire colors with IEC international standards (which use brown, black, and blue for single-phase AC) or with DC low-voltage color codes (where red and black rule), leading to dangerous cross-wiring when adapting imported power supplies, VFDs, or solar inverters.

The Master A/C Wire Color Chart (NEC Guidelines)

In the United States, the National Electrical Code (NEC) dictates AC wire color standards primarily through Articles 200 (Neutral), 210 (Branch Circuits), and 250 (Grounding). While the NEC strictly mandates the colors for neutral (white/gray) and ground (green/bare), the colors for ungrounded 'hot' conductors are largely established by industry convention and specific high-voltage NEC requirements rather than a single universal list for all voltages. However, the conventions below are universally enforced by inspectors and expected by licensed electricians across North America.

Spec-Sheet Table: Standard US AC Conductor Colors
System Voltage Phase A / Line 1 Phase B / Line 2 Phase C / Line 3 Neutral Ground
120/240V Split-Phase (Residential) Black Red N/A White Bare / Green
120/208V 3-Phase (Light Commercial) Black Red Blue White Bare / Green
277/480V 3-Phase (Industrial) Brown Orange Yellow Gray Bare / Green

Source: NFPA 70 (NEC) Articles 200, 210, and 250. Note: 277/480V neutral must be gray to distinguish it from 120/208V white neutrals when both systems share a raceway.

Worked Example: Wiring a 240V/120V Split-Phase Dryer Receptacle

To see how these colors translate to actual bench and jobsite work, let us look at wiring a NEMA 14-30R receptacle for an electric clothes dryer. This circuit requires both 240V for the heating element and 120V for the control board and drum motor.

The Setup:

  • Breaker: 30A double-pole (takes up two adjacent slots in a standard residential panel, connecting to both the L1 and L2 bus bars).
  • Wire: 10/3 NM-B (Romex) with ground, or four individual #10 AWG THHN conductors in conduit. Ampacity for #10 copper at 60°C is 30A, perfectly matching the breaker.
  • Receptacle Terminals: X (Hot 1), Y (Hot 2), W (Neutral), G (Ground).

The Color-to-Termination Mapping:

  1. Black (Phase A / L1): Connects to the X terminal. This leg carries 120V relative to neutral.
  2. Red (Phase B / L2): Connects to the Y terminal. This leg carries 120V relative to neutral, but is 180 degrees out of phase with the black wire.
  3. White (Neutral): Connects to the W terminal (the center blade on the plug). This is the current return path for the 120V control circuits.
  4. Bare Copper (Ground): Connects to the G terminal (the U-shaped pin). This is a safety shield that carries zero current under normal operation.
Numeric Verification with a Multimeter:
Before plugging in the dryer, energize the breaker and measure the voltages at the receptacle:
Black to Red (X to Y): Should read 240V (nominal range 228V-252V).
Black to White (X to W): Should read 120V.
Red to White (Y to W): Should read 120V.
White to Bare (W to G): Should read < 1V (ideally 0.0V). If you read 120V here, your neutral and ground are swapped or the neutral is floating—a critical fire and shock hazard.

Where You Meet This In Practice (And Common Confusions)

Theory is clean; existing walls are not. When you open up a junction box or a switch panel, you will frequently encounter scenarios where standard AC wire colors seem to be violated. Here is where you meet these edge cases in practice and how to handle them without getting hurt.

1. The Pre-2011 Switch Loop (White as a Hot)

If you are working in a home built before the 2011 NEC update, you will likely find a 2-wire switch loop at your light switches. In this legacy wiring method, power comes to the light fixture first. A 14/2 or 12/2 NM-B cable drops down to the switch. By convention, the white wire was used as the always-hot feed down to the switch, and the black wire was the switched-hot returning to the light.

The Fix: NEC 200.7(C) requires that if a white wire is used as an ungrounded (hot) conductor, it must be permanently re-identified with black or red paint, tape, or a sleeve at both ends. If you see a white wire connected to the brass screw on a single-pole switch with no black tape on it, assume it is hot until proven otherwise with a non-contact voltage tester or multimeter. (Note: NEC 2011 and later requires a neutral at every switch box, meaning modern switch loops use 3-wire cable, keeping white strictly as a neutral).

2. 240V Baseboard Heaters and the 'Taped White'

Many 240V resistive loads, like baseboard heaters or window AC units, do not require a neutral. They only need two hot legs and a ground. Installers will often run 12/2 NM-B cable (Black, White, Bare) from a double-pole breaker to the heater.

The Rule: Because there is no neutral on this circuit, the white wire must be used as the second hot leg (Phase B). Per NEC color coding requirements, you must wrap the white wire in black or red electrical tape at the panel and at the heater to legally re-identify it as a hot conductor. Never leave it bare white, or the next person will assume it is a neutral and touch it while the circuit is live.

3. 3-Way Switch Travelers

When wiring a 3-way switch system (controlling one light from two locations), you run a 3-wire cable (14/3 or 12/3) between the two switches. The black and red wires act as 'travelers' carrying the switched hot back and forth. The white wire in this specific cable run is not a neutral; it is the third traveler or the common feed, depending on the exact wiring topology. Always trace the circuit or use a continuity tester to identify travelers rather than assuming the white wire is a neutral return path just because of its jacket color.

4. IEC vs. NEC in Imported Equipment

If you are wiring a European-manufactured VFD (Variable Frequency Drive), industrial 3D printer, or imported solar inverter, the internal terminal blocks will use IEC 60446 colors. Single-phase AC will be Brown (Hot) and Blue (Neutral). If you blindly connect a US Black wire to a Blue terminal assuming it is hot, you will short the circuit. Always map the internal IEC colors to your external US NEC colors using a clear wiring diagram inside the enclosure.

Frequently Asked Questions

Can I use a green wire as a hot conductor if I run out of black?

No. NEC Article 250.119 strictly reserves green, green with yellow stripes, and bare copper exclusively for equipment grounding conductors. Using green as a hot wire is a severe code violation and a massive shock hazard. If you are out of black THHN, use red, blue, or brown instead, but never touch the green spool for ungrounded conductors.

What is the 'High-Leg' or 'Wild-Leg' delta, and what color is it?

In older commercial 120/240V 3-phase delta systems, one of the three phases (Phase B) has a higher voltage to neutral (208V instead of 120V). The NEC strictly mandates that this high-leg conductor must be colored Orange. If you open a commercial panel and see an orange wire, do not use it to wire a standard 120V receptacle, or you will instantly destroy the connected 120V appliance and trip the breaker.

Does the ground wire have to be bare copper?

No. While bare copper is standard in NM-B residential cable, THHN wire pulled in conduit often uses an insulated green wire for the ground. Furthermore, in certain high-interference environments or specific medical/IT installations, an isolated ground (IG) is used, which is identified by a green wire with a yellow stripe (or sometimes a dedicated orange receptacle with a green/yellow wire). Both bare and solid green function identically as equipment grounding conductors under standard NEC rules.