We found that AhR activation improved E. coli-induced endometritis by limiting inflammation expansion and restoring epithelial barrier functions. The gene discussed is AHR; the disease is endometritis.