Genetics seems to be a vital risk factor for Type 2 diabetes, and serum magnesium levels may modify the risk of diabetes through several magnesium-regulating genes such as TRPM6, CLDN19, SLC41A2, CNNM2, and FXYD2 [26]. This evidence concerns the gene CNNM2 and diabetes mellitus.