In this large-scale Shanxi CIN cohort study, CD4 and CD8 levels in the vagina were observed to be positively correlated with the risk of CIN1 and CIN2/3. Here, CD8A is linked to cervical squamous intraepithelial neoplasia.