These insights advance our understanding of the role of pyroptosis in NEC pathogenesis and suggest TREM1 is a potential therapeutic target for NEC. Here, TREM1 is linked to necrotizing enterocolitis.