Water heater repair

How to Replace an Electric Water Heater Thermostat

Direct answer: To replace an electric water heater thermostat, shut off power at the breaker, confirm the tank is getting power but not heating correctly, remove the access panel and insulation, swap the thermostat one wire at a time, set the new thermostat to match the old setting, then restore power and verify the water heats normally.

This is a manageable repair for a careful homeowner, but it does involve live electrical parts if the breaker is not fully off. Take your time, verify power is off before touching any wiring, and stop if you find burned wires, water leaking into the electrical area, or signs the heating element may be the real problem.

Before you start: Match the replacement part to your exact water heater before ordering.

Last reviewed: 2026-04-04

Step-by-step fix

Step 1: Make sure the thermostat is the right repair

  1. Notice the pattern of the problem before opening anything. A bad thermostat often causes water that is not hot enough, runs out too fast, or gets much hotter than the setting.
  2. Check that the water heater has power at the breaker and that it has had enough time to heat after any recent reset or power outage.
  3. Listen and look for clues that point somewhere else, like a leaking tank, tripped high-limit reset, or no hot water at all from an upper heating problem.
  4. If you can test safely with a meter, compare the heater's behavior to the thermostat setting and look for a thermostat that is not switching power to the element when it should.

If it works: You have a reasonable thermostat diagnosis and no obvious sign that the tank itself or another part is the main failure.

If it doesn’t: If the heater has no power, a leaking tank, or symptoms that point more toward a failed heating element, address that issue before replacing the thermostat.

Stop if:
  • Water is leaking into the access panel or wiring area.
  • The tank is leaking from the body of the heater.
  • Wires or terminals are badly burned, melted, or charred.

Step 2: Shut off power and open the thermostat compartment

  1. Turn off the water heater breaker at the main electrical panel.
  2. Remove the thermostat access panel on the side of the tank. Pull back the insulation and any plastic safety cover so you can see the thermostat and wiring.
  3. Use a non-contact tester first, then confirm with a multimeter that power is actually off at the thermostat terminals before touching any wires.
  4. Take a clear photo of the wiring layout and thermostat position.

If it works: The access area is open, the wiring is visible, and you have confirmed the circuit is de-energized.

If it doesn’t: If your tester still shows voltage, go back to the panel and find the correct breaker before continuing.

Stop if:
  • You cannot confirm the power is off.
  • The insulation is wet or the compartment shows active moisture.
  • The wiring does not match the replacement part well enough to identify terminals confidently.

Step 3: Remove the old thermostat

  1. Note the thermostat temperature setting so you can match it later.
  2. Loosen and move the wires one at a time, keeping them in the same terminal positions shown in your photo.
  3. Release the thermostat from its retaining clip or mounting point. On many electric water heaters, the thermostat sits tight against the tank surface under a spring clip.
  4. Pull the old thermostat out carefully without bending nearby parts more than needed.

If it works: The old thermostat is out and the wires are still identified so they can go back in the same locations.

If it doesn’t: If the wires are hard to track, stop and label them before going further so the new thermostat is wired exactly the same way.

Stop if:
  • A wire breaks, the insulation crumbles, or a terminal pulls loose from the harness.
  • The retaining clip or mounting area is damaged enough that the new thermostat will not sit firmly against the tank.

Step 4: Install the new thermostat

  1. Compare the new thermostat to the old one before installing. Make sure the terminal layout and mounting style match.
  2. Set the new thermostat into the retaining clip or mount so it sits flat against the tank. Good contact matters because the thermostat reads tank temperature through that contact.
  3. Reconnect the wires to the matching terminals one at a time and tighten the screws firmly without over-tightening.
  4. Set the new thermostat to the same temperature as the old one, or to a moderate setting if the old setting was unknown.

If it works: The new thermostat is mounted securely, wired to the correct terminals, and set to a reasonable temperature.

If it doesn’t: If the replacement does not fit the clip, terminal layout, or tank contact area correctly, pause and get the correct thermostat instead of forcing it.

Stop if:
  • The new thermostat will not sit flat against the tank.
  • Terminal screws will not tighten securely.
  • The replacement part does not match the original well enough to wire with confidence.

Step 5: Close the compartment and restore power

  1. Reinstall any plastic safety cover that was removed.
  2. Put the insulation back in place so the thermostat is covered the way it was originally.
  3. Reattach the metal access panel.
  4. Turn the breaker back on.
  5. Give the heater time to recover. A full tank can take a while to heat back up.

If it works: The water heater is reassembled, powered back on, and heating time has started.

If it doesn’t: If the breaker trips right away, turn it back off and recheck the wiring and the condition of the element and wires.

Stop if:
  • The breaker trips repeatedly after wiring is confirmed.
  • You smell burning, hear arcing, or see sparking at the access panel.

Step 6: Verify the repair in real use

  1. After the heater has had time to recover, run hot water at a nearby faucet and check that the temperature is stable and appropriate.
  2. Use enough hot water to mimic normal use, such as a sink and a short shower, so you can tell whether the heater now keeps up better than before.
  3. Watch for signs the thermostat is still not controlling correctly, such as water that stays lukewarm, gets scalding hot, or runs out unusually fast.
  4. Check the access panel area once more for heat damage, unusual smell, or moisture.

If it works: Hot water performance is back to normal and the heater cycles without obvious overheating, short hot-water supply, or electrical issues.

If it doesn’t: If the symptoms are unchanged, the heating element, high-limit control, wiring, or another thermostat may be the real cause and should be tested next.

Stop if:
  • Water becomes dangerously hot.
  • The access area shows new heat damage or burning smell.
  • The heater still does not produce hot water after a normal recovery period.

Replacement Parts

Repair Riot may earn a commission from qualifying purchases, at no extra cost to you.

FAQ

How do I know if the thermostat is bad instead of the heating element?

A bad thermostat may fail to send power to the element at the right time or may overheat the water. If the element is burned out, the thermostat can be working but the water still will not heat properly. If replacing the thermostat does not change the symptoms, test the element next.

Do I need to drain the water heater to replace the thermostat?

No. The thermostat is mounted outside the tank behind the access panel, so this repair usually does not require draining the heater.

Should I replace both thermostats at the same time?

If your heater uses upper and lower thermostats and one has clearly failed, you can replace just that one. Some homeowners replace both when parts are old and access is already open, but the replacement still needs to match the heater correctly.

What temperature should I set the new thermostat to?

Match the old setting if it was working well, or use a moderate setting if you are unsure. Avoid turning it up just to mask another problem like a weak element or heavy sediment buildup.

Why does the new thermostat need to sit flat against the tank?

The thermostat senses tank temperature through contact with the tank surface. If it is loose or crooked, it may read temperature poorly and heat the water incorrectly.