Magnesium is the most abundant intracellular divalent cation and essential for maintaining normal cellular physiology and metabolism, acting as a cofactor of numerous enzymes, regulating ion channels and energy generation. In the heart, magnesium plays a key role in modulating neuronal excitation, intracardiac conduction, and myocardial contraction by regulating a number of ion transporters, including potassium and calcium channels. Magnesium also has a role in regulating vascular tone, atherogenesis and thrombosis, vascular calcification, and proliferation and migration of endothelial and vascular smooth muscle cells. As such, magnesium potentially has a major influence on the pathogenesis of cardiovascular disease. As the kidney is a major regulator of magnesium homeostasis, kidney disorders can potentially lead to both magnesium depletion and overload, and as such increase the risk of cardiovascular disease. Observational data have shown an association between low serum magnesium concentrations or magnesium intake and increased atherosclerosis, coronary artery disease, arrhythmias, and heart failure. However, major trials of supplementation with magnesium have reported inconsistent benefits and also raised potential adverse effects of magnesium overload. As such, there is currently no firm recommendation for routine magnesium supplementation except when hypomagnesemia has been proven or suspected as a cause for cardiac arrhythmias.