Supplementation with an AhR agonist, dietary Trp and its metabolites, and a Lactobacillus strain with high AhR ligand-producing capacity, to compensate for the damaged microbiota-derived AhR ligand signaling, alleviated E. coli-induced endometritis. Here, AHR is linked to endometritis.