Using scRNA-seq, we found that most CD8+ T cell clusters are more enriched in HBV- or HCV-related HCCs as compared to non-HBV/HCV-related HCCs, and that the chronic HBV/HCV infection states are related to an increased CTLs exhaustion in HCC tumors. This evidence concerns the gene CD8A and hepatocellular carcinoma.