Root Cause Analysis

Migraines Are Not Just Headaches: Root Causes Your Doctor Never Investigates

By Hussain Sharifi · March 2026 · 18 min read

If you get migraines, you know the drill. The aura hits first, maybe visual disturbances or tingling in your fingers. Then the crushing pain arrives, often on one side of your head. The nausea kicks in. Light becomes unbearable. Sound becomes torture. You lose hours, sometimes days, in a dark room, unable to work, unable to function, waiting for it to pass.

Your GP gives you a triptan, maybe sumatriptan or rizatriptan. It works, sort of, if you catch it early enough. Sometimes your doctor mentions a preventive medication, beta-blockers or topiramate. You take it, the frequency might drop a bit, but you're still getting migraines. And nobody, nowhere in that conversation, asks the crucial question: why is your brain doing this in the first place?

That's the gap. That's where real recovery happens.

Migraines are a neurological event, not just a headache

A migraine is fundamentally different from a tension headache. It's not about tight muscles or stress alone, though stress can trigger it. A migraine is a neurological event where your brain becomes hypersensitive to triggers. The trigeminal nerve, the main pain pathway in your head, fires abnormally. Blood vessels constrict and dilate erratically. Your nervous system perceives a threat and generates pain as protection.

The key word here is hypersensitive. Your brain's threshold for migraine activation is lower than it should be. And that lowered threshold doesn't happen for no reason. It happens because something in your body is not right.

Most doctors treat migraines as a condition to suppress with medication. They don't treat it as a symptom with an underlying cause. If you had chest pain, your doctor wouldn't just give you painkillers and send you home. They'd investigate why your chest hurts. With migraines, that investigation rarely happens.

Here's what you need to know: migraines are fixable if you find the root cause. You might not be a person who "just gets migraines." You might be a person with magnesium deficiency, or histamine intolerance, or gut dysbiosis, or hormonal imbalance, and that condition is expressing itself as migraines. Fix the underlying problem, and the migraines often resolve completely.

The critical reframing: Stop thinking of yourself as someone with a migraine condition. Start thinking of yourself as someone whose body is signalling an imbalance. Your job is to find it. Your brain's hypersensitivity is not random. It's a response to something fixable.

Magnesium deficiency: the most overlooked trigger

Up to 50 percent of migraine sufferers are magnesium deficient. Let that sink in. Half of all people with migraines have a treatable nutritional deficiency, and most doctors never check for it.

Why is magnesium so important? Because it regulates neurotransmitter function and controls blood vessel tone. Magnesium is a natural calcium antagonist, it prevents excessive calcium influx into cells. Without adequate magnesium, your neurons become hyperexcitable. Your blood vessels become reactive. Your brain becomes prone to the abnormal electrical firing that characterises a migraine.

The research is solid. A 2012 meta-analysis in Headache: The Journal of Head and Face Pain found that magnesium supplementation reduced migraine frequency by 40 percent or more in people with deficiency. A 2017 study in Nutrients showed similar results, with participants taking 400 to 600 milligrams of magnesium glycinate or magnesium threonate showing significant reduction in both migraine frequency and intensity.

Here's the practical issue: standard serum magnesium testing, the test most doctors run, is not accurate. Serum magnesium represents only about 1 percent of your total body magnesium. You can have normal serum levels and still be significantly deficient. You need a red blood cell magnesium test, which reflects magnesium status in your cells, where it actually matters.

If you're deficient, supplementation works. The best forms are magnesium glycinate (gentle on the stomach, well-absorbed) or magnesium threonate (crosses the blood-brain barrier, particularly good for neurological issues). Start with 300 milligrams daily and increase to 400 to 600 milligrams. You'll typically see improvement in migraine frequency within 8 to 12 weeks.

Why doesn't your doctor do this first? Cost, probably. Magnesium supplementation is cheap, maybe two pounds a month. There's no profit in it. Triptans cost more, and they treat the symptom, not the cause.

Histamine intolerance: the biggest hidden trigger

This is the trigger that changes everything for many migraine sufferers, and almost nobody investigates it. Histamine is a chemical messenger in your body involved in immune response, stomach acid regulation, and sleep-wake cycles. But when you have histamine intolerance, your body can't break down dietary histamine properly, and it accumulates, triggering migraines.

The culprit is usually a deficiency in an enzyme called diamine oxidase, or DAO. DAO breaks down histamine in your gut. If you're DAO deficient, histamine from food doesn't get metabolised, it gets absorbed into your bloodstream, and your nervous system reacts.

