Microbial transfer to wild-type mice via littermate co-housing shows that colitis-associated microbiota rather than inflammation per se defines behavioral features in Muc2 colitis model. Here, MUC2 is linked to colitis.