Multivariate logistic regression indicated that elevated visfatin level was associated with an increased risk of T2D (OR: 3.543; 95% CI: 1.771–7.088; p < 0.001), while adiponectin (OR: 1.946; 95% CI: 0.925–4.094; p = 0.079), leptin (OR: 3.723; 95% CI: 0.788–17.583; p = 0.097), TNF‐α (OR: 1.081; 95% CI: 0.911–1.281; p = 0.373), and IL‐6 (OR: 0.878; 95% CI: 0.657–1.173; p = 0.379) were not associated with the risk of T2D. Here, LEP is linked to type 2 diabetes mellitus.