Migraine and depression: do they have common causes?

Two conditions that have made life a misery for many people over the years are migraine and depression. Migraine is a neurological disorder in its own right, and one we regularly return to on this blog. Depression, on the other hand, is a mental health condition that can involve low mood, loss of interest and motivation, and feelings of hopelessness. Depression belongs to a group of conditions known as “affective disorders,” which relate to mood and emotional wellbeing. Depression tends to be episodic, meaning it can come and go.

Unfortunately, migraine and depression quite often occur together. Many people with migraine also experience depression, and the reverse is true too.

Researchers have been looking into why these two conditions so often occur in the same people and seem to run in families, and have come up with some ideas about what might be behind the connection. One area of research is whether migraine and depression might share underlying causes or mechanisms. In this article, we’ll explore these possibilities and what they could mean for preventing headaches.

Migraine: common and rarely comes alone

How many people have migraine? It’s hard to pinpoint, as estimates vary between studies. The figures suggest that migraine affects between 14% and 20% of the population. More recent statistics from the German Neurological Society (DGN) put the one-year prevalence (the percentage of the population that experiences migraine at least once in a given year) at between 10% and 15%. Genetic factors have long been known to play a role in migraine. We now know of more than 100 genes – sections of our genetic material – in which small changes may contribute to the development of migraine.

We’ve already looked at some of the conditions that occur alongside migraine, known as “comorbidities”, including high blood pressure, epilepsy, and stroke. Research has also pointed to a link between migraine and mental health conditions. These include depression and anxiety disorders, both of which are common, affecting approximately 8% (anxiety) and 12% (depression) of the population, respectively. Research has also demonstrated that the relationship between migraine and depression works both ways: having migraine increases the risk of developing depression, while depression increases the risk of developing migraine. This is known as a “bidirectional” relationship, meaning it works both ways. Links like these are particularly common when two conditions share biological causes.

Genetic changes in the spotlight

Researchers have already found quite a few clues pointing to possible common causes. The study of heredity, or genetics, provides important insights in research in this area. Studies have identified a wide range of changes in human genetic material, each with different effects. Some changes affect the central processes involved in how pain signals are transmitted and perceived. Others are involved in regulating blood circulation and inflammatory processes in the nervous system, or influence the production and distribution of chemical messengers that help regulate these processes.

The sheer volume of research published on this subject in recent years has helped to shed light on some of these connections. It seems that a variety of genetic changes plays an important role in both migraine and depression. However, researchers have not been able to identify a single cause that would explain why these two conditions occur together. Rather, a whole range of genes – that is, sections of our genetic material – appear to be involved.

Shared pathways in the development of migraine and depression

A review by a group of researchers from Poland provides a detailed look at the chemical messengers and other substances that could play a role in both conditions. Let’s take a look at some examples.

1. Signals in the nervous system:

The brain contains a number of chemical messengers that transmit signals through the central nervous system. These are known as neurotransmitters. One of these messengers, serotonin, is less readily available in people with depression than in people without the condition. Interestingly, low levels of serotonin can also affect the transmission of pain signals. In turn, this can affect people with migraine by making them more sensitive to pain. This common feature can be explained by changes in genetic material (mutations). In both conditions, researchers have found mutations in a gene responsible for producing a protein that transports serotonin into cells. A malfunction at this point could therefore affect both conditions.

2. Inflammatory messengers:

Research suggests that the molecule CGRP (calcitonin gene-related peptide) plays a major role in the development of migraine attacks. We looked at this in more detail in an earlier post. CGRP can widen our blood vessels. This helps maintain adequate blood flow, ensuring that the brain is well supplied with oxygen and nutrients. However, CGRP is also involved in the development and regulation of inflammatory processes – two factors that have been repeatedly implicated in triggering migraine attacks. Elevated levels of CGRP have also been detected in animal models of depression, pointing to a possible causal relationship.

3. Hormones:

