← Back to Blog
Artistic visualization of the gut-brain connection with luminous neural pathways

The Second Brain

90% of your serotonin is made in your gut, not your brain. New research reveals what your stomach is trying to tell you about migraine.

By Rustam Iuldashov

30 years lived experience with chronic migraine | Last updated: February 6, 2026

Medical Review: This content is based on peer-reviewed research from The Journal of Headache and Pain, Cephalalgia, Frontiers in Neurology, and other authoritative sources.

Important Notice: This article is for informational purposes only and does not replace professional medical advice. Consult your doctor before changing your diet or taking supplements, especially if you take medications or have chronic conditions.

Ninety percent of your serotonin never touches your brain.

It's made in your gut. Right now. By bacteria.

This fact upends everything we thought we knew about migraine. For decades, neurologists searched inside the skull for answers. They mapped pain pathways, tracked blood vessels, measured neurotransmitters. The brain, they assumed, held the secret.

They were looking in the wrong place.

* * *

The Hidden Factory

Deep in your intestines, trillions of microorganisms run a chemical plant that would make pharmaceutical companies envious. These bacteria don't just digest your lunch. They manufacture neurotransmitters, regulate inflammation, and send signals directly to your brainstem through a biological cable called the vagus nerve.[1, 2]

Scientists call this the gut-brain axis. The name sounds clinical, sterile. But picture what it actually means: a conversation happening inside you, right now, between your stomach and your skull.

When the conversation goes well, anti-inflammatory signals flow upward. Pain thresholds stay normal. Your head feels fine.

When it breaks down?

The signals change.[3]

Something Doctors Noticed — and Ignored

For years, physicians observed a curious pattern. Migraine patients showed up in gastroenterology clinics at alarming rates. Three times more likely to have irritable bowel syndrome.[4] Higher rates of celiac disease. Persistent nausea between attacks, not just during them.

Coincidence, most researchers assumed. The gut is the gut. The brain is the brain. Different systems, different problems.

Then came the microbiome revolution.

When scientists finally mapped the bacterial universe inside human intestines, they discovered something that demolished the old assumptions. These organisms produce the same chemicals our brains use to think, feel, and process pain.[5] They don't just coexist with us. They communicate.

And they have a direct line to headquarters.

The Longest Nerve

Your vagus nerve stretches from your brainstem to your gut — the longest cranial nerve in your body. Information travels both directions. Your brain tells your stomach when to digest. Your stomach tells your brain when something's wrong.[6]

Here's where it gets interesting for migraineurs.

Gut bacteria ferment dietary fiber into molecules called short-chain fatty acids.[7] Butyrate. Acetate. Propionate. These aren't waste products. They're chemical messengers that strengthen your intestinal lining, suppress inflammation, and signal directly through the vagus nerve to brain regions that process pain.[8]

When your microbiome is balanced, these protective signals dominate.

When it's disrupted, inflammatory molecules take over. Cytokines like TNF-α, IL-1β, and IL-6 surge into your bloodstream.[9] They cross into your nervous system. They sensitize the trigeminal pathway — the exact neural circuit that triggers migraine attacks.[10]

Your gut isn't passive. It's negotiating with your brain about whether your head will hurt tomorrow.

The Second Brain: Connected — artistic visualization showing the brain, vagus nerve, and gut microbiome as a luminous communication network
The Second Brain: Connected — The vagus nerve carries millions of signals between your gut and brain every second
* * *

The Serotonin Paradox

Remember that 90% figure?

Serotonin plays a strange role in migraine. People with chronic migraines have lower baseline levels between attacks.[11] But during an attack, serotonin spikes.[12] The volatility — that swinging up and down — appears to be part of the problem.

