Serum Mg was inversely correlated with serum Ca (P = 0.023) and positively correlated with serum parathyroid hormone (PTH) (P = 0.020), alkaline phosphatase (P = 0.044), and phosphate (P = 0.040) in the CKD patients with diabetes. This evidence concerns the gene PTH and chronic kidney disease.