✧Aucubin-ameliorated inflammatory changes reduced the expressions of NF-κB p65, IκB phosphorylation, TNF-α, IL-1β, IL-6, COX-2, and iNOS.✧Increased the mRNA levels of Keap1, Nrf2, HO-1, and NQO1 to promote antioxidant response.✧The curative effect of aucubin on endometritis was due to activated NF-κB/Keap1/Nrf2 signaling pathways. This evidence concerns the gene HMOX1 and endometritis.