Guides › Tankless

Tankless water heater hot then cold: the “cold water sandwich” and how to fix it

You turn on the shower, get hot water, step away for a minute, come back and get a slug of cold water before it turns hot again. With a tankless water heater this is common enough that plumbers have a name for it: the cold water sandwich. It’s usually normal behavior, not a broken heater, and there are ways to reduce it. This guide explains why it happens, how to tell it apart from a real problem, and what to check when the water keeps swinging hot and cold during a single shower.

Safety first. If you smell gas, don’t touch switches or the unit; leave the house and call your gas utility from outside. Turn off electrical power before opening the cover; gas units have 120-volt controls and electric units run on high-amperage 240-volt circuits. Don’t raise the temperature setting to “fix” cold spots, because that raises the scald risk when the hot water does arrive. Gas pressure, gas line sizing, venting, and internal parts are jobs for a licensed plumber.

What the cold water sandwich is

A tank heater keeps a large volume of water hot all the time. A tankless heater only heats water while it’s flowing. When you shut off the tap, the burner (or elements) stop. Here’s what happens when you turn the tap back on shortly after:

  1. Hot water first. The pipes between the heater and the faucet are still full of hot water from your last use, so it comes out hot.
  2. Then a cold slug. The heater needs a few seconds to detect flow, light the burner, and bring the heat exchanger up to temperature. Water passing through during that start-up is cooler, and it travels down the pipe behind the hot water.
  3. Then hot again. Once the heater is running, fully heated water follows the cool slug to the faucet.

Hot, cold, hot: the sandwich. It’s most noticeable with on-and-off use, like a shower where someone turns off the water to lather up, or several people showering back to back.

Is it the sandwich, or a real problem?

The cold water sandwich has a recognizable pattern:

If the water goes cold in the middle of a continuous shower, swings hot and cold over and over, or never gets fully hot, that’s something else. Skip down to other causes of hot-then-cold water.

Ways to reduce the cold water sandwich

1. Change how you use the water

The free fix: instead of shutting the shower off completely to lather up, turn it down or swing the handle toward the hot side so a small flow keeps moving. Note that if the flow drops below the heater’s minimum activation flow, the burner will shut off anyway (see low flow below), so this works best when you keep the flow reasonable.

2. Use a recirculation system

A recirculation setup keeps hot water moving in the lines so it’s already hot at the faucet. Options include a dedicated return line, a crossover valve under the farthest sink that uses the cold line as a return, or a recirculation pump built into some tankless models. Many models need a specific setting or accessory, and some only work with certain configurations, so check your manual. Recirculation uses extra energy, so timers or on-demand (button or motion activated) controls are worth considering. This is a good job to have a plumber design and install.

3. Add a small buffer or point-of-use tank

Some manufacturers offer or approve a small buffer tank on the heater’s outlet. It stores enough hot water to cover the start-up gap. Another approach is a small point-of-use electric heater at a fixture that’s far from the main heater. Either should be sized and installed per the manufacturer’s instructions and local code, including proper relief valve protection on any tank.

4. Check for a model with built-in buffering

Some tankless models include a small internal buffer tank or a feature designed to reduce temperature fluctuations. If you’re replacing a unit or buying new, ask about this specifically.

Other causes of hot-then-cold water from a tankless heater

Flow too low to keep the burner on

Every tankless heater has a minimum flow rate it needs to detect before it fires, listed in the manual. If flow drops below it, the heater shuts off and the water goes cold. Common reasons:

Test it: open the hot tap fully at a sink. If it stays hot at full flow but goes cold at a trickle, low flow is the likely cause.

Dirty inlet filter screen

Most tankless units have a small filter screen on the cold water inlet. When it clogs with sediment, flow through the heater drops and the unit can cycle on and off. With power and gas off and the water supply closed, the screen can usually be removed, rinsed, and reinstalled. Your manual shows where it is.

Scale buildup in the heat exchanger

In hard water areas, mineral scale builds up inside the heat exchanger. It reduces heat transfer and flow, and can trigger overheating shutdowns that show up as water going cold mid-shower. Many units show a scale or maintenance code. Flushing with a descaling solution on the schedule in your manual is the fix; see how to descale a tankless water heater.

Too much demand at once

A tankless heater can only raise a certain flow of water by a certain number of degrees. If a shower, the dishwasher, and the washing machine all call for hot water at once, the heater may not keep up and the water will run lukewarm or swing in temperature. This is more noticeable in winter, when incoming water is colder. Spreading out hot water use helps; if it happens constantly, the unit may be undersized for the home.

Gas supply problems (gas units)

Tankless gas heaters need a lot of gas when they fire at full rate. An undersized gas line or meter, a regulator problem, or another big gas appliance running at the same time can starve the heater, and the water cools off or the unit shows an ignition or flame failure code. Don’t try to diagnose or adjust gas pressure yourself. Call a licensed plumber or your gas utility.

Crossover in the plumbing

A faulty mixing valve, a single-handle faucet cartridge, or a failed check valve somewhere in the house can let cold water leak into the hot line. That cold water dilutes the hot water and can drop the flow through the heater below its minimum. A clue is that turning off the cold supply to one fixture changes the behavior. Tracking down a crossover is often a plumber’s job.

Venting, air supply, or error codes

If the unit shuts down mid-use and shows an error code, look the code up in the manual for your exact model. Codes related to venting, combustion air, flame, or overheating should be handled by a licensed plumber, especially on gas units.

Quick checklist

When to call a plumber

Related: Tankless water heater not producing hot water · How to descale a tankless water heater · Tankless vs tank water heater · What temperature should a water heater be set to?