The passive film characterization and pitting corrosion behavior of 304 L SS with various elastic tensile and compressive stresses are investigated by electrochemical measurements, acoustic emission, X-ray photoelectron spectroscopy and scanning electron microscope. The elastic tensile stress could decrease the pitting corrosion sensitivity of 304 L SS at 16.63%σ0.2. As the elastic tensile stress further increases, the pitting corrosion sensitivity of 304 L SS increases. The compressive stress has the opposite effect on 304 L SS localized corrosion behavior. X-ray computed tomography is employed to construct the four-dimensional space-time model of pitting corrosion growth of 304 L SS under the 63.24%σ0.2 elastic tensile stress.