Two types of inclusions in the stainless steels are detected: MnO·Cr2O3–MnS dual‐phase ones and pure MnS ones. The increase of sulfur content can inhibit the formation of MnO–Cr2O3–MnS inclusions and reduce the harm of MnO·Cr2O3–MnS inclusions on the pitting corrosion of stainless steels. When the sulfur content increases from 26 to 70 ppm, the average pitting potential increases from 0.34 to 0.4 VSCE due to the decrease in the number density of MnO–Cr2O3–MnS inclusions. A Cr‐depletion zone exists in the steel matrix around MnO–Cr2O3–MnS inclusions. The size of pits induced by MnO·Cr2O3–MnS inclusions is larger, which poses a more serious threat to the pitting resistance of stainless steels.