What actually causes migraines: genes, a sensitive brain, and the triggers that tip it over

By Alejandro

The short answer: migraine is a genetic brain disorder. People with migraine are born with a nervous system that reacts more strongly to change: in sleep, hormones, stress, food timing, light or the weather. When enough of those changes pile up, the brain crosses a threshold and an attack starts.

The pain itself comes from the trigeminal nerve. It releases inflammatory messenger molecules, mainly CGRP, around the blood vessels in the membranes that cover the brain. That’s why the pain throbs, and why the newest migraine drugs work by blocking CGRP.

So there are two different questions hiding in “what causes migraines?”:

  1. Why do I get migraines at all? Genes and brain biology. This is the cause.
  2. Why did I get one today? Triggers. They set off individual attacks, but they aren’t the cause.

The rest of this post goes through both.

Migraine is common, and it’s not “just a headache”

The WHO estimates that migraine affects roughly one in seven people worldwide, and ranks it among the leading causes of disability, especially in people under 50. An attack typically lasts 4 to 72 hours untreated and comes with more than pain: nausea, sensitivity to light and sound, and often a day or two of fog afterwards.

If you’re not sure whether your headaches are migraines at all, start with migraine vs tension headache. The causes are very different.

Cause #1: your genes

Migraine runs in families. Twin studies put its heritability at roughly 40–60%, and having a parent with migraine clearly raises your risk.

For most people there is no single “migraine gene”. A large 2022 genome-wide study of more than 100,000 people with migraine found over 120 regions of the genome linked to it. Many of them sit near genes involved in blood vessels and in how nerve cells handle signals. Each one nudges the risk up a little, and the combination sets how sensitive your brain is.

The exception is a rare form called familial hemiplegic migraine, where a single gene change causes attacks with temporary weakness on one side of the body.

Cause #2: a brain that reacts more to change

Brain-imaging and electrical studies show that, even between attacks, the migraine brain processes sensory input differently. It reacts more strongly to repeated stimuli and doesn’t “get used to” them the way other brains do.

Researchers think the attack begins deep in the brain, in the hypothalamus. That’s the region that runs sleep, appetite, hormones and body rhythms. Imaging studies have caught it switching on in the hours before the pain starts. This explains why the early warning signs (yawning, food cravings, a stiff neck, mood changes) are so often hypothalamic functions. It also explains why disrupting your routine is such a strong trigger.

Cause #3: the trigeminal nerve and CGRP (where the pain comes from)

The brain tissue itself can’t feel pain. The membranes around it, the meninges, and their blood vessels can. They’re wired to the trigeminal nerve, the main sensory nerve of the face and head.

During an attack, trigeminal nerve fibres release CGRP (calcitonin gene-related peptide) and other signalling molecules. These widen the blood vessels and cause a sterile inflammation around them. The nerve then sends pain signals back into the brainstem, which amplifies them.

Two pieces of evidence point to CGRP:

This trigeminovascular process explains the throbbing, the one-sided pain, and why bending over or climbing stairs makes it worse.

What about aura?

About a quarter to a third of people with migraine get aura: zigzag lines, flickering lights, blind spots or tingling, usually lasting 5–60 minutes before the headache. It’s caused by cortical spreading depression, a slow wave of nerve-cell activity followed by quiet. The wave creeps across the brain’s surface at around 3 mm per minute, which is why the zigzag slowly travels across your vision.

Aura is covered in detail, including the four phases of an attack, in migraine with vs without aura.

Hormones: why migraine is three times more common in women

Before puberty, boys and girls get migraine at about the same rate. After puberty, women are about three times more likely to have migraine, and oestrogen is the main reason.

Triggers: what sets off a single attack

Triggers don’t cause migraine. They push a migraine-prone brain over its threshold, often several at once, which is called “trigger stacking”. In a study of 1,207 patients, the most common were:

The full ranked list, with mechanisms, is in the top 30 migraine triggers.

One caution: some “triggers” are really early symptoms. A craving for chocolate or a sensitivity to light in the hours before an attack is often the hypothalamus already switching on. The chocolate gets blamed, but the attack had already started.

Medication overuse: when treatment becomes a cause

Taking acute painkillers too often can itself make headaches more frequent. This is medication-overuse headache. ICHD-3 defines it as taking simple painkillers on 15 or more days a month, or triptans and combination painkillers on 10 or more days a month, for more than three months. If your headaches are getting more frequent and you’re reaching for tablets most days, this is worth raising with a doctor.

When a headache has another cause

Migraine is a primary headache: the headache is the disease. Sometimes a headache is secondary, a symptom of something else. Seek urgent care for:

How to find your causes

The genetics you can’t change. The triggers you can learn. Most people with migraine have three to seven personal triggers, and they rarely match a generic list.

The reliable way to find them is to log every attack for at least eight weeks, along with sleep, stress, meals, your cycle and the weather. Then look at what came before the attacks.

If weather is one of your suspects, the live migraine forecast shows how fast the pressure is changing where you are today.

Frequently asked

What is the main cause of migraines?

▾

Migraine is a neurological disorder with a strong genetic component. People with migraine inherit a brain that is more sensitive to change. During an attack, the trigeminal nerve releases inflammatory signalling molecules, especially CGRP, around the blood vessels of the brain's lining, which produces the throbbing pain. Triggers like stress, poor sleep or hormonal shifts don't cause migraine on their own; they push an already sensitive brain over its threshold.

Are migraines genetic?

▾

Largely, yes. Twin studies put the heritability of migraine at roughly 40–60%, and if a parent has migraine your own risk is clearly higher. A 2022 genome-wide study identified more than 120 genetic regions linked to migraine. For most people it's many small genetic effects combined, not one gene; rare forms such as familial hemiplegic migraine are caused by single genes.

What is the difference between a migraine cause and a migraine trigger?

▾

The cause is the underlying brain disorder you're born with. A trigger is something that sets off an individual attack: stress, sleep changes, skipped meals, alcohol, hormonal shifts or weather. Removing every trigger won't cure migraine, but knowing your personal triggers can reduce how often attacks happen.

Why are migraines more common in women?

▾

Before puberty, boys and girls get migraine at similar rates. After puberty, women are about three times more likely to have migraine, largely because of oestrogen. A drop in oestrogen, such as just before a period, is one of the most reliable triggers. Many women find migraines change in pregnancy and often ease after menopause.

Can a migraine be caused by something serious?

▾

Most migraines are a primary headache disorder, meaning the headache is the disease itself. But a headache can sometimes be a symptom of something else. Seek urgent care for a sudden 'worst ever' headache, headache with fever and a stiff neck, new weakness, confusion or loss of vision, or a new headache pattern after age 50.

Sources

  1. WHO — Headache disorders fact sheet
  2. NHS — Migraine: causes
  3. ICHD-3 — Migraine without aura (diagnostic criteria)
  4. Hautakangas et al., 2022 — Genome-wide analysis of 102,084 migraine cases (Nature Genetics) (PubMed search)
  5. Goadsby, Edvinsson & Ekman, 1990 — CGRP release during migraine headache (Annals of Neurology) (PubMed search)
  6. Schulte & May, 2016 — The migraine generator revisited: hypothalamus (Brain) (PubMed search)
  7. Kelman, 2007 — The triggers or precipitants of the acute migraine attack (Cephalalgia, n=1,207)