Therefore, these results suggested that the function of XIST in the process of E. coli or S. aureus‐induced mastitis was to prevent the production of inflammatory cytokines, particularly, through inhibiting the activation of NF‐κB. Here, NFKB1 is linked to mastitis.