Zhili decoction ameliorates ulcerative colitis by modulating gut microbiota and related metabolite, and inhibiting the TLR4/NF-κB/NLRP3 pathway. The gene discussed is TLR4; the disease is ulcerative colitis.