It was confirmed that in human HCC and ICC, the abundance of tumor-infiltrating CD8+T cells and CD103+CD8+T cells could be a prognostic predictor for patients’ OS. Here, CD8A is linked to intrahepatic cholangiocarcinoma.