AbstractIn this work metallic pins made of Mg5Gd alloy were coated with magnetron sputtered PVD Mg5Gd layers. Immersion tests in Hank’s balanced salt solution (HBSS) were performed. The PVD coating drastically reduced the corrosion rate of the Mg5Gd pin. The corrosion mechanism of the coating was studied in model electrochemical measurements by Scanning Vibrating Electrode Technique and galvanic current measurements. The tests revealed the preferential anodic dissolution of the Mg5Gd coating galvanically coupled with the bulk Mg5Gd pin. Local measurements of Volta potential difference revealed the VPD contrast between the pin and the coating surfaces only after immersion in HBSS.