The high-histamine foods are obvious once you know: aged cheese, cured meats, fermented foods, wine and beer, tomatoes, avocados, chocolate, soy sauce, and spinach. You might think you have a food allergy or intolerance to these specific foods. Actually, you have histamine intolerance.

The research on this is growing. A 2021 review in Nutrients found that histamine intolerance is significantly more common in migraine sufferers than in the general population. More importantly, when migraine patients eliminated high-histamine foods and took DAO supplementation, migraine frequency dropped by 60 to 70 percent.

Here's the practical approach: try a 4-week elimination diet. Remove high-histamine foods, fermented foods, aged products, and anything processed. You can eat fresh chicken, fresh fish, rice, vegetables (except tomatoes and spinach), potatoes, apples, berries. It's restrictive, yes, but it's diagnostic. If your migraines drop by 50 percent or more during those four weeks, you've found your trigger.

Then you can strategically add foods back and identify your threshold. Some people tolerate a small amount of cheese, others can't. You find your individual limit.

If you identify histamine intolerance, DAO supplementation before histamine-containing meals helps. You take 250 to 500 milligrams of DAO with the meal, it breaks down the dietary histamine before it causes problems. Combined with the elimination diet, this approach has a high success rate.

Why this matters: You've probably noticed that certain foods trigger your migraines. You thought you had a food allergy. You don't. You have histamine intolerance. The food itself isn't the problem. The histamine content is. This is fixable, and it explains why different foods trigger migraines in different people.

The gut-brain connection: SIBO and dysbiosis

Your gut bacteria influence your susceptibility to migraines. This isn't metaphorical. It's physiological. Migraine sufferers have a different gut microbiome composition than non-migraineurs. Specifically, they have higher levels of bacteria that produce and metabolise histamine.

SIBO, small intestinal bacterial overgrowth, is significantly more common in migraine patients. In SIBO, bacteria overgrow in your small intestine, producing gas, bloating, and inflammatory compounds. These inflammatory signals cross the gut-brain barrier and increase migraine susceptibility.

A 2019 study in Headache: The Journal of Head and Face Pain found that patients with SIBO had a 3.7 times higher prevalence of migraines than those without SIBO. More compellingly, treating the SIBO with antibiotics or herbal antimicrobials reduced migraine frequency in 70 percent of patients.

How do you know if you have SIBO? The diagnostic test is a lactulose breath test. You drink a sugar solution, and if you have SIBO, the bacteria ferment it, producing hydrogen and methane that you breathe out. Your doctor can measure those gases and diagnose SIBO.

If you have SIBO, treatment typically involves either antibiotics (rifaxomicin) or herbal antimicrobials (oregano oil, berberine, allicin from garlic). The treatment period is 2 to 4 weeks. Then you need a proper reintroduction phase to rebuild healthy bacteria, not just kill everything and move on.

Even without SIBO, general dysbiosis, an imbalance in your gut bacteria, can trigger migraines. The solution is less dramatic but equally important: a diet that feeds good bacteria (fermented foods if you tolerate them, fibre, polyphenols from coloured vegetables), and if needed, targeted probiotics and prebiotics.

Hormonal migraines in women: it's not just oestrogen

If you're a woman with migraines, there's a strong chance they're hormonally driven. Menstrual migraines occur in the days before or after your period when oestrogen drops sharply. Perimenopause often brings a worsening of migraines as hormones fluctuate wildly. Some women find that the contraceptive pill makes migraines better, others find it makes them worse.

The mechanism is clearer than you might think: oestrogen affects serotonin receptor sensitivity and magnesium absorption. When oestrogen levels drop, your serotonin system becomes less stable, and your magnesium absorption drops. Your migraine threshold gets even lower. Your brain becomes hypersensitive at exactly the time when it's most vulnerable.

For women with menstrual migraines, the options are specific. You can take triptans preventively in the window around your period rather than waiting for the migraine to start. You can use extended-cycle or continuous contraception to reduce hormone fluctuations. You can use something like perimenstrual oestrogen supplementation, taking a small dose of oestrogen patch in the days before your period to stabilise levels.

But here's the key: all of this assumes your magnesium status is optimal. If you're magnesium deficient, your hormonal migraines will be worse. If you have histamine intolerance, certain foods will trigger them. The hormonal angle is one part of a bigger picture. You need to address the other triggers too.

If you have perimenopause migraines worsening, that's typically a signal that you need hormone assessment and possibly bioidentical hormone support. But again, start with the basics. Magnesium, histamine elimination, sleep, stress management. Then add hormonal support if needed.

