As Table 3 indicated, logistic regression analyses had found that age ≥30 years (odds ratio (OR) 2.418, 95% confidence interval (CI) 1.181–3.784), BMI ≥24 kg/m2 (OR 1.973, 95%CI 1.266–3.121), HOMA-IR ≥22.69 (OR 2.491, 95%CI 1.193–4.043), Fins ≥22.71 mIU/L (OR 2.508, 95%CI 1.166–5.057), testosterone ≥2.85 nmol/L (OR 1.821, 95%CI 1.104–2.762), androstenedione ≥6.63 nmol/L (OR 1.954, 95%CI 1.262–2.844), and SHBG <64.22 nmol/L (OR 1.497, 95%CI 1.028–2.016) were the independent risk factors of GDM in patients with PCOS (all P < .05). This evidence concerns the gene SHBG and gestational diabetes.