AHR protects against NEC independent of IL-22 and intestinal tight junctions, permeability and IELs. Here, IL22 is linked to necrotizing enterocolitis.