Our experiments collectively indicate that licochalcone A inhibited the expression of inflammatory cytokines via inhibiting MAPK and AKT/NF-κB signaling pathways, thereby alleviating mastitis. Here, NFKB1 is linked to mastitis.