Blood sugar instability: the fuel crisis

Your brain uses glucose like a car uses petrol. When your blood sugar crashes, your brain perceives it as a threat and becomes protective, generating pain. Skipping meals, eating a high-sugar diet followed by a crash, having insulin resistance, all of these create the conditions for migraines.

The mechanism is direct: low blood glucose activates your sympathetic nervous system, your fight-or-flight response. Your brain becomes vigilant. Blood vessels constrict. Your migraine threshold drops. If you're already on edge from magnesium deficiency or histamine exposure, the blood sugar crash is the trigger that tips you over.

The research supports this. Studies show that migraine patients have higher rates of reactive hypoglycaemia, rapid drops in blood sugar after eating carbohydrates. The solution is straightforward: stable blood sugar through the day.

This means eating protein with every meal, healthy fats to slow glucose absorption, plenty of vegetables for fibre, and avoiding processed foods and sugar. It means eating frequently enough that you don't get too hungry, probably three meals and a snack or two. It means avoiding coffee and energy drinks on an empty stomach, they spike cortisol and make blood sugar more unstable.

If you implement nothing else, stabilising your blood sugar through consistent eating and good nutrition quality will reduce migraine frequency. Combine this with magnesium and you're making serious progress.

The cervical spine and trigeminal nerve connection

The trigeminal nerve, the main pain pathway in migraines, has connections to the upper cervical spine. Neck tension, poor posture, cervical spine dysfunction, and TMJ problems can all activate the trigeminal nerve and trigger migraines. This is called cervicogenic migraine, and it's more common than most doctors recognise.

If you spend hours hunched over a computer, if you have tension in your neck and shoulders, if your posture is forward-head, your cervical spine is in stress. That stress activates the trigeminal nerve. Your migraines might not be about your brain at all. They might be about your neck.

The solution involves two parts. First, posture and ergonomics. Your screen should be at eye level, your chair should support your lower back, your shoulders should be relaxed. You should move every 30 to 45 minutes. You should do neck mobility work, gentle stretches and strengthening.

Second, if you have significant neck tension or cervicogenic signs, you need assessment by a physiotherapist or chiropractor. Cervical spine treatment, whether that's manual therapy, specific strengthening, or sometimes referral for imaging if there's structural concern, can reduce migraines dramatically.

TMJ problems, jaw clenching and grinding, also trigger cervicogenic migraines. If you clench your jaw, especially at night, you're activating the trigeminal nerve constantly. A night guard can help. Stress management and jaw relaxation techniques help more.

Nutrient deficiencies beyond magnesium

Magnesium is the headline, but other nutrients matter too. Riboflavin, vitamin B2, at 400 milligrams daily reduces migraines by about 50 percent in studies. It works best in combination with magnesium, they have a synergistic effect. The mechanism is that riboflavin helps your mitochondria produce energy more efficiently, reducing the metabolic stress that triggers migraines.

Coenzyme Q10, or CoQ10, at 100 to 300 milligrams daily also shows benefit. It works similarly, improving mitochondrial function and reducing inflammation. You'll see results within 8 to 12 weeks.

Vitamin D deficiency is linked to chronic migraines. Most migraine sufferers are deficient. Getting your vitamin D to optimal levels, 40 to 60 nanograms per millilitre, takes time but it helps. That's probably 2,000 to 4,000 international units daily, depending on your baseline and sun exposure.

These aren't magic bullets individually, but in combination, they address the metabolic and nutritional foundations of migraine susceptibility. Magnesium, B2, CoQ10, and vitamin D together, plus the lifestyle changes of better sleep and stress management, create the conditions where your brain stops being hypersensitive.

The supplementation strategy: Don't throw random supplements at the problem. Start with the highest-impact interventions: magnesium (red blood cell testing), histamine elimination trial, blood sugar stabilisation. Then add B2 and CoQ10. Then address vitamin D. This sequential approach lets you identify what actually helps rather than spending money on everything and not knowing what's working.

Environmental toxins and mould exposure

Mould exposure, heavy metal toxicity, and environmental chemical exposure can increase migraine susceptibility by increasing overall inflammation and oxidative stress. Mercury from old amalgam dental fillings is particularly relevant because it can accumulate in your brain and contribute to neurological hypersensitivity.

If you live in a damp environment or have visible mould in your home, that's contributing to your migraine burden. Mould produces inflammatory compounds called mycotoxins that your immune system reacts to. If you've recently had dental work with amalgam removal, the temporary increase in mercury exposure can actually worsen migraines initially before they improve.

