Digestive Health Gastroenterology 9 min read · Medically reviewed

Stomach Pain — Causes, Remedies, and When It Is Serious

Almost everyone experiences stomach pain at some point. Most of the time it is harmless — gas, indigestion, or a mild stomach bug that passes on its own. But stomach pain can also signal something that needs medical attention, and knowing the difference matters. This guide explains the most common causes of stomach pain, what you can do at home to get relief, and the warning signs that should send you to a doctor without delay.

Person holding their stomach, experiencing abdominal pain or digestive discomfort

Abdominal pain can originate from the stomach, intestines, liver, gallbladder, kidneys, or other structures in the abdomen. The location of pain is one of the most important diagnostic clues. Source: MedlinePlus, U.S. National Library of Medicine

Watch: How to Instantly Relieve Stomach Pain — Dr. Rowe shows simple, at-home techniques that can help relieve stomach pain and an upset stomach quickly.

How Common Is Stomach Pain?

0 of emergency visits for non-traumatic abdominal pain turn out to be acute abdomen requiring urgent intervention Source: NIH / StatPearls 2024
0 of the global population affected by irritable bowel syndrome (IBS) Source: American Gastroenterological Association 2024
0 of IBS patients find their symptoms difficult to manage day to day Source: AGA IBS in America Survey 2024
0 USD global market for peptic ulcer treatments in 2024, reflecting how widespread the condition is Source: GM Insights 2024

Why Location Matters

Doctors are trained to take the location of stomach pain very seriously, because different areas of the abdomen correspond to different organs. Pain in the upper right is often the liver or gallbladder. Pain around the navel can point to the small intestine or early appendicitis. Pain in the lower right is classic for appendicitis. Lower left pain is often the colon. Cramping pain that comes and goes across the whole abdomen usually suggests a digestive issue like gas, IBS, or gastroenteritis.

The character of the pain matters just as much as the location. A dull, burning pain that worsens after eating suggests gastritis or a peptic ulcer. A sharp pain that arrives suddenly and does not move is more concerning. Cramping that ebbs and flows is characteristic of the gut muscles contracting — often harmless, but worth monitoring.

The Most Common Causes

The vast majority of stomach pain has a benign explanation. Here are the conditions your doctor is most likely to consider, explained plainly.

Everyday Causes

Gas and Bloating

The most common cause of abdominal discomfort. Swallowed air and fermentation of undigested food produce gas that stretches the intestines. Pain is usually crampy, moves around, and relieves after passing gas or a bowel movement.

Indigestion (Dyspepsia)

A burning or uncomfortable fullness in the upper abdomen, often after eating too quickly, eating fatty food, or drinking coffee or alcohol. Affects roughly 20 to 30 percent of adults at some point and usually responds to simple lifestyle changes.

Gastroenteritis (Stomach Flu)

A viral or bacterial infection of the gut causing nausea, vomiting, diarrhoea, and cramping. Usually resolves within 1 to 3 days with rest and fluids. Food poisoning presents similarly but begins more abruptly after eating contaminated food.

Constipation

Slow bowel movements cause stool to build up and stretch the colon, producing dull aching or cramping pain often in the lower abdomen. Increased fibre, water, and physical activity resolve most cases without medication.

Chronic Digestive Conditions

Irritable Bowel Syndrome (IBS)

A chronic condition affecting roughly 11 percent of the world's population. IBS causes recurring abdominal pain that is linked to changes in bowel habits — diarrhoea, constipation, or both — without any detectable structural damage to the gut.

Gastroesophageal Reflux (GERD)

Stomach acid repeatedly flowing back into the oesophagus, causing burning pain in the upper abdomen and chest (heartburn), particularly when lying down after eating. Long-term untreated GERD can damage the oesophagus lining.

Peptic Ulcers

Open sores on the stomach lining or the first part of the small intestine, most commonly caused by H. pylori bacterial infection or long-term use of NSAIDs like ibuprofen. The pain is typically a burning or gnawing sensation between the navel and breastbone, often worse on an empty stomach.

Gastritis

Inflammation of the stomach lining caused by H. pylori infection, heavy alcohol use, or prolonged NSAID use. It produces upper abdominal pain, nausea, and a feeling of fullness after small amounts of food. Global studies show gastritis and duodenitis affect hundreds of millions of people each year.

