To study the influence of residual stress on the corrosion behavior of welded structures, methods such as residual stress measurement, microstructure observation, and corrosion morphology observation were used. The energy transformation model and corrosion-resistance constant model were utilized to reveal the mechanism of residual stress on the welded structures' corrosion behavior. The results show that the fusion line was the region that is most heavily affected by corrosion and sustains more serious corrosion damage than other areas, resulting in the welded structure becoming a high-incidence area for corrosion cracking and failure. Residual tensile stress could reduce the activation energy and surface atomic density, and therefore decrease the corrosion resistance of the welded structures. The residual compressive stress decreased the activation energy needed by metal atoms to convert into metal ions in welded structures, and simultaneously increased the surface atomic density. The corrosion resistance of the welded structures ultimately increased owing to the combined influence of changes in activation energy and surface atomic density.