AC wire colors are standardized insulation hues applied to electrical conductors to instantly identify their function—hot, neutral, or ground—within an alternating current circuit. Electrically, the color of the PVC or THHN insulation changes absolutely nothing about the copper's ability to conduct current; a 12 AWG wire carries 20 amps whether it is black, white, or green. What the color actually changes is human interaction with the circuit: it dictates safety protocols, accelerates troubleshooting speed, and ensures compliance with the National Electrical Code (NEC). The most dangerous mistake DIYers and junior apprentices make is confusing the printed color of the wire with its actual electrical state. Assuming a white wire is always a safe, 0V neutral is a fast track to a severe shock, especially in older switch loops where white conductors are routinely used to carry hot voltage.
The Core Purpose of AC Wire Colors (and What They Don't Do)
The primary function of AC wire colors is to create a universal visual language for electricians, inspectors, and homeowners. According to NFPA 70 (the NEC), specific colors are reserved for grounded (neutral) and grounding (earth) conductors to prevent them from being accidentally used as ungrounded (hot) conductors.
However, wire color does not guarantee the wire is de-energized. A wire's color tells you its intended role in the circuit design, not its real-time voltage. This is why OSHA electrical safety standards and basic jobsite practice mandate treating every conductor as live until proven dead with a properly functioning multimeter or non-contact voltage tester, regardless of whether the insulation is white, green, or black.
Standard US Residential AC Wire Color Codes
In standard US residential wiring (120V/240V split-phase systems), the NEC strictly governs the colors used for neutrals and grounds, while allowing more flexibility for hot conductors. Below is the definitive reference chart for modern NM-B (Romex) and THHN conduit wiring.
| Wire Color | Function | NEC Reference | Common Applications |
|---|---|---|---|
| Black | Hot (Ungrounded) | General Phase | Standard 120V branch circuits, switch legs |
| Red | Hot (Ungrounded) | General Phase | 240V appliances, 3-way switch travelers, multi-wire branch circuits (MWBC) |
| Blue / Yellow | Hot (Ungrounded) | General Phase | THHN in conduit for 277V commercial or 3-phase systems |
| White / Gray | Neutral (Grounded) | NEC 200.6 | Return path for 120V circuits (White for 120V, Gray for 277V) |
| Bare Copper | Equipment Ground | NEC 250.119 | Standard ground in NM-B cable |
| Green / Green-Yellow | Equipment Ground | NEC 250.119 | Insulated ground in conduit or appliance cords |
Where You Meet This in Practice
You will interact with AC wire color codes constantly across three main areas of residential electrical work:
- Main Panels and Subpanels: In a main panel, the neutral (white) and ground (bare/green) buses are bonded together. In a subpanel, they must be isolated. If you mix up a white neutral wire and a bare ground wire when landing circuits in a subpanel, you will create a parallel neutral path, causing stray current to flow on the grounding system and potentially tripping GFCI breakers upstream.
- Receptacle Wiring: When wiring a standard 15A or 20A duplex outlet, the brass screw is for the black (hot) wire, the silver screw is for the white (neutral) wire, and the green screw is for the bare/green (ground) wire. Reversing hot and neutral (polarity reversal) will allow a lamp to turn on, but the outer threaded shell of the bulb socket will remain energized at 120V, presenting a severe shock hazard if someone touches it while changing a bulb.
- Multi-Wire Branch Circuits (MWBC): These circuits use a 3-wire cable (black, red, white) to share a single neutral for two 120V circuits. The black and red wires must be on opposite phases (legs) of the panel to prevent overloading the white neutral wire. Identifying the red and black as distinct hot legs is critical for safely locking out both breakers before servicing the shared neutral.
Real-World Scenario: The 'White Hot' Switch Loop Trap
This scenario illustrates why trusting wire color over multimeter verification is a critical failure point in modern smart home upgrades.
- Setup: A homeowner is replacing a standard single-pole toggle switch with a smart Wi-Fi switch (e.g., Lutron Caseta or Kasa) that requires a neutral wire to power its internal radio. They open the wall box and see a 14/2 NM-B cable containing a black wire, a white wire, and a bare ground.
- Numbers: With the breaker on and the switch OFF, they measure 120V from the black wire to ground. They then measure the white wire to ground and also read 120V. When the physical switch is turned ON, the white wire reads 0V to ground.
- Outcome: Assuming the white wire is the neutral, the homeowner connects the smart switch's white neutral pigtail to the wall's white wire. They turn the breaker back on. The smart switch powers up, but the moment the app commands the relay to close and turn on the light, the breaker violently trips and the smart switch is permanently destroyed.
- What Went Wrong: This was a classic 'switch loop.' The power went to the light fixture first, and the 14/2 cable dropped down to the switch. The black wire was the constant hot, and the white wire was the 'switch leg' (the hot return to the light). When the switch was OFF, the white wire was floating at 120V through the light bulb's filament. When the switch turned ON, it completed the circuit, dropping the white wire to 0V. By wiring the smart switch's neutral to the switch leg, the homeowner created a dead short the moment the internal relay closed. The correct fix was to pull a new 14/3 cable to provide a true neutral, or use a smart switch specifically designed to work without a neutral wire.
Worked Numeric Example: Diagnosing a 240V Dryer Receptacle
Let's look at how AC wire colors and voltage readings combine to diagnose a hidden fault in a 240V NEMA 14-50R dryer receptacle.
The Expected Baseline:
A properly wired 4-prong NEMA 14-50 should yield the following multimeter readings:
• Black (Hot 1) to Red (Hot 2) = 240V
• Black to White (Neutral) = 120V
• Red to White (Neutral) = 120V
• White (Neutral) to Green/Bare (Ground) = 0V
The Faulty Reading:
You are called to troubleshoot a dryer that won't start. You pull the receptacle out and measure:
• Black to Red = 240V (Good)
• Black to White = 120V (Good)
• Red to White = 120V (Good)
• White to Ground = 120V (FAULT)
The Diagnosis:
The 0V reading between neutral and ground is the critical safety baseline. Reading 120V between the white wire and the ground wire tells you the neutral is 'floating' (disconnected) at the main panel. Why do you still read 120V from Black to White? Because the dryer's internal 120V components (the timer motor and drum motor) are bridging the gap. The 120V is backfeeding from the hot leg, through the dryer's motors, and out to the disconnected neutral wire. The 120V reading from White to Ground confirms that the neutral bus in the panel has lost its bond to the ground bus. The fix isn't at the dryer; it requires opening the main panel and finding the loose or broken white neutral feeder wire on the bus bar.
Frequently Asked Questions
Can I use white electrical tape to turn a black wire into a neutral?
No. The NEC strictly prohibits using an ungrounded (hot) conductor as a grounded (neutral) conductor, even if you re-identify it. You can use black or red tape to turn a white wire into a hot wire (in specific cable configurations), but you cannot go the other direction. Neutrals must be manufactured with white or gray insulation.
What if the wire colors in my old house are faded or painted over?
In homes built before the 1960s, you may encounter cloth-covered wiring where the colors have faded to a uniform brown or yellow, or where previous homeowners painted over the outlet wires. In these cases, wire color is legally and practically void. You must use a multimeter to identify the hot (reads 120V to ground) and neutral (reads 0V to ground) conductors, and label them with modern colored tape at the termination points.
Are European AC wire colors the same as the US?
No. If you are importing a 230V European appliance or working with IEC-standard equipment, the color codes are entirely different. Under IEC 60446, Brown is Hot (Line), Blue is Neutral, and Green/Yellow stripe is Ground. Plugging a European wired device into a US panel using US color assumptions will result in a direct short or an energized chassis.






