That bang is water hammer, a pressure surge that hits when a fast-closing valve stops moving water all at once. The shock wave slams the pipe wall. Fixes include water-hammer arrestors, recharged air chambers, secured pipes, and lowering house pressure with a PRV if it runs above 80 psi.
What water hammer is and why it happens
Water hammer is a pressure surge, sometimes called hydraulic shock. Water has mass, and when it flows it carries momentum. A quick-closing valve can stop that flow in a fraction of a second. The water behind the valve cannot compress and cannot keep moving, so its momentum converts into a sharp rise in pressure. That spike sends a shock wave back up the pipe, and you hear it as a bang or a series of knocks.
The valves that close fastest are the usual culprits. A washing machine valve, a dishwasher valve, an automatic icemaker, and a toilet fill valve all snap shut under electric or float control. A single-lever faucet can also do it when you flip it off in one motion. You will often notice the noise right after a wash cycle ends or after a toilet finishes filling, because those valves close hard and fast.
Two conditions make the bang louder. The first is high water pressure, which raises the force behind every surge. The second is loose piping that is free to move and slap against framing when the shock hits. A pipe strapped tight to a stud may still carry a surge, but it cannot rattle the way an unsecured line can.
How plumbing code addresses water hammer
The model plumbing code treats water hammer as a real hazard, not just a noise problem. The International Plumbing Code Section 604.9 sets the rule for new and altered systems. It states: "Water-hammer arrestors shall be installed where quick-closing valves are utilized. Water-hammer arrestors shall be installed in accordance with the manufacturer's instructions and shall conform to ASSE 1010."
That short passage carries three points. First, where a quick-closing valve exists, an arrestor is required, not optional. Second, the device has to be a real arrestor that meets the ASSE 1010 standard, which is a sealed unit with a piston and a cushion of gas or a spring that absorbs the surge. Third, it must be placed as the maker directs, which usually means close to the valve that causes the shock.
The code also limits how high your pressure can run. IPC Section 604.8 requires a pressure-reducing valve where the incoming static pressure is above 80 psi, and it must bring the pressure down to 80 psi or less. High pressure and water hammer feed each other, so this rule does double duty. Local codes in Arizona follow the same model language, so a Phoenix home built or repiped to code should already have arrestors at the appliances that need them. Older homes often do not.
The fixes that actually stop the banging
The right fix depends on the cause, and there are four common ones. Most homes need only one or two of these.
- Install mechanical water-hammer arrestors. This is the most reliable fix and the one the code calls for. An arrestor is a small sealed cylinder with a built-in air or spring cushion that the surge pushes against, soaking up the shock before it can bang the pipe. Unlike an open air chamber, the cushion is sealed, so it does not lose its charge over the years. They thread onto washing machine valves, sit under a sink, or tie into the line near the noisy fixture.
- Recharge or add air chambers. An air chamber is a capped stub of pipe filled with trapped air that acts as a shock cushion. Over time the air dissolves into the water and the chamber waterlogs, so the cushion disappears and the banging returns. Draining the system lets the chambers refill with air, which often quiets the noise for a while.
- Secure loose pipes. When a line is not fastened, the surge makes it jump and slap the framing, which adds a rattling knock on top of the shock. Adding pipe straps or cushioned clamps every few feet holds the run still. This will not erase a surge, but it stops the slapping and the worst of the racket.
- Lower system pressure with a PRV. If your house pressure runs high, a pressure-reducing valve at the main brings it into a safe range and takes much of the force out of every surge. This is the fix to reach for when the banging shows up at many fixtures at once, which points to a whole-house pressure problem rather than one bad valve.
What high pressure has to do with it
Pressure is the quiet partner behind a lot of water hammer. The higher the static pressure in your pipes, the more force is stored behind every closing valve, so the surge lands harder. Federal guidance points to a tight target range. EPA WaterSense notes that household plumbing works best at roughly 45 to 60 psi, and its labeled-home criteria cap service pressure at 60 psi. The Department of Energy's Building America program, run through PNNL, likewise recommends a maximum near 60 psi and warns that high pressure strains pipes and shortens the life of fixtures and appliances.
The code ceiling is 80 psi, set in IPC 604.8, and anything above that legally requires a PRV. Many Phoenix homes sit at or past that line straight off the city main, which is enough to turn an ordinary valve closure into a hard knock. You can check your own pressure with an inexpensive gauge that screws onto an outdoor hose bib. Shut off every fixture, thread it on, and read it. If it sits well above 60 psi, or anywhere near 80, that pressure is making your water hammer worse and is worth correcting on its own. Our page on what should home water pressure be walks through the full target range and how to read the gauge.
Why ignoring it leads to leaks, and DIY versus calling us
Water hammer is not just noise. Each surge is a small impact, and repeated impacts work on the weakest points in the system. Over months and years that pounding can loosen threaded joints, fatigue solder joints, crack fittings, and wear out the rubber seats inside valves and supply lines. A connection that the shock has slowly loosened can begin to weep or leak, and a supply line behind a washing machine or under a sink can fail. Stopping the hammer protects the joints before they give way.
Some of this is a fair DIY job. Recharging the air chambers costs nothing but time. Turn off the main, open the highest faucet in the house and the lowest one, usually an outdoor or basement tap, and let the system drain fully so air refills the chambers. Then close the low faucet, turn the main back on, and let the air purge from each tap until the water runs smooth. Adding pipe straps to an exposed run in a basement or garage is also within reach for a handy homeowner. A screw-on washing machine arrestor is a simple connection too.
Call us when the noise keeps coming back after you recharge the chambers, when it bangs at fixtures all over the house, or when the lines that need arrestors are buried in finished walls. Those signs point to high pressure, a failing PRV, or a need for properly placed arrestors that should meet code. A creeping or fluctuating pressure reading often means the regulator itself is worn, which our page on signs a pressure regulator is going bad covers in detail. HQ Plumbing & Air can test your pressure, set or replace a PRV, and install ASSE 1010 arrestors so the banging stops for good and your joints stay tight.
