A thermostat swap is a short job when it is done in order. Start by turning off the power, because the low-voltage wires can carry enough current to matter and the air handler has its own switch. Turn off the furnace or air handler switch, then turn off the breaker that feeds it. Confirm the system is dead before you touch a wire.

Before you disconnect anything

Take a photo of the existing wall plate and the wire connections at the thermostat. Label each wire with the letter printed on its terminal, or with tape that matches the terminal. Note any wire that is not connected, because a spare wire is useful later. Keep the photo until the new unit is working.

Removing the old base and mounting the new one

Remove the old base from the wall. Feed the wires through the opening of the new base and mount it level. Make sure the wires are not pinched behind the base and that the base sits flush against the wall. A crooked base makes the display hard to read and can lead you to misjudge the room.

Connecting and restoring power

Connect each wire to the terminal that matches your label. Restore the breaker, then the furnace or air handler switch. Set the mode, then call for heat and watch the system start. Call for cooling and confirm the outdoor unit responds. Check that the displayed temperature and the setpoint match what you expect.

When to stop and call a trade

Stop if the wire count does not match the terminals, if a wire looks burned or brittle, or if the system needs a new transformer or control board. Stop if the power does not come back as expected. Those are trade calls, and the photo you took at the start gives them a clear starting point.

If you find the wiring is part of a larger electrical question, the electrical panel page on this site explains typical service life and when to plan for panel work.