Blume Mechanical ServiceBlume MechanicalService · Est. 2009

HVAC, explained

How a Thermostat Works

A thermostat is essentially a temperature-controlled switch. It measures the temperature of the air around it and, when that reading drifts past the temperature you set, it closes a low-voltage electrical circuit that signals your heating or cooling equipment to turn on. When the room reaches the target, the circuit opens again and the equipment shuts off.

The thermostat on your wall looks simple, but it is the decision-maker for your entire heating and cooling system. It constantly compares the actual room temperature against the temperature you want and uses that comparison to switch the equipment on and off. Understanding how it senses temperature, which wires do what, and why it lets the temperature drift a little helps you troubleshoot problems and choose the right replacement.

A thermostat is a temperature-controlled switch

At its core, a thermostat does one job: it turns your heating and cooling equipment on and off based on temperature. It does not heat or cool anything itself, and it does not move air. It is a control device, or more plainly, an automatic switch that responds to how warm or cool the room is.

Here is the basic loop. You choose a target temperature, called the setpoint. The thermostat continuously measures the actual temperature of the air near it. When the room gets too cold for heating (or too warm for cooling), the thermostat closes an electrical circuit. Closing that circuit sends a signal to the furnace, air handler, heat pump, or air conditioner telling it to run. Once the room reaches the setpoint, the thermostat opens the circuit again and the equipment stops.

Almost all residential thermostats do this switching with low-voltage control wiring, typically 24 volts, rather than the high-voltage power that actually runs the equipment. That separation is important: the thin wires behind your thermostat carry only a small control signal, while the heavy work of moving current to the blower motor and compressor happens inside the equipment and at the electrical panel. The thermostat is simply the brain that decides when those larger systems should switch on.

How it senses temperature

Every thermostat needs a way to feel the temperature of the room. How it does that has changed a lot over the decades.

Older mechanical thermostats use a bimetallic strip: two different metals bonded together that expand and contract at different rates as they warm and cool. As the temperature changes, the strip bends. That bending motion physically opens or closes a set of electrical contacts, completing or breaking the circuit. Some vintage thermostats paired the bimetallic element with a small sealed glass tube containing a bead of mercury; as the strip tilted the tube, the liquid mercury would roll to one end and either bridge or break the contacts. These designs are reliable and need no batteries, but they are less precise and mercury tubes are now considered hazardous and are phased out.

Modern electronic thermostats use a thermistor, a small solid-state sensor whose electrical resistance changes in a predictable way with temperature. A tiny circuit measures that resistance, converts it to a temperature reading, and compares it to your setpoint digitally. Because the reading is electronic, the thermostat can display the exact temperature, hold tighter tolerances, and support features a mechanical strip never could, such as programming and remote control. The sensing method changed, but the underlying purpose is identical: know the room temperature accurately so the switch can be made at the right moment.

The control wires and what each one does

Behind the thermostat you will usually find several thin, color-coded wires. Each one carries a specific control signal on the 24-volt system, and understanding them explains exactly how the thermostat commands the equipment. The most common terminals follow a standard convention:

R is power. It is the 24-volt hot leg coming from the system's transformer. The thermostat needs this as the source it switches to the other terminals. In some systems you will see Rh and Rc as separate power legs for heating and cooling.

W is the heat call. When the thermostat decides the room needs heat, it connects R to W, energizing the heating side and telling the furnace or air handler to fire.

Y is the cooling call. When the room needs cooling, the thermostat connects R to Y, which signals the air conditioner or heat pump compressor to run.

G is the fan. Connecting R to G runs the system blower, either automatically during a heating or cooling cycle or on demand when you set the fan to on.

C is the common wire. It provides a continuous return path for 24-volt power so a thermostat can draw steady electricity without interrupting a heating or cooling call. Older mechanical thermostats did not need a C wire because they used no continuous power, but most modern thermostats rely on it. Because the C wire is such a common sticking point for upgrades, it is worth reading a dedicated explanation of what it does and how to tell whether you have one.

The key idea is the call for concept. The thermostat is not sending heat or cold down the wire. It is simply closing the appropriate circuit, a call for heating on W or a call for cooling on Y, and the equipment responds by doing the actual work.

