For the most part, divalproex ER is used for the treatment epileptic seizures and mania, and for the prevention of migraine headaches. Occasionally, healthcare providers may also recommend the drug for treating other conditions. "Off-label" divalproex ER uses may include the treatment of hiccups, dementia, and agitation. The medication is approved for treating mania only in adults but can be used for migraine prevention and epilepsy treatment in children.
Divalproex ER is approved to treat manic or mixed episodes (which have characteristics of both mania and depression). It is not approved for long-term use, once the episode has resolved -- though it is often used "off-label" in this manner.