Migraine and epilepsy: are they connected in any way?

Sometimes, headaches are not the whole picture. Many people who suffer from headaches also deal with other health conditions. These comorbidities are especially common when headaches are chronic or severe. (You can read more about comorbidities in tension-type headaches here. For more about how migraines may be linked to strokes, read this article.) There is a large body of medical research on how neurological disorders in particular often seem to overlap. One particularly interesting possible connection is between migraine and epilepsy.

Migraine and epilepsy: statistical overlap

Do people with migraines have a higher risk of epilepsy? And what about the other way around: Do people with epilepsy suffer from migraines more often? Are both of these things true? A British and Dutch research team conducted a comprehensive review of the existing data on the links between migraine and epilepsy. Looking at all the data from multiple studies with a total of 1.5 million participants, a clear pattern emerged. People with epilepsy were 52% more likely to also have migraines, compared to people without epilepsy. At the same time, people with migraines were 79% more likely to also have epilepsy.

Are there shared root causes?

The authors of the study believe genes may be part of the reason for the strong link. Over the years, scientists have discovered several genetic factors that show up in both conditions, suggesting close connections between them. Another possible connection lies in “cortical spreading depression” (CSD), a wave of electrical activity that moves across the brain during a migraine attack – and which may also play a role in epilepsy (see this article on CSD). When doctors examined patients’ brain activity more closely, they found evidence to support this theory. The hyperexcitability of certain areas of the brain underlying CSD, which is found in people with migraine, might also contribute to the processes resulting in epilepsy. If true, this would reveal a fundamental similarity between the two conditions.

If the evidence confirms that the same processes are involved in the development of migraine and epilepsy, it would mean that the two disorders share a common underlying process, or pathophysiology. There is another finding which supports this idea: people who have both migraine and epilepsy tend to experience more severe symptoms and a poorer prognosis than those with epilepsy alone.

A challenge for research

However, scientists going through the existing research papers noticed an issue. Most of the research results available so far are hard to compare because different studies use different methods to diagnose whether someone truly has migraine or epilepsy. As well as making it harder to compare results across studies, these differences make it hard to draw conclusions. So overall, there is not enough hard data to say if or how epilepsy and migraine are connected. This is an issue often pointed out by the authors of review papers in this and other areas. Future studies should use standardized methods and tools to provide a solid basis for comparisons and reliable results.

Is there a connection in terms of timing?

To understand more about possible overlaps between migraine and epilepsy, researchers have also looked at when headaches occur in relation to epileptic seizures, and vice versa. In one study with over 500 epilepsy patients, scientists asked when headaches occurred and what kind of headaches they were. Most participants had focal epilepsy, which affects around 400,000 people in Germany. In this form of epilepsy, a seizure starts in one part of the brain but can spread to the rest of it.

In more than three-quarters of participants (78%), the headaches occurred after the seizure. About 43% reported headaches between two separate seizures. “Postictal” headaches (occurring after a seizure) usually start within three hours and may last up to three days. Most are much shorter than that, however. The most common type of headache in this patient population was tension-type headache (around 35%). About 12% reported migraine attacks.

Why do migraines and epilepsy occur together?

Why is there a connection between the timing of migraine and epilepsy? Scientists don’t know for certain. So far, researchers can only point to possible mechanisms that might play a role in the underlying processes causing the diseases. It seems clear that, after a seizure, blood vessels in the brain widen, changing blood flow in the affected area. Researchers believe that this might help trigger a migraine attack.

Another clear connection is the aforementioned shared hyperexcitability in the brain’s cortex. This could mean that one event (a seizure or migraine) can trigger or increase the likelihood of the other. Some scientists also suspect that the trigeminal nerve, an important cranial nerve that supplies sensory information to large areas of the face, is involved. The trigeminal nerve has long been thought to play a major part in migraine attacks. Finally, there are probably genetic factors that contribute to both disorders – either as direct causes or as influences that make the brain more sensitive. One thing is absolutely clear: a great deal more research is needed in the decades ahead to gain a clear understanding of all the underlying connections.

  • References
    • Bauer PR, Tolner EA, Keezer MR, Ferrari MD, Sander JW. Headache in people with epilepsy. Nat Rev Neurol. 2021 Sep;17(9):529-544. doi: 10.1038/s41582-021-00516-6. Epub 2021 Jul 26. PMID: 34312533.
    • Chen Y, Wang C, Zhang H, Zheng Y, Cheng W, Wang Y, Lian Y. The characteristics of headache in patients with epilepsy. Cephalalgia. 2025 Jul;45(7):3331024251352855. doi: 10.1177/03331024251352855. Epub 2025 Jul 24. PMID: 40702990.
    • D'Agnano D, Cernigliaro F, Ferretti A, Lo Cascio S, Correnti E, Terrin G, Santangelo A, Bellone G, Raieli V, Sciruicchio V, Parisi P. The Role of the Autonomic Nervous System in Epilepsy and Migraine: A Narrative Review. J Integr Neurosci. 2024 Jul 9;23(7):128. doi: 10.31083/j.jin2307128. PMID: 39082300.
    • Demarquay G, Rheims S. Relationships between migraine and epilepsy: Pathophysiological mechanisms and clinical implications. Rev Neurol (Paris). 2021 Sep;177(7):791-800. doi: 10.1016/j.neurol.2021.06.004. Epub 2021 Jul 31. PMID: 34340811.
    • Ekstein D, Schachter SC. Postictal headache. Epilepsy Behav. 2010 Oct;19(2):151-5. doi: 10.1016/j.yebeh.2010.06.023. Epub 2010 Sep 9. PMID: 20829119.
    • GBD Epilepsy Collaborators. Global, regional, and national burden of epilepsy, 1990-2021: a systematic analysis for the Global Burden of Disease Study 2021. Lancet Public Health. 2025 Mar;10(3):e203-e227. doi: 10.1016/S2468-2667(24)00302-5. Epub 2025 Feb 24. PMID: 40015291; PMCID: PMC11876103.
    • Keezer MR, Bauer PR, Ferrari MD, Sander JW. The comorbid relationship between migraine and epilepsy: a systematic review and meta-analysis. Eur J Neurol. 2015 Jul;22(7):1038-47. doi: 10.1111/ene.12612. Epub 2014 Dec 11. PMID: 25495495.
    • Keezer MR, Sisodiya SM, Sander JW. Comorbidities of epilepsy: current concepts and future perspectives. Lancet Neurol. 2016 Jan;15(1):106-15. doi: 10.1016/S1474-4422(15)00225-2. Epub 2015 Nov 6. Erratum in: Lancet Neurol. 2016 Jan;15(1):28. PMID: 26549780.
    • Schiller K, Rauchenzauner M, Avidgor T, Hannan S, Lorenzen C, Kaml M, Walser G, Unterberger I, Filippi V, Broessner G, Luef G. Primary headache types in adult epilepsy patients. Eur J Med Res. 2023 Jan 27;28(1):49. doi: 10.1186/s40001-023-01023-8. PMID: 36707895; PMCID: PMC9881350.
    • Zhang S, Liu W, Li J, Zhou D. Structural brain characteristics of epilepsy patients with comorbid migraine without aura. Sci Rep. 2024 Sep 10;14(1):21167. doi: 10.1038/s41598-024-71000-6. PMID: 39256409; PMCID: PMC11387786.
    • Zhang S, Lv Z, Li J, Zhou D. Clinical characteristics of headache related to epilepsy: experience from a tertiary epilepsy center. BMC Neurol. 2025 May 26;25(1):223. doi: 10.1186/s12883-025-04217-1. PMID: 40420007; PMCID: PMC12105137.