The correlations between the numbers of CD8+TILs, CD103+ immune cells, and tissue-resident CD103+CD8+T cells and clinical parameters in HCC and ICC were investigated. Here, CD8A is linked to hepatocellular carcinoma.