Anxiety

The Connection Between Gut Health and Anxiety

Isaiah Cruz
Isaiah Cruz, DNP, PMHNP-BC, FNP-BC
Published Oct 29, 20266 min read
✓  Quick answer
Your gut has its own nervous system with over 500 million neurons and produces approximately 95% of your body's serotonin. It communicates directly with your brain via the vagus nerve. The relationship is bidirectional: anxiety disrupts gut function (nausea, cramping, diarrhea), and gut dysfunction can drive anxiety and depression. People with IBS are significantly more likely to have an anxiety disorder. SSRIs help both because serotonin is the shared currency. Treatment that addresses only one system while ignoring the other produces incomplete results.

Key takeaways

You have been to the gastroenterologist. You have had the endoscopy, the blood work, the imaging. Everything comes back normal — or mostly normal — and yet your stomach is a wreck. Nausea that shows up every morning before work. Cramping that intensifies before social events. Diarrhea that correlates suspiciously with stressful weeks. Your GI doctor may have mentioned IBS or "functional GI symptoms." What they may not have said clearly enough is this: your gut and your brain are having the same conversation, and what you are experiencing may be anxiety expressing itself through your digestive system.

Your gut has a brain — and it talks to the one in your head

In my experience as a clinician, one of the most useful things I explain to patients is that the gut is not just a digestive organ. It is a neurological one. The enteric nervous system — sometimes called the "second brain" — contains over 500 million neurons lining the gastrointestinal tract. It communicates directly with the brain through the vagus nerve, a superhighway that carries information in both directions.

This means two critical things for anyone managing anxiety: your brain can make your gut sick, and your gut can make your brain anxious. The communication is not metaphorical. It is a measurable, documented, bidirectional signaling system that influences mood, stress response, and physical symptoms simultaneously.

How anxiety wrecks your gut

In my experience as a clinician, when anxiety activates the fight-or-flight response, the effects on the digestive system are immediate and specific:

  • Gut motility changes — stress hormones alter the speed at which food moves through your system. For some people this means diarrhea and urgency. For others, it means slowed digestion, bloating, and constipation. Both are the gut responding to a nervous system in overdrive
  • Acid production increases — cortisol stimulates gastric acid secretion. The burning, the reflux, the nausea before a presentation — that is your stress hormones increasing the acid in your stomach
  • Inflammation escalates — chronic anxiety produces sustained cortisol elevation, which promotes gut inflammation. Over time, this can alter the gut lining and exacerbate conditions like IBS
  • The microbiome shifts — chronic stress changes the composition of gut bacteria. Research shows that prolonged anxiety reduces microbial diversity, and reduced diversity is associated with worse mood and anxiety outcomes. The stress changes the bacteria, and the changed bacteria send signals back to the brain that worsen the stress
  • Appetite disrupts — some patients lose appetite entirely during anxious periods (the gut shuts down non-essential functions during fight-or-flight). Others experience stress-driven cravings for high-calorie comfort foods (the brain seeking a rapid serotonin boost through carbohydrates)

This is why "nervous stomach" is not a folk term — it is a clinical description of the gut-brain axis under anxiety-driven stress.

How your gut drives anxiety the other direction

In my experience as a clinician, the reverse pathway is equally important and far less understood by patients. Your gut does not just receive signals from an anxious brain — it sends them:

  • Serotonin production — approximately 95% of your body's serotonin is produced in the gut, not the brain. If gut function is impaired, serotonin production can be affected — and serotonin is the neurotransmitter most directly linked to mood and anxiety regulation
  • Inflammatory signals — gut inflammation sends pro-inflammatory cytokines to the brain via the vagus nerve and the bloodstream. These inflammatory signals are increasingly recognized as contributors to both depression and anxiety. Systemic inflammation does not just affect joints and tissues — it affects mood
  • Microbiome-brain signaling — gut bacteria produce neurotransmitters and metabolites that directly influence brain function. Research in this area is still evolving, but the evidence is consistent: the composition of your gut bacteria affects your mental health in measurable ways

