We found B cell infiltration levels in CCA TIME were related to patients’ overall survival (OS), and propronociceptin (PNOC), which was highly expressed by B cell populations in CCA, could be an independent indicator for better prognosis. This evidence concerns the gene PNOC and cholangiocarcinoma.