The key findings from the current report are AhR can regulate IL-22 signaling in specific cell types during colitis to alter the gut microbial profile which have consequential and sex-dependent impacts on disease severity. Here, AHR is linked to colitis.