Gut dysbiosis impairs DCA production and TGR5 activation, which aggravates S. aureus-induced mastitis in mice, but restoring microbiota by SFB or commensal C. scindens ameliorates S. aureus-induced mastitis in mice. This evidence concerns the gene GPBAR1 and mastitis.