Significant associations were found between the VDR rs739837 polymorphism and T2DM susceptibility but not association with GDM. Here, VDR is linked to type 2 diabetes mellitus.