We proposed tumor necrosis factor α (TNF-α), lactoferrin (LTF) and macrophage-expressed lysozyme (mLYZ) genes as potential DNA markers in the improvement of immunity to mastitis. This evidence concerns the gene TNF and mastitis.