NPC samples contained a higher proportion for M1 macrophages, whereas memory B cells and CD4 memory resting T cells were relatively lower.High M1 macrophages, memory B cells, and CD4 memory resting T cells were associated with a better survival rate (p: 0.286, p: 0.509, p: 0.048). Here, CD4 is linked to nasopharyngeal carcinoma.