The transition from pregnancy to lactation is critical in dairy cows. Among others, dairy cows experience a metabolic stress due to a large change in glucose and lipid metabolism. Recent studies revealed that bile acids (BA), other than being involved in both the emulsification and solubilization of fats during intestinal absorption, can also affect the metabolism of glucose and lipids, both directly or indirectly by affecting the gut microbiota. Thus, we used untargeted and targeted metabolomics and 16S rRNA gene sequencing approaches to investigate the concentration of plasma metabolites and BA, the composition of the rectum microbial community, and assess their interaction in transition dairy cows. In Experiment 1, we investigated BA and other blood parameters and gut microbiota in dairy cows without clinical diseases during the transition period, which can be seen as well adapted to the challenge of changed glucose and lipid metabolism. As expected, we detected an increased plasma concentrations of BHB and nonesterified fatty acids (NEFA) but decreased concentrations of glucose, cholesterol, and triglycerides (TG). Untargeted metabolomic analysis of the plasma revealed primary BA biosynthesis was one of the affected pathways, and was consistent with the increased concentration of BA in the plasma. A correlation approach revealed a complex association between BA and microbiota with the host plasma concentration of glucose and lipid metabolites. Among BA, chenodeoxycholic acid derivates such as glycolithocholic acid, taurolithocholic acid, lithocholic acid, taurochenodeoxycholic acid, and taurodeoxycholic acid were the main hub nodes connecting microbe and blood metabolites (such as glucose, TG, and NEFA). In Experiment 2, we investigated early postpartum dairy cows with or without hyperketonemia (HPK). As expected, HPK cows had increased concentration of NEFA and decreased concentrations of glucose and triglycerides. The untargeted metabolomic analysis of the plasma revealed that primary BA biosynthesis was also one of the affected pathways. Even though the BA concentration was similar among the 2 groups, the profiles of taurine-conjugated BA changed significantly. A correlation analysis also revealed an association between BA and microbiota with the concentration in plasma of glucose and lipid metabolites (such as BHB). Among BA, cholic acid and its derivates such as taurocholic acid, tauro α-muricholic acid, and taurodeoxycholic acid were the main hub nodes connecting microbe and blood metabolites. Our results indicated an association between BA, intestinal microbe, and glucose and lipid metabolism in transition dairy cows. These findings provide new insight into the adaptation mechanisms of dairy cows during the transition period.