The correlation analysis of the different genotypes and the incidence rate of mastitis showed that 6358 (C/T) and 7155 (A/G) of the SLC11A1 gene had significant effects on the number of somatic cells and milk production (p < 0.05). The gene discussed is SLC11A1; the disease is mastitis.