Therefore, we infer that the prognostic value of intratumoral CD8+ TILs is more effectively realized in locally advanced NPC patients, which could provide valuable insights for the clinical management of NPC. Here, CD8A is linked to nasopharyngeal carcinoma.