In the training set, univariate and multivariate logistic regression analysis indicated that age ≥ 35 years (OR, 2.28; 95% CI 1.67–3.13), pre-pregnancy underweight (OR, 2.36; 95% CI 1.60–3.47), pre-pregnancy overweight (OR, 1.67; 95% CI 1.09–2.56), and obesity (OR, 10.45; 95% CI, 3.91–27.87), nulliparity (OR, 0.58; 95% CI 0.41–0.82), pre-pregnancy diabetes (OR, 5.81; 95% CI 3.24–10.39), pre-pregnancy hypertension (OR, 2.79; 95% CI 1.44–5.41), and cervical incompetence (OR, 5.12; 95% CI 3.08–8.48) are independent risk factors for sPTB in twin pregnancies. This evidence concerns the gene SPTB and diabetes mellitus.