how to prevent water hammer
water hammer fix
water hammer arrestor

How to Prevent Water Hammer: Causes, Fixes & Complete Guide

Learn what causes water hammer and how to prevent it. Step-by-step guide with water hammer calculator, Joukowsky equation, arrestor sizing, and protection methods.

PlumberCalc Team
Updated 5/20/2026
Steel heating manifold pipes with valves showing plumbing infrastructure prone to water hammer
Photo by Pavel Danilyuk on Pexels

Water hammer (hydraulic shock) is the banging, clanging, or thumping noise you hear in pipes when water flow is suddenly stopped. It's not just annoying — the pressure spikes can reach 5-10 times the normal system pressure, damaging pipes, fittings, valves, and appliances. Every plumber encounters water hammer regularly, and understanding the physics behind it is essential for diagnosing the cause and selecting the right fix. This guide covers everything from the Joukowsky equation that predicts pressure surge magnitude to practical solutions including arrestor sizing, slow-close valves, and system design strategies that prevent hammer before it starts.

Why This Matters

Water hammer is more than a noise problem — it's a structural threat to your plumbing system. Each hammer event creates a pressure wave that can exceed 500 PSI in severe cases, far above the 150 PSI rating of standard residential fittings. Repeated hammer events fatigue pipe joints, loosen solder connections, crack plastic fittings, and damage appliance solenoid valves. In commercial and industrial systems, water hammer has caused catastrophic pipe failures, flooded buildings, and equipment damage costing hundreds of thousands of dollars. Even in residential systems, unchecked water hammer leads to pinhole leaks, fitting failures, and premature appliance breakdown.

Step-by-Step Guide

1. Identify the Source of Water Hammer

Determine which fixture or appliance triggers the hammer. Common culprits: washing machine solenoid valves (snap shut in 0.05 seconds), dishwasher fill valves, toilet fill valves (ballcock or fill valve snapping shut), quarter-turn ball valves and lever-handle faucets, irrigation solenoid valves, and boiler feed valves. Run each fixture individually while listening for the bang. The hammer occurs when the valve closes, not when it opens. If hammer happens without any valves closing, the cause may be loose pipes vibrating, a failing PRV, or thermal expansion in a closed system.

2. Check Water Pressure

Attach a pressure gauge to a hose bib and check static pressure. If pressure exceeds 80 PSI, install a pressure reducing valve (PRV) set to 55-65 PSI — this alone often eliminates water hammer. High pressure increases both flow velocity and surge magnitude. Also check for thermal expansion: if you have a closed system (backflow preventer or check valve on the main), heating water in the water heater increases system pressure by 50-100+ PSI with no relief, making hammer much worse. Install a thermal expansion tank if needed.

3. Secure Loose Pipes

Unsecured pipes amplify hammer noise and can be damaged by movement. Copper and steel pipes should be strapped every 6-8 feet on horizontal runs and 8-10 feet on vertical runs. Use proper hangers: copper straps for copper (never steel on copper — galvanic corrosion), plastic hangers for PEX and CPVC. Add pipe cushions (foam or rubber isolators) where pipes pass through framing to prevent vibration transfer. Securing pipes doesn't eliminate the pressure surge, but it eliminates noise and prevents pipe damage from movement.

4. Install Water Hammer Arrestors

