By detecting inflammatory cytokines (TNF-α, IL-1β, IL-6) and necroptosis-related factor genes (caspase8, RIPK1, and RIPK3), mRNA expression, and MLKL and p-MLKL protein expression and differential analysis, it was found that there was necroptosis in the mammary tissue of dairy cows with mastitis. The gene discussed is MLKL; the disease is mastitis.