In the immune infiltration analysis, we found that expression of the eight hub genes (TXNRD1, TUBG1, SF3B4, PPM1G, PIGU, NDRG1, GRPEL2, EZH2) and the immune infiltration of T helper cells, Tcm cells, and Th2 cells were related to HCC. Here, NDRG1 is linked to hepatocellular carcinoma.