Depakote is a medication used to treat seizure disorders, manic episodes associated with bipolar disorder, and to prevent migraine headaches.