Patients with and without DM in the three stages did not show a trend toward decreasing or increasing vitamin D. FGF23 levels decreased as the CKD stage progressed in T2DM patients. This evidence concerns the gene FGF23 and diabetes mellitus.