Depression doesn’t simply cause migraines, but the two conditions fuel each other in a powerful loop. People with depression are about 2.5 times more likely to develop migraines, and people with migraines are 2.5 times more likely to develop depression. This bidirectional relationship means that having either condition raises your risk for the other, and the combination tends to make both worse.
The Connection Goes Both Ways
Researchers once treated migraine and depression as separate problems that happened to overlap. That view has shifted. Large studies now show that depression predicts an earlier and more severe onset of migraine, while migraine independently increases the likelihood of developing depression. The prevalence of depression among people with migraines ranges from roughly 9% to 48% depending on the population studied, and people with migraines are two to five times more likely to develop a depressive or anxiety disorder than the general population.
This isn’t a coincidence or just the emotional toll of living with pain. The two conditions appear to share overlapping biological machinery, which explains why they so often travel together and why treating one can influence the other.
Shared Brain Chemistry
Several chemical systems in the brain malfunction in similar ways during both migraine and depression. Serotonin is the most studied link. This chemical messenger helps regulate mood and pain perception, and disruptions in serotonin signaling are a core feature of both conditions. When serotonin activity drops, mood suffers and pain thresholds decrease, setting the stage for both depressive episodes and migraine attacks.
Dopamine signaling is also involved. Genetic variations in a specific dopamine receptor gene have been linked to increased susceptibility to both migraine with aura and major depression. Beyond individual neurotransmitters, the balance between excitatory and inhibitory brain chemicals is off in both disorders. People with migraine and depression tend to have elevated levels of the brain’s main excitatory chemical (glutamate) and reduced levels of its main calming chemical (GABA). When both conditions are present, GABA levels drop even lower than they do with either condition alone.
The immune system also plays a role. Chronic low-grade inflammation has been identified in both migraine and depression, and inflammatory signaling molecules can sensitize pain pathways while simultaneously disrupting mood regulation.
Why Women Are Disproportionately Affected
Women experience both migraine and depression at significantly higher rates than men, and estrogen appears to be a major reason. The overlap between the two conditions tracks closely with periods of hormonal fluctuation: puberty, the premenstrual phase, the postpartum period, and perimenopause. Estrogen withdrawal, the rapid drop that occurs before menstruation or after childbirth, has been directly linked to both migraine attacks and depressive episodes.
The mechanism ties back to serotonin. Estrogen has a broadly stimulating effect on the serotonin system. When estrogen levels fall sharply, serotonin activity falls with them, creating a window of vulnerability for both conditions simultaneously. This is why conditions like premenstrual dysphoric disorder, postpartum depression, menstrual migraine, and postpartum migraine flares all cluster around the same hormonal transitions.
Genetics Play a Role
If migraines and depression both run in your family, that’s not a coincidence. Genome-wide studies have found a statistically significant genetic correlation between the two conditions, with about 25% overlap in their genetic architecture. Researchers identified specific genes shared between migraine and depression that are involved in neural signaling and ion channel regulation, the basic electrical communication system of nerve cells. In other words, some people inherit brain wiring that predisposes them to both conditions from the start.
Chronic Migraine Carries Higher Risk
The more frequent your migraines, the more likely depression is part of the picture. People with chronic migraine (15 or more headache days per month) have notably higher rates of depression than those with episodic migraine. One large real-world study found that 30.3% of people with chronic migraine had coexisting anxiety and depression, compared to 20.0% of those with episodic migraine. The relationship likely works in both directions here too: more frequent migraines erode quality of life and increase depression risk, while depression promotes the transition from episodic to chronic migraine.
How Depression Complicates Migraine Treatment
When depression goes untreated alongside migraine, outcomes suffer across the board. People with both conditions report greater disability and poorer quality of life than those with migraine alone, even when their headache frequency and severity are comparable. They also tend to perceive their migraine treatments as less effective and report lower satisfaction with care overall.
Untreated depression can also interfere with treatment adherence and increase the risk of medication overuse, which itself can worsen headache patterns. Some evidence suggests that depression reduces the effectiveness of certain preventive migraine treatments, including injectable therapies. This is why addressing both conditions matters, not just the one that feels most urgent.
Treatments That Target Both Conditions
Because migraine and depression share biological pathways, some treatments can address both at once. Certain antidepressants, particularly older tricyclic types like amitriptyline and nortriptyline, are considered first-line preventive treatments for migraine. A class of antidepressants called SNRIs, which boost both serotonin and norepinephrine, are also used for both conditions. Venlafaxine is the most commonly prescribed SNRI for this dual purpose.
If you take a migraine-specific medication like a triptan alongside an antidepressant, the risk of serotonin syndrome (a potentially dangerous buildup of serotonin) is often cited as a concern. However, a large review of over 47,000 patients prescribed triptans found the actual incidence of serotonin syndrome in people also taking antidepressants was extremely low: roughly 2 cases per 10,000 person-years of exposure.
Cognitive behavioral therapy (CBT) has also shown measurable benefits. A meta-analysis found that CBT reduced migraine frequency and migraine-related disability scores, with few adverse effects. The therapy helps by changing how you respond to pain and stress, both of which are amplified when depression is in the mix. While CBT isn’t a replacement for medication in most cases, it can meaningfully improve outcomes when added to a treatment plan, particularly for people dealing with both conditions.

