Pitting corrosion resistance and passive films of Fe balance -18Cr-12Ni-1.5Mn-0.07C-based alloys containing 0.19, 0.78, and 1.76 wt% B were investigated through potentiodynamic polarization tests and scanning transmission electron microscopy-energy dispersive spectroscopy analyses, respectively, in NaCl and H 3 BO 3 solutions. The addition of B lowered the resistance to pitting corrosion due to the increase in the volume fraction of (Cr,Fe) 2 B. For the alloy with a large volume fraction of (Cr,Fe) 2 B, the resistance to pitting corrosion in the NaCl solution was improved due to the addition of H 3 BO 3 , as H 3 BO 3 assisted passivation and raised the Cr fraction in the passive film.