In this study, an efficient immune-related risk score (TCRS) was constructed based on three immune cell types (effector memory CD8 T cells, regulatory T cells and follicular helper T cells) to identify the immune subtype of HCC patients with longer DFS times and inflammatory immune characteristics. The gene discussed is CD8A; the disease is hepatocellular carcinoma.