The female sex hormone oestrogen could also be involved in both conditions. It has a range of effects on how signals and information are transmitted through the nervous system. This is particularly interesting when it comes to serotonin and noradrenaline. Both of these chemical messengers have been shown to play a role in depression and in the transmission of pain. Pain transmission, in turn, is central to migraine. So here, too, the two conditions may have some triggers in common.

4. Environmental factors such as stress:

Stress, and especially prolonged stress, can play a major role in triggering migraine. We’ve already explored the link between these factors in a previous article. Stress is one of the most powerful triggers of migraine attacks and needs close attention in any prevention strategy. If stress keeps building and eventually becomes a permanent part of life, migraine can also become a chronic condition. There also seems to be a link with depression: Stress can affect both the body and the mind, and these effects can in turn make depression worse or even cause it to become chronic.

5. Heredity:

Genes also influence our susceptibility to both conditions. Studies in twins and other close relatives have found that family members of people with migraine had an increased risk of developing depression. The reverse was also true: relatives of people with depression were more likely to develop migraine. Interestingly, these links were stronger in identical twins than in fraternal twins. Taken together, these findings suggest that there are shared genetic factors that could help explain the link between migraine and depression.

Nothing is inevitable

Although migraine and depression are linked, this is not to say that everyone with migraine will necessarily develop depression. The more you understand your own migraine, the more opportunities you will discover to prevent attacks or at least make them less severe. One particularly effective approach is to identify your personal migraine triggers and learn how to manage them, and ultimately reduce the impact of migraine on your life. It’s also important to get proper medical care. For most people with migraine, simply knowing that you’re not alone in dealing with it can be a huge step forward. Our resources are designed to help people build expertise and take an active, informed role in managing their headaches. Our website “Prevent Headache“ gives you all the key information you need, while the app provides extra support for living with migraine day to day. The better you understand and manage your migraine, the more in control you can feel. And that could also help you cope better with depressive moments.

  • References
    • Breslau N, Davis GC, Andreski P. Migraine, psychiatric disorders, and suicide attempts: an epidemiologic study of young adults. Psychiatry Res. 1991 Apr;37(1):11-23. doi: 10.1016/0165-1781(91)90102-u. PMID: 1862159.
    • Breslau N, Lipton RB, Stewart WF, Schultz LR, Welch KM. Comorbidity of migraine and depression: investigating potential etiology and prognosis. Neurology. 2003 Apr 22;60(8):1308-12. doi: 10.1212/01.wnl.0000058907.41080.54. PMID: 12707434.
    • Chen MH, Pan TL, Lin WC, Huang KL, Hsu JW, Li CT, Tsai SJ, Su TP, Chen TJ, Bai YM. Bidirectional association between migraine and depression among probands and unaffected siblings: A nationwide population-based study. J Affect Disord. 2021 Jan 15;279:687-691. doi: 10.1016/j.jad.2020.10.056. Epub 2020 Oct 29. PMID: 33190120.
    • Diener H.-C., Förderreuther S, Kropp P., Reuter U. et al., Therapie der Migräneattacke und Prophylaxe der Migräne, S1-Leitlinie, 2025, DGN und DMKG, in: Deutsche Gesellschaft für Neurologie (Hrsg.), Leitlinien für Diagnostik und Therapie in der Neurologie.
    • Göbel, H. (2025). Heredität und Genetik der Migräne. In: Migräne. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-70985-6_11
    • Husoy AK et al. Global, regional, and national burden of headache disorders, 1990–2023: a systematic analysis for the Global Burden of Disease Study 2023. Lancet Neurol 2025; 24(12): 1005-15
    • Johansson EW, Linde M, Ohlis A, Mattsson M, Shaaban AN, Gustafsson S, Holm J, Dalman C, Agardh EE. Association of migraine with subsequent risk of depression or anxiety by small-area deprivation: national cohort study with sibling analysis. J Headache Pain. 2026 Feb 23;27(1):57. doi: 10.1186/s10194-026-02280-8. PMID: 41731351; PMCID: PMC12930664.
    • Khan SS, Qureshi MN, Siddiqi FA, Jelani FA, Safdar L, Ibrahim H. Prevalence of Depression in Migraine Patients Presenting to the Outpatient Department of a Tertiary Care Hospital. JCPSP Postgrad 2025; 1(2):107-111.
    • Li Y, Luo G, Zhou L, Wang X, Liu H, Zhang Y, Yan M. Mediators of the association between depression and migraine: a mendelian randomization study. Front Genet. 2024 May 31;15:1326817. doi: 10.3389/fgene.2024.1326817. PMID: 38881795; PMCID: PMC11176467.
    • Lv X, Xu B, Tang X, Liu S, Qian JH, Guo J, Luo J. The relationship between major depression and migraine: A bidirectional two-sample Mendelian randomization study. Front Neurol. 2023 Apr 14;14:1143060. doi: 10.3389/fneur.2023.1143060. PMID: 37122299; PMCID: PMC10140565.
    • Stovner, L.J., Hagen, K., Linde, M. et al. The global prevalence of headache: an update, with analysis of the influences of methodological factors on prevalence estimates. J Headache Pain 23, 34 (2022). https://doi.org/10.1186/s10194-022-01402-2
    • The Brainstorm Consortium et al. Analysis of shared heritability in common disorders of the brain. Science360, eaap8757(2018). DOI: 10.1126/science.aap8757 PMID: 29930110; PMCID: PMC6097237.
    • Wachowska K, Bliźniewska-Kowalska K, Sławek J, Adamczyk-Sowa M, Szulc A, Maes M, Kuan-Pin S, Gałecki P. Common pathomechanism of migraine and depression. Psychiatr Pol. 2023 Apr 30;57(2):405-419. English, Polish. doi: 10.12740/PP/OnlineFirst/143982. Epub 2023 Apr 30. PMID: 36371736
    • Yang Y, Ligthart L, Terwindt GM, Boomsma DI, Rodriguez-Acevedo AJ, Nyholt DR. Genetic epidemiology of migraine and depression. Cephalalgia. 2016 Jun;36(7):679-91. doi: 10.1177/0333102416638520. Epub 2016 Mar 9. PMID: 26966318.
    • Yang Y, Zhao H, Boomsma DI, Ligthart L, Belin AC, Smith GD, Esko T, Freilinger TM, Hansen TF, Ikram MA, Kallela M, Kubisch C, Paraskevi C, Strachan DP, Wessman M; International Headache Genetics Consortium; van den Maagdenberg AMJM, Terwindt GM, Nyholt DR. Molecular genetic overlap between migraine and major depressive disorder. Eur J Hum Genet. 2018 Aug;26(8):1202-1216. doi: 10.1038/s41431-018-0150-2. Epub 2018 Jul 11. PMID: 29995844; PMCID: PMC6057914.
    • Zhang M, Li Q, Zhao Y, Peng Y, Yu J, Gan C, Tang L, Liu K, Liu Y, Zhang Z, Wang X, Tang M, Jiang C, Gu D. Shared genetic architecture between depression and migraine: a large-scale genome-wide cross-trait analysis. J Headache Pain. 2026 May 25;27(1):187. doi: 10.1186/s10194-026-02402-2. PMID: 42185775; PMCID: PMC13390404.
    • https://www.dgn.org/artikel/s1-leitlinie-therapie-und-prophylaxe-der-migrane-aktualisiert Accessed 13-Aug-2026
    • https://www.universimed.com/at/article/neurologie/neue-daten-epidemiologie-kopfschmerzerkrankungen-2282345 Accessed 12-Aug-2026
    • https://www.gbe.rki.de/DE/Themen/Gesundheitszustand/PsychischeStoerungen/Angststoerung/AngststoerungenAdministrativePraevalenz/angststoerungenAdministrativePraevalenz_node.html?kennzahl=1&darstellung=0&zeit=2024&geschlecht=0&standardisierung=0 Accessed 14-Sep-2026
    • https://gesundheitsatlas-deutschland.de/erkrankung/depressionen?activeValueType=praevalence&activeLayerType=state Accessed 14-Sep-2026