The deubiquitinating enzyme YOD1 potentiates protective NOD2 signaling by stabilizing RIPK2, thereby ameliorating intestinal inflammation and colitis. Here, RIPK2 is linked to colitis.