These results showed that TGR5-mediated cAMP-PKA pathways contributed to the effects of DCA on S. aureus-induced mastitis in mice. This evidence concerns the gene GPBAR1 and mastitis.