In conclusion, the protective effects of PCA on LPS‐induced mastitis in mice through regulating PXR. Here, NR1I2 is linked to mastitis.