Herein, we analyzed IRGs by grouping the immune genes of HCC, selected five IRGs (NR0B1, PGLYRP4, OGN, EPO, and FGF9) associated with prognostic characteristics, and constructed a 5-gene risk assessment model. Here, FGF9 is linked to hepatocellular carcinoma.