The short answer
Hot, then cold, then hot is usually the cold water sandwich. Leftover hot water in the pipes comes out first, then cold water that passed through while the heater fired back up. Low flow and scale buildup can also play a part, and a few settings are safe to check.
A tankless water heater that runs hot, then cold, then hot is usually showing the "cold water sandwich." Hot water left in the pipes comes out first, then a slug of cold water that slipped through while the burner was lighting, then fresh hot water. Low flow at the tap can make the unit shut off, and mineral buildup can affect water temperature. Some of these you can check yourself.
What is the cold water sandwich?
A tankless heater has no storage tank. It heats water only while water is flowing through it. When a hot tap is turned on, cold water runs into the unit and a gas burner or an electric element heats it on the way through.
The cold water sandwich is cold water getting into the hot supply line when the heater turns off and on again over a short time. At the shower, tub or faucet it feels like a short drop in hot water temperature.
The shower is where it shows up most. Here is what is probably happening:
- Someone finishes a shower. The pipes are still full of hot water.
- You turn the shower on and get that leftover hot water first.
- The water turns cold while the heater fires back up and heats new water.
- Hot water reaches you again once the heater catches up.
Is my tankless heater broken?
Not because of the sandwich alone. This effect happens with all instantaneous (on demand) tankless water heaters. It cannot be removed completely from a tankless unit. One reason is that the safety standards for water heaters require a delay in the ignition sequence of all gas water heaters. Ignition is the moment the burner lights.
Some newer units are designed to shrink the cold gap. One manufacturer's units stay in a "ready to fire" state for about 1 minute after the water stops. If flow starts again within that minute, the heater fires back up within 1 to 2 seconds.
Electric tankless heaters have this problem more often than gas units. Gas reaches operating temperature almost right away, while an electric heater may take a minute or two to reach the temperature it needs.
Can the cold water sandwich be fixed?
On a standard plumbing system it can be made smaller but not removed completely. On a system with a hot water recirculation loop (a supply line and a return line that keep hot water moving through the pipes), it can be removed. Two setups do this:
- A small electric tank water heater, powered on. It works as a mixing tank to blend out the cold slug, and its element makes up for heat lost in the recirculation loop.
- A small 2 to 6 gallon storage tank on the hot water outlet. It blends the cold water with hot water so you do not feel it at the fixture.
A small tank like this can supply hot water while the tankless unit heats up. Adding tanks and changing the piping is work for a licensed plumber. To weigh a tankless heater against a tank model, see our tankless vs. traditional water heater comparison.
What does minimum flow rate have to do with it?
Minimum flow rate is how many gallons per minute must run through the unit before it will make hot water. A tankless heater has to sense water flow before it starts. If a tap asks for less than that minimum, the unit is probably shutting off as a safety measure. Most models will run at flow rates as low as 0.5 gallons per minute.
So if the hot water is turned down below that minimum, the unit can shut off.
A simple check: open the hot tap wider and wait to see if the water heats up. If your pressure seems low all over the house, see our water pressure page.
The other end matters too. Every tankless heater has a flow rate capacity, which is how much hot water it can make at one time. A shower and a dishwasher running together can push a unit to its limit. Two or more tankless heaters connected in parallel, or a separate tankless heater for a big hot water appliance like a clothes washer or dishwasher, can handle that demand.
Can scale buildup cause temperature swings?
Scale is the hard crust left by minerals in the water. In homes with hard water, minerals like calcium and magnesium can build up as scale inside the water heater and pipes. Over time that buildup narrows the path the water moves through. That can affect the pressure and temperature of the water.
Flushing clears it out. A tankless heater can be flushed with a pre made descaling solution or plain distilled white vinegar. Making a habit of cleaning a tankless water heater at least every six months is recommended. If you know you have hard water, a softener can help keep the unit in good shape. See our water softener vs. conditioner comparison.
What can I adjust myself?
A few safe checks:
- Use fewer hot taps at once. Pick the hot water task you need right now, turn the others off and try again.
- Open the tap wider. This helps the unit stay above its minimum flow rate.
- Check the temperature setting. If the water runs too hot, reset the thermostat to around 120 F.
- Clean the inlet filter. Follow the manufacturer's instructions for your model. Turn off the unit and let it cool down before any DIY work.
- Look at the vents and air intake. Make sure they are clear of blockages, dust and debris inside and outside.
Leave gas lines, gas valves and electrical work to a licensed pro.
When should I call a plumber?
Call a plumber if the temperature swings keep happening after you have checked flow and settings, if the unit shows error codes, or if you think scale is building up. Mineral buildup calls for a professional flush, and that flush belongs in regular annual maintenance. Changes like adding a small buffer tank or a recirculation loop also need a licensed plumber. For service, see our tankless water heater page.
Common Questions
That is the cold water sandwich. Leftover hot water in the pipes comes out first, then cold water that passed through while the heater fired back up, then hot water again.
Not on a standard plumbing system. On a system with a hot water recirculation loop, a small electric tank heater or a 2 to 6 gallon storage tank on the hot outlet can blend it out.
It is the gallons per minute that must flow through the unit before it will make hot water. Most models will run at flow rates as low as 0.5 gallons per minute.
Making a habit of cleaning it at least every six months is recommended. It can be flushed with a descaling solution or distilled white vinegar.
Electric units. Gas reaches operating temperature almost right away, while an electric heater may take a minute or two.