Elevated EGFR levels (P < 0.001, P = 0.019), reduced MHC-I (P = 0.045, P = 0.001), decreased CD8+T cell infiltration (P = 0.012, P = 0.003), decreased GR (P = 0.019, P = 0.029), and lower TAP1 (P = 0.013, P = 0.006) were associated with distant metastases and poorer survival in NPC patients. The gene discussed is CD8A; the disease is nasopharyngeal carcinoma.