This is why people with IBS are significantly more likely to have an anxiety disorder — and why the gut dysfunction often precedes the anxiety. The gut is not just responding to anxiety. In many cases, it is generating it.

Why SSRIs work on both systems

In my experience as a clinician, this is one of the most clinically useful connections I explain to patients: SSRIs (selective serotonin reuptake inhibitors) are prescribed for both anxiety disorders and IBS because serotonin is the shared currency of both systems. By increasing serotonin availability, SSRIs modulate the same neurotransmitter pathway in both the brain and the gut.

This is also why GI side effects — nausea, diarrhea, appetite changes — are common when starting an SSRI. The gut's serotonin system is adjusting alongside the brain's. In most patients, these effects resolve within the first one to two weeks as both systems reach a new equilibrium.

What I actually recommend

In my experience as a clinician, I always ask about GI symptoms when evaluating anxiety — because treating one without acknowledging the other produces incomplete results:

  • Get evaluated for both — see a GI provider for the gut symptoms and a psychiatric provider for the anxiety. Neither alone has the full picture
  • Medication that addresses both systems — SSRIs modulate serotonin in brain and gut simultaneously. For patients with both anxiety and IBS, this dual action can improve both conditions with a single medication
  • Stress reduction as gut treatment — lowering the anxiety signal directly reduces the stress hormones disrupting gut function. This is not a metaphor — it is a measurable intervention with documented GI outcomes
  • Dietary awareness without dietary obsession — some dietary changes can support gut health, but turning food into another source of anxiety defeats the purpose. I refer to registered dietitians who understand the intersection of GI health and mental health
  • Stop treating the symptoms as separate problems — if you are seeing a GI doctor for your stomach and a psychiatrist for your anxiety and neither is talking to the other, both treatments are operating with incomplete information

Your stomach problems might not be a stomach problem

If your GI workup keeps coming back normal but your gut is still a disaster, and if the symptoms track with stress, social situations, or anxious periods — your gut may be telling you something about your brain. That connection is not imaginary. It is one of the most well-documented pathways in modern neuroscience. And it is treatable from both ends.

Frequently asked questions

Can anxiety cause stomach problems?

Yes. The gut has its own nervous system with 500+ million neurons. Fight-or-flight directly affects gut motility, acid production, and inflammation. Nausea, cramping, diarrhea during stress are real physiological responses, not "in your head."

What is the gut-brain axis?

A bidirectional communication highway between your digestive system and brain, primarily via the vagus nerve. The gut produces ~95% of your serotonin and contains trillions of bacteria that influence neurotransmitters, inflammation, and stress hormones.

Can gut problems cause anxiety?

Yes — the relationship is bidirectional. Gut inflammation and microbiome imbalance send distress signals to the brain. People with IBS are significantly more likely to have an anxiety disorder, and gut dysfunction often precedes the anxiety.

Why do SSRIs help both anxiety and stomach problems?

Serotonin is the shared currency — 95% is produced in the gut. SSRIs modulate the same pathway in both brain and gut simultaneously, which is why they're used for both anxiety disorders and IBS.

What should I do if I have both anxiety and chronic stomach problems?

Get evaluated for both by appropriate providers. Treatment that addresses only one system produces incomplete results. SSRIs, stress reduction, and coordination between GI and psychiatric care.

Isaiah Cruz

About Isaiah Cruz

DNP, PMHNP-BC, FNP-BC · Psychiatric Nurse Practitioner

Isaiah is the owner of Recharge Psychiatry, a telehealth psychiatric practice serving adults and adolescents across Ohio, Indiana, and 13 other states. He is a Doctor of Nursing Practice, dual board-certified in Family Practice and Psychiatric Mental Health.

View Isaiah's profile →

Talk to a provider

All visits are by secure video, often available within days.

Book an Appointment
Phone & Fax (419) 318-7515  ·  info@rechargepsychiatry.com
12575 Archbold-Whitehouse Rd, Whitehouse, OH 43571

Related articles

This article is for education only and does not replace a full evaluation or personalized medical advice. If you are in crisis, call or text 988, or call 911 in an emergency.