Stomach ulcers typically feel like a burning or gnawing pain in the upper middle part of your abdomen, roughly between your belly button and your breastbone. The pain often comes and goes in patterns, lasting days or weeks before fading, then returning when the ulcer flares again. Not everyone with an ulcer experiences dramatic pain, though. Some people describe it as a dull ache or a persistent feeling of hunger that doesn’t quite go away after eating.
The Core Sensation
The hallmark feeling is a burning discomfort concentrated in the upper abdomen. It can range from mild enough to ignore to sharp enough to wake you from sleep. Many people initially mistake it for simple hunger pangs or indigestion, especially early on when episodes are brief. The pain tends to feel deep rather than surface-level, as if something is irritating you from the inside, which is essentially what’s happening: stomach acid is making contact with an open sore in the lining of your stomach or the first part of your small intestine.
How Timing and Food Affect the Pain
One of the most distinctive things about ulcer pain is its relationship to eating. For some people, the pain flares when the stomach is empty and temporarily improves after a meal. This “hunger pain” pattern is especially common with ulcers in the small intestine (duodenal ulcers). For others, particularly those with ulcers in the stomach itself, eating actually makes things worse, with pain building within an hour of a meal.
This is why ulcer pain can be confusing. You might feel better right after eating, only to have the discomfort return a few hours later as your stomach empties again. Milk is a common home remedy people reach for, but research has shown that milk actually stimulates acid production. Any relief you get from a glass of milk is temporary, and it may increase acid output by 20% to 35% of your stomach’s maximum capacity.
The Waxing and Waning Pattern
Ulcer pain rarely stays constant. The typical pattern involves episodes that recur one or more times a day over a stretch of one to several weeks, then disappear without any treatment. You might feel completely fine for weeks or even months before the cycle starts again. This on-and-off nature is one reason people delay seeking help. They assume the problem resolved itself, only to have it return. The ulcer heals partially, then reopens when conditions are right, restarting the pain cycle.
Nighttime Pain
Waking up in the middle of the night with upper abdominal pain is a common ulcer experience. About 63% of people with duodenal ulcers report nocturnal pain. This happens because your stomach continues producing acid at night, but without food to absorb it, the acid sits in direct contact with the ulcer. The pain often hits between midnight and 3 a.m. and may ease if you eat a small snack or take an antacid.
Beyond Pain: Other Physical Feelings
Ulcers don’t always announce themselves with pain alone. You might notice bloating, a feeling of fullness after eating only a small amount, nausea, or an aversion to certain foods (especially fatty or rich meals). Some people experience frequent burping or a general sense of stomach upset that’s hard to pin down. These symptoms overlap heavily with general indigestion, which is part of what makes ulcers tricky to identify by sensation alone.
Loss of appetite is also common, particularly with stomach ulcers where eating triggers pain. Over time, this can lead to unintentional weight loss.
How Ulcer Pain Differs From Heartburn
Ulcer pain and acid reflux (GERD) can feel similar, but there are key differences. Heartburn from reflux is a tight, burning sensation that typically starts near the bottom of your breastbone and radiates upward toward your throat. It tends to worsen when you lie down or after fatty, caffeinated, or acidic foods. Ulcer pain, by contrast, stays localized to the upper abdomen. It doesn’t usually travel up your chest, and it’s more likely to improve briefly after eating rather than worsen when you recline.
That said, overlap exists. Some people have both conditions simultaneously, which can make the sensations blur together.
When the Feeling Changes Suddenly
Most ulcer pain is uncomfortable but manageable. A sudden, dramatic shift in how it feels is a different matter entirely. Two complications change the sensation in ways that demand immediate attention.
A perforated ulcer, where the sore eats through the wall of the stomach or intestine, causes sudden, severe abdominal pain that comes on within seconds to minutes. It often feels rigid and board-like across your entire abdomen, not just the upper portion. This is a surgical emergency.
A bleeding ulcer may not cause a dramatic change in pain but produces other unmistakable signs: vomiting material that looks like coffee grounds, or stools that turn black and tarry. You might also feel dizzy, lightheaded, or unusually fatigued as blood loss accumulates. Some people notice their heart racing or feel faint when standing up. These symptoms indicate significant internal bleeding and require emergency care.
What Makes Ulcer Pain Worse
Alcohol, smoking, and anti-inflammatory painkillers like ibuprofen and aspirin are the most common aggravators. All three either increase acid production, weaken the stomach’s protective lining, or both. Stress doesn’t cause ulcers directly, but it can amplify your perception of pain and may increase acid secretion, making existing ulcers feel worse. Spicy foods are often blamed, but they’re more likely to irritate than to cause real damage. If a particular food consistently triggers your symptoms, it’s worth avoiding, but there’s no universal ulcer diet that works for everyone.
Antacids typically provide the fastest relief, neutralizing acid within minutes. If over-the-counter antacids consistently ease your upper abdominal pain, that pattern itself is a useful clue that acid is involved, and worth mentioning to your doctor.