Here, we present a protocol to set up and run an in vitro potentiodynamic corrosion system to analyze pitting corrosion for small metallic medical devices.