Home fixes & guides

How to Stop Banging Pipes (Water Hammer) When the Washer or Dishwasher Valve Shuts Off

My pipes bang loudly right after my washing machine (or dishwasher) finishes filling and the valve snaps shut. How do I stop this water hammer for good?

That bang is water hammer: a fast-closing appliance solenoid valve stops moving water instantly, and the momentum slams into the pipe like a hammer. The lasting fix is to install a water hammer arrestor at the appliance and (if needed) lower your home's water pressure and re-charge any old air chambers.

ℹ️ Reference only: For general reference only. This guide does not guarantee any result — every home is different. Verify against your local building codes and a licensed professional before acting, especially for electrical, gas, plumbing, structural, or roof work.

💵 Screw-on washing-machine arrestor pair: $20-$35. Under-sink mini arrestor (dishwasher/ice maker): $10-$20. Pressure gauge: $10-$15. Drain-down reset: $0. Plumber to install/adjust a PRV or a soldered-in arrestor: $150-$450 depending on access and region. ⏱ 15-30 minutes for a screw-on or under-sink arrestor; 10 minutes for the drain-down reset; half a day if a plumber sets a PRV. ● Use caution
Safety: This is low-risk water work, but always shut off the supply valve before disconnecting any hose or fitting, and keep a towel and bucket handy. Do not over-tighten plastic arrestor fittings or you can crack them. Ignoring chronic water hammer is not just noise: the repeated shock can loosen joints and eventually cause a leak, so it is worth fixing. If your pressure gauge reads very high (90+ psi), reduce it before the next appliance cycle to avoid stressing supply lines.

Common causes

How to fix it

  1. Confirm it is water hammer: the bang must coincide with an appliance valve closing (washer fill ending, dishwasher between cycles, ice maker filling). A bang on hot-water demand or while water runs is a different problem (loose pipe, thermal expansion).
  2. Try the free reset first for waterlogged air chambers: turn off the main supply, open the highest faucet in the house and the lowest (often a basement or outdoor tap), let everything drain fully for a few minutes, close the faucets, then reopen the main. This re-introduces air into existing chambers and often quiets things temporarily.
  3. Check static pressure with a gauge on a hose bib. If it reads above ~80 psi, that is the root amplifier. Have a PRV installed or adjusted to bring it to ~50-60 psi (PRV work is plumber territory if you do not have one).
  4. Install a water hammer arrestor at the offending appliance. For a washer, the easiest is a screw-on tee-style arrestor pair that goes between the hot/cold wall valves and the washer hoses (no soldering, hand-tight). For a dishwasher or ice maker, a mini arrestor installs on the supply line under the sink or at the valve. This is the permanent fix and the cleanest DIY win.
  5. Turn the water back on, run the appliance through a fill cycle, and listen. The bang should be gone or reduced to a soft thud.
  6. If banging persists after an arrestor and normal pressure, secure loose pipes: add cushioned pipe clamps or wrap foam/pipe insulation where the supply line passes through joists or rests against framing, so it cannot slap.
  7. If you have older air chambers built into the walls that keep waterlogging, the modern replacement is a permanent mechanical arrestor (piston/spring sealed unit) tied into the line near the appliance branch, which never needs recharging. This usually means opening a wall or working at the branch, so weigh DIY vs. a plumber.

DIY or call a pro?

A screw-on washer arrestor or an under-sink mini arrestor is a confident DIY job: hand-tight fittings, no torch, 20 minutes. The free drain-down reset and a pressure-gauge check are also fully DIY. Call a plumber if your static pressure is high and you have no PRV (or it is failing), if the fix requires opening a wall to reach a soldered-in arrestor, or if the banging continues after you have addressed pressure and added an arrestor, since that points to a deeper supply-line or anchoring problem.

Tools & parts

Keep a record of every fix you make — what broke, what it cost, how you solved it.

Track your home's fixes in Home Story →

Based on: Manufacturer guidance from water hammer arrestor makers (e.g., Sioux Chief, Oatey) on sizing and placement at appliances; International Residential Code / Uniform Plumbing Code provisions on water hammer arrestors at quick-closing valves and 80 psi maximum static pressure; Reputable DIY references (This Old House, Family Handyman style guidance) on the air-chamber drain-down recharge method

General home-maintenance guidance, not a substitute for professional inspection. Plumbing codes and conditions vary by locale; when in doubt, consult a licensed plumber.