Nod2−/− NOD mice had a distinct gut microbiome profile compared with Nod2+/+ NOD mice, which influenced immune cell function to modulate T1D susceptibility. Here, NOD2 is linked to type 1 diabetes mellitus.