AC wire colors are a standardized visual coding system applied to electrical conductor insulation to instantly identify the wire's voltage potential and circuit function (hot, neutral, or ground) in an alternating current system. In a real installation, correct color coding changes a chaotic, dangerous spaghetti of conductors into a predictable, code-compliant system that allows safe troubleshooting, ensures GFCI/AFCI devices function correctly, and prevents lethal phase-to-phase shorts. People commonly confuse US AC wire colors with automotive or marine DC wire colors (where red is positive and black is negative), or they mistakenly assume the white wire inside a wall switch box is always a neutral.

The Core US Standard: 120V/240V AC Wire Colors

For standard residential and light commercial split-phase systems (120V/240V), the National Electrical Code (NEC) mandates specific colors for grounded (neutral) and grounding conductors, while allowing some flexibility for ungrounded (hot) conductors. Think of a 120V AC circuit like a two-lane circular race track: the black wire is the incoming lane pushing cars (electrons), the white wire is the return lane bringing them back, and the bare copper ground is the emergency gravel runoff area that only gets used if a car crashes.

FunctionStandard US ColorNEC ReferenceRole in Circuit
Ungrounded (Hot)Black, Red, or BlueNEC 210.5(C)Carries current from the breaker to the load.
Grounded (Neutral)White or GrayNEC 200.6Carries the unbalanced return current back to the panel.
Equipment GroundBare Copper or GreenNEC 250.119Provides a low-impedance fault path to trip the breaker.
Bench Tip: Never use green or bare wire for anything other than an equipment ground. If you need to run a ground wire through a conduit where bare copper isn't allowed due to pulling tension, use a THHN wire with green insulation or green with a yellow stripe.

What Wire Colors Change in a Real Installation

Wire colors do not change the physics of electricity, but they fundamentally change how a circuit behaves under fault conditions and how protective devices react. The most critical distinction is between the white neutral and the bare/green ground.

The neutral is a current-carrying conductor. It completes the circuit. The ground is strictly a safety shield; it should carry zero current during normal operation. If you swap the neutral and ground at a receptacle, the device will still power on, but you create a parallel neutral path. This means the grounding system (metal boxes, conduit, appliance chassis) becomes energized with normal return current. Furthermore, a GFCI receptacle relies on comparing the current on the hot wire to the current on the neutral wire. If return current leaks onto the ground wire due to a miswiring or a fault downstream, the GFCI's internal toroidal transformer detects the imbalance and trips. If the neutral and ground are bonded downstream of the main panel, the GFCI may fail to trip or nuisance-trip constantly.

Common Confusions: DC Systems and Switch Loops

The most frequent mistake hobbyists and DIYers make is applying DC color logic to AC wiring. In a 12V DC automotive or solar system, red is positive (hot) and black is negative (ground/return). In 120V AC US wiring, black is the hot wire carrying 120V RMS, and white is the return. Connecting a 12V DC black wire to a 120V AC black wire in a mixed-voltage project will result in a dead short and an immediate breaker trip.

Another major confusion occurs in switch loops. When power is routed to the light fixture first, and then a 2-wire cable is dropped down to the wall switch, the white wire in that cable is not a neutral. It is being used as a hot feed to the switch. The NEC requires this white wire to be re-identified with black tape or paint at both ends to indicate it is an ungrounded conductor. If you open a switch box and see a white wire capped with a black wire, assume it is hot until proven dead with a non-contact voltage tester or multimeter.

Where You Meet This in Practice

You will encounter strict AC color coding rules in three specific scenarios on the jobsite:

  • Multi-Wire Branch Circuits (MWBC): Used to supply two 120V circuits from a single 12/3 or 14/3 cable. The black and red wires are the two hots (on opposite phases), and the white is the shared neutral.
  • 240V Appliances (Dryers/Ranges): Modern 4-prong 240V receptacles require two hots (Black and Red), one neutral (White) for the 120V control boards, and one ground (Green/Bare). Older 3-prong setups illegally bonded the neutral and ground at the appliance.
  • 277V/480V 3-Phase Commercial: If you step into a commercial building, the 120/240V colors vanish. The standard 3-phase colors shift to Brown, Orange, and Yellow for the hots, Gray for the neutral, and Green for the ground. Mixing up a 120V black wire with a 277V brown wire in a shared junction box is a catastrophic hazard.

