Home Electrical and Fire Safety
Electrical Wiring Colors: What Each Wire Means in a US Home
Updated
Wire colors tell you what a conductor is supposed to do. They do not tell you whether it is live right now. Every year, people get shocked by a "neutral" that was carrying current or a black wire that someone used as a ground. Learn the colors, but always test before you touch.
Wire Color Chart for a US Home
| Color | What it usually is | Is it ever live? |
|---|---|---|
| Black | Hot (ungrounded conductor) | Yes, always treat as live |
| Red | Second hot: 240 V circuits, 3-way switch travelers, smoke detector interconnects | Yes |
| Blue / Yellow | Hot, usually in conduit: travelers, switch legs, 3-phase | Yes |
| White | Neutral (grounded conductor) | It can be. It carries current whenever the circuit is on |
| Gray | Neutral, usually on a different system such as 277/480 V | It can be |
| White with black or red tape | A white wire re-marked as a hot | Yes |
| Green | Equipment ground | Not under normal conditions |
| Bare copper | Equipment ground | Not under normal conditions |
| Green with yellow stripe | Equipment ground | Not under normal conditions |
What the Electrical Code Requires and What Is Only Custom
People are often surprised to learn that the National Electrical Code (NEC) mandates very few colors.
Required by code: - Neutral (grounded conductor): white, gray, or any color with three continuous white or gray stripes. Wires 6 AWG and smaller must have that color along their whole length. Wires 4 AWG and larger may be marked with white or gray tape or paint at each termination. - Equipment ground: bare, green, or green with one or more yellow stripes. Wires larger than 6 AWG may be re-identified at the ends. - Hot conductors: any color except white, gray, or green. - High leg on a 4-wire delta service: orange. Homes rarely have this, but some older rural and light commercial services do. - Posted ID: where a building has more than one voltage system, the color scheme for branch-circuit hots must be posted at the panel or kept in the building.
Convention only: - Black and red as the two hots in a house - Black-red-blue for 120/208 V three-phase - Brown-orange-yellow for 277/480 V three-phase - Gray as the neutral for 277/480 V
Most electricians follow these conventions, but nothing forces the last person who worked in your house to have done so.
Residential 120/240 V Wiring by Circuit Type
Standard 120 V outlet or light (15 or 20 A): - Black = hot - White = neutral - Bare or green = ground
240 V only (water heater, baseboard heat, many well pumps): - Black and red (or black and white) = the two hots - Bare = ground - No neutral is needed. When the cable is 10/2 or 12/2, the white wire serves as a hot and should be wrapped with black or red tape at both ends.
120/240 V (range, dryer, some EV chargers, subpanels): - Black and red = hots - White = neutral - Bare or green = ground - This needs 4 wires. Older 3-wire dryer and range hookups with no separate ground are no longer allowed on new installations.
3-way switches: - Black = common (line in or load out) - Red and the re-marked white (or black and red, depending on the cable) = travelers running between the two switches - The common screw is the darker one, usually black or bronze. Mixing up common and traveler is the most common mistake in 3-way switch wiring.
Switch loops (older homes especially): In a switch loop, power goes to the light first and a 2-wire cable runs down to the switch, so the white wire in that cable is actually a hot. Current code requires that white to be re-marked, and since 2011 most switch boxes also need a neutral. In older work, the white at the switch is often unmarked. Expect it to be live.
NM Cable (Romex) Sheath Colors Indicate Wire Size, Not Function
The outer jacket color on non-metallic sheathed cable is an industry convention that dates to 2001:
| Jacket color | Conductor size | Typical breaker |
|---|---|---|
| White | 14 AWG | 15 A |
| Yellow | 12 AWG | 20 A |
| Orange | 10 AWG | 30 A |
| Black | 8 AWG and larger (no fixed standard) | 40 A and up |
| Gray | Usually UF-B (underground/wet-location cable), any size | Varies |
Two cautions:
- The jacket color is voluntary. The code requires the printed legend on the jacket, not the color. Read the print, for example "12-2 W/G TYPE NM-B 600V", to confirm the size.
- Breaker size must match wire size. A yellow 12 AWG cable on a 30 A breaker is a fire hazard. If you see orange or black cable, check the breaker feeding it. Long runs and hot attics can call for a heavier gauge than the jacket color suggests, so confirm against a wire size and ampacity chart.
Prices, late 2026: copper remains expensive. A 250 ft roll of 12/2 NM-B generally runs about $145–$185 at big-box stores. Some listings are much higher, and off-brand cable is sometimes sold next to name brands. Check the brand and the jacket print, and compare price per foot. Prices change weekly with copper markets.
Older Homes: Where Color Codes Break Down
- Cloth-insulated wire (before about 1960): colors fade to the same dull gray-brown. The neutral sometimes has a faint white tracer or ribbed texture, but often you cannot tell which wire is which.
- Knob-and-tube: two separate single wires with no ground, often with no reliable color at all.
- Two-wire cable with no ground: common before the mid-1960s. A 3-prong outlet on this cable is not grounded unless a ground wire was added or the outlet is GFCI-protected and labeled "No Equipment Ground."
- Aluminum branch wiring (roughly 1965–1973): the color of the metal matters more than the insulation color. Aluminum requires connectors rated AL/CU or CO/ALR.
- DIY work: wrong colors, untaped whites used as hots, and grounds connected to neutrals all turn up regularly.

