Migraines
Migraines are not simply bad headaches. They are a complex neurovascular disorder driven by identifiable metabolic, hormonal, inflammatory, and neurological triggers including magnesium deficiency, histamine excess, hormonal fluctuations, blood sugar instability, mitochondrial dysfunction, and gut-brain axis signaling. Conventional treatment relies on acute pain medication and preventive pharmaceuticals. Functional medicine identifies the specific triggers activating the migraine cascade in each patient and treats them at the source, reducing frequency and severity by correcting the biology rather than suppressing the symptom.
Condition: Migraines | Category: Neurological Health | Reviewed by: Brian Lamkin, DO
What Is a Migraine?
A migraine is a recurrent neurovascular disorder characterized by episodes of moderate to severe headache, typically unilateral, often accompanied by nausea, vomiting, and sensitivity to light, sound, and movement. Approximately one-third of migraine patients experience aura: visual disturbances (flashing lights, zigzag lines) or sensory changes preceding the headache phase. Migraines affect over one billion people worldwide, making them the third most prevalent illness globally and a leading cause of disability in people under 50.
The migraine cascade involves cortical spreading depression (a wave of neuronal depolarization across the cortex), activation of the trigeminovascular system (releasing CGRP and other vasoactive neuropeptides), neurogenic inflammation of the meningeal blood vessels, and central sensitization of pain pathways. This complex cascade is initiated by identifiable triggers that lower the activation threshold: magnesium deficiency, histamine excess, hormonal fluctuations, blood sugar instability, mitochondrial dysfunction, gut-brain axis disruption, food sensitivities, and sleep disruption.
Key principle: Every migraine patient has a unique trigger profile. Some migraines are magnesium-driven. Some are hormonal. Some are histamine-mediated. Some are metabolic. Many involve multiple converging triggers. The conventional approach of prescribing the same preventive medications to all migraine patients ignores this individuality. Functional medicine identifies which triggers are active in each patient and addresses them specifically, reducing migraine frequency at the biological level rather than blunting the pain response.
Why Migraines Matter
Clinical Impact
- Disability: migraines are the second leading cause of years lived with disability worldwide, affecting work capacity, relationships, and quality of life
- Chronification: episodic migraines can transform into chronic migraine (15+ days per month) when triggers are not identified and treated, producing progressive disability
- Cardiovascular association: migraine with aura is associated with a 2-fold increased risk of ischemic stroke, particularly in women using estrogen-containing contraceptives
- Medication overuse: frequent use of acute migraine medications (triptans, NSAIDs) can produce medication overuse headache, creating a self-perpetuating cycle
Why Standard Treatment Is Incomplete
- Acute medications treat the attack, not the cause: triptans abort individual episodes but do not reduce the biological vulnerability producing them
- Preventive medications are non-specific: beta-blockers, anticonvulsants, and antidepressants reduce frequency by approximately 50 percent through non-targeted mechanisms with significant side effects
- Trigger identification is superficial: patients are told to avoid "stress, alcohol, and cheese" without comprehensive evaluation of magnesium, hormones, histamine, gut health, or metabolic drivers
- CGRP-targeted therapies are expensive and partial: anti-CGRP monoclonal antibodies block one component of the migraine cascade but do not address the upstream triggers initiating it
Common Symptoms
Headache Phase
- Moderate to severe unilateral headache (can be bilateral)
- Pulsating or throbbing quality
- Worsened by physical activity
- Duration 4 to 72 hours without treatment
Associated Symptoms
- Nausea and/or vomiting
- Photophobia (light sensitivity)
- Phonophobia (sound sensitivity)
- Osmophobia (smell sensitivity)
Aura (30% of patients)
- Visual disturbances (flashing lights, zigzag lines, blind spots)
- Sensory changes (tingling, numbness)
- Speech difficulty (less common)
- Duration 5 to 60 minutes preceding headache
Root Causes: A Functional Medicine Perspective
Migraines are not caused by a single mechanism. They occur when cumulative triggers lower the cortical spreading depression threshold below the activation point. Functional medicine identifies and corrects each trigger.
Magnesium Deficiency
Magnesium deficiency is present in up to 50 percent of migraine patients. Magnesium stabilizes cortical excitability by regulating NMDA receptor calcium influx, supports mitochondrial ATP production, and maintains vascular smooth muscle tone. When intracellular magnesium is depleted, the cortex becomes hyperexcitable and the threshold for spreading depression drops. RBC magnesium (not serum magnesium) is the appropriate test because serum is tightly regulated and appears normal while intracellular stores are depleted. Magnesium glycinate at 400 to 600mg daily reduces migraine frequency by approximately 40 percent in deficient patients.
Mitochondrial Dysfunction and Energy Deficit
The brain consumes 20 percent of the body's energy. Mitochondrial dysfunction reduces the neuronal energy reserve, making the brain vulnerable to metabolic stressors that trigger cortical spreading depression. Riboflavin (vitamin B2, 400mg daily), CoQ10 (300mg daily), and alpha-lipoic acid support the mitochondrial electron transport chain. These three supplements have Level B evidence for migraine prevention and directly address the bioenergetic vulnerability.
Hormonal Triggers
Menstrual migraines affect approximately 60 percent of women with migraines. The trigger is estrogen withdrawal in the late luteal phase: estrogen modulates serotonin, CGRP, and prostaglandin signaling in the trigeminovascular system, and its rapid decline destabilizes these pathways. Estradiol and progesterone mapping through the cycle identifies the hormonal pattern. Stabilizing estrogen through the perimenstrual window (transdermal estradiol, progesterone support) reduces menstrual migraine frequency.
Histamine and the Gut-Brain Axis
Histamine intolerance is a significant and frequently overlooked migraine trigger. Histamine produces meningeal vasodilation and neurogenic inflammation directly within the trigeminovascular system. Impaired DAO enzyme function, histamine-producing gut bacteria, and mast cell instability all increase the histamine burden. Patients whose migraines are triggered by aged cheese, wine, fermented foods, and weather changes often have an underlying histamine mechanism. Low-histamine dietary modification and DAO enzyme support can be transformative for this subgroup.
Blood Sugar Instability and Food Sensitivities
Reactive hypoglycemia produces counter-regulatory responses (adrenaline, cortisol) that can trigger the migraine cascade. Fasting, skipping meals, and high-glycemic meals followed by blood sugar crashes are common migraine triggers. Food sensitivities (IgG-mediated delayed hypersensitivity) trigger inflammatory responses 12 to 72 hours after exposure. Common migraine-triggering foods include gluten, dairy, aged cheese, processed meats, and MSG, though triggers are individual.
Conventional vs Functional Medicine Approach
| Domain | Conventional Medicine | Functional Medicine |
|---|---|---|
| Acute | Triptans, NSAIDs, anti-emetics | Same acute tools, plus magnesium IV for refractory episodes |
| Prevention | Beta-blockers, anticonvulsants, antidepressants, anti-CGRP | Trigger-specific: magnesium, riboflavin, CoQ10, histamine management, hormonal stabilization, food sensitivity elimination, gut restoration |
| Evaluation | Clinical history and neurological exam; no metabolic workup | RBC magnesium, hormonal panel, histamine/DAO, food sensitivity testing, comprehensive stool analysis, thyroid, inflammatory markers |
| Outcome | 50 percent frequency reduction with medication | 60 to 80 percent reduction through multi-trigger correction; medication reduction or elimination in many patients |
Key Labs to Evaluate
How to Interpret These Labs Together
RBC magnesium below 5.0 with frequent migraines and normal MRI identifies the magnesium-deficient migraine phenotype. Magnesium glycinate 400 to 600mg daily plus riboflavin 400mg and CoQ10 300mg addresses the bioenergetic and cortical excitability vulnerability. This combination targets three independent migraine mechanisms with minimal side effects.
Migraines clustering around menstruation with perimenstrual estradiol decline confirms the hormonal migraine phenotype. Estradiol stabilization through the late luteal phase (transdermal estradiol 0.1mg patch day 24 to day 3) plus magnesium and omega-3 support reduces menstrual migraine frequency by 50 to 75 percent.
Migraines triggered by aged cheese, wine, and weather changes with elevated plasma histamine and low DAO identifies the histamine-mediated phenotype. Low-histamine dietary modification, DAO enzyme supplementation before meals, and gut restoration to reduce histamine-producing bacteria can produce dramatic frequency reduction in this subgroup.
Common Patterns Seen in Patients
- The patient on 3 preventive medications still having 10 migraines per month: Topiramate, propranolol, and amitriptyline prescribed without any metabolic evaluation. RBC magnesium 4.2 (depleted), vitamin D 19, hs-CRP 2.8. Magnesium repletion, vitamin D optimization, and anti-inflammatory dietary modification reduced frequency from 10 to 2 per month within 3 months. Two of three preventive medications were discontinued.
- The woman with migraines "that started on birth control": Migraines began 6 months after starting combined oral contraceptive. Migraine with aura on estrogen-containing contraception carries increased stroke risk. Contraceptive change to progestin-only plus magnesium, riboflavin, and CoQ10. Migraine frequency reduced by 75 percent and stroke risk eliminated.
- The patient with migraines, bloating, and fatigue whose neurologist never asked about the gut: 15 migraines per month with concurrent IBS-like symptoms and persistent fatigue. Comprehensive stool analysis revealed significant dysbiosis with elevated histamine-producing species and elevated calprotectin. Intestinal permeability confirmed. Gut restoration protocol produced concurrent improvement in migraines, GI symptoms, and fatigue. Three conditions, one mechanism, one treatment.
Treatment and Optimization Strategy
Multi-Trigger Migraine Prevention
Foundation Protocol (All Migraine Patients)
- Magnesium glycinate 400 to 600mg daily for cortical excitability reduction, NMDA receptor modulation, and vascular tone support
- Riboflavin (B2) 400mg daily for mitochondrial complex I and II support (Level B evidence for migraine prevention)
- CoQ10 300mg daily for mitochondrial electron transport and cellular energy production
- Omega-3 fatty acids (3g EPA+DHA) for anti-inflammatory and anti-CGRP effects
Trigger-Specific Interventions
- Hormonal migraines: perimenstrual estradiol stabilization, progesterone support, and cycle-timed magnesium loading
- Histamine migraines: low-histamine dietary modification, DAO enzyme supplementation, and gut microbiome restoration
- Blood sugar migraines: protein-anchored meal structure, elimination of glycemic spikes, and insulin sensitization
- Gut-driven migraines: comprehensive microbiome restoration, barrier repair, and food sensitivity elimination
What Most Doctors Miss
- RBC magnesium is not tested: the most common nutritional deficiency in migraine patients is invisible without intracellular magnesium measurement. Serum magnesium appears normal while tissue stores are depleted.
- Mitochondrial bioenergetics are not evaluated: riboflavin, CoQ10, and alpha-lipoic acid have stronger evidence for migraine prevention than most prescription preventives, yet they are rarely recommended by neurologists.
- The gut-brain connection is ignored: histamine-producing bacteria, intestinal permeability, and food sensitivities are significant migraine drivers that standard neurological evaluation does not assess.
- Hormonal triggers are acknowledged but not treated metabolically: menstrual migraines are managed with triptans rather than hormonal stabilization that prevents the trigger from occurring.
When to Seek Medical Care
If you experience recurrent migraines, migraines that are increasing in frequency, migraines that do not respond adequately to standard preventive medications, or migraines with aura, a comprehensive evaluation of the metabolic, hormonal, inflammatory, and gut-brain mechanisms contributing to your migraine pattern is warranted. Migraine prevention is most effective when the specific triggers driving your episodes are identified and addressed individually.
Recommended Testing
Migraine evaluation identifies the specific metabolic, hormonal, inflammatory, and gut-brain triggers lowering the cortical spreading depression threshold in each patient.
Metabolic and Nutrient
- RBC Magnesium
- Vitamin D (25-OH)
- Vitamin B12, Folate
- Fasting Insulin
- Iron / Ferritin
Hormonal, Inflammatory, and Gut
- Estradiol, Progesterone (cycle mapping)
- hs-CRP
- TSH, Free T3
- Histamine / DAO (if histamine phenotype suspected)
- Comprehensive Stool Analysis
Ready for a comprehensive migraine evaluation?
Schedule a Consultation →Frequently Asked Questions
What causes migraines?
Migraines are caused by a combination of genetic susceptibility and identifiable triggers including magnesium deficiency, hormonal fluctuations, histamine excess, blood sugar instability, food sensitivities, gut dysfunction, and mitochondrial impairment. Each patient has a unique trigger profile.
Can magnesium help migraines?
Yes. Magnesium glycinate at 400 to 600mg daily reduces migraine frequency by approximately 40 percent in deficient patients. RBC magnesium (not serum) should be tested. Magnesium deficiency is present in up to 50 percent of migraine patients.
What is the connection between gut health and migraines?
Gut dysbiosis produces histamine and inflammatory signaling that activates the trigeminovascular system. Intestinal permeability increases systemic inflammation. Many chronic migraine patients have identifiable gut dysfunction that, when treated, reduces migraine frequency significantly.
Why do I get migraines around my period?
Menstrual migraines are triggered by the rapid decline of estrogen before menstruation. Estrogen modulates serotonin and CGRP signaling in the trigeminovascular system. Stabilizing estrogen through the perimenstrual window can significantly reduce menstrual migraine frequency.
Can food sensitivities cause migraines?
Yes. Food sensitivities trigger delayed inflammatory responses that activate the migraine cascade 12 to 72 hours after exposure. Common triggers include aged cheese, wine, processed meats, gluten, and MSG, but triggers are individual and identified through elimination testing.
How The Lamkin Clinic Approaches Migraines
When I see a migraine patient, I do not prescribe the same preventive to everyone. I ask: what is triggering this patient's migraines? Is it magnesium depletion lowering the cortical threshold? Is it estrogen withdrawal before each period? Is it histamine from a dysbiotic gut? Is it blood sugar crashes from a high-glycemic diet? When I find the triggers and correct them, the migraines reduce or stop. Not because I gave a better drug, but because I removed the biological conditions that were producing the attacks. That is the difference between suppressing migraines and preventing them.
Brian Lamkin, DO | Founder, The Lamkin Clinic | Edmond, Oklahoma
At The Lamkin Clinic, migraine management begins with comprehensive trigger identification: RBC magnesium, hormonal mapping, histamine and DAO assessment, food sensitivity evaluation, gut health analysis, and inflammatory markers. Treatment targets each identified trigger with specific interventions: magnesium and mitochondrial cofactor supplementation, hormonal stabilization for menstrual migraines, histamine management for histamine-mediated attacks, gut restoration for gut-brain driven migraines, and food sensitivity elimination. The goal is frequency reduction through biological correction, with medication minimization as function is restored.
Related Conditions
Related Symptoms
Content authored and clinically reviewed by Brian Lamkin, DO, founder of The Lamkin Clinic in Edmond, Oklahoma. Brian Lamkin, DO has 25+ years of experience in functional and regenerative medicine. This page reflects current functional medicine practice standards and is updated as new clinical evidence becomes available.
Migraines have identifiable triggers. When those triggers are corrected, migraines reduce or stop.
The Lamkin Clinic identifies each patient's unique migraine trigger profile through comprehensive metabolic, hormonal, inflammatory, and gut-brain evaluation. Schedule a consultation.
Schedule a ConsultationMedical Disclaimer: This content is provided for educational purposes only and is not intended as a substitute for professional medical advice, diagnosis, or treatment. Lab interpretation should always be performed in clinical context by a qualified healthcare provider. Reference ranges and optimal targets may vary based on individual patient history, clinical presentation, and laboratory methodology. Schedule a consultation to discuss your specific results with Dr. Lamkin.
