In our present study, we used the tissue microarrays of HCC and ICC, the multicolor immunohistochemistry (mIHC), and imaging analysis to characterize the tissue-resident CD8+T cells in HCC and ICC tissues. This evidence concerns the gene CD8A and intrahepatic cholangiocarcinoma.