This study suggests that the densities of Granzyme-B+CD8+ effector T cells and non-exhausted PD-1−EOMES−CD8+ T cells and the PD-L1 status in the tumor-associated macrophages are prognostic makers in cholangiocarcinomas. This evidence concerns the gene CD8A and cholangiocarcinoma.