The search for the "air conditioning wire color code" usually masks a critical confusion: are you wiring the 24-volt thermostat control circuit, or the 120V/240V mains power feeding the outdoor condenser and indoor air handler? Mixing these two systems up will instantly destroy a control board or create a lethal shock hazard. The control circuit uses low-voltage solid copper (typically 18 AWG), while the mains feed uses high-voltage stranded or solid conductors (typically 10 to 6 AWG).

Below is the exact color mapping for both systems, followed by regional variants, the specific rows technicians get wrong, and a decision path to get your wiring right on the first try.

The Master Air Conditioning Wire Color Code Table

This table covers both the low-voltage control side and the high-voltage mains side. Always verify voltage with a multimeter before assuming a wire's function based on color alone.

Function Terminal 24V Thermostat Color (Control) Mains Power (US/NEC) Mains Power (EU/IEC)
24VAC Hot (Power) R / Rc / Rh Red N/A N/A
24VAC Common (Return) C Blue (or Black) N/A N/A
Cooling (Compressor) Y / Y1 Yellow N/A N/A
Heating (Furnace/Heat) W / W1 White N/A N/A
Indoor Blower Fan G Green N/A N/A
Reversing Valve (Cool) O Orange N/A N/A
Reversing Valve (Heat) B Dark Blue / Brown N/A N/A
Line 1 (Hot) L1 N/A Black Brown
Line 2 (Hot - 240V) L2 N/A Red Black
Neutral N N/A White Blue
Equipment Ground GND / PE N/A Bare / Green Green/Yellow Stripe

Regional & Standard Variants: NEC, IEC, and Legacy UK

Wire color codes are strictly governed by regional electrical standards. Assuming US colors on a European installation (or vice versa) is a primary cause of dead shorts and blown transformers.

High-Voltage Warning: Any work on the mains power feed (L1, L2, N, PE) involves lethal voltage. De-energize the disconnect and breaker, lock/tag out the panel, and verify dead with a tested CAT III or CAT IV multimeter before touching any conductors. NEC-style guidance applies here; your local AHJ has final authority.
  • US / Canada (NEC / CEC): Governed by NFPA 70 (National Electrical Code). Mains hots are Black and Red. Neutral is strictly White or Gray. Ground is Bare or Green. Thermostat wire follows the industry-standard 18/5 color jacket (Red, White, Yellow, Green, Blue).
  • Europe / IEC Regions: Governed by IEC 60446. Mains hots are Brown (L1) and Black (L2). Neutral is Blue. Ground is Green with a Yellow stripe. The 24V control wiring colors generally remain the same as the US, as most global HVAC control boards (Honeywell, Ecobee, Nest) print the US-standard R/W/Y/G/C terminal labels on their PCBs.
  • Legacy UK (Pre-2004): If you are working in an older UK home that hasn't been rewired since the harmonization with European standards, the old single-phase mains colors were Red (Live), Black (Neutral), and Bare (Earth). Mixing up legacy Black (Neutral) with modern Black (L2 Hot) will cause a direct short. Always sleeve legacy wires with modern color markers at the terminals.

The "Rows People Get Wrong" Troubleshooting Notes

When HVAC technicians and DIYers miswire an AC system, it almost always traces back to one of these three terminal misunderstandings.

1. The "C" Wire is NOT Cooling

The most common mistake in smart thermostat installations is assuming the Blue "C" wire stands for "Cooling." It stands for Common. It is the 24VAC return path that completes the circuit for the thermostat's internal Wi-Fi radio and display. If you connect the Yellow "Y" (Cooling) wire to the "C" terminal, your compressor will run 24/7, freezing the evaporator coil into a block of ice and potentially slugging liquid refrigerant back to the compressor, destroying it.

2. The White Wire Identity Crisis

