In US residential electrical systems, 120 VAC wiring colors follow a strict NEC code where black or red indicates the ungrounded 'hot' conductor, white or gray designates the grounded 'neutral' conductor, and bare copper or green serves as the equipment grounding conductor. Getting these colors right changes everything about how safely you can troubleshoot, expand, or repair a circuit without risking a lethal shock or failing an inspection. Hobbyists and DIYers most commonly confuse these US AC colors with 12V DC automotive wiring (where red is positive and black is ground) or with international IEC standards, leading to dangerous cross-wiring mistakes.

The Core 120 VAC Wiring Colors and Their Roles

When you strip back the outer jacket of a standard 14/2 or 12/2 NM-B (Romex) cable, you will find three distinct conductors. The National Fire Protection Association (NFPA) outlines these roles clearly in the National Electrical Code (NEC) to ensure uniform safety across all installations.

Black or Red (Ungrounded Conductor): This is your 'hot' wire. It carries the 120V AC potential from the breaker panel to the load. NEC 210.4 mandates that ungrounded conductors be distinctly colored to prevent accidental contact. Black is the standard default, while red is typically used as a second hot leg in 240V appliances or multi-wire branch circuits.

White or Gray (Grounded Conductor): This is the 'neutral' wire. It completes the circuit by providing the return path to the panel's neutral bus bar. Per NEC 200.6, grounded conductors must be white, gray, or have three continuous white stripes. Under normal operation, the neutral carries the exact same current as the hot wire back to the source.

Bare Copper or Green (Equipment Grounding Conductor): This wire carries zero current during normal operation. Its sole purpose is safety. NEC 250.119 dictates that equipment grounds must be bare, green, or green with yellow stripes. If a hot wire frays and touches a metal appliance chassis, the ground wire provides a low-resistance path back to the panel, causing the breaker to trip instantly before a human can become the path to ground.

Where You Meet This in Practice

You will encounter these color codes every time you terminate a branch circuit. The most common application is wiring a standard 15A or 20A duplex receptacle. The physical terminals on the device are color-coded to match the wire insulation, providing a secondary layer of foolproofing.

Safety Warning: Always de-energize the circuit at the breaker panel and verify it is dead with a non-contact voltage tester and a multimeter before touching any conductors. The Occupational Safety and Health Administration (OSHA) reports that failure to verify de-energized status is a leading cause of residential electrical fatalities.

Here is the standard termination sequence for a 120V receptacle:

  1. Ground First: Loop the bare copper wire clockwise around the green grounding screw. Tighten to 12-14 inch-pounds. This ensures the safety path is established before any live conductors are connected.
  2. Neutral Second: Strip 3/4 inch of insulation from the white wire and loop it clockwise around the silver screw. The silver terminal is internally bonded to the wider slot of the receptacle face.
  3. Hot Last: Strip 3/4 inch from the black wire and loop it clockwise around the brass screw. The brass terminal feeds the narrower slot on the receptacle face.
  4. Verify: Tug gently on each wire to ensure a solid mechanical connection under the screw head before folding the wires into the back of the electrical box.

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

Color coding becomes a matter of fire prevention when dealing with a Multi-Wire Branch Circuit (MWBC). An MWBC uses a 3-wire cable (like 12/3 NM-B) containing a black hot, a red hot, and a shared white neutral to supply two separate 120V circuits from a single 240V double-pole breaker.

The Math: Because the black and red wires are on opposite phases (Leg A and Leg B) of the split-phase residential supply, their AC sine waves are 180 degrees out of phase. This means the currents cancel each other out on the shared neutral.

  • Leg A (Black) draws 12 Amps (e.g., a kitchen mixer).
  • Leg B (Red) draws 8 Amps (e.g., a toaster).
  • Neutral (White) carries the difference: 12A - 8A = 4 Amps.

The Hazard of Wrong Colors: If an installer misidentifies the wires and accidentally connects both the black and red wires to the same phase (Leg A) in the panel, the currents no longer cancel. The neutral wire will now carry the sum of the loads: 12A + 8A = 20 Amps. If this is a 14 AWG MWBC protected by a 15A breaker on each leg, the individual breakers won't trip (since neither exceeds 15A), but the shared 14 AWG neutral will overheat at 20A, melting the insulation inside the walls and starting a fire.

Real-World Scenario Walkthrough: The Unmarked Switch Loop Shock

Color codes are only as safe as the electrician who installed them. Older homes frequently contain code violations that turn standard troubleshooting into a hazard.

Setup: A homeowner is replacing a standard single-pole toggle switch with a smart WiFi dimmer switch in a 1980s hallway. Smart switches require a neutral wire to power their internal radios, so the homeowner pulls the switch out of the wall and sees a black wire, a white wire, and a bare ground. Assuming standard colors, they connect the white wire to the smart switch's neutral pigtail.

Numbers: Before making the connection, a multimeter probe placed between the white wire and the bare ground reads 120V AC. The homeowner ignores this, assuming it's a 'phantom voltage' or a testing error.

Outcome: The moment the breaker is flipped on, a loud pop echoes from the box, the 15A breaker trips instantly, and the $45 smart switch is permanently fried.

What Went Wrong: The white wire was not a neutral; it was the 'hot' feed in a switch loop. In older wiring methods, 2-wire cables were run from the ceiling fixture down to the switch. The white wire carried the 120V hot down to the switch, and the black wire carried the switched hot back up to the light. Per NEC 200.7(C)(2), a white wire used as an ungrounded hot conductor must be permanently re-identified with black tape or paint at both ends. The original installer skipped the black tape, leaving a lethal trap for the next person who trusted the standard color code.

Cross-Standard Confusions: US NEC vs. DC vs. IEC

Working on mixed-voltage projects (like integrating a 12V DC battery backup into a 120V AC home system) or reading international schematics requires strict mental separation of color standards. Mixing these up will destroy equipment or cause severe injury.

StandardHot / PositiveNeutral / NegativeGround / Earth
US NEC (120V AC)Black (or Red)White (or Gray)Bare Copper / Green
US Automotive (12V DC)RedBlackChassis / Bare
EU / IEC 60446 (230V AC)BrownBlueGreen-Yellow Stripe

If you are wiring a DC solar charge controller next to an AC subpanel, never assume a black wire is a hot or a ground without testing it. In DC, black is negative; in US AC, black is hot. Always use a multimeter to verify potential before terminating.

Frequently Asked Questions

Can I use black electrical tape on a white wire to make it a hot?
Yes, but only in specific scenarios like switch loops or when pulling individual THHN conductors through conduit. You cannot re-identify the white neutral wire inside a standard NM-B (Romex) cable assembly to use it as a permanent hot feed for a standard receptacle. The re-identification must be visible at every termination point.

What if my old house has no ground wire, just black and white?
If you are replacing a 2-prong ungrounded receptacle in an older home with no equipment ground, the NEC allows you to install a 3-prong GFCI receptacle. You must label it with the included 'No Equipment Ground' sticker. The GFCI will protect you from shocks by monitoring the current balance between the black and white wires, even without a bare copper ground present.

Why are some white wires gray instead?
Gray is an NEC-allowed alternative for grounded (neutral) conductors. You will frequently see gray insulation on larger gauge THHN wires pulled through commercial conduit, or on the neutral wire inside 4-wire dryer and range cords. It serves the exact same function as white.