In the United States, the National Electrical Code (NEC) dictates conductor coloring to ensure safety, consistency, and rapid troubleshooting across residential and commercial installations. Misidentifying a single conductor can lead to catastrophic short circuits or fatal shocks. Below is the definitive reference for the usa electrical wire color code, followed by the field realities, edge cases, and testing procedures that separate competent DIYers from hazards.

The USA Electrical Wire Color Code Reference Chart (NEC)

The NEC (NFPA 70) does not strictly mandate colors for ungrounded (hot) conductors in all scenarios, but it strictly mandates colors for grounded (neutral) and grounding conductors. However, decades of trade practice and specific NEC articles (like 110.15 for high-leg delta) have solidified the standard USA electrical wire color code used by electricians nationwide.

Function 120V/240V Single-Phase (Residential) 208V/480V 3-Phase (Commercial Y) DC Power (Standard Low Voltage)
Hot / Line 1 Black Brown Red (or Black)
Hot / Line 2 Red Orange N/A
Hot / Line 3 Blue (Rare in residential) Yellow N/A
Neutral (Grounded) White or Gray White or Gray White
Ground (Equipment) Bare, Green, or Green/Yellow Bare, Green, or Green/Yellow Green
Safety Note: The NEC strictly reserves White, Gray, and Green for neutral and ground. You can use almost any other color for a hot wire, but you can never use white or green for an ungrounded hot conductor unless it is permanently re-identified at both ends with black or red tape/paint (NEC 200.7).

Rows People Get Wrong (and How to Fix Them)

Reading the chart above is easy; applying it in a 40-year-old house is where mistakes happen. Here are the specific rows and scenarios where DIYers and junior apprentices consistently get the USA electrical wire color code wrong.

1. The Switch Loop Trap (White as a Hot)

In older homes (pre-2011), electricians often used standard 2-wire NM-B (black and white) to run a 'switch loop' from a ceiling light fixture down to a wall switch. In this setup, the white wire is the always-hot feed going down to the switch, and the black wire is the switched-hot returning to the light. If you assume the white wire is neutral and wire it to the silver terminal on a smart switch, you will create a dead short or destroy the switch's internal electronics. The NEC (Article 404.2(A)) now requires switch loops to use a 3-wire cable (including a dedicated neutral), but you will encounter the old method constantly. Always look for black electrical tape wrapped around the white wire's insulation at the switch box—if it's there, that white wire is hot.

2. Pure 240V Loads (White as Line 2)

When wiring a 240V baseboard heater, water heater, or well pump, a neutral is not required. Installers will often pull a 2-wire cable (Black and White) to save money. In this circuit, both the black and white wires are 120V hot legs, 180 degrees out of phase, providing 240V across the load. The white wire must be re-identified with black or red tape at the panel and the disconnect. If you see a white wire connected to a 2-pole breaker, treat it as hot until proven otherwise.

3. The High-Leg Delta 'Stinger' (Orange)

If you are working in a commercial or industrial building with a 240V 3-phase High-Leg Delta service, you will encounter an Orange wire. This is the 'wild leg' or 'stinger,' which measures 208V to ground instead of the standard 120V. NEC Article 110.15 mandates that this high leg must be orange. Never connect a standard 120V load (like a receptacle or lighting transformer) between the orange leg and neutral; it will instantly overvoltage and destroy the equipment.

4. Ground vs. Neutral Bonding

People frequently confuse the bare/green ground and the white neutral because they are connected to the same bus bar in the main service panel. However, in any subpanel, the neutral and ground must be kept strictly separate. Bonding them at a subpanel creates parallel neutral paths, energizing the grounding system and creating a severe shock hazard.

NEC vs. IEC vs. Old UK: Regional Standard Variants

The USA electrical wire color code is not universal. If you are importing European machinery, working on a boat with international wiring, or dealing with old UK infrastructure, relying on the NEC chart will get you killed. Here is how the US standard compares to international norms.

Region / Standard Line 1 (Hot) Line 2 (Hot) Line 3 (Hot) Neutral Ground
USA (NEC / NFPA 70) Black Red Blue White / Gray Green / Bare
EU / UK (IEC 60446) Brown Black Grey Blue Green / Yellow
Old UK (Pre-2004) Red Yellow Blue Black Green

Choose NEC when: You are wiring any permanent structure in the United States, Canada (which uses a very similar CEC standard), or US territories. Always follow NFPA 70 guidelines for local compliance.

Choose IEC when: You are wiring internal control panels for imported European machinery, working on marine vessels adhering to ABYC/ISO standards, or wiring DC solar arrays where international component manufacturers use Brown for positive and Blue for negative.

The Old UK Danger: If you are ever troubleshooting old British wiring, remember that Black was Neutral and Green was Ground. A US electrician seeing a black wire will instinctively treat it as hot, which is correct in the US but completely backwards in pre-2004 UK installations.

Safe Interpretation When Markings Are Faded or Missing

Color codes are only useful if you can actually see the color. In homes built between the 1930s and 1960s, cloth-covered or early rubber-insulated wires often fade, darken with heat, or become coated in decades of nicotine and dust. A faded white neutral can easily look gray, and a gray neutral can look brown. Here is the exact field procedure for safely identifying conductors when visual inspection fails.

Mains Voltage Hazard: The following procedure requires working near live circuits. If you are not comfortable using a multimeter on live 120V/240V circuits, de-energize the panel and hire a licensed electrician. Always follow OSHA electrical safety practices regarding PPE and lockout/tagout when de-energizing.

Step 1: Verify the Ground First

Before you can test for hot or neutral, you need a known, reliable ground reference. Do not assume the metal junction box is grounded. Use a non-contact voltage (NCV) tester to ensure the area is clear, then use a multimeter set to AC Volts (CAT III or CAT IV rated, like a Fluke 117). Measure from a known hot (like a nearby verified receptacle's short slot) to the metal box or a bare copper wire. If you read ~120V, your ground reference is solid.

Step 2: Measure Line-to-Ground

With the circuit energized, place one probe on your known ground and the other on the mystery conductor.

  • Reads 114V - 126V: This is your Hot (Line) conductor.
  • Reads 0V - 2V: This is likely your Neutral or Ground.

Step 3: Differentiate Neutral from Ground

If you have two wires that both read 0V to ground, you must determine which is the current-carrying neutral and which is the equipment ground. Never do this by touching the wires together. Instead, apply a known load to the circuit (like plugging in a 1500W space heater on the same branch). Measure the voltage between the two mystery wires. Because the neutral carries current, it will experience a slight voltage drop due to wire resistance. You will typically read a small voltage (0.5V to 2.0V) between the neutral and the ground when the circuit is under heavy load. The wire showing the slight voltage differential to ground is the neutral.

Step 4: Re-identify and Document

Once you have scientifically identified the conductors, immediately de-energize the circuit and wrap the conductors with high-quality electrical tape (3M Super 33+ or equivalent) or slide on heat-shrink tubing at both ends of the run. Write the circuit number and date on a piece of masking tape inside the panel. Relying on memory or 'assuming' the colors will eventually lead to a failure when the next person opens that junction box.