Anxiety and the Gut: The Brain-Gut Axis Explained
The gut and the brain are in constant bidirectional communication through a system so complex that the gut has been called the “second brain.” Anxiety directly affects gut function — and gut dysfunction directly affects anxiety — through mechanisms that explain why so many people with anxiety have GI problems and vice versa.
Quick answer
The gut-brain axis is a bidirectional communication network involving the vagus nerve, gut microbiome, immune signaling, and enteric nervous system. Anxiety directly produces GI symptoms through autonomic nervous system effects on gut motility, secretion, and permeability. Gut dysfunction feeds back to the brain through the same pathways, amplifying anxiety. Treating anxiety effectively often resolves GI symptoms that do not respond to GI-directed treatments alone.

The Gut-Brain Axis
The gut-brain axis is a bidirectional communication network connecting the central nervous system (CNS) and the enteric nervous system (ENS) — the 100 million neurons embedded in the gut wall that regulate gut function largely independently of the brain. This network involves multiple pathways: the vagus nerve (which carries signals bidirectionally between brain and gut); the autonomic nervous system (which regulates gut motility, secretion, and blood flow through sympathetic and parasympathetic branches); the hypothalamic-pituitary-adrenal (HPA) axis (which modulates gut function through cortisol and other stress hormones); the gut microbiome (which produces neurotransmitters and signaling molecules that affect brain function); and the gut immune system (which communicates with the brain through inflammatory cytokines).
The scale of this communication network explains why gut function is so responsive to psychological state and why gut dysfunction so powerfully affects mood and cognition. The gut produces approximately 90% of the body’s serotonin — not for use in the brain (serotonin cannot cross the blood-brain barrier) but for local gut function regulation. The vagus nerve carries a massive information flow from gut to brain alongside the brain-to-gut signals that regulate gut function. The gut microbiome produces short-chain fatty acids, gamma-aminobutyric acid (GABA), and other neuroactive molecules that influence brain function through multiple pathways.
In healthy states, this bidirectional communication maintains both gut function and mood within normal ranges. In anxiety disorders, the dysregulation of the CNS-ENS relationship disrupts this balance in both directions: anxiety disrupts gut function through multiple mechanisms, and the gut dysfunction that results feeds information back to the brain through the same pathways, amplifying the anxiety state. This is not a coincidence or a psychosomatic phenomenon; it is a mechanistically understood bidirectional relationship with specific neurobiological pathways.
How Anxiety Disrupts Gut Function
Anxiety produces specific and measurable effects on gut function through autonomic nervous system and HPA axis mechanisms that explain the GI symptoms that are so prevalent in anxiety disorders.
Gut motility disruption. The autonomic nervous system regulates the rhythmic contractions that move food through the gut (peristalsis). Acute anxiety triggers sympathetic nervous system activation that slows gut motility in the upper GI tract (producing nausea, bloating, and delayed gastric emptying) while sometimes accelerating motility in the lower GI tract (producing urgency, cramping, and diarrhea). The “butterflies in the stomach” of acute anxiety and the diarrhea that acute anxiety produces are both expressions of this autonomic disruption of normal GI motility.
Visceral hypersensitivity. Chronic anxiety produces central sensitization that amplifies the perception of gut sensations. Normal GI motility — gas, contractions, and the ordinary sensations of digestion — is perceived as painful or alarming by people with anxiety-driven visceral hypersensitivity. This is the primary mechanism by which anxiety drives irritable bowel syndrome: the gut is not anatomically abnormal, but its normal function is perceived as painful due to centrally sensitized visceral sensation.
Gut barrier function. Chronic stress and anxiety increase intestinal permeability (“leaky gut”) through cortisol effects on tight junctions between gut epithelial cells. Increased permeability allows bacterial products (lipopolysaccharides) to enter the bloodstream, triggering inflammatory responses that include elevated pro-inflammatory cytokines — the same inflammatory markers elevated in anxiety and depression. This pathway links anxiety to systemic inflammation through the gut.
Gut microbiome disruption. Chronic stress alters the composition of the gut microbiome, reducing beneficial bacteria (Lactobacillus, Bifidobacterium) and increasing pro-inflammatory species. Microbiome disruption feeds back to the brain through reduced production of neuroactive short-chain fatty acids and GABA precursors, contributing to anxiety amplification.

Treatment Implications
The bidirectional brain-gut axis relationship has specific implications for how anxiety-related GI symptoms should be treated.
Treating anxiety treats GI symptoms. Many GI conditions that are attributed to gut-specific pathology — irritable bowel syndrome (IBS), functional dyspepsia, non-cardiac chest pain, functional nausea — have anxiety as a primary driver. When anxiety is adequately treated, these GI symptoms often resolve or significantly improve without specific GI-directed treatment. This is not because the GI symptoms were “not real” but because the mechanism driving them was the anxiety-gut axis rather than primary GI pathology.
Antidepressants for gut-brain conditions. SSRIs and SNRIs are among the most effective treatments for IBS because they address the CNS-ENS dysregulation that produces visceral hypersensitivity and motility disruption alongside their anxiety effects. Tricyclic antidepressants at low doses specifically modulate enteric nervous system signaling and are used for functional gut disorders even when the primary indication is GI rather than psychiatric. Low-dose desipramine and amitriptyline are commonly used for IBS-related visceral pain through their enteric effects.
Gut-directed therapy. Gut-directed hypnotherapy, CBT for IBS, and mindfulness-based stress reduction all have specific evidence for functional gut disorders through their effects on the brain-gut axis. They work through CNS mechanisms that modulate the anxiety-gut relationship rather than through gut-directed pharmacology.
ETX Psychiatry evaluates and treats anxiety disorders including presentations where GI symptoms are a primary complaint. For patients who have been treated for GI conditions without adequate improvement, psychiatric evaluation that assesses the anxiety component of the GI presentation may identify the primary driver and enable more effective treatment. Call (430) 288-5800 or schedule online. We accept Medicare, Aetna, BCBS, Cigna, Optum, UHC, UMR, and Ambetter. 100 Independence Pl, Suite 405, Tyler, TX 75703. Telehealth available.

