Taken together, these results demonstrate that gut microbiota disruption impairs AhR activation and facilitates E. coli-induced endometritis in mice. This evidence concerns the gene AHR and endometritis.