The corrosion behavior of Q345qNH steel and Q420qNH steel in simulated industrial atmospheric environment medium was studied by periodic immersion+infrared aging corrosion experiment. The results show that the corrosion type of both samples is uneven comprehensive corrosion, and the rust layer formed in the later stage of corrosion is relatively dense. But average corrosion rate of Q345qNH steel is always lower than that of Q420qNH steel, and the ratio of Iα‐FeOOH/Iγ‐FeOOH in rust layer is always higher. Compared with Q420qNH steel, Q345qNH steel has fewer surface pits but deeper local pits. The self‐corrosion potential of Q345qNH steel increases obviously, the resistance of the rust layer is larger, and protection to the matrix is stronger. This is because the formation of a large number of corrosion microcells induced by fine lamellar sorbite tissue that uneven distributed in Q420qNH steel, which increases the corrosion rate and makes corrosion uneven, while the larger pearlitic group in Q345qNH steel increases the local corrosion rate. However, the higher chromium/carbon ratio in Q345qNH steel promotes the conversion of lepidocrocite to goethite and inhibits the cathode reaction in the infrared drying stage, improving the density and stability of the rust layer.