Conclusions: Taken together, didymin can regulate gut microbiota and alter metabolite products, which can modulate STAT3 and NF-κB pathways and inhibit the expressions of inflammatory factors and inflammatory response in the DSS-induced colitis mice. This evidence concerns the gene NFKB1 and colitis.