These findings suggest that maintaining high CD4 counts may contribute to anal cancer prevention among PWH in South Africa. This evidence concerns the gene CD4 and anal carcinoma.