Maternal diabetes-mediated RORA suppression contributes to gastrointestinal symptoms in autism-like mouse offspring. Here, RORA is linked to autism.