INS and gestational diabetes: Age ≥30 years (odds ratio (OR) 2.418, 95% confidence interval (CI) 1.181–3.784), body mass index ≥24 kg/m2 (OR 1.973, 95%CI 1.266–3.121), insulin resistance index ≥22.69 (OR 2.491, 95%CI 1.193–4.043), fasting insulin ≥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), sex hormone-binding protein <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).