In our cohort, incident histologic anal HSIL was associated with baseline syphilis status, anal high‐risk HPV infection and CD4 count. Here, CD4 is linked to syphilis.