All our experiments indicate that licochalcone A reduces the expression of inflammatory factors by inhibiting the MAPK and AKT/NF-κB signaling pathway, and repairs blood–milk barrier damage caused by inflammation, supporting a novel clinical application of this compound in the treatment of mastitis. The gene discussed is NFKB1; the disease is mastitis.