Ethnopharmacological relevanceLiansu capsule could alleviate dyspeptic symptoms; however, the mechanisms underlying its role in treating functional dyspepsia (FD) remain unclear. Aim of the studyTo elucidate the mechanism underlying the efficacy of Liansu capsule in alleviating FD symptoms. Materials and methodsThirty-six male mice were randomly divided into the following six groups: control, model, low-strength Liansu, moderate-strength Liansu, high-strength Liansu, and domperidone groups. Small intestine propulsion rate, gastric residual rate and histopathological analysis were performed to evaluate efficacy of Liansu capsule. Levels of interleukin-1β, interleukin-6, tumor necrosis factor α, phosphorylation of p65, ghrelin and gastrin were verified by real-time quantitative polymerase chain reaction and immunofluorescence assays. Targeted metabolomic analyses, western blotting and immunofluorescence assays were used to explore the mechanism of Liansu capsule in ameliorating FD. ResultsThe Liansu capsule significantly ameliorated the symptoms of FD, and markedly increased the levels of ghrelin and gastrin. Moreover, Liansu capsule significantly downregulated the levels of the proinflammatory cytokine interleukin-1β, interleukin-6, tumor necrosis factor α, and inhibited the phosphorylation of p65. Targeted metabolomic analyses showed that Liansu capsule significantly reduced the levels of deoxycholic acid and hyodeoxycholic acid, which were significantly elevated in the model group. Furthermore, these results showed that deoxycholic acid and hyodeoxycholic acid markedly promoted the levels of Takeda G-protein-coupled receptor 5 (TGR5), phosphorylated signal transducer and activator of transcription 3 (STAT3), and Kruppel-like factor 5 (KLF5) in vitro. whereas, Liansu capsule significantly reduced the levels of TGR5, phosphorylated STAT3, and KLF5. ConclusionOur findings indicated that Liansu capsule improved FD by regulating the deoxycholic acid/hyodeoxycholic acid-TGR5-STAT3-KLF5 axis. The findings reveal a novel mechanism underlying the role of Liansu capsule, which may be a promising therapeutic strategy for FD.