High levels of LAG-3+cells and CD8+ T cells represent unfavorable and favorable prognostic biomarkers for HCC respectively. This evidence concerns the gene CD8A and hepatocellular carcinoma.