S100A7 concentration was significantly upregulated in subclinical mastitis goats and had no significant difference in clinical mastitis goats compared to healthy dairy goats. Here, S100A7 is linked to mastitis.