Setpoint, deadband, and why it doesn't cycle constantly

If a thermostat switched the equipment on and off the instant the temperature crossed the setpoint by even a hundredth of a degree, your system would start and stop constantly. That rapid on-off behavior, called short cycling, wastes energy and puts hard wear on compressors and motors, which draw a surge of current every time they start.

To prevent that, thermostats are built with a small buffer around the setpoint. This is called the deadband, differential, or swing. Instead of reacting to the exact setpoint, the thermostat lets the temperature drift a little past it before switching, and lets it drift back a little before switching off. For example, with a heating setpoint of 70 degrees and a small differential, the thermostat might let the room fall to roughly 69 before calling for heat, then run until it reaches about 71 before stopping. The result is a gentle sawtooth pattern that hovers around your target rather than pinning it exactly.

This is completely normal and by design. A slightly wider deadband means fewer, longer equipment cycles, which is easier on the equipment and often more comfortable, while a narrow deadband holds temperature tighter at the cost of more frequent cycling. If you notice the room varies by a degree or two around your setpoint, that is the deadband doing its job of protecting your system, not a malfunction.

What smart thermostats add

A smart or programmable thermostat still does the same fundamental job, switching the same R, W, Y, G circuits based on temperature, but it adds a layer of intelligence on top of the basic switch.

Programmable models let you schedule different setpoints by time of day and day of week, so the system can ease back while you are asleep or away and return to a comfortable temperature before you wake or come home. Learning models go further, watching your adjustments over time and building a schedule automatically, and some adjust for how long your particular system takes to reach a target so it arrives at the setpoint at the right moment. Connected models add Wi-Fi so you can change settings, check status, and get alerts from a phone app anywhere, along with reporting on runtime and energy use.

All of that extra capability requires the thermostat to be powered continuously, not just during a heating or cooling call. Running a display, a Wi-Fi radio, and a processor around the clock is why smart thermostats almost always need a C wire to supply steady 24-volt power. Homes with older wiring may not have a C wire run to the thermostat, which is one of the most common obstacles to a smart upgrade, and it is worth confirming your wiring before choosing a model. Underneath every feature, though, the device is still doing what thermostats have always done: sensing the room temperature and closing the right circuit to tell your equipment when to run.

Frequently asked

Does a thermostat actually heat or cool the air?

No. A thermostat only senses temperature and switches your heating and cooling equipment on and off. The actual heating, cooling, and air movement happen at the furnace, air handler, heat pump, or air conditioner. The thermostat is the control that decides when those systems should run.

What voltage does a thermostat use?

Most residential thermostats operate on a low-voltage control circuit, typically 24 volts, supplied by a transformer in the equipment. The thermostat switches these small control signals on the R, W, Y, and G terminals. The high-voltage power that actually drives the blower and compressor is handled inside the equipment, not at the thermostat.

Why does the temperature drift a degree or two from what I set?

That drift is the deadband, also called the differential or swing, and it is intentional. The thermostat lets the temperature move slightly past the setpoint before switching so the equipment doesn't turn on and off constantly. This prevents short cycling, which wastes energy and wears out compressors and motors.

Do all thermostats need a C wire?

No. Older mechanical thermostats did not need a common (C) wire because they used no continuous power. Most modern smart and Wi-Fi thermostats do need one, because their displays, radios, and processors require steady 24-volt power around the clock. Confirming whether you have a C wire is a common first step before a smart thermostat upgrade.

Do I need to call a pro for this?

No. This is the one piece of the system you are meant to operate, and understanding it is the point of the page. It becomes a call when the thermostat is telling the truth and the equipment is not responding, or when the room never matches the setting - at that point the fault is past the thermostat and a licensed contractor has to find it.

Related

Blume Mechanical Service is a licensed commercial and residential HVAC contractor serving Florida's Tampa Bay region (CAC-1822618). If you are in our area and want a thermostat installed or a control problem diagnosed, we can help.

Last updated: 2026-11-05

Sources: General HVAC control principles (24V control circuits, R/W/Y/G/C) · US Department of Energy — thermostats · Thermostat manufacturer installation and operation guidance (generalized)

Search Google for how does a thermostat work