Topiramate is used alone or together with other medicines to help treat certain types of seizures (eg, partial seizures, tonic-clonic seizures, or Lennox-Gastaut syndrome). This medicine will not cure epilepsy and will only work to control seizures for as long as you continue to take it. It is also used to help prevent migraine headaches.