Morin alleviates LPS-induced mastitis by inhibiting the PI3K/AKT, MAPK, NF-κB and NLRP3 signaling pathway and protecting the integrity of blood-milk barrier.