To identify the prognostic biomarkers associated with immune genes of hepatocellular carcinoma, we first identified the immune genes associated DEGs and then constructed an immune-related gene-based prognostic index (IRGPI) composed of ten genes (HSPA4, PSME3, PSMD14, FABP6, ISG20L2, TRAF3, NDRG1, NRAS, CSPG5, IL17D) by Cox regression model and finally verified its correlation with OS. This evidence concerns the gene ISG20L2 and hepatocellular carcinoma.