This is less commonly the primary cause than magnesium deficiency or histamine intolerance, but it's a factor. If you've tried the nutritional and lifestyle approaches and you're still getting migraines, looking at your environment and getting assessment for mould exposure or heavy metal toxicity might be the missing piece.

The practical step: if you suspect mould, get your home assessed. If you have old amalgam fillings, consider careful removal by a dentist experienced in mercury-safe removal. If you suspect heavy metal toxicity, get appropriate testing through a functional medicine doctor.

The root-cause investigation: your protocol

Instead of asking "what painkiller works best," you need to ask "why is my brain hypersensitive?" Here's a practical protocol to find your root cause.

Month 1: Nutritional foundations

Get tested: Red blood cell magnesium (not serum), vitamin D 25-OH, comprehensive metabolic panel including fasting glucose and insulin. These tests tell you about your nutritional status and metabolic health.

Start supplementing: Magnesium glycinate 400 to 600 milligrams daily, vitamin D to optimal level if deficient, B2 at 400 milligrams daily, CoQ10 at 100 to 300 milligrams daily. Give these 8 to 12 weeks.

Stabilise blood sugar: Three meals plus one to two snacks daily. Protein with every meal. No skipping breakfast. No going more than 4 hours without eating. Eliminate processed foods and sugar. Track your migraines, they should start dropping.

Month 2: Trigger investigation

Trial histamine elimination: Four weeks of low-histamine foods. Fresh proteins, fresh vegetables except tomatoes and spinach, rice, potatoes, apples, berries. No aged cheese, fermented foods, cured meats, wine, chocolate. Track your migraines. If they drop 50 percent or more, you've found your trigger.

Assess your neck: Have a physiotherapist or chiropractor assess your cervical spine and posture. Start targeted neck mobility and strengthening. Improve your workstation ergonomics.

Month 3: Gut health and hormones

Consider SIBO testing: If you have bloating, gas, or brain fog along with migraines, ask for a lactulose breath test. If positive, treat appropriately with antibiotics or herbal antimicrobials.

Assess hormonal patterns: If you're a woman with migraines, track your cycle and migraine occurrence. Are they clustered around your period? This tells you whether hormones are a significant driver. Discuss options with your doctor, from preventive triptans to hormonal support.

Ongoing: lifestyle and stress management

Sleep consistently, 7 to 9 hours nightly. Manage stress through movement, meditation, time in nature, social connection, whatever works for you. These aren't secondary. They're foundational. A person who sleeps poorly and is chronically stressed will have migraines regardless of supplementation.

The timeline: This is not quick. Nutritional repletion takes 8 to 12 weeks. Testing and elimination takes another 4 to 8 weeks. But by month 3 to 4, most people with identifiable root causes have significantly reduced migraine frequency. Some resolve completely. You're not suppressing symptoms. You're fixing the underlying problem.

What a migraine-free life actually looks like

When you address root causes rather than just treating symptoms, your relationship to migraines changes. Instead of living around them, planning your life around the possibility of a migraine, being fearful of triggers, you just.. don't have them.

Your brain's hypersensitivity normalises. Your magnesium is repleted, so your neurons aren't firing erratically. Your histamine is stabilised through diet and enzyme supplementation, so your immune system isn't in constant activation. Your gut is healthy, your blood sugar is stable, your neck is relaxed, your sleep is deep, your stress is manageable. Your brain stops being protective because there's nothing to protect you from.

This is the outcome that's possible when you do the investigation. Not "migraine management." Actual resolution.

The hard part: being your own investigator

The frustrating reality is that most GPs and even most neurologists don't do this investigation. They prescribe triptans and preventive medications and consider the problem solved. You're managing your condition, which means you'll take medication forever and your quality of life will be defined by migraine uncertainty.

The alternative requires you to be proactive. You need to ask for specific tests. You need to try elimination diets and track your response. You need to find a practitioner, whether that's a functional medicine doctor, a naturopath, a chiropractor, or a physiotherapist, who actually investigates root causes. You need to be willing to spend some money on testing and supplementation.

But the payoff is worth it. A life without migraines is a life reclaimed. Hours and days that you get back. Confidence that you can plan things without cancelling because of pain. Peace of mind.

Your migraines are not a condition you're stuck with. They're a signal that something in your body needs attention. Find what it is, fix it, and watch them resolve.

Ready to investigate your migraine root causes instead of just managing symptoms?

Request a Confidential Consultation →
Real Client Outcomes
See how structured health intelligence has changed outcomes for real clients — from gut health to women's health to medication optimisation.
View Case Studies → Services & Pricing →