Bioinformatic and chromatin immunoprecipitation analysis further showed that IRF5 binds to the promoters of the M1 macrophage-associated genes Ccl4, Ccl5, Tnf, and Il12b. Overall, our study provides evidence that IRF5 participates in the pathogenesis of NEC, while the deletion of Irf5 in myeloid cells prevents NEC via inhibiting M1 macrophage polarization. This evidence concerns the gene IL12B and necrotizing enterocolitis.