In this cross-sectional study of 180 patients with T2DM, we observed a high prevalence of both suboptimal glycemic control and inadequate vitamin D status. A substantial proportion of the sample was classified as diabetic by both FPG and HbA1c; notably, more than two-thirds exhibited either vitamin D deficiency or insufficiency. These results are consistent with prior evidence indicating that low vitamin D status is common among individuals with T2DM and frequently co-occurs with poorer glycemic regulation (
9).
This study should be interpreted in light of several limitations. The cross-sectional design precludes causal inference. We lacked data on important potential confounders, including dietary vitamin D intake, sun exposure, physical activity, and medication adherence. In particular, the absence of season-of-sampling data represents a major limitation in our setting, as Dezful's extreme seasonal variation in sunshine duration and intensity profoundly influences 25(OH)D synthesis, and we could not account for this factor in the present analysis. The single-center sample may limit generalizability, and small numbers in certain age subgroups warrant cautious interpretation. Although multivariable regression adjusted for measured confounders, including age, sex, BMI, antidiabetic medications, education, and occupation, residual confounding due to unmeasured factors may still influence the observed associations.
The single-center nature of our study is similar to that of the Hoveyzeh cohort study conducted in the same region of southwest Iran, which included 7300 participants and identified the atherogenic index of plasma as the most significant predictor of T2DM in this population (
8).
Our central finding, a modest but statistically significant inverse correlation between serum 25(OH)D and both glycemic markers, supports the hypothesis that lower vitamin D levels are associated with poorer glycemic control. Similar associations have been reported in prior cross-sectional and cohort studies; for example, Alkhatatbeh and Abdul‑Razzak reported r = -0.31 between 25(OH)D and HbA1c, which is comparable to our finding of r = -0.23 (
10). Mirhosseini et al., in a meta-analysis of 24 controlled trials including 1528 patients with T2DM, reported that vitamin D supplementation significantly reduced HbA1c by a mean difference of -0.30% (95% CI, -0.45 to -0.15; P < 0.001) and fasting plasma glucose by -4.9 mg/dL (95% CI, -8.1 to -1.6; P = 0.003), particularly among populations with baseline vitamin D deficiency (
11).
Beyond micronutrient status, dietary factors also influence HbA1c; for example, replacing white sugar with brown sugar has been shown to reduce HbA1c and inflammatory cytokines in patients with T2DM (
4).
The predominance of participants with vitamin D deficiency in the diabetic HbA1c category (85.7% in our deficient group) was statistically significant in the combined categorical analysis (χ
2 = 6.11, P = 0.047), further supporting the inverse association between vitamin D status and glycemic control. This pattern aligns with previous reports linking deficient vitamin D status with higher HbA1c values (
10).
From a biological standpoint, several mechanisms may underlie the observed vitamin D–glycemia link. Vitamin D has been implicated in the modulation of pancreatic beta-cell function, insulin secretion, insulin sensitivity, and inflammatory pathways, all of which influence glucose homeostasis (
12). Interventional trials and pooled meta-analyses provide additional context: among patients with low baseline 25(OH)D or impaired glucose metabolism, vitamin D repletion has been associated in some analyses with modest reductions in HbA1c and FPG, although findings across trials and meta-analyses are heterogeneous (
11,
13,
14,
20-
22). Large-scale randomized trials such as D2d (
14) and VITAL (
15) have further explored these associations, with some studies also reporting effects on inflammatory responses (
16). Mechanistically, the triglyceride-glucose index has been investigated (
17). Prospective cohort studies have consistently linked lower baseline 25(OH)D with higher T2DM risk (
18,
19,
23,
24), while systematic reviews have underscored the complexity of these relationships (
20). Regarding safety, the cardiovascular implications of supplementation have been extensively evaluated in large meta-analyses (
25).
Natural products have also been explored for their antidiabetic potential; for instance, Saurauia bracteosa leaf extract reduced HbA1c in an animal model of T2DM (
3).
Regarding demographic factors, we observed a sex difference: females had significantly higher mean HbA1c than males, whereas vitamin D did not differ by sex. This suggests that sex-specific biological or behavioral factors, including hormonal milieu, fat distribution, adherence patterns, and psychosocial factors, may influence glycemic control independent of vitamin D status (
26). Age-related variations, with younger individuals (< 50 years) showing higher HbA1c than those in the oldest group (> 60 years), may reflect differences in disease duration, lifestyle, or survivorship bias. Neither BMI category nor socioeconomic variables were significantly associated with glycemic indices or vitamin D status in our sample; unmeasured factors, including physical activity, diet, and medication adherence, likely exerted stronger influences. Similarly, Mehrabbeik et al., in a retrospective study of 3454 patients with T2DM at the Yazd Diabetes Center in Iran, identified older age (OR = 1.03 per year, P < 0.001) and a higher education level (OR = 1.94 - 2.30, P < 0.001) as significant independent predictors of achieving HbA1c < 7%, further highlighting the influence of demographic factors on glycemic control in the Iranian population (
27).
5.1. Conclusions
In this cross-sectional study of 180 adults with type 2 diabetes, vitamin D deficiency and insufficiency were highly prevalent (66.1%) and showed significant inverse associations with HbA1c and fasting plasma glucose. Poorer glycemic control was also independently associated with female sex. These findings align with previous meta-analytic evidence suggesting that improved vitamin D status is associated with modest reductions in HbA1c and complement recent studies highlighting the role of dietary factors and natural products in glycemic control. Although these findings suggest a link between low vitamin D status and impaired glucose regulation, the cross-sectional design precludes causal inference, and residual confounding may exist. Longitudinal and interventional studies are needed to determine whether vitamin D optimization improves glycemic outcomes in this population.