Skip to content
Toolzent

Wire Color Meaning

What does each wire color mean? A guide to black, red, white, green, blue and bare wire colors in US and international wiring codes, plus essential safety warnings.

Published  · 3 min read  · Free · No sign-up

Quick answer

In standard US residential wiring, black and red wires are hot (live), white is the neutral, green or bare copper is the ground, and blue and yellow are typically hot wires used as travelers or switch legs. Color codes differ by country, and you should always treat every wire as live until tested and proven otherwise.

What Does Each Wire Color Mean?

Electrical wire colors are a coding system that helps identify each conductor’s purpose — hot (live), neutral, ground, or traveler — so circuits can be wired and serviced safely. In the United States, the colors follow conventions tied to the National Electrical Code (NEC), but wire color codes differ by country, and older or improperly installed wiring may not follow them at all. This guide explains common US wire color meanings alongside key international differences. Electricity is dangerous: always de-energize and test circuits before touching any wire, and consult a licensed electrician for anything beyond your competence.

US Residential Wire Colors

Wire ColorFunction
BlackHot (live) — primary power conductor
RedHot (live) — secondary, switch legs, 240V circuits
Blue / YellowHot (live) — travelers, switch legs, fans, outlets
White / GrayNeutral — returns current to the panel
White (re-marked)Re-tasked as hot when taped/labeled black or red
Green / Green-YellowGround (protective earth)
Bare copperGround (protective earth)

Hot, Neutral, and Ground Explained

In the US system, hot wires carry current from the electrical panel to your devices and are most often black, with red used for secondary hot lines (such as 240-volt circuits or three-way switches). Blue and yellow are also hot conductors, typically used as “travelers” in switch wiring or for fixtures like ceiling fans. The neutral wire (white or gray) completes the circuit by returning current to the panel. The ground wire (green, green-with-yellow-stripe, or bare copper) is a safety conductor that provides a low-resistance path for fault current, helping protect you from shock — it should never carry current under normal conditions.

International Wire Color Codes Differ

A critical point of confusion: wire colors are not universal. Under the IEC system used across the UK and most of Europe:

  • Brown = live (hot)
  • Blue = neutral
  • Green/yellow stripe = earth (ground)

This is completely different from the US, where black is hot, white is neutral, and green is ground. Note that blue means neutral in the EU but is a hot traveler in the US — exactly the kind of difference that makes assuming colors dangerous. Older installations in any country may also use obsolete colors. Always identify the applicable code for your specific region and installation.

Why You Should Never Trust Color Alone

Wire color is a helpful guide, but it is not a substitute for testing. Wires can be mislabeled, re-marked (a white wire taped black to serve as hot), faded with age, installed under a different or older code, or simply wired wrong by a previous DIYer. The neutral wire normally carries current and can shock you, and a wire you assume is dead may still be live. Before working on any wiring, turn off the correct breaker, verify with a non-contact voltage tester and a multimeter that the conductors are de-energized, and treat every wire as live until proven otherwise.

Working Safely with Electrical Wiring

Electrical work carries real risk of shock, fire, and injury, and many jurisdictions legally require licensed professionals for significant work. If you do tackle minor tasks, follow these basics: shut off the breaker, lock it out, test before touching, never bypass or remove the ground, match wire gauge to the circuit, and follow your local electrical code. For panel work, new circuits, aluminum wiring, or anything you are unsure about, hire a licensed electrician. Understanding wire color meaning is valuable knowledge, but safe practice and proper testing are what actually protect you.

Frequently Asked Questions

What color wire is hot (live)?

In US residential wiring, the hot (live) wires are typically black and red, and additional hot conductors are often blue or yellow (used as travelers in switches or for fans and outlets). Hot wires carry current from the panel to the device. Always treat any wire as potentially live until you have turned off the breaker and confirmed it is de-energized with a tester.

What color is the ground wire?

The ground wire in US wiring is green, green with a yellow stripe, or bare (uninsulated) copper. The ground provides a safe path for fault current to protect against shock and is connected to the grounding system. It should never be used as a current-carrying conductor under normal operation. Never disconnect or omit the ground wire.

What color is the neutral wire?

In the US, the neutral wire is white or gray. The neutral completes the circuit by returning current to the panel. Although it normally carries current, it can still be dangerous, so it must be treated with care. In some applications a white wire is re-marked (taped or labeled) to serve as a hot conductor, so always verify with a tester.

Are wire colors the same in every country?

No. Wire color codes vary significantly by country. For example, in the UK and EU, brown is live, blue is neutral, and green/yellow is earth (ground) — different from the US system where black is hot and white is neutral. Older installations may also use outdated colors. Always confirm the code that applies to your region and installation, and never assume.

Is it safe to identify wires by color alone?

No. Color codes are a guide, not a guarantee. Wires may be mislabeled, re-marked, faded, installed under an older or foreign code, or wired incorrectly by a previous person. The only safe approach is to turn off the breaker, use a voltage tester to confirm each wire is de-energized, and treat every wire as live until proven otherwise. When in doubt, hire a licensed electrician.

More Color Meanings

You might also like