Most people assume the temperature swings come from the water heater running out or the building's supply changing. The usual cause is a pressure imbalance between the hot and cold lines, and a pressure-balancing or thermostatic valve is what stops it.
A shower valve mixes hot and cold water at a set ratio. When cold-water pressure drops, the mix becomes mostly hot; when hot pressure drops, it becomes mostly cold. The valve reacts to that pressure change, not to the temperature itself, which is why the swing often happens in seconds and then settles.
What the Valve Is Doing
Inside a pressure-balancing valve there is a spool or piston that slides when one side's pressure rises above the other. If cold pressure falls, the spool shifts to cut the hot flow, keeping the mix close to the set temperature. A thermostatic valve goes further: it senses the mixed-water temperature and adjusts a cartridge to hold it within a few degrees, typically about 2°F (1°C).
That reaction is fast, but it is not instant. A pressure drop that lasts only a second or two can still reach the shower head as a brief hot or cold pulse before the valve corrects it. The valve also has limits: if cold pressure drops far enough, the valve shuts the hot side down to a trickle rather than let scalding water through, and the shower goes cold.
Pressure balance versus thermostatic
A pressure-balancing valve holds the ratio of hot to cold, so the delivered temperature stays roughly the same as long as both supplies are present. A thermostatic valve holds the actual temperature, so it can compensate for a slow decline in hot-water temperature as a tank empties. Thermostatic valves cost more and need a minimum flow, often around 1.5–2.5 gallons per minute, to work accurately.
What Changes the Mix
Any draw on one supply line changes the pressure on that side. A toilet flushing, a washing machine filling, a dishwasher starting, or a neighbor's unit in an apartment building can all pull cold pressure down for a few seconds. On the hot side, a tank water heater reheating, a second shower running, or a long draw that outpaces the heater's recovery can lower hot pressure or hot temperature.
Pipe size and run length matter. A half-inch line feeding a shower from a long distance loses more pressure during a draw than a short, larger line. Shared walls in apartments and condos make pressure swings more common because one supply serves several units.
Worked example: one toilet flush
A toilet fill valve typically draws about 1.5–3 gallons per minute for 30–60 seconds. In a home with a half-inch cold line and a shower running at 2.0 gallons per minute, that draw can drop cold pressure enough for a pressure-balancing valve to cut hot flow for several seconds. The shower feels hot, then returns to normal when the toilet tank fills. If the same home has a thermostatic valve, the temperature may move only 1–2°F.
When the Swing Is Not Pressure
If the shower goes cold and stays cold for minutes, the problem is usually hot-water supply, not the valve. A tank heater has a recovery rate; a 40-gallon tank with a 40,000 BTU burner recovers roughly 40 gallons per hour, so two long showers back to back can exhaust the hot water. A tankless heater has a flow limit, often 6–9 gallons per minute for the whole house, and a second hot draw can push it past that limit.
A single-handle valve that swings hot and cold on its own, even with no other fixtures running, may have a failing cartridge or a clogged hot-side screen. Mineral scale on the cartridge can make it stick, so it overcorrects and then overcorrects back. In that case the swing repeats in a rhythm rather than following a fixture elsewhere in the house.
Sediment and the dip tube
In an older tank heater, a broken dip tube can send cold water up the hot outlet, so the shower starts warm and cools quickly. Sediment on the tank bottom can also cause rumbling and uneven hot delivery. If the hot water at a sink is steady but the shower swings, the valve is the more likely culprit; if every hot tap swings, look at the heater.
What to Check and Fix
Start by timing the swing. Note how long it lasts and what else runs at the same moment. A swing that lasts 5–30 seconds and lines up with a toilet or appliance is a pressure issue. A swing that lasts minutes and follows heavy hot-water use is a supply issue.
If the valve is pressure-balancing and the swings are frequent, a thermostatic valve or a valve with a higher flow rating can reduce them. Check that the shower head's flow rate matches the valve's minimum; a low-flow head on a thermostatic valve can starve it. For a sticking single-handle valve, remove the cartridge, soak it in white vinegar for 30–60 minutes to dissolve scale, rinse, and refit it with fresh O-rings. If the cartridge is cracked or the valve body is corroded, replace the cartridge or call a licensed plumber.
On the supply side, check the heater's temperature setting (typically 120°F/49°C for safety) and its recovery rate. If the tank is undersized for the household, a larger tank or a tankless unit sized to the fixtures will hold temperature better. Do not raise the heater above 120°F/49°C to compensate for a swing; that increases scald risk without fixing the pressure problem.
Shower Swings in Apartments and Old Plumbing
In a multi-unit building, the swing may come from a neighbor's fixture, and the fix is often a pressure-balancing valve with a scald guard set to about 120°F/49°C. If the building has galvanized pipes, rust and scale can narrow the hot line and make pressure uneven; a plumber can test pressure at the shower and at the heater to locate the restriction. A swing that appears only in winter can come from cold supply lines running through unheated space, which lowers cold-water temperature and changes the mix.
For a shower that alternates hot and cold in a steady cycle with no other fixtures running, suspect the cartridge first, then the heater's dip tube or a crossed connection between hot and cold lines. A licensed plumber can pressure-test both lines and confirm which side is moving.