Inhibiting IRF5 in macrophages is a potential therapeutic target in NEC. Here, IRF5 is linked to necrotizing enterocolitis.