Why Does My Stomach Hurt When It’s Empty?

An empty stomach hurts most often because of normal muscle contractions that become noticeable without food to cushion them, or because stomach acid is irritating an unprotected lining. The sensation ranges from mild gnawing to a burning ache, and the cause determines whether it’s harmless or worth investigating. Several conditions share this pattern, but they feel different and respond to different fixes.

Hunger Contractions Are the Most Common Cause

Your digestive system doesn’t sit idle between meals. A repeating wave of muscle contractions called the migrating motor complex sweeps through your stomach and small intestine during fasting. This cycle has four phases, and the third phase is the most intense, producing a burst of contractions that moves from the stomach downward. The hormone ghrelin triggers these contractions when your stomach is empty, which is why they line up with feelings of hunger.

These contractions create the gnawing, rumbling sensation most people call hunger pangs. They can feel like a hollow ache, painful squeezing, or just a general emptiness in your upper abdomen. For most people, this is completely normal and stops within minutes of eating. The discomfort tends to peak two to four hours after your last meal, then come and go in waves.

If the pain is mild, goes away after eating, and isn’t paired with other symptoms like nausea, changes in your bowel habits, or weight loss, it’s almost certainly just your body telling you it’s time to eat.

Stomach Acid Without a Buffer

Your stomach continuously produces hydrochloric acid to break down food. When there’s no food to absorb that acid, it sits in direct contact with the stomach lining. A thick layer of mucus normally protects that lining, but if the mucus barrier is even slightly compromised, acid contact can cause a burning or gnawing pain in the upper abdomen. This is why the discomfort often improves right after eating: food dilutes the acid and gives it something to work on besides your stomach wall.

This becomes a bigger problem if you regularly take common pain relievers like ibuprofen, aspirin, or naproxen. These medications reduce the production of protective compounds that maintain blood flow to the stomach lining and stimulate mucus production. Over time, they can thin that mucus barrier, leaving the tissue underneath vulnerable to acid damage. The result can range from mild irritation (gastritis) to actual erosion of the tissue. If you take these medications frequently, especially on an empty stomach, they’re a likely contributor to your pain.

Peptic Ulcers and H. Pylori

A dull or burning pain that’s consistently worse between meals and at night is a hallmark of duodenal ulcers, which form in the first section of the small intestine just past the stomach. The pattern is distinctive: pain arrives a few hours after eating, wakes you up at night, and temporarily improves when you eat or take an antacid. Gastric ulcers, which form in the stomach itself, sometimes follow the opposite pattern, with pain worsening after meals.

The most common cause of peptic ulcers is a bacterial infection called H. pylori. More than half of all people worldwide carry this bacterium at some point in their lives. Most never develop symptoms, but in some people H. pylori damages the protective lining of the stomach and small intestine, allowing acid to create an open sore. The symptoms include an aching or burning pain in the stomach area that feels worse when the stomach is empty.

H. pylori infections are diagnosed with a simple breath test, stool test, or blood test, and treated with a short course of antibiotics combined with acid-reducing medication. If your empty-stomach pain follows the classic pattern of worsening between meals and improving with food, especially if it’s been going on for weeks, an ulcer is worth ruling out.

Functional Dyspepsia

Some people have recurring upper abdominal pain or burning without any visible damage to the stomach lining. This is called functional dyspepsia, and it affects a significant number of people who seek help for stomach pain. The diagnostic criteria require at least one symptom, such as epigastric pain or burning, occurring at least one day per week for three months or longer, with no structural cause found on testing.

Functional dyspepsia is thought to involve heightened sensitivity in the nerves of the upper digestive tract, meaning normal amounts of acid or normal contractions register as painful. It can produce pain that worsens on an empty stomach, after meals, or both. Treatment typically focuses on reducing acid production and, in some cases, low-dose medications that calm overactive gut nerves.

What Helps in the Moment

If you’re dealing with empty-stomach pain right now, eating a small amount of food is the fastest fix. Choose something bland and low in fat. Nonfat milk can act as a temporary buffer between your stomach lining and acid, providing quick relief. Low-fat yogurt works similarly and adds beneficial bacteria that support digestion. Ginger tea can also soothe an irritated stomach. A small amount of lemon juice mixed with warm water and honey has a mild alkalizing effect that helps neutralize stomach acid.

Longer term, eating smaller meals more frequently prevents your stomach from sitting empty for extended periods. Avoiding long gaps between meals, especially overnight, can reduce the intensity of fasting contractions and limit the time acid spends in contact with unprotected tissue. If you take pain relievers regularly, always take them with food, and consider whether you can reduce your use.

When the Pain Signals Something Serious

Most empty-stomach pain is either hunger or mild acid irritation. But certain accompanying symptoms change the picture. Black, tarry, or bloody stools suggest bleeding somewhere in the digestive tract. Vomiting blood or material that looks like coffee grounds points to the same problem. Unexplained weight loss of more than 5% of your body weight over six to twelve months needs evaluation regardless of other symptoms.

Persistent pain that doesn’t improve with eating, pain that’s getting progressively worse over weeks, shortness of breath, significant fatigue or weakness, or rapid unintentional weight changes all warrant a visit to your doctor. The same applies if you’re over 55 and experiencing this type of pain for the first time, since new digestive symptoms at that age have a broader list of possible causes that benefit from early investigation.