What Is an Upset Stomach? Causes and Treatments

An upset stomach is a general term for discomfort or pain in your upper abdomen, often accompanied by nausea, bloating, or a burning sensation. The medical term is dyspepsia, and nearly everyone experiences it at some point. It can be as minor as feeling too full after a meal or as disruptive as hours of nausea and cramping. Most episodes resolve on their own, but understanding what’s behind the discomfort helps you manage it faster and recognize when something more serious is going on.

What It Actually Feels Like

The symptoms of an upset stomach cluster in the area between your lower ribs and your navel. You might feel a burning or gnawing sensation, uncomfortable fullness even after a small meal, bloating, belching, or nausea. Some people vomit. The discomfort can come and go in waves or settle in as a persistent ache that lasts minutes to hours.

These symptoms overlap with several different conditions, which is why “upset stomach” is a catch-all phrase rather than a diagnosis. The sensation of burning higher up, behind your breastbone, is typically acid reflux rather than simple indigestion, though the two often occur together.

Common Causes and Triggers

Most upset stomachs trace back to something you ate, drank, or did recently. Eating too fast, eating too much, or consuming fatty or spicy foods are the most frequent triggers. Alcohol, caffeine, and carbonated drinks can all irritate the stomach lining or increase acid production. Smoking has the same effect.

Pain relievers like ibuprofen and aspirin are a commonly overlooked cause. These drugs reduce the protective mucus layer in your stomach, making the lining more vulnerable to acid. Taking them on an empty stomach makes this worse.

Stress and anxiety also play a direct role. Your gut and brain communicate constantly through a network of nerves, and emotional stress can alter how your stomach contracts and empties, slowing digestion and amplifying discomfort. This is why your stomach often feels off during periods of high anxiety, even when your diet hasn’t changed.

Infections That Cause Stomach Upset

Viral gastroenteritis, commonly called the stomach flu, is one of the most common infectious causes. It typically brings on nausea, vomiting, and diarrhea that resolve within a few days. Food poisoning from bacteria like Salmonella or E. coli produces similar symptoms, often starting within hours of eating contaminated food.

A less obvious culprit is a bacterium called H. pylori, which infects roughly 30 to 40 percent of people in the United States. Most carriers never develop symptoms. But in some people, H. pylori breaks down the stomach’s inner protective coating, leading to chronic inflammation or peptic ulcers. If your stomach discomfort keeps returning without an obvious dietary cause, H. pylori infection is one of the things worth investigating through a simple breath or stool test.

When Upset Stomach Becomes Chronic

If stomach discomfort persists for weeks or keeps coming back, it may fall into a category called functional dyspepsia. “Functional” means the stomach looks normal on imaging and tests, but it isn’t working quite right. The muscles that churn food and push it into the small intestine may contract too weakly or too slowly, leaving food sitting in the stomach longer than it should. Some people also have heightened sensitivity in the nerves lining the stomach, so normal amounts of stretching or acid feel painful.

Functional dyspepsia produces two main patterns. One centers on pain or burning in the upper abdomen. The other involves feeling uncomfortably full shortly after starting a meal, sometimes with nausea. Many people experience both.

Irritable bowel syndrome (IBS) is a related but distinct condition. While functional dyspepsia affects the upper digestive tract with symptoms like early fullness and burning, IBS primarily involves the lower tract, causing abdominal pain linked to changes in bowel habits like diarrhea or constipation. The two conditions share common triggers, including diet, stress, and prior gut infections, and they overlap frequently. Research published in the Journal of Neurogastroenterology and Motility found that when a gut infection affects both the upper and lower intestine, patients often develop symptoms of both conditions simultaneously.

What to Eat During Recovery

The classic advice is the BRAT diet: bananas, rice, applesauce, and toast. These foods are gentle on the stomach, but Harvard Health Publishing notes there’s no need to restrict yourself to just those four items. Brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereals are equally easy to digest and provide more variety.

Stick with bland, low-fat foods for a day or two while symptoms are active. Once your stomach settles, start adding foods with more nutritional value: cooked squash, carrots, skinless chicken or turkey, fish, eggs, and avocado. These are still mild enough to avoid retriggering symptoms while giving your body the protein and nutrients it needs to recover. Avoid caffeine, alcohol, fried food, and dairy until you’re feeling reliably better.

Staying hydrated matters more than eating, especially if you’ve been vomiting or had diarrhea. Small, frequent sips of water or an electrolyte drink work better than gulping large amounts at once, which can trigger more nausea.

Treatments That Help

For occasional upset stomach, over-the-counter antacids neutralize stomach acid quickly and provide short-term relief from burning and discomfort. If the problem recurs, acid-reducing medications called H2 blockers (sold as Pepcid AC, among others) decrease acid production over a longer period and can be taken before meals that tend to cause trouble.

Ginger has some evidence behind it as a natural remedy for nausea. Clinical trials have tested doses ranging from about 1,000 to 1,500 milligrams per day, typically divided into several smaller doses. Ginger tea, capsules, or even ginger chews can help settle mild nausea, though they won’t address underlying acid or inflammation issues.

Peppermint tea is another home remedy that may relax the muscles of the digestive tract and ease bloating, though it can worsen acid reflux in some people. If your primary symptom is burning rather than bloating, skip the peppermint.

Signs Something More Serious Is Happening

Most upset stomachs are harmless and temporary. But certain symptoms signal that something beyond simple indigestion is going on. Vomiting blood or material that looks like coffee grounds, black or tarry stools, and unexplained weight loss all point to potential bleeding or ulceration in the digestive tract and need prompt medical evaluation.

Severe stomach pain that wakes you from sleep or leaves you unable to stand warrants an emergency room visit. Pain that persists for hours, especially if it’s localized to one area of the abdomen rather than a general ache, could indicate appendicitis, gallstones, or pancreatitis. Persistent vomiting that prevents you from keeping any fluids down for more than 24 hours also warrants medical attention, as dehydration can become dangerous quickly.

Recurring indigestion that doesn’t respond to dietary changes or over-the-counter remedies, or that comes with difficulty swallowing, is worth bringing up with a healthcare provider. These patterns sometimes point to conditions like GERD, ulcers, or functional dyspepsia that benefit from targeted treatment rather than occasional antacids.