In the present study, a real-time PCR was carried out to quantify the mRNA level of SELL, ABCG2, SLC11A1, FEZL, SOD1, CAT, GPX1, and AhpC/TSA genes in tolerant and susceptible Holstein and Brown Swiss dairy cows to mastitis. The gene discussed is ABCG2; the disease is mastitis.