An air conditioner relies on two entirely distinct wiring systems: a high-voltage 240V mains supply (the whip) and a low-voltage 24V control cable (the thermostat wire). Mixing these up is a catastrophic error. For US (NEC) 240V mains, use Black and Red for the hot legs, White for neutral, and Bare/Green for ground. For 24V thermostat control, the standard color code is Red (R/24V), Yellow (Y/compressor), Green (G/fan), White (W/heat), and Blue or Black (C/common).

The Complete Air Conditioner Wire Color Code Reference

The table below maps every standard terminal and conductor you will encounter on a residential split-system or heat pump. This covers both the high-voltage disconnect wiring and the low-voltage control board terminals.

System Terminal / Function US (NEC) Color IEC (EU/UK/AU) Color Practical Meaning
Mains (240V) L1 (Hot 1) Black Brown First 120V leg from the double-pole breaker.
Mains (240V) L2 (Hot 2) Red Black Second 120V leg from the double-pole breaker.
Mains (240V) N (Neutral) White Blue Required for 120V control circuits inside the outdoor unit.
Mains (240V) PE (Ground) Bare / Green Green/Yellow Equipment grounding conductor. Bonds to the disconnect and chassis.
Control (24V) R / Rc / Rh Red Red 24VAC hot from the transformer. Powers the thermostat.
Control (24V) C (Common) Blue / Black Blue / Black 24VAC return. Completes the circuit for smart thermostats.
Control (24V) Y / Y1 Yellow Yellow Cooling stage 1. Energizes the outdoor compressor contactor.
Control (24V) G Green Green Indoor blower fan. Runs the fan independently of cooling/heating.
Control (24V) W / W1 White White Heating stage 1. Energizes the furnace or air handler heat strips.
Control (24V) O / B Orange / Blue Orange / Blue Reversing valve (Heat Pumps only). O=cool, B=heat (usually).

Regional Mains Standards: NEC vs. IEC vs. Old UK

While 24V thermostat control wire colors are remarkably consistent globally, high-voltage mains colors vary drastically by region. Applying the wrong standard to a mains whip will result in a dead short or an energized chassis.

WARNING: Mains voltage (240V AC) is lethal. Always de-energize the circuit at the main panel, lock out the breaker, and verify the conductors are dead with a tested CAT III multimeter before touching any terminals. If you are unsure about local code compliance, hire a licensed electrician.
  • North America (NEC / CEC): Follows the Black/Red/White/Green standard for 240V split-phase systems. According to the NFPA 70 (National Electrical Code), white is strictly reserved for the grounded neutral conductor, and green/bare is strictly for equipment grounding.
  • Europe, UK, and Australia (IEC 60446 / AS/NZS 3000): Uses Brown (L1), Black (L2), Blue (Neutral), and Green/Yellow stripe (Ground). If you are wiring a modern imported mini-split in the EU, you must use these colors.
  • Old UK (Pre-2006): If you are retrofitting a UK home wired before the 2006 harmonization, the old colors were Red (Live), Black (Neutral), and Green (Earth). Never assume a black wire is neutral in an old UK installation—it was the neutral, but a red wire was live. In modern IEC, black is L2 (live).

Rows People Get Wrong (And How They Fry Your Board)

Based on years of bench troubleshooting and jobsite callbacks, these are the specific color code misinterpretations that destroy HVAC control boards and smart thermostats.

1. Using Bare Ground as the 'C' (Common) Wire

When installing a smart thermostat (like a Nest or Ecobee) that requires a C-wire, DIYers often realize their wall only has 4 wires. Seeing the bare copper ground wire in the wall bundle, they connect it to the 'C' terminal. This is a critical failure. The C terminal outputs 24VAC return current. Tying it to ground sends 24VAC directly into your home's grounding system, which can trip GFCI breakers, cause erratic behavior in other electronics, and permanently fry the HVAC control board's transformer. If you lack a C-wire, run a new 18/5 cable or use a dedicated 24V C-wire adapter kit.

