Gene expression levels were considerably higher in endometritis-affected buffaloes than in resistant ones for the genes A2M, ADAMTS20, KCNT2, MAP3K4, MAPK14, FKBP5, FCAMR, TLR2, IRAK3, CCl2, EPHA4, and iNOS. The RXFP1, NDUFS5, TGF-β, SOD3, CAT, and GPX genes were expressed at substantially lower levels in endometritis-affected buffaloes. Here, NDUFS5 is linked to endometritis.