Associations with serum potassium and sodium did not reach the level of genome-wide significance in our study, but common genetic variants in six genomic regions in or near the MUC1, MDS1, SHROOM3, TRPM6, DCDC5, and ATP2B1 genes were significantly and reproducibly associated with serum magnesium levels and clinically defined hypomagnesemia. Here, ATP2B1 is linked to Hypomagnesemia.