Preterm infants are vulnerable to inflammation-induced white matter injury (WMI), which is associated with neurocognitive impairment and increased risk of neuropsychiatric diseases in adulthood. Epigenetic mechanisms, particularly DNA methylation, play a role in normal development and modulate the response to pathological challenges. Our aims were to determine how WMI triggered DNA methylation alterations in brains of neonatal rats and if such changes persisted over time. We used a robust model of WMI by injecting lipopolysaccharide (LPS) or sterile saline in the corpus callosum of 3-day-old (P3) rat pups. Brains were collected 24 hours (P4) and 21 days post-injection (P24). We extracted genomic DNA from the brain to establish genome-wide quantitative DNA methylation profiles using reduced representation bisulfite sequencing. Neonatal LPS exposure induced a persistent increased methylation of genes related to nervous system development and a reduced methylation of genes associated with inflammatory pathways. These findings suggest that early-life neuroinflammatory exposure impacts the cerebral methylation landscape with determining widespread epigenetic modifications especially in genes related to neurodevelopment.