Introduction: Aconite is a form of traditional Chinese medicine (TCM) that has been widely used to treat diarrhea for thousands of years. However, it is not clear whether the anti-diarrhea role of aconite aqueous extract (AA) is associated with regulation of the gut microbiota or with bile acid (BA) metabolism. This study aimed to confirm whether AA exerts its anti-diarrhea effects by regulating the gut microbiota and BA metabolism.Methods: The therapeutic effect of AA in a mouse model of diarrhea was measured based on analysis of body weight, fecal water content, diarrhea scores, intestinal propulsion rate, colonic pathology, and colonic immunohistochemistry. In addition, 16S rRNA high-throughput sequencing was conducted to analyze the effect of AA on the gut microbiota, and targeted metabolomics was employed to analyze the effect of AA on metabolism of BAs.Results: The results showed that treatment with AA reduced fecal water content and diarrhea scores, inhibited intestinal propulsion rate and pathological changes in the colon, and increased AQP3 and AQP4 content in the colon. In addition, AA was found to be capable of regulating the gut microbiota. Effects included increasing its richness (according to the ACE and Chao1 indices); altering the gut microbiota community structure (PCA, PCoA, and NMDS); increasing the relative abundance of norank_f_Muribaculaceae, Ruminococcus, Lachnospiraceae_NK4A136_group, Prevotellaceae_UCG-001, and norank_f_norank_o_Clostridia_UCG-014; and decreasing the relative abundance of Escherichia-Shigella, unclassified_f_Ruminococcaceae, Ruminococcus_torques_group, and Parasutterella. More importantly, AA significantly increased fecal TCA (a primary BA) and DCA, LCA, GDCA, dehydro-LCA, and 12-keto-LCA (secondary BAs), thus restoring BA homeostasis. Moreover, AA increased the ratios of DCA/CA, DCA/TCA, and LCA/CDCA and decreased the ratios of TLCA/LCA, GLCA/LCA, and TUDCA/UDCA.Conclusion: The anti-diarrhea effect of AA was associated with restoration of the gut microbiota and BA metabolism-related homeostasis. The results of this study provide insights into the application of AA and the treatment of diarrhea.