Topamax is used for treating seizures in certain patients. It may be used alone or with other medicines. It is also used to prevent migraine headaches. Topamax is an anticonvulsant that is also effective for preventing migraine headaches. It affects several chemicals in the brain that help to reduce seizure activity and prevent migraine headaches from occurring.