We investigated the association of CD4:CD8 ratio on the hazard of non-AIDS defining malignancy (NADM), AIDS-defining malignancy (ADM) and most frequent group of cancers in ART-treated people with HIV (PWH) with a CD4 and CD8 cell counts and viral load measurements at baseline. This evidence concerns the gene CD8A and cancer.