In 18/5 thermostat cable, the White wire is Heat (W). In 10/2 NM-B mains cable, the White wire is Neutral (N). If you are splicing wires in the air handler junction box and accidentally connect the 240V mains White (Neutral) to the 24V thermostat White (Heat), you will send 120V directly into the low-voltage control board. The 3A fuse on the board will blow instantly, and if the fuse fails, the transformer and board will melt. Never run thermostat wire and mains wire in the same knockout hole without a physical divider.

3. The O vs. B Reversing Valve Terminal

Heat pumps use a reversing valve to switch between heating and cooling.

  • Carrier, Trane, Lennox, and most others: Energize the valve on the O terminal (Cooling). The valve rests in Heat mode.
  • Rheem and Ruud: Energize the valve on the B terminal (Heating). The valve rests in Cool mode.
If you wire a Rheem heat pump to the O terminal, the system will blow cold air when you call for heat, and hot air when you call for AC.

Safe Interpretation When Wire Colors Are Faded or Missing

In older homes, sun exposure, heat from the furnace plenum, or previous DIY hacks can leave you with a bundle of wires where the colors are painted over, faded, or all identical (e.g., an old 4-wire brown cable). Do not guess. Use this verification protocol:

The 24VAC Verification Test: Set your multimeter to AC Volts (V~). Place one probe on the suspected R (Hot) wire and the other on the suspected C (Common) wire at the air handler control board. You should read between 22VAC and 28VAC (nominal 24VAC). If you read 0VAC, swap probes or test against the metal chassis (ground). If you read 120VAC, you have found a mains wire, not a control wire—stop immediately.

For mains conductors with faded insulation, you must de-energize the circuit, lock out the breaker, and use the multimeter's continuity mode (the diode/beep setting). Trace the physical path of the wire from the disconnect to the contactor. Never rely on a non-contact voltage tester (NCVT) to identify a specific wire's function, as capacitive coupling from adjacent live wires will cause false positives on neutral and ground conductors.

Decision Path: Which Wire Goes Where?

Use this decision tree to select the exact materials and wiring topology for your specific HVAC project. For further efficiency standards on smart controls, refer to the ENERGY STAR Smart Thermostat guidelines.

Your Scenario Required Action Concrete Part / Material Pick
Running new wire for a standard smart thermostat (Wi-Fi enabled) Pull a dedicated 24V line with a Common wire. Do not use 4-wire; always pull extra conductors for future humidifiers or dual-fuel setups. Southwire 18/8 Solid Copper (250ft spool). Use 18 AWG solid, never stranded, for thermostat screw terminals.
Wiring a new 2-ton to 3-ton outdoor condenser unit Install a 30A double-pole breaker. Run a dedicated 240V whip from the disconnect to the unit. Terminate with a weatherproof liquidtight connector. Cerro 10/2 NM-B (for indoor/protected runs) OR 10 AWG THHN (Black, Red, Green) pulled through 1/2" Liquidtight Flexible Metal Conduit for the outdoor whip.
Upgrading to a smart thermostat but lacking a "C" wire at the wall Do not use "power stealing" adapters if you have a modern variable-speed blower; it can cause relay chatter. Install a wire multiplier at the control board. Venstar Add-A-Wire (ACC0410) kit. This allows you to multiplex the Y and G signals over a single wire, freeing up a conductor to serve as your C wire.
Connecting a 4-ton to 5-ton commercial or large residential unit Requires a 40A to 50A breaker depending on the MCA (Minimum Circuit Ampacity) on the data plate. 10 AWG will overheat and trip. 8 AWG THHN (for 40A) or 6 AWG THHN (for 50A/60A) in 3/4" conduit. Always size to the MCA, not the FLA (Full Load Amps).

When in doubt, default to pulling 18/8 solid copper for controls and sizing your mains conductors strictly to the MCA printed on the manufacturer's data plate. Never downsize a breaker or wire to "stop it from tripping"—if a 30A breaker trips on a 30A circuit, the compressor is failing or the wire is undersized, and the breaker is doing its job to prevent a fire.