To investigate an optimal regimen of six drugs, including lactoferrin, probiotics, prebiotics, glutamine, arginine and erythropoietin (EPO), for the prevention of necrotizing enterocolitis (NEC) in preterm infants. PubMed, Embase, Ovid, The Cochrane Library, and Web of Science databases were searched for randomized controlled trials (RCTs) investigating the efficacy of lactoferrin, probiotics, prebiotics, glutamine, arginine, and EPO in preventing NEC in preterm infants, with a cutoff date of June 20, 2024. Two authors independently screened studies and extracted all the data. Network meta-analysis (NMA) was conducted to compare the outcomes of different interventions, and group rankings were determined using the surface under the cumulative ranking curve (SUCRA). A total of 89 RCTs with 26,861 preterm infants were included. Arginine demonstrated the highest clinical efficacy in reducing the incidence of NEC, with probiotics being the next most effective and the placebo being the least effective. Lactoferrin was identified as the most effective intervention for reducing the incidence of NEC-associated sepsis. Prebiotics showed the highest effect on overall mortality, reducing the beginning of enteral feeding, and were associated with the shortest hospital stay. Glutamine significantly decreased the time to full enteral feeding. Existing literature highlights arginine as the most efficacious pharmacological agent in preventing NEC in preterm infants. It has been shown to effectively lower the rates of NEC, septicemia, and mortality, warranting its recommendation as the first-line clinical intervention. Following this, probiotics are recommended as a second option.