TLR2 and NOD2 are important pathogen recognition receptors, but their functions have not been investigated in the context of early stages of mastitis. Here, NOD2 is linked to mastitis.