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, TNF is linked to endometritis.