Both microbial and host genetic factors contribute to the pathogenesis of autoimmune disease1–4. Accumulating evidence suggests that microbial species that potentiate chronic inflammation, as in inflammatory bowel disease (IBD), often also colonize healthy individuals. These microbes, including the Helicobacter species, have the propensity to induce pathogenic T cells and are collectively referred to as pathobionts4–6. However, an understanding of how such T cells are constrained in healthy individuals is lacking. Here we report that host tolerance to a potentially pathogenic bacterium, Helicobacter hepaticus (H. hepaticus), is mediated by induction of RORγt+Foxp3+ regulatory T cells (iTreg) that selectively restrain pro-inflammatory TH17 cells and whose function is dependent on the transcription factor c-Maf. Whereas H. hepaticus colonization of wild-type mice promoted differentiation of RORγt-expressing microbe-specific iTreg in the large intestine, in disease-susceptible IL-10-deficient animals there was instead expansion of colitogenic TH17 cells. Inactivation of c-Maf in the Treg compartment likewise impaired differentiation and function, including IL-10 production, of bacteria-specific iTreg, resulting in accumulation of H. hepaticus-specific inflammatory TH17 cells and spontaneous colitis. In contrast, RORγt inactivation in Treg only had a minor effect on bacterial-specific Treg-TH17 balance, and did not result in inflammation. Our results suggest that pathobiont-dependent IBD is driven by microbiota-reactive T cells that have escaped this c-Maf-dependent mechanism of iTreg-TH17 homeostasis.