Taken together, our present study indicated the prognostic values of infiltration intensity of tissue-resident CD103+CD8+TILs in human HCC and ICC. This evidence concerns the gene CD8A and intrahepatic cholangiocarcinoma.