2. Confusing 'O' and 'B' on Heat Pumps

The Orange and Blue wires control the reversing valve on a heat pump. The industry is split: most manufacturers (Carrier, Trane, Lennox) use the Orange (O) wire to energize the valve for cooling. However, Rheem and Ruud use the Blue (B) wire to energize the valve for heating. If you wire this backward, your heat pump will blow cold air in the winter and hot air in the summer. Always check the outdoor unit's data plate or wiring schematic to confirm whether it requires O or B.

3. Mixing Mains White with Control White

In the mains whip, White is your 120V Neutral. In the thermostat cable, White is your W1 (Heating) signal. Never connect the 24V White control wire to a mains neutral bus, and never run mains voltage through 18 AWG thermostat wire. The 18 AWG wire will instantly vaporize and start a fire.

Faded or Missing Markings: Safe Interpretation Protocol

UV exposure, heat, and age routinely bleach the color coding off outdoor condenser wires, especially on the low-voltage control bundle. If you are servicing an older unit and the wire colors are faded to a uniform gray or brown, do not guess based on terminal position. Follow this safe interpretation protocol:

  1. De-energize and Lockout: Turn off both the 240V outdoor disconnect and the 120V indoor air handler breaker.
  2. Disconnect Both Ends: Unwire the suspect cables from both the thermostat/control board and the outdoor contactor.
  3. Continuity Testing: Set your multimeter to continuity (the diode/beep setting). At the outdoor unit, twist two wires together and tape them. Go to the indoor end and test pairs until you find the two that beep. Label them immediately with heat-shrink tubing or electrical tape.
  4. Voltage Verification (Mains Only): If tracing the high-voltage whip, turn the power back on only after all bare ends are capped and secured. Use a non-contact voltage tester to identify the hot legs, then use a CAT III meter to measure leg-to-leg (should read ~240V) and leg-to-ground (should read ~120V). The neutral will read 0V to ground.
Pro Tip: Keep a roll of 1/4-inch heat shrink tubing and a heat gun in your HVAC bag. Wrapping a tiny colored band of heat shrink around faded wires at the terminal block takes 10 seconds and saves the next technician hours of troubleshooting.

Decision Path: Sizing and Selecting Your AC Wire

Selecting the correct wire gauge and type is just as critical as the color code. Use the US Department of Energy's HVAC guidelines and the equipment's Minimum Circuit Ampacity (MCA) to make your pick. Follow this decision tree to terminate your parts list.

Scenario / Equipment Required Rating Wire Type & Gauge Concrete Pick (Default)
Standard 1.5 to 3-Ton Condenser (Mains) Max 30A Breaker / MCA < 24A 10 AWG Copper (60°C column) 10/3 NM-B (Romex) for indoor runs; 10/3 UF-B if buried.
Large 4 to 5-Ton Condenser (Mains) Max 40A to 50A Breaker / MCA > 24A 8 AWG or 6 AWG Copper 8/3 NM-B (for 40A) or 6/3 NM-B (for 50A).
Standard Thermostat (Control) 5-Wire (R, C, Y, G, W) 18 AWG Solid Copper, 5-conductor 18/5 Thermostat Wire (solid copper, not CCA).
Heat Pump / Multi-Stage (Control) 8-Wire (Adds O/B, Y2, W2) 18 AWG Solid Copper, 8-conductor 18/8 Thermostat Wire (provides spares for future upgrades).

The Default Recommendation: If you are wiring a standard modern 3-ton residential split system and want to finish the job without a second trip to the supply house, buy a 250-foot spool of 18/5 solid copper thermostat wire for the control runs, and a 25-foot roll of 10/3 NM-B with ground for the 30A mains whip between the panel and the outdoor disconnect. Never use Copper-Clad Aluminum (CCA) for low-voltage control wire; the higher resistance causes voltage drop that will prevent smart thermostats from booting.