Conditions Requiring Medical Evaluation

Appendicitis

Inflammation of the appendix, beginning with pain around the navel that migrates to the lower right abdomen within hours, accompanied by fever and nausea. This is a surgical emergency — a ruptured appendix is life-threatening. Appendicitis is the most common cause of acute abdomen in young adults.

Gallstones

Hardened deposits in the gallbladder that can block the bile duct, causing intense pain in the upper right abdomen that often radiates to the shoulder or back. Episodes typically occur after fatty meals and can last from 30 minutes to several hours.

Inflammatory Bowel Disease (IBD)

Crohn's disease and ulcerative colitis are chronic immune-mediated conditions that cause ongoing abdominal pain, diarrhoea, and weight loss. They require specialist gastroenterological care and long-term management to prevent complications.

Kidney Stones

Hard mineral deposits that form in the kidneys and cause severe, wave-like pain in the side and back that radiates toward the groin. The pain is often described as one of the most intense a person can experience. Blood in the urine is a common accompanying sign.

Medical illustration showing the digestive system including stomach, intestines, liver, and gallbladder and their locations in the abdomen

The abdomen contains many organs, and pain from any of them can feel like "stomach pain." Understanding which organ is involved helps guide the right treatment. Source: National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)

Home Remedies That Actually Work

For mild to moderate stomach pain without alarming symptoms, home treatment is appropriate and often very effective. These remedies are backed by evidence and recommended by gastroenterologists as a reasonable first response.

Heat therapy is one of the most consistently helpful approaches for cramping or spasming abdominal pain. Applying a warm water bottle or heat pad to the abdomen for 15 to 20 minutes relaxes the intestinal muscles and reduces the sensation of pain. Research shows that localized heat works through a mechanism similar to low-dose pain medication for visceral (gut) pain.

Ginger has one of the strongest evidence bases of any natural digestive remedy. It contains compounds called gingerols and shogaols that reduce nausea, speed up gastric emptying, and calm intestinal spasms. Ginger tea made from fresh root, or ginger capsules at a dose of 250 to 500 mg, has shown benefit in multiple clinical trials for nausea, indigestion, and post-meal bloating.

Peppermint — particularly peppermint oil in enteric-coated capsules — has good clinical evidence specifically for IBS. The menthol it contains acts as a natural antispasmodic, relaxing the smooth muscle of the gut wall. A 2024 IBS conference review cited peppermint oil as one of the most evidence-supported complementary treatments for global IBS symptoms.

Rest and hydration are the foundation of recovery for gastroenteritis and food poisoning. The gut needs reduced demand while it heals. Drinking small, frequent sips of clear fluids — water, diluted electrolyte drinks, or clear broth — prevents dehydration, which can quickly worsen any digestive illness, particularly in children and older adults.

Dietary adjustments can make a significant difference depending on the cause. For gas and bloating, temporarily reducing foods high in FODMAPs (fermentable carbohydrates found in onions, garlic, beans, wheat, and some fruits) often produces noticeable relief. For GERD, avoiding meals within 3 hours of bedtime, elevating the head of the bed, and reducing spicy, acidic, and fatty foods reduces acid reflux episodes significantly.

For constipation, the most effective and evidence-supported approach is a gradual increase in dietary fibre — aiming for 25 to 30 grams per day from whole grains, fruits, vegetables, and legumes — combined with drinking at least 1.5 to 2 litres of water daily. Fibre without adequate water can actually make constipation worse.

"Most stomach pain does not require immediate medical care, but it always deserves your attention. Understanding the pattern — when it occurs, what makes it better or worse, and whether it is getting worse over time — is the most valuable information you can give your doctor." — American Gastroenterological Association

Medical Treatments

When home remedies are not enough, or when a specific diagnosis has been made, a range of medical treatments are available. The right treatment depends entirely on the underlying cause, which is why proper diagnosis is essential before starting any medication.

