In two independent cohorts of HCC patients (n = 358 and n = 254), we demonstrated that PD1Hi or TIM3+PD1Hi CD8+ T cells were significantly correlated with poor prognosis, and the latter was positioned in close proximity to PD-L1+ tumor associated macrophages. This evidence concerns the gene HAVCR2 and hepatocellular carcinoma.