Insufficient AhR ligands production by disrupting the intestinal microbiota contributed to mastitis progression, but compensation host with dietary tryptophan, AhR ligands or probiotic Lactobacillus reuteri protected mice from E. coli-induced mastitis by rescuing AhR activation. The gene discussed is AHR; the disease is mastitis.