We show, in mice, that repeated injection of flagellin elicits increases in fecal anti-flagellin IgA and alterations in microbiota composition, reduces fecal flagellin concentration, prevents microbiota encroachment, protects against IL-10 deficiency-induced colitis, and ameliorates diet-induced obesity. Here, IL10 is linked to Obesity.