Three-Phase and Commercial Colors
These matter in shops, outbuildings, and mixed-use buildings:
| System | Phase A | Phase B | Phase C | Neutral |
|---|---|---|---|---|
| 120/208 V | Black | Red | Blue | White |
| 277/480 V | Brown | Orange | Yellow | Gray |
| 120/240 V 4-wire delta | Black | Orange (high leg, required) | Red or Blue | White |
On a 4-wire delta, the orange high leg measures about 208 V to neutral. Connecting a 120 V device to it will destroy that device.
Colors You Will Run Into Outside the Walls
Lamp cord and appliance cords: - The ribbed or marked side is neutral, and the smooth side is hot. - On a polarized plug, the wide blade is neutral.
Imported fixtures and European-style (IEC) colors: - Brown = hot - Blue = neutral - Green with yellow stripe = ground
Imported light fixtures and appliances sometimes come with these colors. Connect brown to black and blue to white.
Thermostat wire (24 V low voltage): - R = red, power - W = white, heat - Y = yellow, cooling - G = green, fan - C = blue or black, common - O/B = orange or dark blue, heat pump reversing valve
These follow terminal letters, not house wiring rules. A green wire in a thermostat cable is the fan, not a ground. Photograph the old terminals before you disconnect anything.
Doorbells and low-voltage lighting: colors are arbitrary. Follow the transformer and device labels. Speaker cable works the same way: a stripe or ridge marks one conductor for polarity, and in-wall speaker runs need a CL2- or CL3-rated jacket.
How to Check What a Wire Actually Is
- Turn off the breaker. Then confirm with a non-contact voltage tester that the tester works on a known live outlet first.
- Use a multimeter or a two-lead tester before touching anything: - Hot to neutral: about 120 V - Hot to ground: about 120 V - Neutral to ground: near 0 V. A few volts can be normal under load. More than that points to a problem. - Hot to hot on a 240 V circuit: about 240 V
- Check every wire in the box. Boxes often contain more than one circuit, and shared neutrals (multiwire branch circuits) are common in kitchens and older homes. A neutral can still carry current from a second circuit even with one breaker off.
- Label as you go. Use tape and a marker on each conductor before you disconnect the old device.
When to Call an Electrician
Call a licensed electrician if you find: - Colors that make no sense, such as a black wire on a ground screw or white and green connected together anywhere other than the main panel - Voltage on a ground or a high reading between neutral and ground - Cloth wire, knob-and-tube, or aluminum branch wiring - Anything inside the panel, at the meter, or on a service conductor - Work that needs a permit, which in most places includes new circuits, subpanels, and service changes
Colors are a code that most people follow most of the time. A tester shows what is actually on the wire.