The development of multiple sclerosis, a major neurodegenerative disease, is due to both genetic and environmental factors that might trigger aberrant epigenetic changes of the genome. In this study, we analysed global DNA methylation in the brain of mice upon induction of experimental autoimmune encephalomyelitis (EAE), and the effect of environmental enrichment (EE). We demonstrate that global DNA methylation decreased in the striatum, but not in the cortex, of EAE mice compared to healthy controls, in particular in neuronal nitric oxide synthase (nNOS)-positive interneurons of this brain area. Also, in the striatum but again not in the cortex, decreased DNA methylation of the nNOS downstream effector, dexamethasone-induced Ras protein 1 (Dexras 1), was observed in EAE mice, and was paralleled by an increase in its mRNA. Interestingly, EE was able to revert EAE effects on mRNA expression and DNA methylation levels of Dexras 1 and reduced gene expression of nNOS and 5-lipoxygenase (Alox5). Conversely, interleukin-1β (IL-1β) gene expression was found up-regulated in EAE mice compared to controls and was not affected by EE. Taken together, these data demonstrate an unprecedented epigenetic modulation of nNOS-signaling in the pathogenesis of multiple sclerosis, and show that EE can specifically revert EAE effects on Dexras 1 along this pathway.