Both are anticonvulsant drugs that can treat seizures. Divalproex sodium is also used for manic episodes and migraines. There are many drug interactions with both of these drugs. Therefore, it is essential to inform your doctor before taking one of them with the other.