In most cases, knocking pipes are caused by variable water pressure in the main supply pipes coming into your home. ... However, when the air used in pressurizing those pipes leaks or is depleted, water moves suddenly and violently, creating the knocking sound as it traverses the length of the supply lines.