Wiring a Thermostat to a Heat Pump Without Mixing Up O and B
Wiring a thermostat to a heat pump means matching each 24-volt wire to its terminal. O/B runs the reversing valve, the part that switches between heating and cooling, and AUX or W2 runs backup heat. Turn the power off at the breaker, label the old wires, and set the new thermostat to heat pump mode with the right O/B setting.
On this page (8)
Step-by-step instructions
Check the new thermostat works with heat pumps
Look for heat pump support, an O/B terminal and auxiliary heat on the box. A two-stage heat pump also needs Y1 and Y2.
Turn the power off
Switch off the breaker for the air handler or furnace and the one for the outdoor unit, standing on a dry floor. If the panel area is wet, call the utility or an electrician instead. Confirm the old thermostat screen goes blank.
Photograph and label the wires
Pull the old thermostat off its base and take a clear photo of every wire and terminal. Put a label on each wire with the letter it was on, since colors aren't a reliable guide.
Disconnect and mount the new base
Free the wires one at a time so none drop into the wall, and keep the bare ends from touching each other. Feed them through the new base and screw it up level.
Connect each wire to its terminal
Match each labeled wire to the same letter on the new base, using the manual's chart where names differ.
Set heat pump mode and O/B
Snap on the thermostat, turn the breakers back on, and open the installer menu. Set the system type to heat pump, choose O or B to match your equipment, and set the backup heat type.
Test every mode
Run cooling, then heating, then emergency heat, a few minutes each. Wait about five minutes between mode changes so the compressor's delay timer doesn't trip, and skip the cooling test in cold weather. If heat and cooling come out backward, switch the O/B setting and test again.
What each heat pump terminal does
Wiring a thermostat to a heat pump comes down to a handful of terminals. Two of them make a heat pump different: O/B for the reversing valve, and AUX or W2 for backup heat. The rest do the same jobs as on any central system. Our heat pump installation page covers the equipment the thermostat controls.
| Terminal | Common wire color | What it controls |
|---|---|---|
| R (or Rc/Rh) | Red | 24-volt power from the transformer in the air handler, the indoor unit |
| C | Blue or black | Common, the return path for steady thermostat power |
| Y or Y1 | Yellow | The compressor, first stage |
| Y2 | Varies | The compressor’s second stage, on two-stage units |
| G | Green | The indoor blower fan |
| O/B | Orange or dark blue | The reversing valve |
| AUX or W2 | White or brown | Backup heat, such as electric strips or a furnace |
| E | Varies | Emergency heat, backup only with the heat pump off |
Don’t trust the colors. An installer may have used whatever wire was free, so go by the letter each wire was on.
O or B: the setting that trips people up
The O/B terminal powers the reversing valve, and the thermostat has to know which way your heat pump works. With O, the valve is powered in cooling. With B, it’s powered in heating. Many brands use O, and some use B, so check your outdoor unit’s manual.
If the setting is wrong, the heat pump blows cold air on a heating call and warm air on a cooling call. That’s a settings problem, not a broken valve. Our page on the reversing valve on a heat pump covers what a failing valve looks like when the setting is right.
Where the backup heat wire goes
Backup heat on a heat pump thermostat goes on AUX, W2 or W1, depending on the brand. It turns on electric strips or a furnace when the heat pump can’t keep up or is defrosting. The E terminal runs backup heat alone, with the heat pump off.
The old thermostat’s backup wire may sit on W, W2 or AUX. Names differ between brands, so check the new manual for where it goes. Some setups tie AUX and E together with a jumper.
If a gas furnace is your backup, you have a dual fuel system. The thermostat needs a dual fuel setting, or the furnace control board handles the switch. Our page on the dual fuel heat pump explains how that changeover is set.
Before you start
Check the voltage, the thermostat’s heat pump support and whether you have a C wire before you buy or wire anything. Heat pump thermostats run on 24-volt control wire, about as thin as phone cable. Thick wires with wire nuts mean line voltage, and that’s an electrician’s job.
Many smart thermostats need a C wire for steady power. If there’s none behind the old thermostat, our page on thermostat installation covers the options. Adding one means work at the air handler, which is a pro’s job.
Where to stop
You can safely swap a 24-volt thermostat at the wall with the breakers off. Stop at the wall plate. Don’t open the air handler, the furnace or the outdoor unit to trace wires, since they have high-voltage wiring inside.
Stop and call a pro if any of these come up:
- A wire sits on a terminal you can’t identify
- The breaker trips when you turn it back on
- The old thermostat was marked 120 or 240 volts
- You need a new wire pulled, such as a C wire
If it runs on backup heat all the time after the swap, or the outdoor unit won’t start, turn it off and call for service. Our page on a heat pump blowing cold air lists the other causes to rule out.
What a pro install costs
A thermostat installed by a pro runs $120 to $400 nationally, and a typical one comes in around $260. Adding a C wire or setting up staging or dual fuel is extra work, so ask what each quote includes.
On a whole-system install, ask whether the thermostat is in the quote. Our heat pump installation page walks through install day.
Before you hire, check the contractor’s license with your state or local office. Ask whether the thermostat warranty comes from the maker or from them, and how long the labor is covered.
If this did not work, a professional costs about $120 to $400. A thermostat installed by a pro runs $120 to $400 nationally, about $260 typical, per thermostat. Call a pro if a C wire is missing, the old wiring doesn't match the new thermostat, or you have a line-voltage system.
FAQ
What does the O/B wire do on a heat pump thermostat?
It powers the reversing valve, which switches the heat pump between heating and cooling. O means the valve is powered in cooling, and B means it's powered in heating. Your thermostat setting has to match your equipment.
Which wire is the O/B wire?
It's often orange, but colors aren't a rule. Go by the terminal letter on the old thermostat, and check the heat pump manual if the old one was a conventional model.
What is the difference between AUX and E on a thermostat?
AUX turns on backup heat to help the heat pump when it can't keep up. E, for emergency heat, runs backup heat alone with the heat pump off. Some systems tie the two to the same wire.
Why is my heat pump blowing cold air after a new thermostat?
The O/B setting is often the cause. If heating and cooling are backward, switch it in the installer menu. Also confirm the system type is set to heat pump, not furnace.
Sources
- Occupational Employment and Wages: Heating, Air Conditioning, and Refrigeration Mechanics and Installers, U.S. Bureau of Labor Statistics