We developed a technology called epigenetic MRI (eMRI) that enables noninvasive imaging of DNA methylation in the brain, a major epigenetic mechanism. eMRI reveals strong regional differences in global DNA methylation in pig brains, a model with stronger resemblance to human brains than are rodents. Given the noninvasive nature of eMRI, our results pave the way for a DNA-methylation imaging paradigm for living human brains. We expect eMRI to enable many studies to unravel the molecular control of brain function and disease.