What causes upper stomach pain

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: Upper stomach pain, also known as epigastric pain, is most commonly caused by digestive issues like indigestion, heartburn, or gas. Other frequent culprits include gastritis (stomach inflammation), peptic ulcers, and gastroesophageal reflux disease (GERD).

Key Facts

What Causes Upper Stomach Pain?

Upper stomach pain, medically referred to as epigastric pain, is a very common ailment that many people experience at some point in their lives. It's the discomfort felt in the upper central part of the abdomen, often above the navel. The causes can range from minor, temporary issues to more serious underlying medical conditions. Understanding these potential causes is crucial for seeking appropriate treatment and managing the pain effectively.

Common Causes of Epigastric Pain

1. Indigestion (Dyspepsia)

Indigestion is perhaps the most frequent cause of upper stomach pain. It's characterized by a feeling of fullness, bloating, nausea, or burning in the upper abdomen, often occurring during or shortly after eating. It's not a disease in itself but a symptom that can arise from various factors, including eating too quickly, consuming fatty or spicy foods, drinking too much alcohol or caffeine, stress, and certain medications.

2. Heartburn and Gastroesophageal Reflux Disease (GERD)

Heartburn is a burning sensation in the chest, often felt behind the breastbone, which can radiate to the upper abdomen. It occurs when stomach acid flows back up into the esophagus. While occasional heartburn is common, frequent or severe heartburn can be a sign of GERD. In GERD, the lower esophageal sphincter (LES), a muscle that normally prevents reflux, doesn't function properly. Chronic GERD can lead to complications like esophagitis (inflammation of the esophagus) and Barrett's esophagus.

3. Gastritis

Gastritis is the inflammation of the stomach lining. It can develop suddenly (acute gastritis) or gradually over time (chronic gastritis). Common causes include infection with the bacterium Helicobacter pylori (H. pylori), regular use of nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen or aspirin, excessive alcohol consumption, and stress from severe illness or injury. Symptoms can include gnawing or burning pain, nausea, vomiting, and a feeling of fullness in the upper abdomen.

4. Peptic Ulcers

Peptic ulcers are open sores that develop on the inside lining of your stomach and the upper portion of your small intestine (duodenum). The most common causes are H. pylori infection and long-term use of NSAIDs. The pain from an ulcer is often described as a burning, gnawing, or′-stomach′-ache that may occur between meals or at night. It can sometimes be relieved by eating or taking antacids, but it often returns.

5. Gas and Bloating

Excessive gas in the digestive tract can cause abdominal discomfort, bloating, and sharp pains. This can be due to swallowing air (e.g., chewing gum, drinking carbonated beverages, eating quickly), consuming gas-producing foods (beans, broccoli, onions), or certain digestive conditions like irritable bowel syndrome (IBS) or lactose intolerance.

6. Gallstones

Gallstones are hardened deposits of digestive fluid that can form in your gallbladder, a small organ located beneath the liver. When gallstones block the ducts that drain the gallbladder, they can cause sudden and rapidly intensifying pain in the upper right portion of your abdomen, and sometimes the upper central abdomen. This pain, known as a gallstone attack or biliary colic, can last for minutes to hours.

7. Pancreatitis

Pancreatitis is inflammation of the pancreas, a gland located behind the stomach that produces digestive enzymes and hormones like insulin. It can be acute (sudden onset) or chronic (long-lasting). Causes include gallstones blocking the pancreatic duct, heavy alcohol use, abdominal injury, certain medications, and infections. The pain is often severe, located in the upper abdomen, and may radiate to the back. It's often accompanied by nausea and vomiting.

8. Irritable Bowel Syndrome (IBS)

IBS is a common disorder that affects the large intestine. Symptoms vary but often include cramping, abdominal pain, bloating, gas, diarrhea, and constipation. While the pain is typically felt in the lower abdomen, some individuals with IBS may experience discomfort in the upper stomach area.

9. Food Intolerances and Allergies

Conditions like lactose intolerance (difficulty digesting milk sugar) or celiac disease (an autoimmune reaction to gluten) can cause upper stomach pain, along with bloating, gas, diarrhea, and other digestive symptoms after consuming trigger foods.

10. Other Potential Causes

Less common but possible causes of upper stomach pain include:

When to Seek Medical Attention

While occasional upper stomach pain might resolve on its own, it's important to consult a doctor if the pain is severe, persistent, or accompanied by:

A healthcare professional can diagnose the underlying cause through a physical examination, medical history, and potentially tests like blood work, endoscopy, or imaging scans, leading to the most effective treatment plan.

Sources

  1. Abdominal pain - Symptoms and causes - Mayo Clinicfair-use
  2. Indigestion - NHSOGL
  3. GER & Acid Reflux - NIDDKfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.