Our study demonstrated that 4-PBA could relieve E. coli-induced colitis by improving gut microbiota structure and inhibiting the expression of pro-inflammatory cytokines through the TLR4/MyD88/NF-κB pathway. This evidence concerns the gene NFKB1 and colitis.