The results suggested that the expression of NPR-B and S100A7 was upregulated in mastitis goat mammary gland. This evidence concerns the gene NPR2 and mastitis.