ABSTRACT. We investigated the association between bacterial vaginosis (BV) and human papillomavirus (HPV) infection in Papanicolaou smears in a Brazilian population. Cross-sectional analysis was performed on 673 samples collected from women attending public health centers in Olinda (PE, Brazil) by conventional (2015) cytology methodology and molecular analysis, PCR tests (GP5+/6+ and MY09/11). Cytological abnormalities, BV, and HPV-DNA were detected in 23 (3.4%) samples, 189 samples (28.1%), and 210 samples (31.2%), respectively. GP5+/6+ primers resulted in higher detection performance than MY09/11 primers, with 81% concordance between both primers (P < 0.0001). The occurrence of HPV-DNA and BV had ORs of 8.59 (P < 0.0001) and 2.91 (P = 0.0089) for abnormal cytology, respectively, whereas the concomitant presence of both infections showed an OR equal to 3.82 (P = 0.0054). Therefore, we observed an association between abnormal cervical cytology and HPV infection, BV, or both HPV infection and BV. These results highlight the necessity of monitoring patients presenting not only HPV, but also BV, as risk factors for cervical lesion development.