We apply our novel potentiostat approach to study the chemical reactions that take place during initial corrosion at the water-Mg interface under anodic polarization. Based on the gained insight, we derive an atomistic model that explains the origin of the anodic hydrogen evolution.