Through WGCNA, GO, and KEGG analyses, ROC analysis, and immunohistochemical staining, we identified eight hub genes (VSNL1, TH, PCP4, IGDCC3, RAD51AP2, MUC2, BUB1, and BUB1B) that may contribute to CCA progression and prognosis. This evidence concerns the gene RAD51AP2 and cholangiocarcinoma.