Mg alloys have long been considered a promising lightweight alloy system for various applications including consumer electronics, transportation, and medical equipment. However, owing to their high reactivity, Mg alloys cannot be used without proper coatings or surface treatments. Nevertheless, the chemical reactivity of Mg also opens up new ideas, such as the development of Mg-based biodegradable body implants and Mg metal battery systems. Unlike other metallic elements, Mg possesses a unique electrochemical response, especially under anodic polarization. To be specific, the rate of water reduction and hydrogen gas evolution, which is the dominant cathodic reaction on Mg in aqueous solutions, opposingly accelerates with the increase in anodic polarization. This phenomenon is the notorious negative difference effect (NDE) of Mg, or recently coined as the “anomalous hydrogen evolution”. Even after decades of research, the underlying mechanism of this peculiar electrochemical response of Mg is still under debate and yet to be elucidated.In order to have a clear picture of how the anomalous hydrogen evolution is related to the dissolution of Mg under anodic polarization, a customized cell was designed to enable high resolution in situ observation of the hydrogen evolution sites and surface morphology on Mg with an optical microscope. The compact cell is small enough to fit under the optical microscope with a short working distance at high magnification (50x-500x). The cell and the equipped reference and counter electrodes are connected to a potentiostat/galvanostat to control and monitor the polarization of the Mg working electrode. Additionally, a dynamic fluid control system is used to regulate the solution flow rate in the cell and constant circulation to avoid chemical or pH shifts. Additionally, the flowing solution also flushes away hydrogen bubbles attached to the electrode surface and ensure an unblocked view of the Mg surface. From this experimental setup, the anomalous hydrogen evolution under anodic polarization was found to be closely related to the actively propagating localized corrosion front of Mg. The relationship between hydrogen evolution response, applied anodic polarization, solution flow rate, as well as possible negative difference effect mechanisms, will be discussed. Figure 1