Our results show that activation of GPR109A could significantly reduce the expression of N-P65, IL-6, IL-1β, and TNF-α in BMECs, thus inhibiting mastitis. Here, IL6 is linked to mastitis.