In conclusion, serum magnesium concentrations are associated with genetic variability around the regions of TAF3, MUC1/TRIM46, SHROOM3, and SLC22A7 in type 2 diabetes. This evidence concerns the gene SLC22A7 and type 2 diabetes mellitus.