In the present study, we investigated the microbial and mucosal immune profiles of Nod2−/− and Nod2+/+ mice reared independently or cohoused, at the steady state and after TNBS-colitis induction, to understand the impact of genetic background and environment on microbiota profiles and immune response. Here, NOD2 is linked to colitis.