BACKGROUND Necrotizing enterocolitis (NEC) is a severe gastrointestinal disease that affects premature infants. Although mounting evidence supports the therapeutic effect of exosomes on NEC, the underlying mechanisms remain unclear. AIM To investigate the mechanisms underlying the regulation of inflammatory response and intestinal barrier function by umbilical cord mesenchymal stem cell (UCMSCs) exosomes, as well as their potential in alleviating NEC in neonatal mice. METHODS NEC was induced in 5-d-old C57BL/6 pups through hypoxia and gavage feeding of formula containing lipopolysaccharide (LPS), after which the mice received human UCMSC exosomes (hUCMSC-exos). The control mice were allowed to breastfeed with their dams. Ileal tissues were collected from the mice and analyzed by histopathology and immunoblotting. Colon tissues were collected from NEC neonates and analyzed by immunofluorescence. Molecular biology and cell culture approaches were employed to study the related mechanisms in intestinal epithelial cells. RESULTS We found that autophagy is overactivated in intestinal epithelial cells during NEC, resulting in reduced expression of tight junction proteins and an increased inflammatory response. The ability of hUCMSC-exos to ameliorate NEC in a mouse model was dependent on decreased intestinal autophagy. We also showed that hUCMSC-exos alleviate the inflammatory response and increase migration ability in intestinal epithelial cells induced by LPS. CONCLUSION These results contribute to a better understanding of the protective mechanisms of hUCMSC-exos against NEC and provide a new theoretical and experimental foundation for NEC treatment. These findings also enhance our understanding of the role of the autophagy mechanism in NEC, offering potential avenues for identifying new therapeutic targets.