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. The gene discussed is CD79A; the disease is obesity disorder.