Impaired antibacterial autophagy links granulomatous intestinal inflammation in Niemann–Pick disease type C1 and XIAP deficiency with NOD2 variants in Crohn's disease. Here, NOD2 is linked to Niemann-Pick disease type C.