The buffaloes with endometritis had considerably higher expression levels of TLR4, IL-8, IL-17, NFKB, SLCA11A1, NCF4, Keap1, HMOX1, OXSR1, ST1P1, and SERP1. The gene discussed is KEAP1; the disease is endometritis.