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, OGN is linked to hepatocellular carcinoma.