We found an inverse association of FGF23 with T2DM risk (IVW OR: 0.70 per natural log transformed FGF23 increase, 95% CI: 0.52–0.96), with directionally consistent findings from WM and MR-Egger. This evidence concerns the gene FGF23 and type 2 diabetes mellitus.