Valproic acid, divalproex (Depakote, Depakote ER, Depakene, Depakote Sprinkle, Depacon, Stavzor) is a medication prescribed for the treatment of seizures, bipolar disorder, and prevention of migraine headaches.