In this study, we identified alterations in the fecal microbiota composition of Batf2−/− mice with spontaneous colitis and ileitis, such as increased Bacilli and Epsilonproteobacteria and reduced Erysipelotrichia. Here, BATF2 is linked to Crohn ileitis.