Mycoplasma genitalium (MG) and Chlamydia trachomatis (CT) are the most common sexually transmitted pathogens, which can cause cervicitis, pelvic inflammation and infertility in female. In the present study, we collected the basic information, clinical results of leucorrhoea and human papillomavirus (HPV) infection of patients, who were involved in both MG and CT RNA detection in West China Second Hospital of Sichuan University from January 2019 to April 2021, ranging from 18 to 50 years old. The results showed that the infection frequencies of MG and CT were 2.6% and 6.5%, respectively. The infection rate of CT in gynaecological patients was significantly higher than that of MG (P < 0.001). Moreover, patients with CT infection often had symptoms of gynaecological diseases, while patients with MG infection remain often asymptomatic. By exploring the connection between MG or CT infection and vaginal secretions, we found that the infection of MG or CT promoted to the increase of vaginal leukocytes, and CT infection exacerbated the decrease of the number of Lactobacillus in the vagina. Further analysis suggested that independent infection and co-infection of MG or CT resulted in abnormal vaginal secretion, affecting the stability of vaginal environment, which may induce vaginal diseases. Unexpectedly, our study found no association between MG or CT infection and high-risk HPV infection. In conclusion, our study explored the infection of MG and CT among women in Southwest China for the first time, and revealed that the infection of MG or CT would affect the homeostasis of vaginal environment, which laid a foundation for the clinical diagnosis and treatment of MG and CT infection.