Water Hammer in Piping: Causes, Effects and How to Prevent It
Water hammer in piping explained: how a pressure surge forms, a Joukowsky worked example, damage to supports and joints, and how to prevent surges.
By Syed Hasan29 Nov 20268 min read

Water hammer is the bang you hear when a valve shuts too fast, and in a house it rattles the pipes. In a plant or a pipeline the same physics can lift a line off its supports, blow a gasket, crack a small-bore branch or split a pipe. The event lasts a few seconds, leaves very little evidence, and is easy to blame on something else.
This post explains how a pressure surge happens, step by step, how to estimate its size with the Joukowsky relation, what it does to piping, supports and joints, and the design and operating measures that prevent it. You should come away able to spot the operations in your own system that are most likely to cause a surge, and know what to ask for when one is suspected.
How a pressure surge happens, step by step
A liquid flowing in a pipe carries momentum. If the flow is stopped suddenly, that momentum has to go somewhere, and in a nearly incompressible liquid it turns into a sharp rise in pressure. The sequence for a valve closing quickly at the downstream end of a line runs like this:
- Steady flow. Liquid moves along the line at a steady velocity.
- The valve closes fast. The liquid right at the valve is brought to rest.
- A pressure wave forms. The stopped liquid is squeezed slightly and the pipe wall stretches slightly, so pressure at the valve jumps.
- The wave travels upstream. The high-pressure front runs back along the line at the wave speed, stopping the liquid as it passes.
- It reflects. At a tank, a header or another boundary, the wave bounces back, and the pressure swings between high and low.
- The swings die out. Friction damps the oscillation over several cycles, while each pressure change pushes on bends, supports and joints.
The wave speed is the key number. In a liquid-filled pipe it is somewhat below the speed of sound in open liquid, because the pipe wall stretches as the pressure rises; a stiffer, thicker wall gives a faster wave. It is very fast compared with the flow itself, which is why the whole event happens in seconds.
How big is the surge? The Joukowsky relation
For an instantaneous stop, the pressure rise is given by the Joukowsky relation:
Pressure rise = fluid density x wave speed x change in velocity
A worked example, with assumed figures to show the scale. Take water at roughly 1,000 kg/m3, a wave speed of 1,200 m/s (a plausible value for a steel line, but it depends on the pipe), and a flow of 2 m/s stopped completely:
1,000 x 1,200 x 2 = 2,400,000 Pa, which is 2.4 MPa or 24 bar on top of the operating pressure.
That is from stopping a modest flow. The lesson is that surge pressure depends on how much velocity changes and how fast, not on how high the operating pressure was to start with.
"Fast" has a definite meaning here. The wave needs time to run to the reflecting boundary and back, which is twice the line length divided by the wave speed. A valve that closes in less than that time produces the full Joukowsky rise. For a 1,200 m line with the wave speed above, that time is 2 seconds, so any closure quicker than about 2 seconds gives the full surge. Slower closures let the reflected wave arrive and soften the peak, which is the basis of most prevention.
What causes water hammer in piping systems
Rapid valve closure is the textbook cause, but in plants several others are just as common:
- Quick-closing valves: emergency shutdown valves, solenoid valves and quarter-turn valves operated too quickly.
- Pump trip: when a pump stops suddenly, the flow decelerates and pressure falls on the discharge side. The low pressure can drop to vapour pressure, forming a vapour pocket (column separation). When the columns rejoin, the collapse produces a severe pressure spike.
- Check valve slam: after a pump trip the flow reverses, and a slow check valve shuts against the reverse flow with a bang.
- Pump start into an empty or partly filled line, where a fast-moving column hits a closed valve or trapped air pocket.
- Steam lines: condensate collecting in a steam main is picked up by fast steam and driven into a bend as a slug. Steam bubbles collapsing in cold condensate cause condensation-induced hammer, which is especially violent.
Effects on pipes, supports and joints
A surge does damage in two ways: the pressure itself, and the force it creates where the pipe changes direction.
| Effect | What happens | What to look for |
|---|---|---|
| Overpressure | Pressure above the design pressure for a short time | Ruptures, bulging, lifting relief valves |
| Unbalanced forces | The wave pushes on each bend in turn, jerking the pipe | Supports moved, shoes off beams, guides bent |
| Joint leaks | Flanges see a sudden load and pressure spike | Weeping flanges, blown or extruded gaskets |
| Fatigue | Repeated surges load connections again and again | Cracks at small-bore branches and welds |
| Low pressure | Vacuum during the low-pressure phase | Collapsed thin-wall or lined pipe, air drawn in |
| Equipment damage | Shock on valves, pumps and instruments | Damaged check valves, broken gauges |
The support side is worth stressing for inspectors. A line that hammers repeatedly will show it on its supports long before it fails: guides with fresh scrape marks, shoes that have walked off their beams, and U-bolts that have loosened. The support types involved are described in types of pipe supports. Small-bore connections near the source of a surge are the classic fatigue weak point, and the same vibration logic is covered in small-bore piping vibration fatigue.
ASME B31.3 lists hydraulic shock among the dynamic effects a piping designer must take into account, so a known surge case belongs in the design basis, not only in operating instructions.
How to prevent pressure surges
Most prevention works by slowing the change in velocity or by giving the pressure somewhere to go.
- Slow valve closure. Set actuator speeds so closure takes longer than the wave's round trip. Two-stage closure, fast for most of the travel and slow for the last part, works well because most of the flow is cut in the final part of the stroke.
- Control pumps. Soft starters and variable speed drives ramp flow up and down. A flywheel slows a pump's rundown after a trip.
- Surge vessels and accumulators. A gas cushion in a vessel connected to the line absorbs the pressure rise and feeds liquid back during the low-pressure phase.
- Surge relief valves. These open quickly on a rising pressure and release liquid to a safe location. Relief devices have to be sized for the surge case, which is part of the scope of the PSV and flare system integrity programme.
- Air and vacuum valves at high points, to prevent column separation and let air out when filling.
- Non-slam check valves, designed to close before the flow reverses, on pump discharges.
- Steam line practice: slope mains towards drain points, fit drip legs with working steam traps, and warm lines up slowly with drains open.
- Surge analysis. For long or critical lines, a transient analysis models valve closures and pump trips before they happen and sizes the protection.
Pump behaviour during start-up and trips also links to suction conditions; if the same pumps suffer from noise and damage on the suction side, see pump cavitation and NPSH.
Frequently asked questions
What is the main cause of water hammer?
Stopping or sharply changing the flow of a liquid quickly. The classic case is a valve closing faster than a pressure wave can run to the end of the line and back. Pump trips, check valve slam, starting a pump into an empty line and condensate in steam mains are the other common causes in plants.
How do you calculate surge pressure?
For an instantaneous stop, use the Joukowsky relation: pressure rise equals fluid density times wave speed times change in velocity. With water at about 1,000 kg/m3, an assumed wave speed of 1,200 m/s and a 2 m/s flow stopped completely, the rise is about 24 bar on top of the operating pressure.
How do you stop water hammer in a pipe?
Slow the change in velocity or give the pressure somewhere to go. Close valves more slowly than the wave's round trip, ramp pumps with soft starters or variable speed drives, and fit surge vessels, surge relief valves, air and vacuum valves or non-slam check valves. In steam lines, drain condensate properly and warm lines up slowly.
Can a pressure surge damage pipe supports?
Yes. As the wave passes each bend it creates an unbalanced force that jerks the pipe. Repeated surges show up on supports first: guides with fresh scrape marks, shoes that have walked off their beams and loosened U-bolts. Small-bore branches near the source of the surge are also prone to fatigue cracking.
What to do next
List the operations in your system that change flow quickly: emergency shutdown valves, pump trips, check valves and steam line warm-ups. Then check whether each one was ever considered as a surge case. Piping damage from surges and vibration is part of what an inspector looks for under the API 570 piping inspector certification preparation.
Exam preparation
Preparing for API 570?
Practise with exam-style questions, timed mocks and study notes. 1,841 questions in the bank.