Your gut bacteria influence how much tryptophan (serotonin's building block) gets converted into serotonin versus other metabolites.[13] They determine whether your brain receives the raw materials it needs.

A 2019 study found something striking: people who ate 0.84-1.06 grams of dietary tryptophan daily had 54-60% lower odds of migraine compared to those consuming less than 0.56 grams.[14]

The difference wasn't medication.

It was breakfast.

What the Trials Show

Science demands evidence. Here's what rigorous studies reveal.

In 2019, researchers ran the gold standard: a randomized, double-blind, placebo-controlled trial testing a 14-strain probiotic on migraine patients.[15]

After ten weeks:

Episodic migraineurs saw attack frequency drop by 40%. Chronic migraineurs experienced a 45% reduction. Both groups reached for painkillers less often. Chronic patients reported shorter attacks.

Another trial combined probiotics with vitamin D.[16] After twelve weeks, participants showed significant reductions in migraine frequency — and lower levels of zonulin, a marker of intestinal permeability. Their gut barriers were healing.

Studies comparing the microbiomes of migraineurs to healthy controls consistently find differences[17, 18]: lower levels of anti-inflammatory Bifidobacterium longum, higher levels of pro-inflammatory Ruminococcus gnavus, reduced overall diversity in children with migraine.

This isn't just correlation. Mendelian randomization studies — which use genetic variants as natural experiments — support a causal relationship.[19] Your microbiome doesn't just correlate with your migraines.

It drives them.

* * *

Why Mi Asks What You Ate

This science explains something you may have wondered about.

When Mi asks about your meals, it's not idle curiosity. It's not about catching you eating "bad" foods. There are no bad foods in a moral sense.

But there is information.

Every meal shapes your microbiome.[20] High-fiber foods feed bacteria that produce anti-inflammatory compounds. Fermented foods introduce beneficial organisms. Tryptophan-rich proteins provide raw materials for serotonin synthesis.

Patterns matter more than individual meals. Your gut doesn't respond instantly. The microbiome shifts over days. Triggers accumulate. By the time a migraine arrives, the contributing factors may be 48 or 72 hours old.

Mi builds that timeline with you. Over weeks and months, connections emerge that no single food diary entry could reveal.

What You Can Do

The research points toward practical steps.

Feed your beneficial bacteria. Fiber is their fuel — vegetables, fruits, whole grains, legumes.[7, 21] Ninety-five percent of Americans consume insufficient fiber. This matters for migraine.

Consider fermented foods. Yogurt, kefir, sauerkraut, kimchi, miso.[22] Regular exposure maintains microbial diversity.

Prioritize tryptophan sources. Turkey, salmon, eggs, nuts, seeds, tofu.[14] Pair them with complex carbohydrates — this helps tryptophan cross into your brain more effectively.

Protect your gut barrier. Chronic stress, excessive alcohol, and highly processed diets increase intestinal permeability.[23] When your gut becomes "leaky," inflammatory molecules escape into your bloodstream and head toward your brain.

Be patient. Your microbiome doesn't transform overnight. Studies showing benefits typically run eight to twelve weeks.[15, 16] Consistency matters more than perfection.

The Second Brain: Nourished — artistic visualization of a healthy microbiome garden inside the intestines
The Second Brain: Nourished — A thriving microbiome garden produces anti-inflammatory compounds that protect your brain
* * *

The Larger Truth

Here's what makes this research compelling:

It reframes migraine. Not as a brain malfunction. Not as a character flaw. But as a systemic condition — one where your entire body participates.[24]

You didn't cause your migraines by eating wrong. Genetics, hormones, environment — they all play roles.

But you have more influence than you thought.

Every time you eat, you're sending information to trillions of bacteria. They process it. They produce metabolites. They signal upward through your vagus nerve. They shape the inflammatory environment your brain operates in.

That's not magic.

That's biology.

And it's why your stomach has something important to say.

Key Takeaways

  • 90-95% of your body's serotonin is produced in your gut, not your brain
  • The vagus nerve carries signals between gut and brain — disruption triggers inflammation
  • Probiotic trials show 40-45% reduction in migraine frequency after 10 weeks
  • Higher dietary tryptophan intake correlates with 54-60% lower migraine odds
  • Patterns matter more than individual meals — Mi tracks the timeline for you
  • Consistency over 8-12 weeks matters more than perfection

When to See a Doctor

  • Experience migraines for the first time or notice a change in your attack pattern
  • Have migraines with aura and are considering hormonal contraception
  • Take medications and plan to add probiotics or supplements
  • Experience gastrointestinal symptoms alongside your migraines
  • Are considering significant dietary changes

This article is a starting point for conversation with your doctor, not a replacement for medical care.

References

  1. Gershon MD. 5-Hydroxytryptamine (serotonin) in the gastrointestinal tract. Curr Opin Endocrinol Diabetes Obes. 2013;20(1):14-21.
  2. Yano JM, et al. Indigenous bacteria from the gut microbiota regulate host serotonin biosynthesis. Cell. 2015;161(2):264-276.
  3. Arzani M, Jahromi SR, Ghorbani Z, et al. Gut-brain Axis and migraine headache: a comprehensive review. J Headache Pain. 2020;21(1):15. doi:10.1186/s10194-020-1078-9
  4. Cole JA, et al. Migraine, fibromyalgia, and depression among people with IBS: a prevalence study. BMC Gastroenterol. 2006;6:26.
  5. Cryan JF, Dinan TG. Mind-altering microorganisms: the impact of the gut microbiota on brain and behaviour. Nat Rev Neurosci. 2012;13(10):701-712.
  6. Bonaz B, Bazin T, Pellissier S. The Vagus Nerve at the Interface of the Microbiota-Gut-Brain Axis. Front Neurosci. 2018;12:49. doi:10.3389/fnins.2018.00049
  7. Dalile B, Van Oudenhove L, Vervliet B, Verbeke K. The role of short-chain fatty acids in microbiota–gut–brain communication. Nat Rev Gastroenterol Hepatol. 2019;16(8):461-478.
  8. Crawford J, Liu S, Tao F. Gut microbiota and migraine. Neurobiol Pain. 2022;11:100090.
  9. Martami F, et al. Serum level of inflammatory markers in chronic and episodic migraine: a case-control study. Neurol Sci. 2018;39(10):1741-1749.
  10. Noseda R, Borsook D, Burstein R. Neuropeptides and neurotransmitters that modulate thalamo-cortical pathways relevant to migraine headache. Headache. 2017;57(Suppl 2):97-111.
  11. Ferrari MD, et al. Serotonin metabolism in migraine. Neurology. 1989;39(9):1239-1242.
  12. Panconesi A. Serotonin and migraine: a reconsideration of the central theory. J Headache Pain. 2008;9(5):267-276.
  13. Chen Y, Xu J, Chen Y. Regulation of neurotransmitters by the gut microbiota and effects on cognition in neurological disorders. Nutrients. 2021;13(6):2099.
  14. Razeghi Jahromi S, Togha M, Ghorbani Z, et al. The association between dietary tryptophan intake and migraine. Neurol Sci. 2019;40(11):2349-2355. doi:10.1007/s10072-019-03984-5
  15. Martami F, Togha M, Seifishahpar M, et al. The effects of a multispecies probiotic supplement on inflammatory markers and episodic and chronic migraine characteristics: A randomized double-blind controlled trial. Cephalalgia. 2019;39(7):841-853. doi:10.1177/0333102418820102
  16. Ghorbani Z, et al. Effects of probiotic and vitamin D co-supplementation on clinical symptoms, mental health, and inflammation in adult patients with migraine headache: a randomized, triple-blinded, placebo-controlled trial. BMC Med. 2024;22(1):454.
  17. Zang X, Du Y, Jiang M, et al. A thorough investigation into the correlation between migraines and the gut microbiome: an in-depth analysis using Mendelian randomization studies. Front Neurol. 2024;15:1356974.
  18. Bai J, et al. Gut microbiome composition and migraine in children: findings from the American Gut Project. Cephalalgia. 2021;41(3):280-289.
  19. Qu K, Li MX, Gan L, et al. To analyze the relationship between gut microbiota, metabolites and migraine: a two-sample Mendelian randomization study. Front Microbiol. 2024;15:1325047.
  20. De Filippo C, et al. Impact of diet in shaping gut microbiota revealed by a comparative study in children from Europe and rural Africa. Proc Natl Acad Sci USA. 2010;107(33):14691-14696.
  21. Holscher HD. Dietary fiber and prebiotics and the gastrointestinal microbiota. Gut Microbes. 2017;8(2):172-184.
  22. Marco ML, et al. Health benefits of fermented foods: microbiota and beyond. Curr Opin Biotechnol. 2017;44:94-102.
  23. Kelly JR, et al. Breaking down the barriers: the gut microbiome, intestinal permeability and stress-related psychiatric disorders. Front Cell Neurosci. 2015;9:392.
  24. Sgro M, Ray J, Foster E, Bhayee S. Making migraine easier to stomach: the role of the gut–brain–immune axis in headache disorders. Eur J Neurol. 2023;30(11):3605-3621. doi:10.1111/ene.15990