Upper abdominal discomfort most often comes from the stomach or esophagus, typically triggered by acid irritation during or after eating. But the upper abdomen is a crowded space: your stomach, liver, gallbladder, pancreas, spleen, and the top segments of your intestines all sit in this region, so the list of possible causes extends well beyond simple indigestion.
Where exactly you feel the discomfort, when it starts, and what makes it better or worse all offer clues about what’s going on. Here’s a breakdown of the most common causes.
Indigestion and Acid Reflux
The single most common reason for upper abdominal discomfort is indigestion, also called dyspepsia. It typically shows up as a burning or gnawing feeling in the center of your upper abdomen, right below the breastbone, during or shortly after a meal. That burning quality comes from stomach acid contacting the lining of your stomach or the lower end of your esophagus.
When acid repeatedly flows backward into the esophagus, the condition is called gastroesophageal reflux disease (GERD). A ring of muscle at the bottom of your esophagus normally keeps acid where it belongs. In people with GERD, that muscle weakens or relaxes at the wrong times, letting acid wash upward. Several factors raise the risk: carrying extra weight, pregnancy, smoking, and having a hiatal hernia, a condition where the upper part of the stomach pushes up through the diaphragm into the chest. GERD tends to feel worse when you lie down or bend over, and the discomfort often comes with a sour taste in the back of your throat.
Gastritis and Peptic Ulcers
Gastritis is inflammation of the stomach lining. Peptic ulcers are open sores that form on the stomach lining or in the first stretch of the small intestine (the duodenum). Both produce a dull, burning ache in the upper abdomen, but the timing of the pain differs in a useful way. For some people the pain flares on an empty stomach or at night, then fades briefly after eating. For others, eating makes the pain worse. That distinction can help point toward where the problem is: duodenal ulcers more often hurt when the stomach is empty, while stomach ulcers tend to hurt soon after a meal.
The bacterium H. pylori is behind a large share of these cases. In one study of patients with upper gastrointestinal symptoms, 57% tested positive for H. pylori, and the rate climbed to nearly 69% among those whose endoscopy showed visible damage to the stomach or duodenal lining. The infection burrows into the protective mucus layer, allowing acid to erode the tissue underneath.
Pain relievers like ibuprofen and naproxen are the other major culprit. Up to 40% of regular NSAID users report mild upper GI symptoms, and peptic ulcers develop in 15 to 40% of people who take these drugs chronically. NSAIDs work by blocking a chemical pathway that also helps maintain the stomach’s protective lining, so long-term use leaves the tissue vulnerable to acid damage.
Gallstones and Biliary Pain
Gallstone pain has a distinctive personality. It strikes suddenly in the upper right side of the abdomen or just below the breastbone, escalates quickly, and can radiate to the back between the shoulder blades or into the right shoulder. Episodes typically last anywhere from several minutes to a few hours, then resolve, only to return days or weeks later. Fatty meals are a classic trigger because fat stimulates the gallbladder to squeeze, pushing a stone against the duct opening.
If a stone gets stuck and the gallbladder stays inflamed, the pain becomes constant, fever develops, and the area becomes tender to the touch. That shift from intermittent to persistent pain signals a more serious situation that needs prompt attention.
Pancreatitis
The pancreas sits behind the stomach, so when it becomes inflamed the pain centers in the upper abdomen and often bores straight through to the back or shoulders. Eating typically makes it worse, which is one of the hallmarks of pancreatic pain. Acute pancreatitis comes on fast and may bring nausea, vomiting, fever, and a rapid heartbeat along with it.
Chronic pancreatitis produces a more constant upper belly pain that persists over weeks or months. Because the pancreas produces digestive enzymes, long-term inflammation can lead to weight loss, oily or foul-smelling stools, and eventually symptoms of diabetes as insulin-producing cells are damaged. The two most common triggers for pancreatitis are gallstones (which can block the pancreatic duct) and heavy alcohol use.
Where You Feel It Matters
The upper abdomen has three rough zones, and the location of your discomfort narrows the possibilities:
- Center (epigastric area): Stomach acid issues, gastritis, ulcers, and pancreatitis all concentrate here. This is also where heart-related discomfort can show up, sometimes mimicking a stomachache.
- Right side: The liver and gallbladder live in the right upper quadrant. Pain here points toward gallstones, gallbladder inflammation, or less commonly, liver conditions.
- Left side: The spleen and the tail of the pancreas sit on the left. Pain in this area is less common but can signal splenic issues or pancreatitis.
The kidneys sit behind the abdominal organs, closer to the back, so kidney stones or infections can produce pain that wraps from the flank into the upper abdomen. The top portions of the large and small intestines also pass through the upper abdomen, meaning gas, constipation, or inflammation in these segments can cause discomfort that feels like a stomach problem.
Less Obvious Causes
Muscle strain from heavy lifting, intense coughing, or a tough core workout can create soreness across the upper abdomen that worsens with movement or when you press on the area. It’s easy to mistake for an internal problem, but the pain usually reproduces when you tense the abdominal wall.
Conditions involving the peritoneum, the thin membrane that lines the abdominal cavity, can also cause upper abdominal pain. Inflammation of this lining tends to produce sharp, widespread pain that gets worse with any movement.
One cause worth keeping in mind: the heart. Upper abdominal discomfort accompanied by shortness of breath, a tight or squeezing sensation, or pressure spreading into the jaw or arm may not be a digestive problem at all. Heart attacks, especially in women, can present as what feels like a bad stomachache. If abdominal discomfort comes with any of these features, it needs immediate evaluation.
Patterns That Help Identify the Cause
Because so many organs share the upper abdomen, paying attention to a few details makes a real difference in figuring out what’s going on:
- Timing relative to meals: Pain right after eating suggests gastritis or a stomach ulcer. Pain on an empty stomach points toward a duodenal ulcer. Pain 30 to 60 minutes after a fatty meal is typical of gallstones.
- Duration: Acid reflux episodes are often brief and relieved by antacids. Gallstone attacks last minutes to hours. Pancreatitis pain is persistent and doesn’t let up easily.
- Radiation: Pain that moves to the right shoulder or between the shoulder blades suggests the gallbladder. Pain boring into the mid-back suggests the pancreas.
- Associated symptoms: Nausea and bloating are common with many causes, so they’re less helpful on their own. Yellowing of the skin or eyes (jaundice) points to a bile duct blockage. Unintentional weight loss and oily stools suggest chronic pancreatitis. Vomiting blood or dark, tarry stools indicate a bleeding ulcer.
Persistent or recurring upper abdominal discomfort that lasts more than a couple of weeks, wakes you from sleep, or comes with weight loss, vomiting, or any of the red-flag symptoms above warrants a medical workup. Many of these conditions are straightforward to diagnose with basic blood tests, imaging, or an upper endoscopy, and most respond well to treatment once the cause is identified.

