Maternal diabetes induces persistent oxidative stress and triggers epigenetic changes with histone methylation at H3K9me2 on the SOD2 promoter, subsequently resulting in SOD2 suppression with related embryo damage and autism-like behavior in offspring. Here, SOD2 is linked to autism.