Pipes Knocking in Walls: Water Hammer Explained & Fixed
That knocking sound in your walls when you turn water on or off is water hammer—a shock wave created when fast-moving water suddenly stops. It's caused by high water pressure (above 80 psi), abrupt valve closures, or missing air chambers in your pipes. You can often fix it yourself by draining your system, installing water hammer arrestors, or reducing water pressure at the main valve.
Water hammer is one of the most common plumbing noises homeowners hear, and the good news is that it's usually fixable without a full pipe replacement. The bad news? If you ignore it, those repetitive shock waves can eventually damage your plumbing, weaken connections, and lead to costly leaks inside your walls.
Let's walk through exactly what's happening, why your pipes are doing it, and how to make the noise stop for good.
What Is Water Hammer (And Why It Happens)
Water hammer occurs when flowing water suddenly stops or changes direction inside your pipes. Picture it like this: water is moving through your pipes at high velocity, and when you close a faucet or a solenoid valve (like in your washing machine) shuts off abruptly, the water has nowhere to go. That kinetic energy converts into a pressure wave that travels backward through the pipes, creating that distinctive bang, bang, bang sound you hear in the walls.
The faster the water was moving, or the quicker the valve closes, the louder the shock. That's why you might hear it most when shutting off a garden hose quickly or when your toilet's fill valve suddenly stops refilling.
Three main factors make water hammer worse:
- High water pressure. Most homes should have 40–60 psi of incoming water pressure. When your municipal supply or pressure tank pushes 80+ psi into your pipes, that water moves faster and hits harder when stopped.
- Fast-closing valves. Modern fixtures like solenoid valves on washers and dishwashers shut off almost instantly, leaving no time for the pressure wave to dissipate.
- Missing or waterlogged air chambers. Your plumbing should have small air-filled pockets (called air chambers) at the end of supply lines. These cushion the shock. Over time, they fill with water and stop working.
Diagnosing Where the Knocking Comes From
Before you can fix water hammer, you need to know which fixture is causing it. Not all knocking sounds are the same—some are localized to one area, while others echo through your entire house.
| Sound Pattern | Most Likely Cause | When It Happens |
|---|---|---|
| Bang when you close a faucet quickly | Water hammer from manual valve closure | Kitchen or bathroom sink |
| Knocking during or right after washing machine fills | Solenoid valve snapping shut | Laundry room, near washer inlet |
| Banging when toilet finishes refilling | Fill valve (ballcock) closing | Walls near toilet |
| Constant knocking throughout house when any faucet is used | High water pressure or waterlogged air chambers | Throughout entire plumbing system |
| Loud bang followed by quieter rattling | Loose pipes combined with water hammer | Walls near the fixture in use |
To pinpoint the source, run a simple test: turn on and off each water-using fixture in your home—kitchen faucet, bathroom sinks, shower, toilet, washer—and listen carefully where the sound comes from. Write down which fixture causes the loudest knocking. That's your starting point.
5 DIY Fixes for Pipes Knocking in Walls
1. Check and Reduce Your Water Pressure
High water pressure is the number one culprit behind water hammer. Your first step should always be checking your incoming pressure with a simple pressure gauge (about $10 at any hardware store).
What to do: Screw the gauge onto an outdoor faucet or hose bib. Turn the faucet on and read the psi. If it's above 80 psi, your pressure is too high. You can reduce it by installing a pressure regulator on your main water line (typically located where the water enters your home from the street). Most regulators cost $30–$60 and are a straightforward installation if you're comfortable with plumbing.
If you're not comfortable doing it yourself, this is a good reason to call a professional plumber —it's a quick job that'll prevent water hammer and extend your plumbing's life.
2. Drain and Refill Your Plumbing System
Sometimes air chambers in your pipes become waterlogged over time. Draining the system lets those chambers refill with air, restoring their shock-absorbing ability. This is one of the easiest DIY fixes and costs nothing.
What to do:
- Turn off the main water supply valve (usually near the street or in your basement).
- Open every faucet in your home—kitchen, bathrooms, outdoor spigots, everything. Start with the lowest-level faucet first.
- Let water drain for a few minutes until nothing comes out.
- Close all the faucets, starting from the highest point in your home (upstairs faucets) and working down.
- Turn the main water valve back on slowly.
- Test your fixtures. The air chambers should now be recharged and the knocking may be gone.
3. Install Water Hammer Arrestors
A water hammer arrestor is a small device (about the size of a fire extinguisher) that acts as a shock absorber for your pipes. It contains pressurized air and a flexible bladder that absorbs the impact when water stops flowing suddenly.
What to do: You can install arrestors at specific problem fixtures or on the main supply line. They typically screw onto the incoming water line with a wrench. Most homeowners can do this in 15–30 minutes per unit. They cost $20–$100 depending on size and quality, and professional installation runs $100–$300 if you'd rather have it done.
Install arrestors closest to the fixture causing the loudest banging—usually near your washer, dishwasher, or toilet.
4. Replace Fast-Acting Valve Solenoids
If the knocking only happens when your washing machine or dishwasher fills up, the problem is almost certainly the solenoid valve that controls water flow. These shut off nearly instantaneously, which is great for water conservation but tough on your pipes.
What to do: You can replace the solenoid cartridge itself (usually $30–$60 and a 10-minute job), or install a water hammer arrestor on the inlet hoses. Many modern washers now come with built-in shock arrestors, but older appliances often don't.
5. Repair or Adjust Fill Valves in Toilets
Toilet knocking is incredibly common and usually easy to fix. The culprit is almost always the fill valve (ballcock) that refills the tank after you flush.
What to do: Most fill valves have an adjustment screw or clip that controls how fast water flows into the tank. Slowing down the fill rate reduces the shock when the valve closes. Consult your toilet's manual or look for a small screw on the side of the fill valve. Turning it a quarter-turn at a time can reduce the knocking dramatically. If the valve is old or damaged, replace it entirely (kits cost $10–$20).
For more on similar HVAC and plumbing noises throughout your home, check out our full guide.
When High Water Pressure Is the Real Problem
If you've drained your system and installed arrestors but the knocking persists, your water pressure is almost certainly too high. Municipal water supplies can surge, especially during peak usage times in the morning or evening. Some homes get 80–100+ psi, which is well above the safe range.
Beyond water hammer, high pressure damages your fixtures, shortens the life of hoses and connectors, and can cause leaks inside walls that you won't see until serious damage has been done. Installing a pressure regulator (or replacing an old one) is the most permanent solution.
A pressure regulator typically costs $30–$100 in parts and $100–$300 for professional installation. It's one of the best investments you can make for your plumbing's longevity.
When to Call a Professional
You should reach out to a plumber if:
- The knocking continues after you've drained the system and installed arrestors.
- You notice water leaking from joints or connections in the walls.
- The noise is accompanied by reduced water pressure at fixtures.
- You're not comfortable working with water pressure gauges or installing valves.
- Your water pressure is consistently above 80 psi and you don't have a regulator.
See our guide on when to call a plumber for more details on what signs indicate professional help is needed.
If you also notice your water heater making popping noises , that's a separate issue often caused by sediment buildup, and should be addressed promptly.
Preventing Water Hammer in the Future
Once you've fixed the immediate problem, keep these prevention tips in mind:
- Close faucets gently. Avoid slamming taps shut. Slow, deliberate closure gives pressure waves time to dissipate.
- Monitor your water pressure regularly. Check it a few times a year. If it creeps above 80 psi, adjust your regulator.
- Drain your system annually. Once a year, shut off the main valve and open all faucets to re-charge