Hammer arrestors absorb the pressure wave using a sealed air chamber with a piston or bellows. Install them on the supply line within 6 pipe diameters (about 6 inches for 3/4" pipe) of the quick-closing valve. Size per PDI-WH 201: AA or A size for residential appliances (washing machine, dishwasher), B or C for commercial applications. For washing machines: install one arrestor on both hot and cold supply lines. For dishwashers: install on the hot supply line. Screw-on mini-arrestors that attach between the supply valve and the hose are available for easy retrofit.

5. Consider System Design Changes for Persistent Hammer

If arrestors don't fully solve the problem, consider: replacing quarter-turn valves with slow-close (multi-turn) valves at problem locations; installing a larger expansion tank on the main line; adding a PRV if pressure exceeds 65 PSI; replacing rigid pipe sections with PEX (lower wave speed = lower surge); reducing pipe velocity by upsizing the supply line (going from 1/2" to 3/4" cuts velocity roughly in half, which cuts pressure surge in half). For commercial systems with large pumps, consider variable frequency drives (VFDs) that ramp down gradually instead of stopping instantly.

Pro Tips from Experienced Plumbers

  • The loudest bang doesn't always mean the worst hammer. A short, sharp bang from a solenoid valve (washing machine, dishwasher) creates higher peak pressure than the slow thud from a manually closed faucet — even though the thud sounds less dramatic.
  • Water hammer arrestors have a lifespan. The sealed air chamber compresses over time (waterlogging). If hammer returns after a few years, the arrestors may need replacement. Commercial-grade piston-type arrestors last longer than residential bellows types.
  • Quarter-turn ball valves are the #1 cause of water hammer in residential systems. They go from full open to full closed in 90° of handle rotation — too fast for the water to decelerate. Replace with slow-close valves at problem locations.
  • For commercial buildings with solenoid valves, install the arrestor within 6 pipe diameters of the valve. Distance matters — an arrestor 20 feet away provides almost no protection because the pressure wave reflects before reaching it.
  • Before adding arrestors, check your water pressure. Systems above 80 PSI are far more prone to hammer. Installing a PRV (pressure reducing valve) set to 55-65 PSI often eliminates hammer without any other changes.

Real-World Example: Fixing Water Hammer in a Laundry Room

Scenario: Homeowner hears a loud bang every time the washing machine fills and the solenoid valve snaps shut. 3/4" copper supply lines, 65 PSI water pressure, 15 feet from main shutoff to washer. Step 1 — Calculate severity: Solenoid valve closure time ≈ 0.05 seconds. Wave speed in copper ≈ 4,000 ft/s. Critical time = 2L/a = 2 × 15 / 4,000 = 0.0075 seconds. Since 0.05 > 0.0075, this is technically "slow" closure, but still fast enough to cause significant hammer. Step 2 — Estimate pressure surge: Using Joukowsky for worst case: ΔP = 998 × 4,000 × 0.3048 × 3.0 / 6,895 = approximately 530 PSI surge. Even at 50% of theoretical max (due to non-instant closure): 265 PSI — well above the 150 PSI rating of standard fittings. Step 3 — Solution: Install a PDI-WH 201 (AA-size) water hammer arrestor on each hot and cold supply line to the washer, within 6 inches of the washing machine valve. Secure all pipes within 3 feet with pipe straps to prevent movement. Result: Cost $35 for two arrestors + $15 in fittings. Installation time: 30 minutes. Hammer eliminated completely.

Key Formulas

Joukowsky Equation (Pressure Surge)

ΔP = ρ × a × ΔV

The fundamental water hammer equation. ΔP = pressure rise (Pa), ρ = water density (998 kg/m³), a = wave speed in the pipe (m/s), ΔV = change in velocity (m/s). For instant valve closure: ΔV equals the full flow velocity. Divide by 6,895 to convert Pa to PSI.

Wave Speed in Pipes

a = √(K/ρ) / √(1 + K·D/(E·t))

Wave speed depends on pipe material stiffness: K = bulk modulus of water (2.15 GPa), D = pipe inside diameter, E = Young's modulus of pipe material (copper: 117 GPa, steel: 200 GPa, PVC: 2.8 GPa, PEX: 0.9 GPa), t = pipe wall thickness. Stiffer pipes = faster wave speed = higher pressure surge.

Critical Closure Time

Tc = 2L / a

The time threshold between 'fast' and 'slow' valve closure. L = distance from valve to nearest reflection point (tee, air chamber, tank), a = wave speed. If a valve closes faster than Tc, full Joukowsky pressure develops. Slower closure reduces the peak pressure proportionally.

Arrestor Sizing (PDI-WH 201)

Size = f(Fixture Units on branch)

PDI-WH 201 standard sizes arrestors A through F based on fixture units served. A (1-11 FU), B (12-32 FU), C (33-60 FU), D (61-113 FU), E (114-154 FU), F (155-330 FU). Install within 6 pipe diameters of the quick-closing valve.

Water Hammer Severity by Pipe Material

Wave speed and pressure surge comparison for common pipe materials at 5 ft/s flow velocity with instant valve closure. Lower wave speed = lower pressure surge = less hammer damage.

Pipe MaterialYoung's ModulusWave Speed (ft/s)Pressure Surge (PSI)Hammer Severity
Steel (Sch 40)200 GPa4,200~590Severe
Copper (Type L)117 GPa4,000~560Severe
Cast Iron170 GPa3,800~530Severe
PVC (Sch 40)2.8 GPa1,400~195Moderate
CPVC2.9 GPa1,450~205Moderate
PEX0.9 GPa900~125Low
HDPE0.8 GPa800~110Low

Common Mistakes to Avoid

  • Ignoring high water pressure as the root cause — systems above 80 PSI are inherently prone to hammer regardless of other fixes
  • Installing arrestors too far from the valve — they must be within 6 pipe diameters to be effective
  • Using air chambers instead of mechanical arrestors — air chambers waterlog within months and stop working
  • Only securing pipes without addressing the pressure surge — straps quiet the noise but don't prevent pipe and fitting damage
  • Assuming PEX doesn't need hammer protection — PEX is more resistant but not immune, especially at high pressures
  • Not checking for thermal expansion in closed systems — a missing expansion tank causes both hammer and dangerously high pressure
  • Replacing arrestors without investigating why the original ones failed — if they waterlogged quickly, the underlying cause may be excessive pressure or temperature

Additional Considerations

Water hammer severity depends on four factors: flow velocity (faster = worse), valve closure time (faster = worse), pipe material (rigid = worse), and pipe length (longer = worse). The physics is straightforward: moving water has momentum, and stopping it suddenly converts that kinetic energy into a pressure wave that travels through the pipe at 3,000-5,000 ft/s (the speed of sound in the water-pipe system). This wave bounces back and forth between the closed valve and the nearest pressure relief point (air chamber, expansion tank, or open end) until friction dissipates the energy. PEX and HDPE pipes experience lower hammer than copper or steel because their flexible walls absorb some of the energy — the wave speed is lower (1,000-1,500 ft/s vs 4,000+ ft/s), resulting in proportionally lower pressure spikes.

Ready to Calculate?

Use our free calculator to get accurate results for your project.

Open Calculator

Frequently Asked Questions

Code Compliance

IPC Section 604.9 requires protection against water hammer when quick-closing valves are installed. Water hammer arrestors must conform to PDI-WH 201 (Plumbing & Drainage Institute standard) or ASSE 1010. Arrestors must be installed as close as possible to the quick-closing valve and must be accessible for maintenance or replacement. Maximum static water pressure is limited to 80 PSI per IPC 604.8 — a PRV is required if supply pressure exceeds this. Thermal expansion must be controlled in closed systems per IPC 607.3.2.