In this study, we newly demonstrated that the density of CD8+Granzyme B+ T cells, which are considered to be high-quality effector T cells, to be a stronger prognostic indicator in cholangiocarcinoma. This evidence concerns the gene CD8A and cholangiocarcinoma.