Background: Pharmacological activation of the host xenobiotic-sensing nuclear receptors pregnane X receptor (PXR) and constitutive androstane receptor (CAR) is well-known to increase drug metabolism and reduce inflammation. Little is known regarding the physiological functions of PXR and CAR on the gut microbiome, which is an important regulator for the host immune surveillance and bile acid (BA) metabolism. We examined the gut microbiome composition and BA metabolites in high vs. low PXR/CAR-expressing mice, and in mice that are deficient in PXR, CAR, or both, at two developmental ages. We also utilized humanized PXR transgenic (hPXR-TG) mice to compare the species-specific effect of PXR on the gut microbiome. Results: We discovered bivalent hormetic functions of PXR and CAR in modulating the richness of the gut microbiome and inflammatory biomarkers: the high PXR/CAR expressers had higher microbial richness, pro-inflammatory bacteria (distinct taxa in Helicobacteraceae and Helicobacter), and fecal pro-inflammatory cytokines, suggesting higher immune surveillance to prevent the colonization of harmful bacteria. Interestingly, the absence of PXR or CAR also increased the microbial richness, and absence of both receptors synergistically increased the microbial richness. PXR and CAR deficiency increased the pro-inflammatory bacteria (Helicobacteraceae and Helicobacter). Most notably, deficiency in both PXR and CAR markedly increased the relative abundance of Lactobacillus, which is capable of bile salt hydrolase (BSH) activity. This corresponded to a decrease in major primary taurine-conjugated bile acids (BAs) in feces, which may lead to higher internal burden of taurine and unconjugated BAs, both of which are linked to inflammation, oxidative stress, and cytotoxicity. hPXR-TG mice had a distinct microbial profile as compared to wild-type mice, including a higher representation of Prevotella. hPXR-TG mice also had higher 12-OH BAs but lower 6-OH BAs, suggesting PXR’s species-specific role in modulating host hepatic BA synthesis. Conclusions: This study is the first to show that the host PXR and CAR profoundly influence the composition of the gut microbiome and its BA metabolites, with a bivalent hormetic relationship between PXR/CAR levels and microbial richness, unveiling the involvement of PXR/CAR-microbiome interactions in host immune surveillance and BA metabolism.