The in vitro investigations discussed in this review strongly support the idea that the TLR2/TLR4/NF-κB signaling pathway plays a crucial role in the development of mastitis in dairy cows. This evidence concerns the gene NFKB1 and mastitis.