If your stomach hurts, your first thought might be that an internal organ is acting up. And yes, that can be true, but the problem isn’t always in your stomach or intestines. Your brain might be sending the signals, and what you’re feeling could actually be the physical effects of stress, anxiety, or panic. Just like chest pain can have physical or mental causes, stomach pain can come from your body or your mind.
The Stomach-Brain Connection
Here’s a cool fact: your brain and stomach communicate through the vagus nerve, the longest cranial nerve in your body that starts in the brain (not the spinal cord). Think of it as a two-way channel constantly "chatting" between your brain and digestive system.
This connection is explored in depth by Emeran A. Mayer, M.D., a professor at UCLA’s David Geffen School of Medicine, in his book The Mind-Gut Connection.
Plus, most of your serotonin—the neurotransmitter that lifts your mood—is made in your gut, not your brain. That’s why what’s happening in your mind directly affects your stomach, and vice versa: your gut’s condition can influence your mood.
Simply put: your stomach and brain are always "talking." If you’re stressed, anxious, or panicking, your stomach can react. This might show up as mild bloating, cramps, or even sudden diarrhea.
When Stomach Pain Is Likely Physical
You Recently Ate Something Risky
Classic food poisoning symptoms include stomach cramps, nausea, diarrhea, and sometimes fever. A new restaurant dish or poorly prepared food at home can cause these. Symptoms often appear within hours but can last days or, rarely, weeks.
You Burp or Bloat a Lot
Gas often happens when your body struggles to digest certain carbs.
For example, about 65% of the world’s population is lactose intolerant, which can cause bloating, stomach pain, and diarrhea.
Gas can also come from swallowing too much air while eating or drinking carbonated drinks. If bloating, pain, and other symptoms are chronic, it might signal IBS or inflammatory bowel disease, which calls for further tests.
Your Belly Is Swollen, You Can’t Poop, or You Feel Nauseous
This could be a sign of bowel obstruction, where food or fluids can’t move through your intestines due to a blockage. Symptoms include cramping, irregular stomach pain, loss of appetite, constipation, and vomiting. Seek medical help immediately.

You Can Pinpoint Exactly Where It Hurts
Certain stomach issues cause pain in specific spots. For example, appendicitis pain starts around the belly button and moves to the lower right abdomen. Gallstones usually cause sharp pain in the upper right stomach area.
You Didn’t Eat Enough Before Taking Medication
NSAIDs (like ibuprofen or naproxen) can irritate your stomach, especially if taken on an empty stomach. The pain often localizes in the upper stomach and feels like burning.
Severe Pain Comes with Fever, Nausea, or Blood in Stool
This could indicate a serious infection or inflammation. Don’t ignore it, especially if other physical symptoms appear alongside the pain.
When Stomach Pain May Be Psychological

Discomfort Worsens When You’re Anxious
If your stomach tightens whenever you’re in a stressful situation (like a presentation or travel), your emotional state might be behind it.
Because of the stomach-brain link, stress, anxiety, and fear can directly cause stomach cramps.
Occurs Alongside Panic Attacks
Panic can cause physical symptoms too: stomach pain, diarrhea, heart palpitations, sweating, and trembling. These can be managed with therapy (like cognitive behavioral therapy) and medication if needed.
When Physical and Mental Causes Combine
With IBS, Crohn’s disease, or bowel inflammation, stress and anxiety can worsen symptoms. This creates a frustrating cycle: stress → inflammation → stomach issues → more stress. If you find yourself here, working with both a doctor and a mental health professional can help your stomach and brain work better together.











