Abstract Background HPV (human papillomavirus) is an important cause of cervical cancer. Cervical-vaginal infection with pathogens, such as herpes simplex virus (HSV), bacterial vaginosis Trichomonas vaginalis and vaginal candidiasis could be a cofactor. This study aimed to assess the relationship between vaginal infection with HPV genotype and cytology test results and analyze the relationship between vaginal and HPV infections and cervical cancer. Methods We performed a district-based study to elucidate the relationship among the vaginal and HPV infections and cervical cancer. We collected the cervical exfoliation data of 23,724 women admitted to the Shanghai Zhoupu Hospital and received ThinPrep cytology test (TCT) and HPV detection between 2014 and 2019. Results Total vaginal infection rate was 5.3%, and the HPV-positive group had a slightly higher vaginal infection rate than the HPV-negative group (P