How to Replace a Thermostat
Upgrade to a smart or programmable thermostat and save 10-15% on heating and cooling costs. This beginner-friendly swap takes about 30 minutes and requires no special electrical knowledge.
Repair & Refinish Team
Published March 4, 2026 · Updated March 20, 2026
What You'll Need
- Phillips screwdriver
- Flathead screwdriver
- Level
- Drill with 3/16" bit (if mounting new backplate)
- Wire stripper
- Smartphone (for smart thermostat setup)
- New thermostat
- Wire labels (usually included)
- Wall anchors (usually included)
- Painter's tape (to hold wires)
Cost Estimate
Budget
$25
Mid-Range
$130
Premium
$250
An HVAC tech charges $150-$300 to install a thermostat. DIY you pay only for the thermostat itself ($25-$250).
Step-by-Step Instructions
Turn Off the HVAC System
Step 1 of 6Go to your breaker panel and turn off the breaker for your HVAC system (usually labeled "Furnace," "AC," or "HVAC"). This is important even though thermostat wires are low-voltage (24V) — it prevents short circuits while you work. Verify the system is off by checking that the old thermostat display goes blank or the fan stops running.
Although thermostat wires are low-voltage, a short circuit can blow the HVAC control board fuse (a $5-$50 part) or damage the control board itself ($100-$300). Always turn off the breaker.
Remove the Old Thermostat and Label Wires
Step 2 of 6Pull the old thermostat faceplate off the wall plate. You'll see colored wires connected to lettered terminals (R, W, Y, G, C, etc.). Before disconnecting anything, take a clear photo of the wire connections. Then label each wire with the letter of the terminal it's connected to using the labels included with your new thermostat (or masking tape). Disconnect the wires and remove the old wall plate.
Wrap loose wires around a pencil or tape them to the wall so they don't fall back into the wall cavity. Fishing wires out of a wall hole is frustrating and sometimes impossible without cutting drywall.
Mount the New Thermostat Backplate
Step 3 of 6Hold the new thermostat's backplate against the wall and use a level to make sure it's straight. Thread the wires through the opening in the plate. Mark the screw holes with a pencil. If the holes align with the old screws, you're set. If not, drill new holes and insert the included wall anchors. Screw the backplate to the wall. Make sure it's firmly mounted — a loose backplate causes display flicker on smart thermostats.
Connect the Wires
Step 4 of 6Connect each labeled wire to the matching terminal on the new thermostat (R to R, W to W, Y to Y, G to G, etc.). Most new thermostats use push-in connectors — strip 1/4 inch of insulation from the wire end (if needed) and push it firmly into the labeled port. For a smart thermostat, check if you need a C (common) wire. If you don't have one, install the included C-wire adapter per the instructions.
If you have a Nest thermostat and no C wire, use the included power connector on your furnace control board. It takes 10 minutes and is well-documented in the Nest app.
Attach the Thermostat and Power On
Step 5 of 6Snap or screw the thermostat body onto the mounted backplate. Turn the HVAC breaker back on. The thermostat should power up within 30 seconds. For a programmable thermostat, set the time, date, and your desired schedule. For a smart thermostat, follow the app-guided setup — it will walk you through Wi-Fi connection, system type detection, and schedule preferences.
Test All Modes
Step 6 of 6Test heating by setting the thermostat above room temperature — the furnace should kick on within 2 minutes. Test cooling by setting it below room temperature — the AC compressor should start. Test the fan by switching to "Fan On" mode. Run each mode for at least 5 minutes to verify proper operation. If any mode doesn't work, turn off the breaker and recheck your wire connections.
Wait 5 minutes between testing heating and cooling. Most HVAC systems have a built-in time delay to prevent the compressor from cycling too quickly, which can damage it.
Recommended Products
Auto-learns your schedule and adjusts temperature to save energy. Built-in motion sensor, Wi-Fi, and Google Home integration. Includes C-wire adapter. Sleek modern display.
Built-in air quality monitor, Alexa, and room sensor included. Manages hot and cold spots. Works with Apple HomeKit, Google, and Alexa. Best all-around smart thermostat.
Reliable non-smart programmable thermostat with large display. 7-day flexible scheduling. Works with virtually every HVAC system. No Wi-Fi needed.
Affiliate Disclosure: We earn a small commission when you buy through our links at no extra cost to you.
Tips & Warnings
- Take a compatibility quiz on the thermostat manufacturer's website before buying. Nest and ecobee both have online tools that check your wiring.
- If your current thermostat uses mercury (a small glass vial with silver liquid), dispose of it at a hazardous waste facility. Don't throw it in the trash.
- Smart thermostats pay for themselves within 1-2 years through energy savings. The Nest and ecobee models offer the best integration with smart home systems.
- Set your programmable schedule to lower heat by 7-10°F for 8 hours (while sleeping or at work). This alone saves 10% annually.
- Always turn off the HVAC breaker before touching thermostat wires. A short circuit can blow the control board fuse or damage the board.
- If you have a heat pump system, make sure the new thermostat has a specific heat pump setting. Incorrect wiring of a heat pump thermostat can lock the system into auxiliary heating, which is extremely expensive.
- If you find thick, high-voltage wires (line voltage thermostat, common with baseboard heaters), do not replace with a standard smart thermostat. You need a line-voltage smart thermostat or a relay adapter.
Frequently Asked Questions
Found this guide helpful?
Get more repair tutorials and maintenance checklists delivered to your inbox every week.
Related Guides
A dirty HVAC filter reduces airflow, increases energy bills, and worsens air quality. Learn how to find, size, and replace your filter in under 10 minutes — the easiest home maintenance task there is.
Stop drafts, cut energy bills, and keep bugs out by replacing worn weatherstripping on your exterior doors. This beginner project takes 30 minutes and costs under $30.
A broken or outdated light switch is a quick fix that takes about 20 minutes. This guide walks you through safely replacing a single-pole switch, from killing the power to testing the finished connection.