We identified five immune-related genes (SEMA3A, TNFRSF11B, GUCA2A, SAA1, and CALCR) that were significantly related to HCC prognosis. Here, TNFRSF11B is linked to hepatocellular carcinoma.