Our study demonstrates that the overall survival of extrahepatic cholangiocarcinoma (eCCA) patients significantly correlates with the proportions of DCs, neutrophils, and CD8+ T cells in the tumor tissues. The gene discussed is CD8A; the disease is neoplasm.