Skip to content

Home Repair

How to Install a Thermostat

Replace a wall thermostat safely: check compatibility, cut HVAC power, photograph and label the wires, solve the C-wire question for smart thermostats, and set heat pumps up correctly.

Swapping a thermostat is mostly a labeling exercise. On the vast majority of central heating and cooling systems, the thermostat runs on 24 volts from a transformer in the furnace or air handler, and installation means moving a handful of thin wires from one base plate to another.

Two things trip people up: buying a thermostat that doesn't suit their system, and not having the C wire that most smart thermostats need. Sort out both before you open the box.

Check compatibility first

What you see behind the old thermostatSystem typeWhat it needs
2 to 10 thin wires on lettered terminals (R, W, Y, G, C, O/B)Low-voltage (24V) central systemMost standard and smart thermostats
Two thick wires joined with wire nuts, often on a heater thermostatLine-voltage baseboard or wall heatA line-voltage thermostat only — never a 24V model
Two thin wires to a gas wall heater, fireplace or floor furnaceMillivolt systemA thermostat that specifically supports millivolt
An O or B wire, and an outdoor unit that heats and coolsHeat pumpA heat-pump-compatible thermostat with O/B setting
W1/W2 or Y1/Y2 wiresMulti-stage heating or coolingA thermostat that supports the same number of stages

Most manufacturers have an online compatibility checker that asks for your wire letters. It's worth the five minutes. Our smart thermostat roundup notes which models need a C wire and which support heat pumps and multi-stage systems.

The C-wire question

The C (common) wire completes the 24-volt circuit so the thermostat gets steady power. Older thermostats ran on batteries and didn't need it, so many homes don't have one connected. Your options:

  1. Check for a spare wire. Many cables have an extra conductor folded back behind the wall. Connect it to C at the thermostat and to the C or COM terminal on the furnace control board (with the power off).
  2. Use a power adapter kit. Several thermostat brands include or sell a module that installs at the furnace and provides power over your existing wires.
  3. Run a new cable. An HVAC tech or handy homeowner can pull new thermostat wire with enough conductors.
  4. Choose a thermostat that doesn't need C. Battery-powered and power-sharing models exist, though power sharing can cause clicking or short cycling on some systems.

Heat pumps: the O/B setting

A heat pump uses a reversing valve to switch between heating and cooling. The thermostat must know when to energize it. O means the valve is energized in cooling mode, and B means it's energized in heating mode. Most brands use O; a few, notably Rheem and Ruud, use B. If you're unsure, check the air handler's wiring diagram. If the system blows cold air when you call for heat, switch the setting in the thermostat menu.

After installation

Give the new thermostat a day or two before judging it. Set the schedule, confirm the Wi-Fi connection if it's a smart model, and replace the furnace filter while you're at it — a clogged filter makes any thermostat look bad. If you're tuning up the cooling side too, our guide to cleaning an AC unit covers the outdoor condenser.

Step by step

  1. 1

    Confirm your system and the thermostat match

    Pull the old thermostat's cover and look at the wires. Thin, low-voltage wires (often in a multi-color bundle) on terminals like R, W, Y, G and C mean a standard 24-volt system. Thick wires with wire nuts, or a thermostat marked 120V or 240V, mean line voltage — stop and buy a line-voltage thermostat instead. Run your wire letters through the new thermostat's compatibility checker.

  2. 2

    Turn off power to the HVAC system

    Switch off the furnace or air handler at its breaker or at the service switch near the unit (it looks like a light switch). If you have a separate outdoor unit, turn off its breaker too. Confirm the old thermostat's display goes dark and the system won't start.

  3. 3

    Photograph and label the wires

    Before disconnecting anything, take a clear photo of the wiring. Then wrap a label around each wire with the letter of the terminal it's on, not its color — installers don't always follow color conventions. Note any jumper wire between terminals.

  4. 4

    Remove the old thermostat

    Loosen the terminal screws or release the push-in connectors and free the wires one at a time. Unscrew the old base plate from the wall. Wrap the cable around a pencil or tape it to the wall so it can't fall back inside.

  5. 5

    Mount the new base plate

    Feed the wires through the new base, level it, mark the screw holes, and install anchors if needed. Screw the base to the wall. Patch and paint any old holes the new base won't cover.

  6. 6

    Connect the wires to matching terminals

    Insert each labeled wire into the terminal with the same letter, stripping a little fresh copper if the ends are frayed. If your old thermostat had separate Rh and Rc wires, connect both; if it had one R wire, follow the new thermostat's instructions for R or Rc. Tuck the excess wire into the wall.

  7. 7

    Handle the C wire

    If the new thermostat needs a C (common) wire and you don't have one, use one of the options in the section below — an unused wire in the bundle, the manufacturer's power adapter, or a new cable. Don't move other wires to the C terminal.

  8. 8

    Attach the thermostat and restore power

    Snap or screw the thermostat onto its base, then turn the HVAC breaker or service switch back on. The display should power up within a minute or two.

  9. 9

    Run the setup and set the heat pump option

    Follow the on-screen or app setup to tell the thermostat which equipment you have: furnace, boiler or heat pump, number of stages, and fuel type. For heat pumps, set the reversing valve option to O or B to match your system, as the next section explains.

  10. 10

    Test heating, cooling and fan

    Call for heat, then cooling, then fan-only, waiting a few minutes in each mode. Air should come out at the right temperature each time. If heat and cool are reversed on a heat pump, switch the O/B setting.

Common mistakes

  • Labeling wires by color instead of by the terminal letter they came off.
  • Connecting a standard low-voltage thermostat to line-voltage baseboard or wall heaters.
  • Leaving the HVAC power on and shorting R to C, which can blow the control board fuse or transformer.
  • Moving the G or another wire to C without understanding the trade-off, then losing fan or cooling control.
  • Choosing the wrong O/B setting on a heat pump, so it heats when you ask for cooling.
  • Letting the thermostat cable slip back into the wall cavity.

Frequently asked questions

Do I need a C wire for a smart thermostat?

Most smart thermostats want one, because Wi-Fi and a lit screen need continuous power. Some models run without it or include a power adapter, and a few use batteries. Check the thermostat's requirements before you buy.

What if I don't have a C wire?

Look for an unused wire folded back in the cable; if there is one, connect it to C at the thermostat and to the C or COM terminal on the furnace control board. Otherwise, use the thermostat maker's power adapter kit, have a new thermostat cable run, or choose a thermostat that doesn't need a C wire.

Can I put a smart thermostat on electric baseboard heat?

Not a standard one. Baseboard heaters and many wall heaters run on 120 or 240 volts through the thermostat, and a low-voltage thermostat can be destroyed or create a hazard on that circuit. Buy a thermostat specifically rated for line-voltage heaters, or have an electrician help.

What do the O and B settings mean on a heat pump?

They tell the thermostat when to energize the heat pump's reversing valve. With O, the valve is energized for cooling; with B, it's energized for heating. Most heat pump brands use O, and a few, notably Rheem and Ruud, use B. Check your equipment's documentation; if heating and cooling come out backward, switch the setting.

My new thermostat is on but the system won't run. What now?

Recheck that each wire is fully seated in the correct terminal and that the furnace service switch and outdoor unit breaker are back on. Make sure the furnace door is fully closed, since a door safety switch cuts power. If it still won't run, check the low-voltage fuse on the furnace control board.