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