RORA agonist and SOD mimetic ameliorate maternal diabetes-mediated autism-like behaviors in male offspring. Here, SOD1 is linked to diabetes mellitus.