What Causes Water Hammer (Banging Pipes) and How to Stop It
On this page
- What Water Hammer Actually Is: A Stopped Column of Moving Water
- Telling True Water Hammer From Loose Pipes That Just Rattle
- How to Recharge a Waterlogged Air Chamber by Draining the System
- Installing a Mechanical Water-Hammer Arrestor at the Culprit Valve
- Securing Loose Pipes and Pipe Straps You Can Reach
- When Banging Pipes Point to a Pressure Problem a Plumber Should Check
- Frequently Asked Questions
- Sources
- Related posts:
That sharp bang you hear the instant a faucet snaps shut or the washing machine stops filling is not your imagination, and it is not harmless background noise. It is a pressure shock with a name: water hammer. The fix depends entirely on what is actually making the noise, so the goal here is to match the right remedy to the right cause instead of guessing.
This guide covers what water hammer is, how to tell it apart from pipes that merely rattle, and the genuinely safe steps a homeowner can take. It also marks the point where the smart move is to stop and have a licensed plumber look at the system.
What Water Hammer Actually Is: A Stopped Column of Moving Water
Water hammer is the shock wave created when fast-moving water is stopped almost instantly by a valve that closes quickly. Water barely compresses, so a column of it traveling through your pipes carries real momentum. When a quick-closing valve slams shut, that moving column hits the stop and the energy has nowhere to go. The result is a pressure spike that travels back through the piping as a bang or a hammering knock.
The usual triggers are valves that shut in a fraction of a second rather than gradually. A washing machine or dishwasher solenoid valve cuts off the fill in an instant. A single-lever faucet flicked from open to closed does the same. A toilet fill valve snapping shut at the end of a refill can do it too. Slow-closing valves rarely cause it because the water column decelerates instead of crashing.
Plumbing codes treat this as a real mechanical problem, not a nuisance. The International Plumbing Code (Section 604.9) and the Uniform Plumbing Code (Section 609.10) both require a device to absorb the shock wherever quick-closing or quick-acting valves are used. Which code applies, and exactly how it is enforced, depends on your jurisdiction, so check your local code before treating any code statement as the rule where you live.
Telling True Water Hammer From Loose Pipes That Just Rattle
Not every banging pipe is water hammer, and the difference decides your fix. True water hammer is a single sharp bang or a short hammering burst timed precisely to a valve closing. Loose-pipe rattle is a buzzing, chattering, or vibrating noise that happens while water is running, usually as the pipe shakes against a joist or a stud.
Run a simple test. Listen for when the noise happens. If the bang lands exactly when a faucet, toilet, or appliance shuts off, that points to water hammer and a pressure surge. If the noise is a rattle or hum that comes and goes while water is flowing, the pipe is probably moving against framing and needs to be secured, not absorbed.
The two problems have two different solutions. A pressure surge is solved by giving the shock something to cushion against, an air chamber or a mechanical arrestor. A vibrating pipe is solved by holding it still. Treating one like the other wastes effort, so confirm which noise you have before you pick up a tool.
How to Recharge a Waterlogged Air Chamber by Draining the System
Many older homes have air chambers built into the plumbing: short vertical stubs of capped pipe near fixtures that trap a pocket of air. That trapped air acts as a cushion, softening the blow when a valve closes. Over time the air dissolves into the water and the chamber fills with water instead. Once it is waterlogged, it loses its cushion and the banging returns.
Recharging a waterlogged air chamber is a safe homeowner task because you are only draining the system, not opening any pressurized or gas-fed component. Here is the sequence:
- Shut off the main water supply to the house.
- Open the highest faucet in the home, such as an upstairs sink or tub.
- Open the lowest faucet, usually in the basement or on the first floor, plus any outdoor hose bibs.
- Let every open faucet run until the lines stop dripping and run dry. This lets the trapped water drain out and air refill the chambers.
- Close the lowest and outdoor faucets first, then turn the main supply back on.
- Let the upper faucets sputter and run clear to push remaining air through the lines, then close them.
If draining and refilling quiets the banging, waterlogged air chambers were the cause. If the noise comes right back, the home may not have working air chambers at all, and a mechanical arrestor is the more reliable answer.
Installing a Mechanical Water-Hammer Arrestor at the Culprit Valve
A mechanical water-hammer arrestor is a sealed device that absorbs the shock with a spring-loaded piston and a permanently sealed air or gas chamber. Unlike an open air chamber, it is built so it does not lose its air charge over time, which is why arrestors made to the ASSE 1010 standard are the modern fix for persistent hammer.
Placement is the part most people get wrong. An arrestor only works if it sits close to the valve causing the problem. Both the plumbing codes and arrestor manufacturers say the device must be installed as close as possible to the quick-acting valve, following the manufacturer’s instructions. Manufacturer guidance such as Sioux Chief’s recommends placing the arrestor within a few feet of the valve, on both the hot and cold supply lines where both feed the fixture, because effectiveness drops the farther away it sits. The most common spots are the washing machine supply valves, the dishwasher and ice-maker connections, and tub or shower valves.
For accessible connection points, this can be a safe homeowner job. A washing machine arrestor that screws onto the hose bibs behind the machine, or a clip-on type at an exposed supply line, involves shutting off the supply to that fixture and threading on a fitting, with no soldering and no open pressurized main. Match the arrestor’s connection and size to the fixture using the maker’s chart, and put it at the offending valve rather than somewhere random along the line. If the right spot is buried inside a finished wall, that turns into work behind drywall, which is no longer a quick fix. Leave in-wall installation to a professional.
Securing Loose Pipes and Pipe Straps You Can Reach
When the noise is a rattle rather than a true bang, the cure is to hold the pipe still. Pipes shake when they are not properly fastened to the framing, and the movement gets louder as water surges through them. Securing the runs you can actually see and reach is a safe task because it touches the outside of the pipe, not the water inside it.
Look in the accessible spots first: a basement ceiling, a crawl space, the back of a sink cabinet, or an exposed run in a utility area. You are looking for pipes that are unsupported, or held by straps that have come loose or gone missing. Where a pipe can wiggle by hand against a joist or stud, adding or tightening a cushioned pipe clamp or strap stops the motion. Cushioned clamps with a rubber or plastic liner are worth using because they also keep metal pipe from clanging directly against metal or wood.
There is a clear limit here. If the rattling pipe runs inside a finished wall, ceiling, or floor, securing it would mean opening up the wall, and that is not a homeowner step. Do not cut into finished surfaces chasing a noisy pipe. At that point the job belongs to a plumber who can access the run safely and decide how to anchor it.
When Banging Pipes Point to a Pressure Problem a Plumber Should Check
Sometimes an arrestor or a recharged air chamber helps but the banging never fully goes away. That is often the clue most homeowners miss: high static water pressure makes water hammer stronger, because a higher-pressure column hits the closed valve with more force. In that case the arrestor is fighting a system-wide condition, and the real fix is to bring the pressure into a safe range.
Building codes put a ceiling on static water pressure for exactly this kind of reason. Under the International Plumbing Code (Section 604.8), where static pressure in a building exceeds 80 psi, a pressure-reducing valve is required to bring it back down. Diagnosing and adjusting whole-house pressure is system work that involves the main supply, so it is not a do-it-yourself task. For what high pressure does to a home and how to recognize it, see our guide on high water pressure (118), and for the device that controls it, see our guide on what a pressure-reducing valve does (119).
Call a licensed plumber when the banging persists after you have recharged the air chambers and added an arrestor at the obvious culprit, when the noise is widespread across the house rather than tied to one fixture, or when you suspect the static pressure is high. A plumber can measure the system pressure, confirm whether the cause is a surge or an overpressure condition, and install or adjust a pressure-reducing valve correctly.
Frequently Asked Questions
Is water hammer dangerous or just annoying?
It is both a nuisance and a genuine mechanical stress. The repeated pressure spikes can loosen pipe joints and connections and wear out valves and appliance fittings over time, which is why codes require a device to absorb it where quick-closing valves are used. Quieting it protects the plumbing, not just your ears.
Why did the banging start suddenly in an older house?
The most common reason is that the home’s original air chambers have become waterlogged. They worked silently for years while they still held an air cushion, then filled with water and lost it. Draining the system to recharge them often brings the quiet back, at least for a while.
Will a water-hammer arrestor fix every banging pipe?
No. An arrestor absorbs the pressure surge from a quick-closing valve, but it does nothing for a pipe that is simply loose and rattling against framing, and it cannot overcome dangerously high system pressure on its own. Match the fix to the cause: arrestor for surge, clamps for rattle, and a pressure check when the noise is everywhere.
Where exactly should an arrestor go?
As close as possible to the valve that triggers the bang, following the manufacturer’s instructions, typically within a few feet of it and on both the hot and cold supply where both feed the fixture. The most common locations are washing machine, dishwasher, and ice-maker connections and tub or shower valves.
Can I install an arrestor myself?
On accessible connections like the hose bibs behind a washing machine, yes, since it is a screw-on fitting with no soldering and no open main. If the only correct spot is inside a finished wall, treat it as professional work rather than opening up drywall.
This article is general information, not professional advice. For work involving system pressure, gas appliances, or anything behind a finished wall, consult a licensed plumber.
Sources
International Plumbing Code, Section 604.9 Water hammer (2021 IPC), ICC Digital Codes: https://codes.iccsafe.org/s/IPC2021P1/chapter-6-water-supply-and-distribution/IPC2021P1-Ch06-Sec604.9
International Plumbing Code, Section 604.8 Water pressure-reducing valve or regulator (2021 IPC), ICC Digital Codes: https://codes.iccsafe.org/s/IPC2021P1/chapter-6-water-supply-and-distribution/IPC2021P1-Ch06-Sec604.8
Uniform Plumbing Code, water hammer arrester requirements (Section 609.10), UpCodes: https://up.codes/d/water-hammer-arrester
Sioux Chief Manufacturing, Water Hammer Arrester FAQ (cause, placement, ASSE 1010): https://www.siouxchief.com/docs/default-source/technical-documents/other/supply/water-hammer-arrester—minirester-hydrarester-and-megarester—faq
Sioux Chief Manufacturing, Water Hammer Arresters Engineer Report (placement and sizing): https://www.siouxchief.com/docs/default-source/technical-documents/other/supply/water-hammer-arresters—engineer-report3c4c5a0f83106b288831ff0000b65710.pdf