Our results suggest that C. butyricum ameliorates E. coli-induced endometritis by inhibiting the TLR4/NF-κB signaling pathway and the HDAC level. This evidence concerns the gene NFKB1 and endometritis.