This research applies SIPOC (suppliers, inputs, process, outputs, and customers) model to build the experimental processes, the fishbone diagram as well as the matrix diagram to find the causes of failure and applies DMAIC method to improve the failure rate of pipeline, respectively. Then, the optimal SOP of the replacement of cylinders and the selection of the tools are established. The gas pressure of pipeline is affected by temperature, and the Gay-Lussac's law is used to calculate the correct pressure value in order to ensure the validity of the holding pressure in the pipeline. Furthermore, Six Sigma tools are applied to analyze the reliability of the data and linear regression analysis, to assure the improvement of SOP. This method is tested by experiment, results show the failure rate of the holding pressure of gas pipeline can be reduced from 30.5% to 8.3%.