In this study, the ZRANB3, PIAS1, ACTR3, LPCAT2, MGAT5, and SLC37A2 genes in Xinjiang brown cattle, which are associated with mastitis resistance, were identified using a GWAS. This evidence concerns the gene MGAT5 and mastitis.