Prenatal resveratrol treatment prevents prenatal progestin exposure-induced ERβ suppression and autism-like behavior. Here, ESR2 is linked to autism.