These findings suggested that IRS increases LYZ expression in the mammary glands of GED goats during mastitis and that the high expression of LYZ in GED goats exhibited resistance to mastitis induced by E. coli infection, reduced the expression of SCC and pro‐inflammatory factors in milk, and demonstrated a mitigating effect on BMB damage. The gene discussed is IARS1; the disease is escherichia coli infection.