Therefore, targeted regulation of Nrf2 to mediate autophagy may affect therapeutic strategies for mastitis. This evidence concerns the gene NFE2L2 and mastitis.