When to Consider Anxiety in GI Complaints
Many patients with GI conditions have seen gastroenterologists, had negative endoscopies and imaging, and been told their gut is “structurally normal” without receiving treatment that addresses the anxiety mechanism driving their symptoms. The suggestion that the problem might have an anxiety component is sometimes received as “it’s all in your head” — which is precisely the wrong framing. The anxiety-gut axis is a real, mechanistically understood bidirectional biological relationship, not a psychological dismissal of real physical symptoms.
Clinical features that suggest anxiety as a primary driver of GI symptoms include: GI symptoms that worsen clearly with psychological stress or anxiety; GI symptoms that are better on weekends or vacations than on workdays; GI symptoms that began or worsened at a period of significant psychological stress; normal GI structural investigations without explanation for symptoms; and co-occurring anxiety, panic attacks, or other anxiety disorder features alongside GI complaints.
ETX Psychiatry serves Tyler, Longview, Lufkin, Nacogdoches, and East Texas via telehealth. For patients whose GI symptoms may have an anxiety component, a psychiatric evaluation is a reasonable and potentially high-yield clinical step. Call (430) 288-5800.
Key Takeaways
- The gut-brain axis is a bidirectional communication network involving the vagus nerve, autonomic nervous system, HPA axis, gut microbiome, and enteric nervous system
- Anxiety disrupts gut motility, produces visceral hypersensitivity, increases gut permeability, and alters the gut microbiome through autonomic and cortisol-mediated mechanisms
- IBS, functional dyspepsia, and other functional gut disorders are often anxiety-driven — treating anxiety resolves these GI symptoms in ways that gut-directed treatments alone cannot
- SSRIs, SNRIs, and low-dose tricyclic antidepressants treat gut-brain conditions by addressing CNS-ENS dysregulation alongside anxiety and depression
- Gut-directed hypnotherapy, CBT for IBS, and mindfulness-based stress reduction have specific evidence for functional gut disorders through brain-gut axis mechanisms
Frequently Asked Questions
Does anxiety cause IBS?
Anxiety is a primary driver of IBS through central sensitization (visceral hypersensitivity), autonomic disruption of gut motility, and gut microbiome changes. IBS is defined functionally, not structurally — the gut is not anatomically abnormal, but its function is disrupted by brain-gut axis dysregulation driven in large part by anxiety.
Can treating anxiety cure IBS?
For anxiety-driven IBS, effective anxiety treatment often produces significant or complete IBS symptom resolution. This is not because the IBS was imaginary but because the anxiety-gut axis was the primary mechanism driving it. Combined treatment (anxiety medication plus gut-directed therapy) produces the best outcomes.
Why do I feel sick to my stomach when I am anxious?
Acute anxiety activates the sympathetic nervous system, which disrupts upper GI motility, reduces blood flow to the gut, and alters the normal gut environment in ways that produce nausea, bloating, and general GI discomfort. This is a normal physiological response to acute anxiety through the brain-gut axis.
What is visceral hypersensitivity?
Visceral hypersensitivity is central sensitization of gut sensation that makes normal gut motility perceived as painful. It is the primary mechanism by which anxiety produces the pain and cramping of IBS without structural gut abnormality — the gut is functioning normally, but its normal sensations are perceived as painful due to centrally amplified visceral sensation.
Are SSRIs good for gut problems?
SSRIs and SNRIs have evidence for IBS and other functional gut disorders through their effects on the brain-gut axis. They improve visceral hypersensitivity, reduce the anxiety that drives gut dysfunction, and modulate enteric nervous system function. Low-dose tricyclic antidepressants have additional evidence specifically for visceral pain through enteric mechanisms.
How does the gut microbiome affect anxiety?
The gut microbiome produces neuroactive substances including GABA precursors and short-chain fatty acids that affect brain function through the vagus nerve and bloodstream. Anxiety-related microbiome disruption reduces beneficial bacteria that produce these compounds, feeding back to amplify anxiety. Probiotic supplementation and dietary changes that support microbiome health are emerging as adjunct approaches for anxiety.
Should I see a psychiatrist for GI symptoms?
If GI investigations have been normal and symptoms worsen with stress, consider psychiatric evaluation for anxiety as a potential primary driver. This is not an alternative to GI evaluation but an addition to it when anxiety may be the mechanism. ETX Psychiatry evaluates anxiety in the context of GI complaints.
Does diet help anxiety-related gut symptoms?
Diet that supports gut microbiome health (adequate fiber, fermented foods, reduced ultra-processed food) may reduce anxiety-gut axis dysregulation. The Mediterranean diet has evidence for both mood and gut health. But dietary changes alone are insufficient when anxiety disorder is the primary mechanism — they work best as adjuncts to psychiatric treatment.