How a Shower Valve Works (and the Types Explained)
On this page
- What a Shower Valve Does: Mixing Hot and Cold Behind the Wall
- Two-Handle (Compression) vs Single-Handle Mixing Valves
- Pressure-Balancing Valves: How They Hold Temperature When a Toilet Flushes
- Thermostatic Valves: Setting an Exact Temperature
- Tub/Shower Diverters and How the Valve Routes Water Up or Down
- How Anti-Scald Limit Stops Are Built Into Modern Valves
- Identifying the Valve in Your Wall
- Frequently Asked Questions
- Sources
- Related posts:
The valve behind your shower wall is the single mechanism that does the hardest job in the bathroom: it takes hot and cold water arriving at different pressures and temperatures, blends them to one comfortable stream, and holds that blend steady while the rest of the house keeps using water. You never see it. It sits inside the wall behind the handle and the round trim plate, and the only parts you touch are the handle that opens it and the cover that hides it. Knowing what kind of valve is in your wall, and how it actually mixes water, is what lets you name a problem before you ever open anything up. This guide explains the four valve families you are likely to have and gives you a quick way to identify yours by how it behaves.
This is a mechanism guide, not a repair manual. Replacing or rebuilding an in-wall valve usually means working behind a tiled wall and sometimes soldering, which is plumber territory. For diagnosing why a shower drips or won’t get hot by symptom, see our guide on shower valve problems (post 041). For the actual leaking-faucet repair, see post 042.
What a Shower Valve Does: Mixing Hot and Cold Behind the Wall
A shower valve is a mixing valve. Its core job is to combine water from the hot supply line and the cold supply line into one blended stream at the temperature you set, then send that blend up to the showerhead or out the tub spout. Hot and cold lines feed into the valve body, the internal parts decide how much of each gets through, and the mixed water leaves through a single outlet.
The difference between an old valve and a modern one is what happens when conditions change. Picture water arriving from your water heater and from the cold main at different pressures. A basic valve simply opens two paths and lets you find a comfortable blend by feel. The moment a toilet flushes or a washing machine pulls cold water, the cold side loses pressure, the hot-to-cold ratio shifts, and the water at your skin gets hotter. Modern shower valves are built to fight exactly that swing. How they fight it is what separates the four families below.
You can usually tell a lot before opening the wall. Count the handles. Notice whether the temperature lurches when someone flushes elsewhere in the house. Look for a small separate dial that caps the maximum heat. Those three observations point straight at which valve family you have.
Two-Handle (Compression) vs Single-Handle Mixing Valves
If your shower has two separate handles, one marked hot and one marked cold, you almost certainly have a compression-style valve, the oldest design still in homes. Each handle controls its own stem. Turning a handle drives the stem down so a rubber washer presses, or compresses, against a metal seat inside the valve body, which shuts off that side. Back the handle off and water flows again. You set your temperature by balancing how far you open each side by hand.
Compression valves have no automatic compensation at all. Because you are manually mixing two independent streams, any pressure change on one side immediately changes the blend, which is why old two-handle showers are the ones that scald you when a toilet flushes. They are also the design behind the classic drip: when that rubber washer hardens or wears, it can no longer seal against the seat, and the faucet leaks even when fully closed.
A single-handle valve does the mixing internally. One lever moves through an arc that sets both temperature and flow, and a cartridge inside the body controls the hot-to-cold ratio for you. Almost every shower valve sold today is single-handle, and underneath that one handle is one of the two compensating designs that follow. Counting handles is your first identifier: two handles point to an older compression valve, one handle points to a pressure-balance or thermostatic valve.
Note that a sink faucet uses some of the same internal vocabulary, cartridge, ball, compression, but the parts and sizes are different. The mechanism of a lavatory faucet is its own subject, covered in our guide on how a faucet works (post 020).
Pressure-Balancing Valves: How They Hold Temperature When a Toilet Flushes
A pressure-balancing valve is the most common single-handle shower valve in U.S. homes, and it works by keeping the hot and cold pressures equal rather than by reading temperature directly. Inside the cartridge is a moving element, a spool or a diaphragm-and-piston, that senses the pressure on the hot side and the cold side. When one side drops, the element shifts to throttle the other side by the same amount, so the ratio between hot and cold stays roughly constant and your shower temperature barely moves.
This is the part you feel when a toilet flushes. In a compression valve, that cold-side pressure drop sends a slug of hot water at you. In a pressure-balance valve, the spool senses the cold side weakening and automatically cuts back the hot side to match, holding the blend steady. The standard most of these valves are built to, ASSE 1016, requires that kind of automatic compensation, with the valve reacting within seconds to a pressure change of as much as 50 percent on one line.
What a pressure-balance valve does not do is target an exact number of degrees. It controls the ratio of hot to cold, not the temperature itself. So if your water heater runs hotter or cooler, or if you draw down the tank during a long shower, the output drifts even though the valve is doing its job. For most homes that tradeoff is fine, which is why pressure-balance valves are the practical default. If you want a valve that locks an exact temperature, you want the thermostatic type.
Thermostatic Valves: Setting an Exact Temperature
A thermostatic valve controls the actual temperature of the blended water, not just the pressure ratio, and it does so with a heat-sensing element rather than a pressure-sensing one. Inside the cartridge is a thermostatic element, usually a sealed capsule of wax that expands and contracts as the water around it heats and cools. As the wax changes volume, it drives a piston that opens or closes the hot and cold ports, adjusting the mix to hold the temperature you dialed in.
Because the element reacts to heat and not to pressure, a thermostatic valve compensates for two kinds of disturbance: a pressure change on one supply line and a temperature change in the water itself. If your incoming hot water runs hotter than usual, the wax expands, the piston shifts toward cold, and the output stays where you set it. That is why a thermostatic shower can hold a precise setting and recover it quickly after an interruption.
Thermostatic valves usually look different from the outside, too. They tend to have two controls, one dial for temperature and a separate one for volume, rather than the single lever of a pressure-balance valve. That extra control is a good identifier: if your shower has a labeled temperature dial that you set to a number or a fixed position, and a separate handle for flow, you likely have a thermostatic valve. These cost more and show up most often in larger custom showers and multi-head systems where precise, repeatable temperature matters.
Tub/Shower Diverters and How the Valve Routes Water Up or Down
In a combination tub and shower, the mixing valve handles temperature, and a separate part called the diverter decides where the blended water goes: down to the tub spout or up to the showerhead. The diverter does not mix anything. It just redirects an already-blended stream by opening one path and closing another.
The most common type is built into the tub spout itself. You pull up a small knob on top of the spout, which blocks the water’s easy path out the spout and forces it up the riser pipe to the head instead. Let the knob drop and water returns to the spout. Other systems put the diverter in the wall as a third handle or as a rotating function that the main valve handle selects. A three-way diverter, common with handheld sprayers, has one inlet and three positions so you can send water to a fixed head, a handheld wand, or the spout.
One practical clue lives here. If water keeps dribbling out of the tub spout while you shower, the diverter is worn and not fully closing its path, which is a diverter problem rather than a mixing-valve problem. Diagnosing leaks and drips by symptom is covered in post 041, and the repair itself in post 042.
How Anti-Scald Limit Stops Are Built Into Modern Valves
Every code-compliant shower valve sold for homes today includes anti-scald protection by design, and it works in two layers. The first layer is the automatic compensation already described: pressure-balance and thermostatic valves react to a sudden pressure or temperature change fast enough to stop a scalding surge before it reaches you. The second layer is a physical limit stop, a small adjustable tab or rotating disc inside the valve that caps how far toward hot the handle can turn. Set it once, and the handle physically cannot reach the scalding end of its range.
Plumbing codes require this. Under the International Plumbing Code, individual shower and tub-shower valves must be balanced-pressure, thermostatic, or combination valves meeting the ASSE 1016 standard, and they must include a means to limit the maximum setting to 120 degrees Fahrenheit. The Uniform Plumbing Code carries an equivalent requirement. The exact adopted code and the way the limit is set vary by jurisdiction, so the right move is always to check your local code and follow the valve manufacturer’s adjustment instructions rather than assume a single universal number.
The reason the limit exists is straightforward. According to the U.S. Consumer Product Safety Commission, water at 140 degrees can cause a serious burn in seconds, while lowering delivered water toward 120 degrees gives far more margin, especially for young children and older adults whose skin burns faster. The limit stop is your safeguard if the valve is ever bumped or if a child turns the handle to the end of its travel. Setting that stop, and choosing a delivered-water temperature, is a safety topic in its own right, covered in our guide on preventing scalding (post 157), and the separate question of what to set your water heater to is covered in post 054.
Identifying the Valve in Your Wall
You can usually name your valve from the outside before any tool comes out. Run through three questions. How many handles are there? Two handles almost always means an older compression valve with no automatic compensation. One handle means a modern compensating valve. Does the temperature lurch when a toilet flushes or an appliance draws water? A noticeable surge points to either a compression valve or a pressure-balance valve that is wearing out, while a steady stream through the flush points to a healthy pressure-balance or thermostatic valve. Is there a separate temperature dial set to a number, plus a separate volume control? That pairing is the signature of a thermostatic valve, while a single lever that does both jobs is pressure-balance.
Naming the family is the useful part. It tells you what your valve can and cannot do, what is likely to fail, and whether a problem is the mixing valve, the diverter, or something upstream like the water heater.
Frequently Asked Questions
How do I tell what kind of shower valve I have without opening the wall?
Start with the handles. Two separate handles for hot and cold mean a compression valve. A single handle means a compensating valve, and you can narrow it further: a lone lever that controls both temperature and flow is usually pressure-balance, while a labeled temperature dial paired with a separate volume control is usually thermostatic.
What is the difference between a pressure-balancing and a thermostatic valve?
A pressure-balancing valve keeps the ratio of hot to cold water steady by matching their pressures, so the temperature holds when someone flushes a toilet, but it does not target an exact number of degrees. A thermostatic valve uses a heat-sensing wax element to hold an actual set temperature, compensating for both pressure changes and changes in the incoming water temperature.
Why does my shower get hot when someone flushes the toilet?
A flush draws cold water away, dropping cold-side pressure. In a compression valve there is nothing to compensate, so more hot water reaches you. In a pressure-balance or thermostatic valve, a worn or failing cartridge can cause the same surge because the compensating element is no longer reacting properly.
Are all modern shower valves anti-scald?
Code-compliant valves sold for residential use include anti-scald protection, combining automatic pressure or temperature compensation with an adjustable limit stop that caps the maximum hot setting. The required maximum setting under common model codes is 120 degrees Fahrenheit, but the adopted code and adjustment method vary by jurisdiction.
Can I replace a shower valve myself?
Replacing an in-wall valve usually means opening a finished or tiled wall and often soldering supply lines, which is work for a licensed plumber. Swapping a worn cartridge inside an existing valve is sometimes a homeowner job, but the valve body and rough-in plumbing are not.
This guide is general information about how shower valves work, not professional advice. For work on your specific plumbing, or any job behind the wall, consult a licensed plumber and your local code.
Sources
International Code Council, 2024 International Plumbing Code, Section 412.3 Individual shower valves: https://codes.iccsafe.org/s/IPC2024P1/chapter-4-fixtures-faucets-and-fixture-fittings/IPC2024P1-Ch04-Sec412.3
ASSE International, ASSE 1016 / Adjustment of Automatic Compensating Valves to Prevent Potential Scald Hazards: https://asse-plumbing.org/media/cfnnsz0k/assecompensatingvalves.pdf
U.S. Consumer Product Safety Commission, Tap Water Scalds (Publication 5098): https://www.cpsc.gov/s3fs-public/5098-Tap-Water-Scalds.pdf