In industrial production, carbon steel pipes are widely used in various fields as a common pipe material. Carbon steel pipes are a type of steel with a high carbon content. Because its main component contains iron, it is easy to undergo oxidation reaction in a humid environment to generate iron oxide, that is, rust. After long-term use, carbon steel pipes will rust and corrode, which seriously affects the safety performance and service life of the pipeline. In order to avoid this situation, the following introduces how to prevent carbon steel pipes from rusting and corroding from multiple angles.