Intrahepatic cholangiocarcinoma (ICC), a type of bile duct cancer, has a high mortality rate. Gut microbiota, bile acid (BA) metabolism, and cytokines have not been characterized in patients with ICC, and better noninvasive diagnostic approaches for ICC are essential to be established. Therefore, in this study we aimed to improve our understanding of changes in gut microbiota, BA metabolism, and cytokines in patients with ICC. We found that the α‐diversities and β‐diversities of ICC were highest and that the abundances of four genera (Lactobacillus, Actinomyces, Peptostreptococcaceae, and Alloscardovia) were increased in patients with ICC compared with those in patients with hepatocellular carcinoma or liver cirrhosis and in healthy individuals. The glycoursodeoxycholic acid and tauroursodeoxycholic acid (TUDCA) plasma‐stool ratios were obviously increased in patients with ICC. Furthermore, the genera Lactobacillus and Alloscardovia that were positively correlated with TUDCA plasma‐stool ratios were combined to discriminate ICC from the other three diseases. Vascular invasion (VI) frequently led to a poor prognosis in patients with ICC. Compared with patients with ICC without VI, patients with VI had a greater abundance of the family Ruminococcaceae, increased levels of plasma interleukin (IL)‐4 and six conjugated BAs, and decreased levels of plasma IL‐6 and chenodeoxycholic acid. A positive correlation between plasma taurocholic acid and IL‐4 was observed in patients with ICC. Plasma TUDCA was negatively correlated with the abundance of the genus Pseudoramibacter and the survival time of patients with ICC, but had no effect on tumor size, as determined in two murine tumor models. Conclusion: In this study, we identified some biomarkers, including gut microbiota, BAs and inflammatory cytokines, for the diagnosis of ICC and prediction of VI in patients with ICC.