Ethnopharmacological relevanceUlcerative colitis (UC) has become a healthy burden worldwide due to its insidious onset and repetitive relapse, with a rather complex etiology, including inappropriate immune response, dysbiosis, genetic susceptibility, and unhealthy diets. The Wu-Shi-Cha (WSC) formula is a widely utilized drug to protect against gastrointestinal disorders. Aim of the studyThe study aspired to dissect the pertinent mechanisms of the WSC to treat UC. Materials and methodsNetwork pharmacology and weighted gene co-expression network analysis (WGCNA) were performed to predict the targets of WSC in the context of UC and colorectal cancer. Dextran sodium sulfate (DSS) was used to construct murine models of experimental colitis, and the WSC was given to colitis mice for 14 days. Feces and colon samples were subjected to 16S rRNA gene sequencing combined with liquid chromatography-mass spectrometry (LC-MS) and biochemical experiments, respectively. ResultsNetwork pharmacology analysis predicted that the WSC formula could orchestrate inflammation, infection, and tumorigenesis, and WGCNA based on The Cancer Genome Atlas (TCGA) database showed a potent anti-neoplastic effect of the WSC therapy for colorectal cancer. The WSC therapy rescued bursts of pro-inflammatory cytokines and colonic epithelial collapse in DSS-induced colitis mice. Moreover, the high dose of WSC treatment facilitated the alternative activation of peritoneal macrophages (Mφs) and these Mφs were conducive to the survival of intestinal stem cells (ISCs), and the disturbed homeostasis of gut microbiota was re-established after WSC treatment, as evidenced by the decreased colonization of pathological taxa in the fecal samples. ConclusionThe WSC formula suppresses inflammation and re-establishes the homeostasis of gut microbiota, thereby ameliorating colitis progression.