Through bioinformatics analysis, we investigated the association between TIL abundance and ERBB2 expression in HCC and observed a positive correlation between NK/Th17 cells and ERBB2, while a negative correlation was found between CD56bright/Th2 cells and ERBB2 expression. The gene discussed is ERBB2; the disease is hepatocellular carcinoma.