Worked Numeric Example: The Multi-Wire Branch Circuit (MWBC)

To understand why color identification matters for load balancing, let's look at a standard MWBC using 12/3 NM-B cable (Black, Red, White, Bare) protected by a 20A double-pole breaker.

The Scenario:
Hot A (Black) supplies a kitchen counter receptacle drawing 15 Amps.
Hot B (Red) supplies a dining room receptacle drawing 12 Amps.
Because the black and red wires are connected to opposite legs of the 240V split-phase panel (180 degrees out of phase), the currents cancel each other out on the shared white neutral wire.

The Math:
Neutral Current = |Hot A - Hot B|
Neutral Current = |15A - 12A| = 3 Amps.
The 12 AWG white neutral wire safely carries only 3A, well within its 20A ampacity rating.

The Failure Mode (Wrong Colors/Phasing):
If an electrician mistakenly lands both the Black and Red wires on the same phase in the panel (e.g., both on Phase A), the currents no longer cancel; they add together.
Neutral Current = 15A + 12A = 27 Amps.
The 12 AWG white neutral wire is now carrying 27A. Since the overcurrent protection is 20A, the breaker will not trip, but the neutral wire will overheat, melt its insulation, and potentially start a fire inside the wall cavity. This is exactly why the NEC requires MWBCs to use identifiable colors and a handle-tied or double-pole breaker to ensure opposite phasing.

Frequently Asked Questions About AC Conductor Colors

Can I use a white wire as a hot if I tape it?
Yes, but only in specific scenarios like switch loops or as a traveler in a 3-way switch setup. You must wrap the wire with black or red electrical tape (or use heat shrink) at both ends where the insulation is visible. You cannot use a white wire as a hot inside a standard cable just because you ran out of black wire.

What color are the 'traveler' wires in a 3-way switch?
The NEC does not mandate a specific color for travelers, but standard practice is to use the red and black wires in a 14/3 or 12/3 cable as the travelers between the two switches, while the white wire serves as the neutral (if required for smart switches) and the bare wire is the ground.

Why is my 240V baseboard heater wired with only black, white, and bare?
In a pure 240V circuit (like a baseboard heater or water heater) that requires no 120V control voltage, a 2-wire cable with ground (Black, White, Bare) is often used. The white wire is re-identified with black tape at both ends to serve as the second hot leg.

Decision Path: Selecting Cable and Colors for Your Circuit

Use this decision tree to select the correct cable type and verify the wire colors before making your termination.

If your application is...Then select this cable...Verify these colors inside the jacket...Breaker Size
Standard 120V lighting (15A)14/2 NM-B1 Black, 1 White, 1 Bare15A Single-Pole
Standard 120V receptacles (20A)12/2 NM-B1 Black, 1 White, 1 Bare20A Single-Pole
Kitchen/Bath GFCI circuits (20A)12/2 NM-B1 Black, 1 White, 1 Bare20A Single-Pole
3-Way switch drops14/3 or 12/3 NM-B1 Black, 1 Red, 1 White, 1 BareMatches circuit
240V Electric Dryer (30A)10/3 NM-B1 Black, 1 Red, 1 White, 1 Bare30A Double-Pole
240V EV Charger / Range (50A)6/3 NM-B or 6 AWG THHN1 Black, 1 Red, 1 White, 1 Green/Bare50A Double-Pole
Default Recommendation: If you are wiring standard 120V 20-amp branch circuits for general-purpose receptacles in a modern US home, your concrete pick is 12/2 NM-B (Romex) cable. Strip the jacket to reveal the black (hot to brass screw), white (neutral to silver screw), and bare copper (ground to green screw). Do not downsize to 14 AWG for 20A circuits, and do not substitute THHN in standard residential walls where NM-B is permitted and vastly faster to install.