Using CIBERSORT analysis, we identified that MED8 expression was negatively correlated with the proportions of infiltrated resting memory CD4 T cells and naïve B cells and positively correlated with those of infiltrated active memory CD4+ T cells and follicular helper T cells, which suggested that the aberrant MED8 expression could alter the immune activity by influencing the tumor-infiltrating immune cells and MED8 was, indeed, linked to immunity in HCC. Here, CD4 is linked to hepatocellular carcinoma.