The pitting corrosion behaviour of a 17-4PH martensitic stainless steel (MSS) manufactured by power bed laser beam melting (LBM) was compared to that of a wrought MSS. More noble pitting potentials were measured for LBM samples, probably due to a smaller size of NbCs as compared to wrought MSS. The metastable pits were less numerous, but had a higher nucleation rate and longer life time for the LBM samples compared to the wrought MSS. This was explained by assuming a decrease in the repassivation ability of LBM samples due to small gas pores.