With the large-scale development of China's petroleum and petrochemical industry,the water consumption and head of public works such as circulating water and fire water are increased,and water hammer occurs from time to time due to various reasons.In this paper,through the calculation of the pressure of the water hammer when stopping the pump and the analysis of the occurrence,causes and solutions of the water hammer when starting and stopping the centrifugal pump in the test run of a project,the engineering design of the water system is guided,and the scheme of the start and stop process of the centrifugal pump test run is optimized from the operation level,so as to effectively avoid the occurrence of the water hammer phenomenon.