Can Anxiety or Dehydration Cause Stomach Pain? What the Evidence Says
MomentaryBack to Blog
Symptoms

Can Anxiety or Dehydration Cause Stomach Pain? What the Evidence Says

Jayant PanwarJayant Panwar
March 26, 202613 min read

Quick Summary

TopicKey Facts
Primary causes coveredAnxiety, dehydration
Common symptomsCramping, nausea, bloating, churning sensation, sharp or dull ache
Who it affectsPeople of all ages; functional GI disorders affect between 10% and 40% of people globally, and anxiety is among the most common co-occurring conditions
When to see a doctorSevere or persistent pain, blood in stool, unintentional weight loss, pain with fever
Treatments coveredBreathing techniques, hydration, dietary changes, therapy, medication
Related conditionsIBS, functional dyspepsia, GERD

Stomach pain is one of the most common physical complaints in primary care, and two of its most overlooked triggers are anxiety and dehydration. Neither requires an injury, an infection, or a structural problem in the gut. Both can produce real, measurable discomfort through the body's own physiological systems. Stomach pain is just one of several weird physical symptoms of anxiety that people often do not immediately connect to stress.

This article breaks down what anxiety stomach pain feels like, how dehydration contributes to abdominal pain, where the two overlap, and what the evidence says about managing both. If symptoms are persistent or severe, a doctor can evaluate the cause and advise on individual cases.


What Does Anxiety Stomach Pain Feel Like?

Anxiety stomach pain does not have a single, predictable sensation. It can feel like a tight knot in the center of the abdomen, a churning or flipping feeling in the gut, cramping that comes and goes, a dull hollow ache, or (less commonly) a sharp, stabbing sensation during a panic episode.

One characteristic that distinguishes anxiety-related abdominal pain from most structural GI conditions is that the location and intensity tend to shift. According to the American College of Gastroenterology, functional gastrointestinal symptoms (the category that includes anxiety-driven gut pain) are defined in part by the absence of identifiable structural damage, making symptom variability a genuine diagnostic feature rather than a sign the pain is "imagined."

Other commonly reported sensations include:

  • Bloating and a sense of fullness even without eating
  • Nausea that does not progress to vomiting
  • Urgency to have a bowel movement
  • Loose stools or constipation during periods of heightened stress
  • A general feeling of unease "in the pit of the stomach" that correlates with anxious thoughts

The location of pain can also vary from episode to episode. One flare may center in the upper abdomen; another may sit lower or radiate across the entire midsection. Visceral hypersensitivity, defined as a heightened sensitivity of gut nerve endings to normal digestive signals, is significantly more common in people with anxiety disorders, according to a review published in Clinical Gastroenterology and Hepatology. This partly explains why the same meal or digestive process can feel painful on some days and painless on others.

gut-brain axis and vagus nerve
gut-brain axis and vagus nerve

How Anxiety Causes Stomach Pain: The Gut-Brain Axis

The gut and the brain are in constant two-way communication through a network called the gut-brain axis, which includes the vagus nerve, the enteric nervous system (a network of approximately 500 million neurons lining the GI tract), hormones, and immune signals.

When anxiety activates the body's fight-or-flight response, the brain releases stress hormones including cortisol and adrenaline. These hormones redirect blood flow away from the digestive system toward the muscles and lungs. Digestion slows or becomes erratic, gut motility (the rhythmic muscle contractions that move food through the intestines) is disrupted, and the lining of the gut becomes more sensitive to pain signals.

According to the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), the brain and gut communicate so closely that emotional distress can trigger physical GI symptoms in people with no underlying digestive disease.

This connection runs in both directions. Disruption in the gut microbiome, the trillions of bacteria that support digestion and immune function, can send distress signals back to the brain. According to the National Institute of Mental Health (NIMH), research into the gut-brain relationship and its role in anxiety is an active area of investigation, and clinical understanding continues to develop.

Does Anxiety Type Change How the Stomach Feels?

Different anxiety conditions can produce distinct gut experiences.

Generalized anxiety disorder (GAD) tends to produce chronic, low-grade gut tension: a persistent undercurrent of bloating, mild cramping, and loose bowels that fluctuates with daily stress levels rather than spiking dramatically.

Panic disorder can cause sudden, acute abdominal pain during a panic attack. The muscle spasms triggered by a rapid surge of adrenaline may produce sensations that feel unfamiliar and uncomfortable.

Social anxiety commonly presents as pre-event nausea, urgency, or diarrhea, a pattern that often correlates with an upcoming high-stakes situation.

A doctor can help clarify the connection between anxiety type and GI symptoms and advise on appropriate management for individual cases.


Can Stress Cause Abdominal Pain? What the Research Shows

Stress and anxiety are closely related but not identical. Stress is typically a response to an identifiable external pressure; anxiety persists even after the stressor is removed. Both, however, can cause abdominal pain through the same gut-brain mechanisms.

According to the NIDDK, acute psychological stress can affect gut motility, alter the composition of gut bacteria, and increase intestinal sensitivity, all of which can contribute to abdominal discomfort.

