We investigated the relationship between prognosis-related immune gene expression and immune cell infiltration to determine the status of the HNSCC immune microenvironment and found that B cell and CD4 T cell infiltration levels were significantly negatively correlated with the expression of prognosis-related immune genes in total HNSCC patients. Here, CD4 is linked to head and neck squamous cell carcinoma.