Using two independent bulk RNA-seq datasets, we found the mean of expression of XCL1 and CD8A could be an independent factor for prognosis of HCC, and next built a prediction score with five marker genes involved in XCL1+ CD8+ T cell population. Here, CD8A is linked to hepatocellular carcinoma.