Gut microbiota dysbiosis and intestinal immune dysfunction contribute to the disease pathogenesis of ulcerative colitis (UC), therapeutic strategies aim to reshape microbial balance and reduce inflammation. It is unclear that how this bidirectional regulation between microbe-immune system is achieved and what is a possible nexus point for this regulation. Here, we demonstrated that palmatine (PAL) alleviates colitis by modulating interference competition between two microbes through the mediation of microbial tyrosine metabolites. Specifically, PAL directly inhibits B. acidifaciens while indirectly promoting the growth of B. stercorirosoris in mice with DSS-induced colitis. Notably, p-cresol (PC), a crucial microbial metabolite produced by B. acidifaciens, exacerbates colitis by promoting Th17 cells activation and inhibiting the growth of B. stercorirosoris. Furthermore, the immediate reduction in p-hydroxyphenylacetic acid, which is metabolized by B. stercorirosoris, contributes to the aggravation of colitis. Mechanistically, PC significantly inhibited the glycolysis of B. stercorirosoris, with downregulation of gene expression associated with glycolysis. In addition, we found that the inhibitory function of PC was offset by the addition of large amounts of polysaccharide and glucose in the medium of B. stercorirosoris. In summary, this study uncovers the mechanism by which palmatine‒microbiome‒host crosstalk cooperatively alleviate colitis through PC-mediated the bidirectional regulation. These findings propose that microbial metabolites function as regulators of microbiota‒host interactions, offering potential interventions for the treatment or prevention of dysbiosis-driven diseases.