Home AC wire colors are a standardized visual coding system for electrical conductors that identifies their specific function—hot, neutral, or ground—to ensure safe and predictable circuit connections. Electrically, insulation color changes absolutely nothing in a circuit; copper is copper, and electrons do not care if the jacket is black, white, or green. However, in a real installation, color coding dictates safety, troubleshooting speed, and National Electrical Code (NEC) compliance. Reversing a black hot and white neutral wire will still power a lamp, but it leaves the socket's neutral shell energized at 120V, creating a severe shock hazard when changing bulbs. Beginners frequently confuse US residential AC colors with DC electronics (where red is positive and black is negative/ground) or 3-phase industrial power (which uses brown, orange, and yellow for hots).

The Core Standard: US Residential AC Color Codes

In the United States, the NFPA 70 (National Electrical Code) strictly governs conductor identification. While the NEC doesn't mandate a specific color for ungrounded (hot) conductors in all scenarios, it strictly dictates the colors for grounded (neutral) and grounding conductors, and industry convention has solidified the rest.

Wire Color Function NEC Reference Termination Point
Black Hot (Ungrounded Line 1) Convention Brass screw / Breaker terminal
Red Hot (Ungrounded Line 2 / Switched) Convention Brass screw / Breaker terminal
White Neutral (Grounded Conductor) NEC 200.6 Silver screw / Neutral bus bar
Bare / Green Equipment Ground NEC 250.119 Green screw / Ground bus bar
WARNING: Never assume a white wire is neutral in an existing wall box. In older homes or switch loops, white wires are frequently used as ungrounded (hot) conductors. Always test with a non-contact voltage tester and a multimeter before touching any conductor.

Worked Example: Tracing a 120V 20A Branch Circuit

To understand how these colors behave under load, let's trace current through a standard kitchen small-appliance branch circuit wired with 12 AWG NM-B cable, protected by a 20A breaker. You plug in a 1500W space heater.

  • The Math: 1500W ÷ 120V = 12.5A of continuous current draw.
  • Black Wire (Hot): Carries the full 12.5A RMS from the 20A breaker, through the wall, to the receptacle's brass screw. If you measure voltage from this wire to the ground, you will read 120V nominal (typically 114V–126V acceptable).
  • White Wire (Neutral): Carries the exact same 12.5A back to the panel's neutral bus bar via the receptacle's silver screw. Because it is bonded to ground at the main service panel, measuring voltage from the white wire to ground yields ~0V (practically, maybe 0.5V due to the wire's inherent resistance over distance).
  • Bare Wire (Ground): Carries 0A during normal operation. Think of the equipment ground like a highway emergency shoulder: it carries zero traffic during normal conditions, but provides a critical, low-resistance escape route during a fault 'crash'. If the heater's internal hot wire shorts to its metal chassis, the bare ground wire provides a low-impedance path back to the panel. This spikes the current to >100A instantly, tripping the 20A breaker in under 0.1 seconds and preventing the chassis from becoming lethal.

Where You Meet This in Practice

You will interact with these color codes at three primary junction points in a residential wiring project:

1. The Main Service Panel

Inside your main panel, the white (neutral) wires terminate on the neutral bus bar, which is physically bonded to the panel enclosure and the bare/green ground wires. In a subpanel, however, NEC 250.142 requires the neutral and ground bus bars to be strictly separated. Mixing white neutrals and bare grounds on the same bar in a subpanel creates a parallel path for neutral current, energizing the ground system and creating a shock hazard.

2. Switch Boxes (3-Way and Smart Switches)

In a standard single-pole switch, the black hot wire breaks through the switch, and the white neutral simply passes through the box via a wire nut to the load. However, in 3-way switch setups, you will see red and black wires used as 'travelers' carrying the switched hot between two switches. Furthermore, per NEC 200.7(C)(1), if a white wire is used as a hot traveler or switch leg, it must be permanently re-identified with black or red electrical tape or paint at both termination points.

3. Receptacles and Hardwired Loads

Standard duplex receptacles follow a strict color-to-screw mapping: Black to Brass (Hot), White to Silver (Neutral), Bare/Green to Green (Ground). A helpful mnemonic is 'Black to Brass, or you'll be on your ass.' For 240V hardwired loads like baseboard heaters that do not require a neutral, you will use a 2-wire cable, but the white wire must be re-identified with black tape to indicate it is acting as a second hot leg.

Decision Tree: Picking the Right Cable for Your Project

Choosing the correct NM-B (non-metallic sheathed) cable ensures you have the right wire colors and gauge for your specific amperage and voltage requirements. Use this decision matrix to select your material:

Project Scenario Required Conductors Cable Type Color Mapping
Standard 15A lighting or bedroom outlets 1 Hot, 1 Neutral, 1 Ground 14/2 NM-B Black, White, Bare
20A kitchen, bathroom, or garage outlets 1 Hot, 1 Neutral, 1 Ground 12/2 NM-B Black, White, Bare
240V baseboard heater (no neutral) 2 Hots, 1 Ground 12/2 NM-B Black, White (taped Black), Bare
240V electric dryer or range (needs neutral) 2 Hots, 1 Neutral, 1 Ground 10/3 NM-B Black, Red, White, Bare
3-Way switch traveler runs 2 Travelers, 1 Neutral, 1 Ground 14/3 NM-B Black, Red, White, Bare
The Default Pick: For 90% of general home DIY branch circuit extensions, standardizing on Southwire Romex SIMpull 12/2 NM-B (Part # 288944) is the most efficient choice. While it costs slightly more than 14/2, it is rated for both 15A and 20A circuits. Stocking only 12/2 eliminates the risk of accidentally putting a 14 AWG wire on a 20A breaker—a severe fire hazard and code violation—and the SIMpull jacket drastically reduces friction when pulling through studs.

Common Mistakes and Code Violations to Avoid

According to the Electrical Safety Foundation International (ESFI), improper wiring is a leading cause of residential electrical fires and shocks. Avoid these frequent bench and jobsite errors:

  • Bootleg Grounds: Jumping a wire from the neutral silver screw to the green ground screw on a receptacle to trick a 3-prong tester. This is incredibly dangerous; if the neutral disconnects upstream, the metal chassis of any plugged-in appliance becomes energized at 120V.
  • Reversed Polarity: Swapping black and white at the receptacle. The device will work, but the internal switch of the appliance will break the neutral instead of the hot, leaving the appliance internals energized even when turned 'off'.
  • Mixing DC and AC Colors: When wiring hybrid solar inverters or battery backup systems in a home, never use black for DC negative and red for DC positive in the same conduit as AC mains. Keep AC and DC in separate raceways, and strictly adhere to AC color codes for the grid-tied side.
  • Over-stripping Insulation: Stripping more than 3/4 inch of insulation off a 12 AWG wire exposes bare copper outside the terminal screw, creating a short-circuit risk if a stray strand touches the ground box or another terminal.

Frequently Asked Questions

Q: Can I use a red wire for a neutral conductor?
A: Absolutely not. NEC 200.6 strictly requires grounded (neutral) conductors to be white, gray, or have three continuous white stripes on other than green insulation. Using red for neutral will cause immediate failure during an electrical inspection and creates a massive shock hazard for future electricians.

Q: What if I'm working in an older home with cloth-covered wires?
A: Pre-1950s wiring often used white for neutral and black for hot, but colors fade, and previous DIYers may have altered the system. Treat every wire in a legacy system as energized until proven dead with a CAT III or CAT IV rated multimeter. Consider upgrading to modern NM-B or THHN in conduit when possible.