Understanding the AC wire color code is essential for safe and compliant electrical installations. Whether you're working on home wiring, commercial buildings, or appliances, identifying wires by color ensures proper connections and reduces the risk of electrical hazards.
This guide explains AC wiring color codes used in different countries, their functions, and practical tips for electricians, DIYers, and engineers.
What Is AC Wiring?
AC (Alternating Current) wiring delivers electricity from the main power source to outlets, lights, and appliances. Most residential and commercial systems operate at 120V, 240V, or 480V depending on region and building type.
In any AC system, wires are categorized by function:
Hot (Live) – carries current from the power source.
Neutral – returns current to the source.
Ground (Earth) – provides a safe path to prevent shock or fire.
Color codes help differentiate these roles clearly.

ac wire color code
Standard AC Wire Color Codes by Region
🇺🇸 United States (NEC Standard)
| Wire Color | Function | Notes |
|---|---|---|
| Black | Hot (Live) | Primary hot wire (120V or 240V) |
| Red | Hot (Live) | Secondary hot wire (for 240V or 3-phase) |
| White | Neutral | Returns current to panel |
| Green or Bare | Ground (Earth) | Safety ground wire |
➡ Common in residential and light commercial AC systems.
🇬🇧 United Kingdom (BS 7671)
| Wire Color | Function |
|---|---|
| Brown | Live |
| Blue | Neutral |
| Green/Yellow | Earth (Ground) |
➡ Used in single-phase and three-phase AC systems.
🇪🇺 European Union (IEC Standard)
| Wire Color | Function |
|---|---|
| Brown | Live |
| Blue | Neutral |
| Green/Yellow | Earth (Ground) |
➡ Standard for EU-compliant AC wiring systems.
🇮🇳 India (IS 732)
| Wire Color | Function |
|---|---|
| Red or Brown | Live |
| Black or Blue | Neutral |
| Green | Earth (Ground) |
➡ Widely adopted in Indian residential and commercial installations.
AC Wire Color Code Summary Chart
| Region | Live | Neutral | Ground (Earth) |
|---|---|---|---|
| USA | Black / Red | White | Green or Bare |
| UK | Brown | Blue | Green/Yellow |
| EU | Brown | Blue | Green/Yellow |
| India | Red / Brown | Black / Blue | Green |
Why AC Wire Color Codes Matter
✅ Safety: Prevents shock, fires, and short circuits.
✅ Code Compliance: Required by national electrical codes (NEC, IEC, etc.)
✅ Ease of Installation: Helps electricians and DIYers identify wires quickly.
✅ Efficient Troubleshooting: Simplifies diagnosing wiring faults or equipment issues.
Tips for Working with AC Wiring
Always turn off the power at the circuit breaker before working.
Use a voltage tester to confirm wires are de-energized.
Follow local codes—color standards can vary by country.
Label wires during installation for future maintenance.
Never assume wire color—inspect connections when in doubt.
Applications of AC Wiring
Home and building wiring (outlets, lights, appliances)
HVAC systems and thermostats
Generator connections and transfer switches
Industrial 3-phase systems (with additional color codes)
Conclusion
The AC wire color code is a vital standard that ensures safety, efficiency, and consistency in electrical installations. Whether you're replacing an outlet or wiring a panel, always verify the correct color codes for live, neutral, and ground wires based on your region.
Understanding and following wire color standards helps avoid costly mistakes, enhances compliance, and protects both property and lives.

5 comments
Gregg 10/02/2025
Great info. Lucky me I discovered your site by chance (stumbleupon). I have book-marked it for later!
Www.linkedin.com 10/02/2025
Hello mates, how is the whole thing, and what you wish for to say about this paragraph, in my view its in fact amazing in favor of me.
Opt-4 10/03/2025
Hi there, I found your website by the use of Google at the same time as searching for a related subject, your site came up, it appears to be like good. I've bookmarked it in my google bookmarks. Hi there, just turned into alert to your weblog via Google, and located that it's really informative. I'm gonna watch out for brussels. I will appreciate if you proceed this in future. Many other people might be benefited out of your writing. Cheers!
Cbr650r sc project exhaust sound 10/17/2025
Howdy would you mind stating which blog platform you're using? I'm planning to start my own blog soon but I'm having a hard time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I'm looking for something unique. P.S My apologies for getting off-topic but I had to ask!
Totcables 10/20/2025
ytheme