Epilepsy is often due to genetic factors, brain injury, infection, or a variety of other medical conditions. However, in some cases, the cause may be unknown. If you suspect you have epilepsy or are experiencing seizures, it's important to see a doctor for evaluation and proper diagnosis.