In multivariate analysis, CD4 nadir < 200 cells/μL was the factor associated with infection by HR-HPV (OR 3.66, 95% CI 1.05%–12.75%). This evidence concerns the gene CD4 and infection.