NEC had increased IL‐17A levels compared to breastfed controls, and the group treated with CS undergoing NEC had a significant decrease in IL‐17A. This evidence concerns the gene IL17A and necrotizing enterocolitis.