The data demonstrated that lower 25(OH)D levels are associated with T2DM, which are not influenced by obesity status and VDR gene polymorphisms (ApaI, BsmI, FokI, and TaqI). Here, VDR is linked to obesity due to melanocortin 4 receptor deficiency.