In this paper, the electrochemical corrosion behavior of X70 steel in saline soil under capillary water was simulated by a Geo-experts one-dimensional soil column instrument. A volumetric water content sensor and conductivity test were used to study the migration mechanism of water and salt (sodium chloride) under the capillary water. The electrochemical corrosion behavior of the X70 steel in the corrosion system was analyzed by electrochemical testing as well as the macroscopic and microscopic corrosion morphology of the steel. The test results showed that the corrosion behavior of X70 steel was significantly influenced by the rise of capillary water. In particular, the wetting front during the capillary water rise meant that the X70 steel was located at the three-phase solid/liquid/gas interface at a certain location, which worsened its corrosion behavior. In addition, after the capillary water was stabilized, the salts were transported with the capillary water to the top of the soil column. This resulted in the highest salt content in the soil environment and the most severe corrosion of the X70 steel at this location.