To explore the anti-inflammatory effects of berberine hydrochloride on LPS-induced endometritis, TNF-α and IL-1β levels in the mammary glands were detected by an ELISA. Here, IL1B is linked to endometritis.