Using ELISA kit and high-throughput sequencing, we found that cows with mastitis had higher concentrations of TNF-α, IL-1, and LPS than healthy cows (p < 0.05), but no significant differences in microbiota abundance or diversity (p > 0.05). This evidence concerns the gene TNF and mastitis.