BackgroundBrain injury in preterm infants potentially disrupts critical structural and functional connective networks in the brain. It is a major cause of neurological sequelae and developmental deficits in preterm infants. Interesting findings suggest that the gut microbiota (GM) and their metabolites contribute to the programming of the central nervous system (CNS) during developmental stages and may exert structural and functional effects throughout the lifespan.AimTo summarize the existing knowledge of the potential mechanisms related to immune, endocrine, neural, and blood–brain barrier (BBB) mediated by GM and its metabolites in neural development and function.MethodsWe review the recent literature and included 150 articles to summarize the mechanisms through which GM and their metabolites work on the nervous system. Potential health benefits and challenges of relevant treatments are also discussed.ResultsThis review discusses the direct and indirect ways through which the GM may act on the nervous system. Treatment of preterm brain injury with GM or related derivatives, including probiotics, prebiotics, synbiotics, dietary interventions, and fecal transplants are also included.ConclusionThis review summarizes mechanisms underlying microbiota‐gut‐brain axis and novel therapeutic opportunities for neurological sequelae in preterm infants. Optimizing the initial colonization and microbiota development in preterm infants may represent a novel therapy to promote brain development and reduce long‐term sequelae.