This study aimed to investigate whether XIST played a critical role in regulating the inflammatory response to pathogenic stimulus through NF‐κB pathway and further identify the relationship between NF‐κB pathway and NLRP3 inflammasome in bovine mastitis. This evidence concerns the gene XIST and mastitis.