Stress and anxiety frequently co-occur with irritable bowel syndrome (IBS). According to the American College of Gastroenterology's IBS guidelines, psychological factors including stress are recognized contributors to symptom flares in people with functional bowel disorders.

Stress-related abdominal pain can include:

  • Diffuse cramping across the lower abdomen
  • Upper abdominal discomfort that mimics indigestion
  • Alternating constipation and diarrhea
  • Pain that eases during distraction or relaxation

Can Dehydration Cause Stomach Pain?

Dehydration occurs when the body loses more fluid than it takes in. Even mild dehydration, defined as a fluid deficit of approximately 1 to 2% of body weight, can interfere with normal digestive function.

Water is required at every stage of digestion: it helps break down food, supports the production of digestive enzymes and stomach acid, and keeps the intestinal lining lubricated so that waste moves through smoothly. When fluid intake is insufficient, several GI symptoms can follow.

Constipation is the most well-documented GI consequence of dehydration. The colon absorbs water from stool as it passes through; when the body is low on fluids, it draws more water from the colon, producing hard, dry stools that are difficult to pass and can cause cramping and bloating.

Stomach cramps and abdominal pain may occur because reduced fluid volume affects gut motility and increases the concentration of digestive acids in the stomach. According to the Mayo Clinic, dehydration can cause nausea, dizziness, and abdominal cramping, particularly in hot conditions, after exercise, or when fluid loss from illness is significant.

Acid concentration can increase when overall stomach fluid volume is low, irritating the gastric lining and producing a burning or aching sensation in the upper abdomen.

normal vs. dehydrated stool transit
normal vs. dehydrated stool transit

Dehydration Stomach Pain: What It Typically Feels Like

Dehydration-related stomach pain tends to present differently from anxiety-related pain:

  • It is more commonly located in the lower abdomen or around the navel
  • It often accompanies constipation or decreased urination
  • It may be accompanied by headache, dry mouth, and fatigue
  • It generally improves with adequate fluid intake within a few hours

When dehydration is suspected, particularly after vomiting, diarrhea, or significant heat exposure, consulting a doctor can help determine the appropriate rehydration approach.


Can Dehydration and Anxiety Occur Together?

Both conditions can contribute to abdominal pain simultaneously, and each can worsen the other.

Anxiety increases breathing rate and perspiration, both of which accelerate fluid loss. People with anxiety disorders may also under-eat and under-drink during high-stress periods, compounding dehydration. Research from the University of Connecticut's Human Performance Laboratory, published in the Journal of Nutrition, found that even mild dehydration (approximately 1.5% fluid loss) impaired mood and increased feelings of tension and anxiety in healthy young women.

When both conditions are present, the gut is under pressure from two directions at once: chemical disruption from dehydration and neurological disruption from anxiety. The result can be more persistent abdominal discomfort than either would produce alone.


How to Stop Stomach Pain from Anxiety and Dehydration: A Tiered Approach

Managing abdominal pain from anxiety or dehydration depends on the underlying cause. The following framework organizes interventions by how quickly they act.

Right Now: Immediate Relief During a Flare

For anxiety-related pain:

  • Diaphragmatic breathing: Inhale slowly through the nose for 4 counts, hold for 4, exhale through the mouth for 6 counts. This activates the parasympathetic nervous system and slows gut hyperstimulation. The NIH National Center for Complementary and Integrative Health notes that relaxation techniques can reduce the severity of functional GI symptoms.
  • Heat application: A warm compress or heating pad on the abdomen can ease muscle spasms in the gut wall.
  • Position change: Lying on the left side with knees drawn up reduces pressure on the intestines and may ease cramping.

For dehydration-related pain:

  • Drink water slowly rather than in large volumes, which can cause further cramping.
  • Oral rehydration solutions (containing both electrolytes and glucose) are more effective than water alone for rapid rehydration, according to the World Health Organization.
  • Avoid caffeine and alcohol, which act as diuretics and can worsen dehydration.

Today and This Week: Dietary and Lifestyle Adjustments

Hydration: Most adults require roughly 8 to 10 cups (2 to 2.5 liters) of total daily fluid from food and beverages, though individual needs vary with activity level, climate, and health status. The National Academies of Sciences, Engineering, and Medicine provides general fluid intake reference values by age and sex.

Dietary adjustments for anxiety-related gut symptoms:

  • Limit high-sugar, high-fat, and ultra-processed foods, which can aggravate gut hypersensitivity.
  • Caffeine stimulates gut motility and can worsen anxiety-related cramping; reducing intake may provide relief.
  • Ginger root has evidence supporting its use for nausea and mild gut cramping. A systematic review published in Nutrients found ginger supplementation significantly reduced nausea severity across multiple clinical settings.
  • Enteric-coated peppermint oil capsules have demonstrated antispasmodic effects on the GI tract. The American College of Gastroenterology's IBS monograph lists peppermint oil as having evidence for reducing global IBS symptoms.

