Abstract:Objective To analyze the impact of genital mycoplasma infection, Th17/Treg ratio, and vaginal microecology on pregnancy outcomes following assisted reproductive technology (ART) in infertile patients.Methods A total of 124 infertile female patients admitted to Baoji Maternal and Child Health Hospital from June 2022 to September 2024 were selected. Strain identification was performed using a fully automated identification system, and patients were categorized into infected and uninfected groups based on mycoplasma infection status. Clinical data, Th17/Treg ratios, and vaginal microecology were compared between groups, and the effects of the Th17/Treg ratio and vaginal microecology on mycoplasma infection in infertile patients were analyzed. Follow-up concluded in May 2025, when all patients had undergone ART. The pregnancy outcomes were compared between infected and uninfected groups.Results Among 124 infertility patients, the overall mycoplasma infection rate was 60.48%, comprising 36 cases of Ureaplasma urealyticum (UU) infection, 29 cases of Mycoplasma hominis (MH) infection, and 10 cases of UU+MH mixed infection. Compared with the uninfected group, the infected group showed a significantly higher Th17/Treg ratio, a higher rate of abnormal vaginal microbial density, and a higher rate of abnormal vaginal pH. The multivariable stepwise logistic regression analysis revealed that elevated Th17/Treg ratios [O^R = 21.355 (95% CI: 6.706, 68.001) ], abnormal vaginal microbial density [O^R = 4.542 (95% CI: 1.579, 13.069) ] and abnormal vaginal pH [O^R = 3.058 (95% CI: 1.132, 8.261) ] were risk factors for mycoplasma infection in infertile patients (P < 0.05). The fertilization rate was higher in the uninfected group than in the infected group (P < 0.05), while the miscarriage and preterm birth rates were lower in the uninfected group (P < 0.05).Conclusion The Th17/Treg ratio and vaginal microecology are factors influencing mycoplasma infection in infertile patients. Genital mycoplasma infection adversely affects ART efficacy, ultimately leading to poorer pregnancy outcomes.