ConditionTreatmentTypeNotes
Indigestion / Gas Antacids, simethicone, activated charcoal OTC Fast-acting relief; antacids neutralise stomach acid; simethicone breaks up gas bubbles; safe for most adults
GERD / Acid Reflux Proton pump inhibitors (PPIs) — omeprazole, lansoprazole OTC / Rx Most effective treatment for GERD; reduce acid production; take 30 minutes before a meal; long-term use requires monitoring
Peptic Ulcer (H. pylori) Triple therapy: PPI + 2 antibiotics (amoxicillin + clarithromycin) Prescription 14-day course eradicates H. pylori in 85 to 90% of cases; completion of the full course is essential to prevent antibiotic resistance
IBS Low-FODMAP diet, antispasmodics, peppermint oil, gut-directed therapy Multi-approach No single treatment works for all IBS patients; a combination of dietary change, stress management, and targeted medication is most effective
Gastroenteritis Oral rehydration salts (ORS), antiemetics, probiotics OTC Antibiotics only for confirmed bacterial causes; most viral gastroenteritis resolves without medication; focus is on fluid replacement
Constipation Osmotic laxatives (macrogol / PEG), bulk-forming agents OTC Macrogol is recommended first-line by gastroenterology guidelines; stimulant laxatives for occasional use only; address underlying causes
Appendicitis Surgical removal (appendectomy) Emergency Standard treatment; laparoscopic surgery is most common; uncomplicated cases may be treated with antibiotics in some centres, but surgery remains the standard
Gallstones Laparoscopic cholecystectomy (gallbladder removal) Surgical Definitive treatment for symptomatic gallstones; the gallbladder is not essential for normal digestion after removal
Medical illustration of the digestive tract showing the colon affected by irritable bowel syndrome (IBS)

Irritable Bowel Syndrome affects approximately 11 percent of the global population, making it one of the most common chronic digestive conditions worldwide. Dietary management and stress reduction are central to treatment. Source: NIDDK

Preventing Recurrent Stomach Problems

Many of the most common causes of stomach pain are significantly preventable through lifestyle. Eating slowly and chewing food thoroughly reduces the amount of air swallowed and eases the digestive burden on the stomach. Eating smaller, more frequent meals rather than large portions limits the amount of acid produced and reduces the pressure on the stomach wall and lower oesophageal sphincter.

Limiting alcohol, smoking, and regular NSAID use is particularly important for anyone prone to gastritis or peptic ulcers. All three damage the protective mucous lining of the stomach. Stress management also plays a more significant role than most people realise — the gut has its own nervous system (the enteric nervous system), and psychological stress directly affects how the gut moves, contracts, and perceives pain. This is especially true in IBS.

Staying physically active helps maintain healthy bowel movement frequency and reduces bloating. Even a 20 to 30 minute walk after meals noticeably speeds up gastric emptying and reduces post-meal discomfort for many people.

When Stomach Pain Is a Medical Emergency

Most stomach pain is not dangerous, but certain symptoms demand immediate medical evaluation. Go to an emergency department or call emergency services without delay if you experience:

Key Takeaways

More Health Guides, Written Clearly

Browse our full library of medically reviewed articles on digestive health, heart health, pain relief, and more.

Explore All Health Articles

Sources and References

  1. NIH / StatPearls — Acute Abdomen: Epidemiology, Causes and Emergency Management — NCBI 2024
  2. American Gastroenterological Association — IBS in America 2024 Survey
  3. Mayo Clinic — Abdominal Pain: Causes
  4. MedlinePlus / NLM — Abdominal Pain in Children and Adults
  5. NIDDK — Digestive Diseases Overview — National Institute of Diabetes and Digestive and Kidney Diseases
  6. Gut Microbiota for Health — IBS Days 2024: Diagnosis and Treatment
  7. Scientific Reports — Global Prevalence of Functional Dyspepsia, 1990–2020 — Nature, 2024
  8. Int. Journal of Medical Sciences — Global Burden of Gastritis and Duodenitis, GBD 2021
  9. Harvard Health Publishing — Stomach and Digestive Health — Harvard Medical School
  10. Mayo Clinic — Peptic Ulcer Disease: Symptoms and Treatment
Medical Disclaimer: This article is for informational and educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. If you are experiencing severe, persistent, or unusual abdominal pain, consult a qualified healthcare provider promptly. Always seek emergency care for sudden severe pain, blood in stool or vomit, or a rigid abdomen.

Didn't find exactly what you needed here? Chat with our AI — it can search and point you to the right guide.