- Divalproex sodium (Depakote) is a drug that has been used for many years to treat epilepsy and other brain disorders in children and adults. Researchers are interested determining whether treatment with divalproex sodium can reduce epileptiform patterns in children with autism spectrum disorders, and in doing so study whether this treatment can improve behavior, language or cognition in children with autism spectrum disorders.