A water heater that keeps shutting off is almost always tripping a safety device, not failing outright. On gas tanks the cause is usually a failing thermocouple, dirty pilot or blocked flue; on electric tanks, a tripping high-limit switch; on tankless units, low flow, scale or a venting fault.
The important distinction is that these are three different machines with three different failure patterns. Diagnosing a tank water heater with tankless logic wastes an afternoon. Here is how to tell which problem you actually have.
Why Does a Water Heater Keep Shutting Off?
Because something is telling it to. Water heaters are built with layered safety devices — flame sensors, high-limit switches, flow sensors, pressure switches — and every one of them shuts the unit down when a condition falls outside its safe range. A unit that keeps stopping is usually working exactly as designed, in response to a real fault.
That reframing matters, because the instinct to keep relighting or resetting treats the symptom while the underlying condition persists. A high-limit switch that trips three times in a week is reporting something, and repeatedly pressing reset is not an answer.
Tank vs Tankless: Why They Fail Differently
A tank heater keeps a large volume of water hot continuously, so its faults cluster around maintaining and sensing a standing flame or element. A tankless unit heats water only while it flows, so its faults cluster around flow rate, ignition on demand, scale, and venting. Same job, entirely different failure modes.
| Type | Most Common Shut-Off Causes | Typical Signature |
|---|---|---|
| Gas tank | Thermocouple, dirty pilot, blocked flue, gas supply | Pilot will not stay lit |
| Electric tank | High-limit (ECO) switch, failing element, thermostat | Reset button trips repeatedly |
| Tankless | Low flow, scale, venting, ignition fault | Error code; hot water stops mid-shower |
If you are not certain which type you have: a tank unit is a large cylinder, typically 40–60 gallons; a tankless unit is a wall-mounted box roughly the size of a small suitcase. The rest of this guide splits along that line.
Gas Tank Water Heaters: The Pilot and Thermocouple Chain
On a gas tank heater that will not stay lit, the thermocouple is the leading suspect. It is a small sensor sitting in the pilot flame that generates a tiny voltage; if it stops sensing flame, it closes the gas valve as a safety measure. A dirty, misaligned or worn thermocouple reads no flame even when the pilot is burning.
Behind that, three other causes produce the same symptom. A dirty pilot assembly starves the flame so it burns weakly. A blocked or restricted flue causes the thermal switch to shut the unit down — a genuine venting safety issue, not a nuisance fault. And an interrupted gas supply or a failing gas control valve stops the whole sequence. Each requires a different fix, and the flue one requires immediate attention.
Electric Tank Water Heaters: The Reset Button Story
On an electric tank, the red reset button is the high-limit switch, sometimes called the ECO. It trips when water at the top of the tank exceeds a safe temperature. If it keeps tripping, water is genuinely overheating — a shorted heating element or a failed thermostat stuck calling for heat are the two usual reasons.
The critical point: a repeatedly tripping reset is not a faulty button. It is a safety device correctly responding to overheating water, and resetting it again and again defers a real fault. Two trips deserve investigation; more than that deserves it urgently. Our guide to electric water heaters covers how these systems are put together.
Tankless Units: Error Codes and Flow Problems
Tankless heaters shut down and display a code rather than failing silently, which makes them the easiest of the three to diagnose. The most common causes are insufficient flow to trigger ignition, scale buildup on the heat exchanger, a venting restriction, or an ignition fault.
Insufficient flow explains a surprising share of complaints, and it is often not a fault at all: most tankless units need a minimum flow rate before they fire, so a trickling tap or a low-flow fixture may sit below the activation threshold. Scale is the genuinely damaging one — hard water deposits insulate the heat exchanger until the unit overheats and protects itself. Our detailed guide to tankless water heaters shutting off works through the error codes one by one.
The Cold-Water Sandwich Is Not a Fault
If your tankless unit delivers hot water, then a brief cold slug, then hot again, that is the “cold water sandwich” — a normal characteristic of on-demand heating, not a malfunction. It happens when hot water left in the pipe from a previous draw is followed by cold water that has not yet reached the heat exchanger.
It is worth naming because it sends people looking for a fault that does not exist. Genuine shutdown is different: the unit stops, hot water goes cold and stays cold, and there is usually a code on the display. A two-second cool patch at the start of a draw is the system behaving as designed.
What You Can Safely Check Yourself
Four things, none of which involve opening a gas control or touching wiring: confirm power or gas supply is on, check whether a code is displayed, look for water pooling around the base, and note the pattern — how often it happens and whether it correlates with heavy hot water use.
- Check the obvious supply. Breaker not tripped, gas valve open, isolation valve on.
- Read the display. On a tankless unit the error code narrows the cause immediately — write it down before clearing it.
- Look at the base and the floor. Water pooling changes the situation entirely; see our guide to water heater leak causes.
- Record the pattern. “Trips every evening during showers” is a diagnosis half made before anyone arrives.
Stop there. Relighting a gas pilot once per the manufacturer’s instructions is reasonable; doing it repeatedly is not, and neither is holding a reset button down or bypassing any safety device.
What Needs a Licensed Technician
Anything involving the gas control valve, the burner assembly, venting, electrical elements or the thermostat. In Ontario, work on natural gas equipment legally requires a certified gas technician under the Technical Standards and Safety Authority — this is a licensing requirement, not a recommendation.
Two situations mean stopping immediately rather than troubleshooting. Any smell of gas means leaving the building and calling your gas utility from outside. And any suspicion of a blocked flue on a gas appliance — soot marks, a burning smell, condensation around the draft hood — is a combustion safety issue that needs professional attention the same day.
When Shutting Off Means Replace, Not Repair
The age arithmetic is straightforward. Tank water heaters typically last 8–12 years; tankless units often reach 20 with descaling. A repeated shutdown on a 3-year-old unit is a repair. The same fault on a 12-year-old tank is usually the beginning of the end, and worth pricing against replacement before spending on parts. Our water heater replacement page covers what a new tank or tankless costs in Hamilton.
Two findings settle it regardless of age: a leaking tank, which is not repairable, and a heat exchanger failure on a tankless unit, which is frequently uneconomic. Everything else — thermocouples, elements, thermostats, flow sensors, igniters — is ordinary repairable wear. Our Hamilton water heater repair guide covers the decision in more depth.
How to Stop It Happening Again
Most repeat shutdowns trace back to skipped maintenance. On a tank, that means flushing sediment annually and testing the temperature and pressure relief valve. On a tankless, it means descaling on the manufacturer’s schedule — more often in hard water areas, which includes much of the Hamilton region.
Sediment is the quiet culprit on tanks: it accumulates at the bottom, insulates the burner from the water above it, and forces longer, hotter operation that stresses both the tank and its controls. Natural Resources Canada’s guidance on operating water heaters and heating systems covers the efficiency side of the same maintenance. Setting the tank thermostat around 60°C balances scald risk against bacterial safety — higher settings accelerate scale and sediment without improving supply.
The Short Version
Identify the type first, read any error code before clearing it, check supply and look for leaks — then stop. Repeated resets and relights are the reflex that turns a small fault into a failure, because the safety device tripping is information, not an inconvenience.
If your unit has shut down more than twice, or you have found water anywhere near it, get it looked at rather than reset again. If you are weighing a repair against replacement, our comparison of tankless versus traditional water heaters in Canadian winters is the place to start.
FAQs
Why does my water heater’s reset button keep tripping?
Because water at the top of the tank is genuinely overheating. The usual causes are a shorted heating element or a thermostat stuck calling for heat. The button is a safety device doing its job — repeatedly resetting it defers a real fault rather than fixing anything.
Why won’t my gas water heater’s pilot light stay lit?
Most often a failing or misaligned thermocouple, which stops sensing the flame and closes the gas valve as a precaution. A dirty pilot assembly, a restricted flue or a failing gas control valve produce the same symptom and need a technician to distinguish between them.
Is a tankless water heater shutting off mid-shower normal?
A brief cool patch at the start of a draw is normal — the cold water sandwich. Hot water that stops and stays cold is not, and usually comes with an error code indicating low flow, scale buildup, a venting problem or an ignition fault.
How often should a water heater be serviced?
Annually for both types. Tanks need sediment flushing and a relief valve test; tankless units need descaling on the manufacturer’s schedule, more frequently in hard water. Skipped maintenance is behind most repeat shutdowns and a good share of shortened equipment life.
Can I fix a water heater that keeps shutting off myself?
You can check power, gas supply, error codes and leaks. Beyond that — gas controls, burners, venting, elements, thermostats — it is licensed work in Ontario for gas appliances and genuinely hazardous otherwise. Never bypass a safety device to keep a unit running.
Disclaimer: This article is for general information only. Any prices shown are typical Hamilton-area estimates, not quotes — actual costs depend on your home, your system and site conditions. Rebate programs and their amounts change over time; confirm current details with the program provider before making decisions. For exact pricing on your system, call Dynamic Heating & Cooling at 289-962-4811.