BACKGROUNDThe liver-microbiome axis is implicated in the pathogenesis of hepatobiliary cancer, and the role of the gut microbiota in cholangiocarcinoma (CCA) remains unclear.METHODWe conducted a case-control study on the intestinal flora of 33 CCA patients and 47 cholelithiasis individuals. We performed 16S rRNA gene sequencing to identify disease-related gut microbiota and assess the potential of the intestinal microbiome as a non-invasive biomarker for CCA.RESULTWe found that gut microbiome of CCA patients had a significantly higher alpha diversity (Shannon and Observed species indices, p = 0.006 and p = 0.02, respectively) and an overall different microbial community composition (p = 0.032). The genus Muribaculaceae_unclassified was most strongly associated with CCA (p < 0.001). We put forward a disease predictive model including twelve intestinal microbiome genera distinguished CCA patients from CF patients with an area under curve (AUC) of approximately 0.93 (95%CI, 0.85–0.987). The forecasting performance of this model was better than CA19-9. Moreover, genera Ezakiella and Garciella were only observed among intrahepatic cholangiocarcinoma patients. Further, we assessed predicted functional modules alternations CCA patients and uncovered a microbiota pattern specific to CCA.CONCLUSIONOur findings provide evidence of the intestinal microbiome as a non-invasive biomarker for CCA.