What is Depakote (Divalproex sodium)? Depakote (Divalproex sodium) affects chemicals in the body that may be involved in causing seizures. Depakote is used to treat various types of seizure disorders. It is sometimes used together with other seizure medications. Depakote is also used to treat manic episodes related to bipolar disorder (manic depression), and to prevent migraine headaches.