The structure and dynamics of the Mg-Al alloy for the different compositions were investigated using the embedded atom method (EAM) of molecular dynamics modeling. The results found that the icosahedral-like, mixed, and crystal-like increases with the temperature during the cooling process. When the temperature reaches the glass transition temperature (Tg) the last two types of clusters decrease with the temperature. The temperature Tg was determined using the Wendt-Abraham parameter, which found that it increases with increases in the fraction of Al. Investigations also revealed that the activation energy (Ea) decreases at higher temperatures and increases at temperatures below Tg. Additionally, viscosity was computed using the Vogel–Fulcher–Tammann (VFT) equation, showing a decrease in temperature in the supercooled liquid state. Moreover, an increase in the fraction of Al resulted in reduced fragility of the liquids.