In the multivariate analysis, anal mucosa infection by high-risk HPV was related to: CD4 nadir < 200 cells/uL (27.1% vs. 13.2%; OR 2.363, 95% CI: 1.062–5.256); and simultaneous infection by low-risk and high-risk genotypes (75.2% vs. 65.9%; OR 1.842, 95% CI: 1.015–3.344). Here, CD4 is linked to infection.