Topiramate is a prescription anticonvulsant medication used to treat epilepsy and prevent migraine headaches.