Google Nest Learning Thermostat (4th gen) wiring for heat pump + emergency heat

Good news: the Google Nest Learning Thermostat (4th gen) is a direct swap for this setup. Every wire has a matching terminal.

Separate AUX and E wires are common on older heat pumps. Many smart thermostats have no E terminal, so what happens to that wire decides whether you have a direct swap.

1Snap a photo of your old thermostat’s wires (optional)

AI reads the terminal letters and wire colors, then you double-check them. Photos are not saved.

2Tick every terminal that has a wire

Pull the faceplate off your old thermostat. Use the letter printed next to each wire, not its color. Skip short jumper wires between two terminals.

More labels (W3, X, X2, K, PEK, L, S, T, U, HUM, DEHUM)

3A few quick questions

Do you have a heat pump?

A heat pump is an outdoor unit that both heats and cools. Heat pump thermostats usually have an “EM HEAT” or “AUX” setting.

Do any of these apply?

4Your wiring

Your system: Heat pump, 1-stage compressor, 1-stage aux heat, emergency heat, fan, C wire present · 7 wires

Which smart thermostats work with your wires?

Google Nest Learning Thermostat (4th gen)

Works: direct swap
Wires from the wallNest Learning (4th gen)Rred · 24 V powerRc or RhCblue · Common (C wire)CYyellow · Cooling, stage 1YGgreen · FanGOorange · Reversing valve (O/B)*OBAUXwhite · Auxiliary heatAUXEbrown · Emergency heatE
WireColorJobConnect toNote
Rred24 V powerRc or Rh
CblueCommon (C wire)C
YyellowCooling, stage 1Y
GgreenFanG
OorangeReversing valve (O/B)*OB
AUXwhiteAuxiliary heatAUX
EbrownEmergency heatE

Install steps

  1. Turn off power to the furnace/air handler (switch or breaker) and the AC condenser. Confirm the old thermostat is dead.
  2. Photograph the old wiring, then label each wire with the letter it came off. Ignore short jumpers.
  3. Connect each wire to the Nest Learning (4th gen) terminal shown above. Cap unused wires one at a time.
  4. Restore power and finish setup in the app using the settings below.
  5. Test heat, cool and fan. If a breaker trips or equipment runs nonstop, power off and call a pro.

App settings to choose

  • Reversing valve (O/B): set to O.
  • Equipment type: heat pump with auxiliary (electric strip) heat.
  • Single R wire: the Nest app tells you whether to use Rc or Rh.

What you need

  • Google Nest Learning Thermostat (4th gen)The thermostat itselfCheck price

As an Amazon Associate we earn from qualifying purchases, at no cost to you.

Confirm against the official Google Nest install guide. The app also checks your wiring during setup.

Frequently asked questions

Where does each wire go on the Nest Learning (4th gen)?

R → Rc or Rh; C → C; Y → Y; G → G; O → *OB; AUX → AUX; E → E.

Do I need a C wire for the Nest Learning (4th gen)?

You already have a C wire, so no adapter is needed.

Other thermostats for this setup

Nest Learning (4th gen): other setups