These results indicated that SA facilitates gut dysbiosis-triggered mastitis by potentiating the TLR4-NF-κB/NLRP3 signatures. Here, NFKB1 is linked to mastitis.