Why do my pipes make a loud banging noise when I turn off the water?

This is likely a condition called 'water hammer.' It occurs when water flowing quickly through your pipes is suddenly stopped, creating a shockwave that makes pipes bang against wall studs. While often just an annoyance, severe water hammer can stress pipe joints and cause leaks over time. The issue can usually be resolved by installing water hammer arrestors, which are small devices that absorb the shock. A professional can diagnose the issue and install the correct solution.