Moderate

Stomachache - Causes, Treatment & When to See a Doctor

```html Stomachache – Causes, Diagnosis, Treatment & When to Seek Help

What is Stomachache?

A stomachache (also called abdominal pain or tummy ache) is discomfort, cramping, or a burning sensation that occurs in the area between the chest and pelvis. The pain may be sharp, dull, intermittent, or constant, and it can arise from structures inside the abdominal cavity (organs, blood vessels, nerves) or from the abdominal wall itself.

Because the abdomen contains many organs—stomach, intestines, liver, gallbladder, pancreas, spleen, kidneys, reproductive organs, and more—pain in this region can have a wide range of causes, from harmless indigestion to serious medical emergencies.

Common Causes

Below are some of the most frequently encountered conditions that produce a stomachache. The list includes both benign and potentially serious origins.

  • Gastroesophageal reflux disease (GERD) or heartburn – Stomach acid backs up into the esophagus, causing burning pain behind the breastbone that can radiate to the upper abdomen.
  • Functional dyspepsia – A chronic, non‑ulcer stomach pain often related to stress, eating habits, or hypersensitivity of the stomach lining.
  • Gastritis – Inflammation of the stomach lining, commonly caused by Helicobacter pylori infection, NSAID use, or excessive alcohol.
  • Peptic ulcer disease – Open sores in the stomach or duodenum that produce gnawing or burning pain, especially on an empty stomach.
  • Acute viral or bacterial gastroenteritis – “Stomach flu” symptoms include cramping, diarrhea, and sometimes vomiting.
  • Irritable bowel syndrome (IBS) – A functional disorder causing abdominal pain, bloating, and alternating constipation/diarrhea.
  • Gallstones or biliary colic – Stones in the gallbladder can block the bile duct, causing intense right‑upper‑quadrant pain after fatty meals.
  • Appendicitis – Inflammation of the appendix begins as periumbilical pain that later migrates to the lower right abdomen.
  • Kidney stones – Small mineral deposits travel through the urinary tract, producing sharp flank pain that can radiate to the lower abdomen.
  • Constipation – Hard stool buildup stretches the colon, leading to cramping and a feeling of fullness.

Associated Symptoms

Stomachaches rarely occur in isolation. The presence of other signs helps clinicians narrow down the cause.

  • Nausea or vomiting
  • Diarrhea or constipation
  • Fever or chills
  • Loss of appetite
  • Weight loss or unexplained weight gain
  • Bloating or distention
  • Heartburn or sour taste
  • Blood in vomit or stool (bright red or black/tarry)
  • Urinary symptoms (painful urination, frequency)
  • Changes in menstrual cycle or pelvic pain (in women)

When to See a Doctor

Most mild stomachaches resolve with simple home care, but you should contact a health professional if you notice any of the following:

  • Pain lasting longer than 3 days without improvement.
  • Severe, unrelenting pain that “won’t go away.”
  • Pain accompanied by fever >100.4°F (38°C).
  • Vomiting that contains bile, blood, or looks like coffee grounds.
  • Black, tarry stools or bright red blood per rectum.
  • Sudden unexplained weight loss.
  • Persistent vomiting that prevents you from keeping fluids down.
  • Difficulty breathing, chest pain, or swelling of the abdomen.
  • New‑onset pain in a child under 12, especially if they are unusually quiet or listless.

Diagnosis

Diagnosis begins with a thorough history and physical examination, followed by targeted tests when indicated.

1. Medical History

  • Onset, location, character, radiation, and duration of pain.
  • Relation to meals, activity, or bowel movements.
  • Recent travel, antibiotic use, or sick contacts.
  • Medication list (especially NSAIDs, antibiotics, antacids).
  • Past gastrointestinal diagnoses or surgeries.

2. Physical Examination

  • Inspection for distention, scars, or visible peristalsis.
  • Auscultation for bowel sounds (hyperactive vs. absent).
  • Palpation to identify tenderness, guarding, rebound, or masses.
  • Special tests (e.g., Murphy’s sign for gallbladder, psoas sign for appendicitis).

3. Laboratory Tests

  • Complete blood count (CBC) – looks for infection or anemia.
  • Basic metabolic panel – assesses electrolytes, kidney function.
  • Liver function tests and pancreatic enzymes (amylase, lipase).
  • Stool studies – occult blood, ova & parasites, Clostridioides difficile toxin.
  • Helicobacter pylori testing (breath, stool antigen, or biopsy) if ulcer disease suspected.

4. Imaging & Specialized Tests

  • Abdominal ultrasound – First‑line for gallbladder disease, liver pathology, pregnancy‑related concerns.
  • CT scan of the abdomen/pelvis – Excellent for appendicitis, diverticulitis, bowel obstruction, and intra‑abdominal abscesses.
  • Upper endoscopy (EGD) – Visualizes the esophagus, stomach, and duodenum for ulcers, gastritis, or Barrett’s esophagus.
  • Colonoscopy – Evaluates lower GI causes such as inflammatory bowel disease, polyps, or colorectal cancer in patients >45 y or with alarming features.
  • Upper GI series (barium swallow) – Occasionally used for structural abnormalities or motility assessment.

Treatment Options

Treatment is tailored to the underlying cause and severity of symptoms.

1. Home & Lifestyle Measures

  • Dietary modifications – Small, frequent meals; avoid spicy, fatty, or acidic foods; limit caffeine and alcohol.
  • Hydration – Sip clear fluids; oral rehydration solutions for diarrhea.
  • Heat therapy – Warm compress or heating pad on the abdomen can relieve cramping.
  • Stress reduction – Relaxation techniques (deep breathing, meditation, yoga) help functional disorders like IBS and dyspepsia.
  • Probiotics – May shorten the duration of viral gastroenteritis and improve IBS symptoms (evidence from JAMA Netw Open 2020).

2. Over‑the‑Counter (OTC) Remedies

  • Antacids (calcium carbonate, magnesium hydroxide) for heartburn.
  • H2‑blockers (ranitidine, famotidine) or proton‑pump inhibitors (omeprazole, lansoprazole) for gastritis/ulcers.
  • Antidiarrheal agents (loperamide) for non‑infectious diarrhea.
  • Simethicone for gas‑related bloating.
  • Stool softeners (docusate) for constipation.

3. Prescription Medications

  • Antibiotics – For bacterial gastroenteritis, H. pylori eradication, or diverticulitis.
  • Antispasmodics (e.g., hyoscine butylbromide) for IBS‑related cramping.
  • Fecal‑calprotectin‑guided therapy in inflammatory bowel disease.
  • Analgesics – Acetaminophen is preferred; NSAIDs are avoided if ulcer disease is suspected.
  • Urgent surgical intervention – Required for appendicitis, perforated ulcer, bowel obstruction, or gallbladder rupture.

4. Procedure‑Based Treatments

  • Endoscopic hemostasis for bleeding ulcers.
  • Laparoscopic cholecystectomy for symptomatic gallstones.
  • Appendectomy for appendicitis.
  • Balloon dilation or stenting for strictures.

Prevention Tips

Many stomachaches are preventable with simple everyday habits.

  • Eat a balanced diet rich in fiber, fruits, vegetables, and lean protein.
  • Stay well‑hydrated; aim for 8 glasses of water daily unless fluid‑restricted.
  • Practice safe food handling—cook meats thoroughly, wash produce, and avoid expired foods.
  • Limit NSAID use; choose acetaminophen when pain relief is needed.
  • Maintain a healthy weight to reduce gallstone risk.
  • Quit smoking and limit alcohol, both of which irritate the gastric lining.
  • Manage stress through regular exercise, adequate sleep, and relaxation techniques.
  • Take probiotics or a daily multivitamin if you have a history of recurrent GI infections.
  • Follow up on routine screenings (colonoscopy at age 45 or earlier if high risk).

Emergency Warning Signs

  • Sudden, severe abdominal pain that is constant or worsening.
  • Fever higher than 101°F (38.5°C) combined with abdominal tenderness.
  • Vomiting blood, vomit that looks like coffee grounds, or black/tarry stools.
  • Rapid heartbeat, low blood pressure, or faintness (possible internal bleeding).
  • Chest pain radiating to the abdomen, shortness of breath, or difficulty swallowing.
  • Severe swelling or a hard, rigid abdomen (sign of perforation).
  • Pain with sudden inability to pass gas or stool (possible bowel obstruction).
  • Persistent jaundice (yellow skin/eyes) with abdominal pain.
  • New‑onset pain in a child under 12 or in an elderly person with altered mental status.

References

  • Mayo Clinic. “Abdominal pain.” https://www.mayoclinic.org. Accessed June 2026.
  • National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). “Digestive Diseases A‑Z.” https://www.niddk.nih.gov.
  • Cleveland Clinic. “Stomach Pain: Causes, Diagnosis, Treatment.” https://my.clevelandclinic.org.
  • World Health Organization. “Food‑borne disease surveillance.” https://www.who.int.
  • Centers for Disease Control and Prevention. “Acute Gastroenteritis.” https://www.cdc.gov.
  • JAMA Network Open. “Probiotics for Prevention of Antibiotic‑Associated Diarrhea.” 2020;3(9):e2019200.
```

⚠ Medical Disclaimer

Important: The information provided on this page is for general informational purposes only and is not intended as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.

If you think you may have a medical emergency, call your doctor, go to the emergency department, or call 911 immediately.