AGR2 deficiency correlates with Enterobacteriaceae dysbiosis in mouse and human IBD. Here, AGR2 is linked to inflammatory bowel disease.