Relief ladder for anxiety and dehydration stomach pain
Relief ladder for anxiety and dehydration stomach pain

Long-Term: Treating the Root Cause

For recurrent or chronic abdominal pain driven by anxiety, addressing the anxiety directly produces the most sustained GI relief.

Cognitive behavioral therapy (CBT) is the most extensively studied psychological treatment for both anxiety disorders and functional GI symptoms. A systematic review and meta-analysis published in Clinical Psychology Review found that CBT produced significant reductions in GI symptom severity and psychological distress in patients with IBS compared to control conditions.

Gut-directed hypnotherapy has demonstrated efficacy specifically for IBS with anxiety overlap, according to research reviewed by the American Gastroenterological Association.

Medication: A doctor may consider selective serotonin reuptake inhibitors (SSRIs) or serotonin-norepinephrine reuptake inhibitors (SNRIs) for anxiety-driven functional GI symptoms, particularly when other interventions provide insufficient relief. Low-dose tricyclic antidepressants (TCAs) have a separate evidence base for reducing visceral hypersensitivity. A doctor can advise on which options are appropriate for individual cases.

Using an AI healthcare navigator can help clarify symptoms, understand what questions to ask a clinician, and find the right type of specialist before booking an appointment.


Anxiety vs. IBS vs. Dehydration: How to Tell Them Apart

These three conditions can produce similar symptoms. The table below outlines key distinguishing features.

FeatureAnxiety stomach painIBSDehydration stomach pain
Pain locationVariable, often shiftsLower abdomen, may radiateLower abdomen or periumbilical
TriggerStress, anxiety episodesFood, hormones, stressInsufficient fluid intake, illness
Bowel changesPossible urgency or loose stoolsAlternating constipation and diarrheaConstipation most common
Relieved byRelaxation, distractionBowel movementFluid intake
Associated symptomsRacing heart, muscle tensionBloating, mucus in stoolDry mouth, headache, dark urine
DurationMinutes to hours (acute); ongoing with chronic anxietyChronic, with flaresResolves within hours of rehydration
Improves with relaxationYesSometimesNo

Both anxiety and IBS can be present simultaneously. IBS affects an estimated 10 to 15% of the US population, according to the American College of Gastroenterology, and anxiety disorders are significantly overrepresented in this group.


Red Flag Symptoms: When to See a Doctor

Most anxiety- and dehydration-related stomach pain improves with appropriate management. Certain symptoms warrant prompt medical evaluation.

Seek medical attention if abdominal pain is accompanied by:

  • Blood in the stool or black, tarry stools
  • Unintentional weight loss
  • Persistent vomiting or inability to keep fluids down
  • Fever above 101°F (38.3°C)
  • Severe pain that does not ease within a few hours
  • Pain that wakes from sleep
  • Pain localized sharply to the lower right abdomen

These features can indicate conditions unrelated to anxiety or dehydration that require separate evaluation. A primary care physician or gastroenterologist can assess symptoms and recommend appropriate testing.


Frequently Asked Questions

How do you get rid of anxiety in your stomach?

Managing anxiety stomach pain involves addressing both the immediate discomfort and the underlying anxiety. For fast relief, slow diaphragmatic breathing (4 counts in, 6 counts out) activates the parasympathetic nervous system and can reduce gut cramping within minutes. Heat applied to the abdomen eases muscle tension. For longer-term relief, cognitive behavioral therapy (CBT) is the most evidence-backed approach for reducing functional GI symptoms tied to anxiety. A doctor can advise on additional options including medication or gut-directed therapies for individual cases.

What are the symptoms of anxiety in the stomach?

Anxiety can produce stomach cramping and spasms, nausea, bloating, a churning or flipping sensation, urgency to use the bathroom, loose stools or constipation, heartburn or acid reflux, and a persistent sense of discomfort in the upper or lower abdomen. The location and character of the discomfort often shift over time, which is one feature that distinguishes anxiety-related GI pain from structurally caused abdominal conditions.

Can gas cause anxiety attacks?

Gas itself does not directly cause anxiety attacks. In people with anxiety disorders, the enteric nervous system is often hypersensitive to normal physiological processes including gas and bloating, so the discomfort may register as more intense. In some individuals, this physical discomfort can trigger or intensify a panic response. Anxiety can also drive gut hyperactivity that increases gas production, creating a reinforcing cycle.

What medicine is good for a nervous stomach?

There is no single medication for anxiety-related stomach pain, and appropriate treatment depends on the underlying diagnosis. Over-the-counter options include antispasmodics for cramping, simethicone for gas and bloating, and enteric-coated peppermint oil capsules for IBS-related gut spasms, which have a modest evidence base. For persistent symptoms linked to a diagnosed anxiety disorder, a doctor may consider SSRIs, SNRIs, or low-dose tricyclic antidepressants. A doctor can advise on which options are appropriate and aligned with individual health history.

Jayant Panwar

Written by

Jayant Panwar

Share this article