Family Medicine
Stomach Pain: Causes, Location, Symptoms, and When to Seek Help
Reviewed by the JordanMedHub Medical Editorial Team · 9/13/2026
Quick Answer
Stomach pain can come from many causes — here's how location, timing, and other symptoms help narrow it down, and when it needs urgent care.
In this article
"Stomach pain" is a term patients often use broadly for any discomfort across the upper or generalized abdomen — but not every ache that gets called "stomach pain" actually comes from the stomach itself. Location, character, timing, triggers, and accompanying symptoms are the most useful clues to narrowing down the cause.
Quick Answer
Stomach pain can have many causes, from indigestion, gas, reflux, and gastroenteritis to gallstones, H. pylori infection, appendicitis, and other conditions. The location, severity, timing, and any accompanying symptoms help determine how urgent the problem may be — but they don't diagnose the cause on their own. Sudden, severe, or worsening pain, or pain with warning signs described below, needs prompt medical evaluation.
What Does "Stomach Pain" Mean?
"Stomach pain" is commonly used to describe discomfort anywhere in the upper abdomen or across the belly generally, not only pain that comes specifically from the stomach organ itself. The abdomen contains many structures — the stomach, intestines, gallbladder, pancreas, appendix, kidneys, and in women, the uterus and ovaries — and pain can originate from any of them. This guide uses "stomach pain" and "abdominal pain" interchangeably, the way most people search for and describe the symptom, while being clear that the underlying cause isn't necessarily the stomach. Location alone doesn't diagnose the cause; a doctor considers it together with your symptoms, history, and examination.
Common Causes of Stomach and Abdominal Pain
Abdominal pain has many possible causes. Some of the most common and clinically important include:
Digestive causes
- Indigestion (dyspepsia) and gas/bloating
- Gastroenteritis ("stomach flu")
- GERD (acid reflux)
- Gastritis or a stomach ulcer
- H. pylori infection
- Constipation
- IBS
Other abdominal causes
- Gallstones
- Pancreatitis
- Appendicitis
- Bowel obstruction
- Diverticular disease
Gynecologic and pelvic causes (in women)
- Menstrual cramps, which can follow a cyclical, period-related pattern
- Ovarian causes, such as an ovarian cyst
- Pregnancy-related causes, including early pregnancy discomfort
- Ectopic pregnancy — always an emergency consideration if pregnancy is possible alongside abdominal pain
Urinary causes
- Kidney stones
- Urinary tract infection
This isn't a complete list of every possible cause, and having one of these risk factors or symptoms doesn't mean a specific diagnosis — a doctor evaluates the full picture.
Stomach Pain by Location
Where pain is felt can narrow the possibilities, though location alone never confirms a diagnosis — it's one clue among several a doctor uses.
| Location | Possible causes | Important clues |
|---|---|---|
| Upper middle | Indigestion, GERD, gastritis, stomach ulcer | Burning pain, often related to meals |
| Upper right | Gallstones, liver-related causes | Often worse after fatty meals; may radiate to the back or right shoulder |
| Upper left | Gastritis, pancreatitis, splenic causes | Pain may radiate to the back |
| Lower right | Appendicitis | Pain that worsens over hours needs prompt evaluation |
| Lower left | Diverticular disease, constipation | May come with a change in bowel habits |
| Around the navel | Early appendicitis, gastroenteritis, general cramping | Early appendicitis classically starts here before moving to the lower right |
| Diffuse/generalized | Gastroenteritis, IBS, gas and bloating | Often cramping; widespread tenderness needs evaluation |
Pain that radiates straight through to the back is also a useful clue — it can point to pancreatitis or, less commonly, a problem with the aorta, and is worth mentioning specifically to a doctor. Importantly, upper-abdominal burning or pressure can sometimes be a heart attack rather than indigestion or GERD — especially in women, older adults, and people with diabetes, who more often have these atypical, "stomach-like" symptoms instead of classic chest pain.
Stomach Pain After Eating
Pain that appears or worsens after eating can point toward several causes:
- Indigestion — general discomfort, bloating, or nausea after meals
- Reflux (GERD) — burning pain, often worse lying down after eating
- Gastritis or a stomach ulcer — pain that can come in a burning, wave-like pattern related to meals; some ulcers hurt more with food, others feel better temporarily and then worse later
- Gallbladder-related pain — particularly after fatty or large meals, often in the upper right
- Food intolerance (such as to lactose or certain foods) — pain, bloating, or diarrhea tied to specific foods
The timing relative to meals is a useful clue, but it doesn't establish a diagnosis on its own — a doctor interprets it alongside your other symptoms and history.
Stomach Pain at Night
Abdominal pain that wakes you up at night or is worse at night can have the same range of causes as daytime pain, including reflux (which can worsen lying down), ulcers, or gallbladder-related pain. On its own, nighttime timing isn't a red flag.
Persistent or recurrent nighttime pain is worth having evaluated, particularly if it comes with:
- Unintentional weight loss
- Vomiting
- Bleeding (vomiting blood, or black or bloody stool)
- Anemia
- Severe or progressively worsening pain
Stomach Pain With Other Symptoms
What accompanies the pain often matters more than the pain itself:
| Pain plus | Why it matters |
|---|---|
| Nausea | Common with indigestion, gastritis, gastroenteritis, and many other causes; persistent nausea with pain deserves evaluation |
| Vomiting | Can be a normal part of gastroenteritis, but persistent vomiting with inability to keep fluids down needs medical attention |
| Diarrhea | Often points to gastroenteritis, food poisoning, or IBS; severe or bloody diarrhea needs evaluation |
| Constipation | Common with IBS or simple dietary causes, but new, severe constipation with pain can occasionally reflect a bowel obstruction |
| Bloating | Often simple gas or IBS, but persistent bloating with weight loss deserves evaluation |
| Fever | Suggests an infectious or inflammatory cause, such as appendicitis or gastroenteritis — worth prompt evaluation alongside pain |
| Blood in stool | Always worth having evaluated; can range from hemorrhoids to more serious causes |
| Black, tarry stool | Can indicate bleeding higher in the digestive tract, such as from an ulcer — seek prompt medical attention |
| Jaundice (yellowing of the skin or eyes) | Suggests a liver or gallbladder problem and needs medical evaluation |
| Unexplained weight loss | Deserves medical evaluation, especially alongside ongoing abdominal pain |
| Chest pressure or breathlessness | Seek emergency care — this combination with upper-abdominal discomfort can be a heart attack, not indigestion |
When Is Stomach Pain an Emergency?
Seek emergency care right away for:
- Sudden, severe abdominal pain
- Pain that is rapidly worsening
- A rigid or board-like, tender abdomen
- Fainting or severe weakness
- Vomiting blood, or vomit that looks like coffee grounds
- Black, tarry, or sticky stool, or significant blood in stool
- Persistent vomiting with inability to keep fluids down
- High fever with severe abdominal pain
- Abdominal pain following significant trauma or injury
- Severe pain with pregnancy or possible pregnancy
- Chest pressure, burning, or shortness of breath along with upper-abdominal discomfort
- Pain radiating to the jaw, neck, or arm
Seek urgent medical care
Upper-abdominal burning or pressure accompanied by chest tightness, shortness of breath, sweating, nausea, or pain spreading to the jaw, neck, or arm can be a heart attack, not indigestion — especially in women, older adults, and people with diabetes, who more often have these atypical "stomach-like" symptoms instead of classic chest pain. Seek emergency care right away.
When Should You See a Doctor?
Not every stomach pain needs an emergency room, but the right level of care depends on the situation:
- Emergency care — for any of the red-flag symptoms above; call emergency services or go to the nearest emergency department rather than waiting.
- Urgent medical assessment (same-day or next-day) — for pain with persistent vomiting, significant loss of appetite, early unintentional weight loss, difficulty swallowing, or pain that is clearly worsening but without the emergency signs above.
- Routine appointment — for pain that persists longer than about a week, keeps coming back, or is mild but concerning enough that you want it checked.
Persistent, recurrent, unexplained, or worsening pain is always worth having evaluated, even if it doesn't fit neatly into the emergency category.
How Doctors Evaluate Stomach Pain
A doctor typically starts with your medical history and a physical examination, asking about the location, character, timing, and triggers of the pain, along with any other symptoms. Depending on what this points toward, further testing may include:
- Blood tests, to check for infection, inflammation, or organ-specific problems
- Urine testing, particularly if a kidney or urinary cause is suspected
- Stool testing, if an infectious or bleeding cause is suspected
- Abdominal ultrasound, often used first for gallbladder- or pelvic-related causes
- CT scan, for a more detailed look when the cause isn't clear or a surgical problem (like appendicitis) is suspected
- Endoscopy, to directly examine the stomach or esophagus lining when ulcers, gastritis, or reflux-related damage are suspected
- H. pylori testing, if a stomach ulcer or gastritis is suspected
Not everyone with stomach pain needs all of these tests — a doctor selects testing based on your specific presentation, not a fixed checklist.
Treatment
There's no single "treatment for stomach pain" — management depends entirely on the underlying cause, which is why getting an accurate diagnosis matters. Some examples:
- Indigestion or reflux — managed based on the specific diagnosis, which may include lifestyle changes and, when appropriate, medication
- H. pylori infection — treated with a prescribed eradication regimen from a clinician, not over-the-counter remedies
- Gallstones — management depends on your symptoms and whether complications are present; not everyone with gallstones needs treatment
- Appendicitis — needs urgent medical and often surgical assessment; this isn't something to manage at home
- Gastroenteritis — generally supportive care, such as hydration, while it resolves on its own in most cases
This guide doesn't provide prescription dosing or tell you which treatment is right for your situation — that's determined by a clinician based on your diagnosis.
What Can You Do While Waiting for Medical Assessment?
If your pain doesn't require emergency care, some generally low-risk measures may help in the meantime:
- Stay hydrated if you're able to drink without vomiting
- Avoid alcohol
- Avoid foods that clearly trigger your symptoms
- Avoid unnecessary NSAID use (such as ibuprofen) if an ulcer or bleeding is a possible concern, since NSAIDs can worsen both
- Don't delay emergency care because you're trying a home remedy first — if you have any of the warning signs above, seek care immediately rather than waiting to see if they improve
Disclaimer
This guide is for general education only and does not diagnose or recommend treatment for any individual. Persistent, severe, or concerning abdominal pain should be evaluated by a doctor.
Sources
Frequently Asked Questions
What does lower right abdominal pain usually mean?
Pain specifically in the lower right abdomen that worsens over hours is a hallmark of appendicitis and needs prompt medical evaluation.
What are the most common causes of stomach pain?
Common causes include indigestion, gas and bloating, gastroenteritis, GERD (reflux), gastritis or a stomach ulcer, constipation, and IBS. Less common but clinically important causes include gallstones, pancreatitis, and appendicitis.
What causes pain in the upper stomach?
Upper abdominal pain is commonly linked to indigestion, GERD, gastritis, or a stomach ulcer. Pain in the upper right can suggest gallstones, especially after fatty meals, while upper-abdominal burning or pressure can occasionally be a heart attack rather than indigestion.
What causes lower abdominal pain?
Lower abdominal pain is commonly associated with IBS, gastroenteritis, constipation, or diverticular disease. Pain specifically in the lower right that worsens over hours is a hallmark of appendicitis and needs prompt medical evaluation.
Why does my stomach hurt after eating?
Pain after eating can point to indigestion, reflux, gastritis or an ulcer, gallbladder-related pain (especially after fatty meals), or a food intolerance. The specific pattern and timing can offer clues, but a doctor is needed to determine the actual cause.
Can gas cause severe stomach pain?
Gas and bloating can cause significant cramping discomfort, but pain severe enough to interfere with daily activity, or that comes with other warning signs, deserves medical evaluation rather than being assumed to be "just gas."
When is stomach pain an emergency?
Seek emergency care for sudden severe pain, a rigid or board-like abdomen, vomiting blood, black or tarry stool, fainting, high fever with severe pain, pain after significant trauma, or upper-abdominal discomfort with chest pressure or shortness of breath.
When should I see a doctor for stomach pain?
See a doctor urgently for persistent vomiting, significant loss of appetite, early unintentional weight loss, or difficulty swallowing. A routine appointment is reasonable for pain lasting longer than about a week or that keeps coming back.
Can H. pylori cause stomach pain?
Yes — H. pylori infection can cause gastritis or a stomach ulcer, both of which can cause upper abdominal pain. It's diagnosed with specific testing and treated with a prescribed eradication regimen, not over-the-counter remedies.
Can stress or IBS cause abdominal pain?
Yes — IBS commonly causes cramping abdominal pain, often alongside a change in bowel habits, and stress can worsen IBS symptoms for many people. That said, new or changing abdominal pain still deserves evaluation rather than being automatically attributed to stress.
What causes stomach pain with nausea?
Pain with nausea is common with indigestion, gastritis, gastroenteritis, and many other digestive causes. Persistent nausea alongside pain is worth having evaluated, especially if it doesn't improve.
What causes stomach pain with diarrhea?
Pain with diarrhea often points to gastroenteritis, food poisoning, or IBS. Severe or bloody diarrhea, or diarrhea lasting more than a few days, needs medical evaluation.
What causes stomach pain at night?
Nighttime pain can have the same causes as daytime pain, including reflux (which can worsen lying down), ulcers, or gallbladder-related pain. Persistent nighttime pain with weight loss, vomiting, or bleeding deserves evaluation.
Written by JordanMedHub Medical Editorial Team
Updated
Need to speak with a specialist?
Find a doctor near you to discuss your symptoms and treatment options.
Find a doctor