To determine how environmental pollutants induce dysbiosis of the gut microbiota, we exposed adult zebrafish to model pollutants with varied modes of action (atrazine, estradiol, polychlorinated biphenyl [PCB]126, and PCB153) for 7 days. Subsequently, metagenomic sequencing of the intestines was performed to compare the gut microbiomes among the groups. We observed clear compound- and sex-specific responses to xenobiotic stress. Principal component analysis revealed involvement of the aryl hydrocarbon receptor (AhR) and, to a lesser extent, the estrogen receptor (ER) in the dysregulation of the intestinal microbiota. The model pollutants differentially impaired intestinal and hepatic physiological activities, as indicated by assessments of gut motility, epithelial permeability, inflammation, and oxidative stress. Correlation analysis showed that abnormal Aeromonas reproduction, especially in the PCB126 groups, was significantly positively associated with oxidative damage. Aeromonas closely interacted with Mannheimia and Blastococcus to regulate intestinal permeability. In summary, we demonstrated that ER and AhR signaling regulated the dynamics of the gut microbiota. Our findings provide new mechanistic insight into the complex interactions between the host metabolism and gut microbiota, which may contribute to the grouped assessment of environmental pollutants in future. Copyright © 2018 American Chemical Society.