In conclusion, OP treatment can inhibit the TLR4/NF-κB pathway and improve the intestinal microbiota in UC mice, which in turn alleviates DSS-induced colitis, providing a reference for the treatment of clinical UC patients. This evidence concerns the gene TLR4 and colitis.