Abdominal pain
Abdominal pain is pain or discomfort felt anywhere between the bottom of the ribs and the groin, with causes ranging from mild indigestion to emergencies.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
Abdominal pain is pain you feel in your belly, the area between the bottom of your ribs and your groin. Many people call it a stomach ache, but the pain can come from many organs besides the stomach. Your abdomen holds the stomach, small and large intestines (bowels), liver, gallbladder, pancreas, kidneys, bladder and appendix. In women and people with a uterus, it also holds the uterus, ovaries and fallopian tubes. Pain can also spread to the belly from the chest, back or groin.
Abdominal pain is a symptom, not a disease on its own. Almost everyone has it at some point. Most of the time it is caused by something minor, such as gas, constipation, overeating or a stomach bug, and it goes away on its own within hours or a few days. Sometimes, though, it is a sign of a problem that needs quick medical care, such as appendicitis or a blocked bowel. Doctors use the term acute abdomen for sudden, severe belly pain that may need urgent treatment or surgery.
This article explains the different kinds of belly pain, common causes, how doctors find the cause, what you can do at home, and the warning signs that mean you should get help right away.
Types of abdominal pain
How long the pain lasts, where it is and what it feels like give important clues about its cause.
By how long it lasts
- Acute pain starts suddenly and lasts hours to days. It may be minor, like a stomach bug, or serious, like appendicitis.
- Chronic pain lasts for weeks or months, or keeps coming back. It is often linked to long-term conditions such as irritable bowel syndrome or reflux.
By what it feels like
- Cramping or colicky pain comes in waves. It often comes from a hollow organ, such as the bowel, a kidney tube (ureter) or the gallbladder, squeezing against a blockage or irritation. Gas, diarrhea, kidney stones and gallstones often cause this kind of pain.
- Dull, aching pain is harder to pin down and may feel spread out over a large area.
- Sharp, constant pain in one spot can mean an organ is inflamed and irritating the lining of the belly. This kind of pain is more likely to be serious, especially if it gets worse when you move, cough or press on it.
- Burning pain in the upper middle belly often comes from stomach acid, as in heartburn or an ulcer.
By where it is
- Upper middle (below the breastbone): indigestion, reflux, stomach ulcers, pancreatitis, and sometimes heart problems.
- Upper right: gallbladder or liver problems.
- Lower right: appendicitis, ovarian problems, bowel inflammation.
- Lower left: constipation, diverticulitis (inflamed pouches in the bowel wall).
- Lower middle: bladder infection, period pain, pregnancy-related problems.
- Side or back: kidney stones or kidney infection.
- All over: gas, stomach bugs, irritable bowel syndrome, or, less often, a blocked bowel or a serious infection of the belly lining.
These are only general patterns. Pain can move, and appendicitis, for example, often starts near the belly button before settling in the lower right.
Other symptoms that may come with it
Belly pain often comes with other symptoms. Paying attention to them helps your care team find the cause:
- Nausea or vomiting
- Diarrhea or constipation
- Bloating or a lot of gas
- Fever or chills
- Pain or burning when you pee, or needing to pee often
- Loss of appetite or weight loss
- Blood in your stool (poop), or black, tar-like stools
- Yellowing of the skin or eyes (jaundice)
- Vaginal bleeding or unusual discharge, or a missed period
Causes
There are many possible causes. Some of the most common are listed below.
Common, usually mild causes
- Gas, bloating or indigestion
- Constipation
- Gastroenteritis (a stomach bug or food poisoning), which causes cramps with vomiting or diarrhea
- Heartburn and gastroesophageal reflux disease (GERD)
- Period pain
- Food intolerances, such as lactose intolerance
- Irritable bowel syndrome (IBS), a long-term condition that causes repeated cramps, bloating and changes in bowel habits
Causes that often need medical treatment
- Urinary tract infection (bladder or kidney infection)
- Kidney stones
- Gallstones or an inflamed gallbladder
- Stomach or duodenal ulcers
- Diverticulitis
- Inflammatory bowel disease, such as Crohn's disease and ulcerative colitis
- Celiac disease
- Endometriosis, where tissue like the lining of the uterus grows outside it
- Pelvic inflammatory disease, an infection of the reproductive organs
- Hernia, when part of the bowel pushes through a weak spot in the belly wall
Causes that can be emergencies
- Appendicitis
- Bowel obstruction (a blocked bowel)
- Pancreatitis (inflamed pancreas)
- A tear or hole in the stomach or bowel
- Ectopic pregnancy, when a pregnancy grows outside the uterus
- Twisting of an ovary or testicle
- Abdominal aortic aneurysm, a bulge in the main blood vessel in the belly that can burst
- Reduced blood flow to the bowel
Sometimes pain felt in the upper belly is actually coming from the heart, as in a heart attack, or from the lungs, as in pneumonia. In children, constipation and viral infections are common causes, but appendicitis is also an important one.
Risk factors
Anyone can get belly pain. Some things make certain causes more likely:
- Age: older adults are more likely to have serious causes, such as diverticulitis, bowel blockage or aneurysm, and may have milder symptoms even when the problem is serious.
- Pregnancy, or the chance you could be pregnant
- Previous belly surgery, which can leave bands of scar tissue that block the bowel
- Some medicines, such as anti-inflammatory pain relievers (for example ibuprofen and naproxen), which can irritate the stomach, and opioid pain medicines, which can cause constipation
- Heavy alcohol use, which raises the risk of pancreatitis, ulcers and liver disease
- Smoking
- A weakened immune system, which can hide signs of infection
- Family history of conditions such as inflammatory bowel disease, celiac disease or bowel cancer
Diagnosis
Your doctor or nurse will start by asking questions about your pain:
- When did it start, and was it sudden or gradual?
- Where is it, and has it moved?
- What does it feel like, and how bad is it?
- What makes it better or worse, such as eating, moving or passing gas?
- Do you have other symptoms, such as fever, vomiting or changes in your bowel movements or urine?
- Could you be pregnant? When was your last period?
- What medicines do you take, and have you had belly surgery before?
They will then examine your belly, gently pressing on different areas to look for tenderness, swelling or lumps. They may also check your temperature, pulse and blood pressure.
Tests
Many people with mild pain do not need any tests. If the cause is unclear or the pain could be serious, you may have:
- Blood tests to look for infection, inflammation, anemia (low red blood cells) or problems with the liver, pancreas or kidneys
- A urine test to check for infection, blood or kidney problems
- A pregnancy test for anyone who could be pregnant
- A stool test for infection, blood or inflammation
- Ultrasound, which uses sound waves to make pictures. It is often used to look at the gallbladder, kidneys and pelvic organs, and in children and pregnant people.
- CT scan, a detailed X-ray scan of the belly that is often used in adults with severe pain
- Endoscopy or colonoscopy, where a thin flexible tube with a camera is used to look inside the stomach or bowel, usually for long-lasting pain
Treatment
Treatment depends on the cause. When the cause is found and treated, the pain usually gets better.
- Gas, indigestion or heartburn may be eased by antacids or acid-reducing medicines such as famotidine or omeprazole.
- Constipation is often helped by more fibre and fluid, and sometimes a laxative such as polyethylene glycol.
- Cramping pain may be eased by antispasmodic medicines, which relax the muscles of the bowel. Examples include hyoscine butylbromide and dicyclomine.
- Infections such as urinary tract infections or diverticulitis may need antibiotics.
- Ulcers are treated with acid-reducing medicines, and with antibiotics if a germ called Helicobacter pylori is found.
- Long-term conditions such as IBS, inflammatory bowel disease or endometriosis have their own treatment plans, which may include diet changes, medicines and specialist care.
- Some emergencies, such as appendicitis, a blocked bowel or an ectopic pregnancy, may need surgery or another procedure.
Pain relief
For mild pain, acetaminophen (also called paracetamol) is usually the safest choice to try first. Avoid anti-inflammatory medicines such as ibuprofen, naproxen or aspirin unless your doctor says they are fine, because they can irritate the stomach and make some causes worse. In hospital, stronger pain medicine may be given while you are being checked. Getting pain relief does not stop doctors from finding the cause.
Self-care at home
If your pain is mild and you have no warning signs, these steps may help while it settles:
- Rest and lie in a comfortable position.
- Sip water or clear fluids often, especially if you have vomiting or diarrhea. An oral rehydration solution can help replace lost salts.
- Eat small, plain meals once you feel ready, such as toast, rice, bananas or soup. Avoid fatty, spicy or very rich foods, alcohol and caffeine for a while.
- Use a warm (not hot) heat pad or hot water bottle on your belly for cramps or period pain. Wrap it in a cloth to protect your skin.
- Try to pass gas or have a bowel movement if you feel the urge; gentle walking can help.
- Keep a symptom diary if pain keeps coming back. Note what you ate, your bowel habits, your periods and stress levels. This can help your care team find patterns.
If you take prescribed medicines and think one might be causing your pain, talk to your doctor or pharmacist before stopping it.
Complications
Belly pain itself does not cause harm, but some of its causes can lead to serious problems if they are not treated in time. For example, an inflamed appendix can burst and spread infection through the belly. A blocked bowel can lose its blood supply. A ruptured ectopic pregnancy or aneurysm can cause life-threatening bleeding. Repeated vomiting or diarrhea can lead to dehydration, especially in babies, young children and older adults. This is why it is important to get checked quickly if your pain is severe or you have warning signs.
Long-lasting pain can also affect sleep, mood, work and relationships. If chronic pain is wearing you down, tell your care team. Support for your mental health is a normal and helpful part of treatment.
Outlook
Most belly pain is caused by minor problems and gets better within a few hours or days, often without any treatment. When pain is caused by a condition that needs treatment, the outlook is usually good if it is found and treated early. People with long-term conditions such as IBS can often control their symptoms well with the right mix of diet, lifestyle changes and medicines, even if the condition does not go away completely.
Prevention
Not all belly pain can be prevented, but these habits lower the risk of many common causes:
- Eat regular meals with plenty of fibre from vegetables, fruit, whole grains and beans.
- Drink enough water through the day.
- Be active most days, which helps your bowels move regularly.
- Limit alcohol, fatty foods and large late-night meals if you get heartburn.
- Wash your hands well, and handle, cook and store food safely to avoid stomach bugs.
- Use anti-inflammatory pain relievers only as directed.
- Don't smoke.
- Follow advice on bowel cancer screening for your age.
In the United States
In the US, hyoscine butylbromide is not approved; dicyclomine is a prescription antispasmodic used for cramping from IBS. Alosetron is approved only for women with severe diarrhea-predominant IBS that has not responded to other treatment.
Assessment
Abdominal pain is among the most common reasons for primary care and emergency presentations; a substantial proportion of emergency cases are discharged as non-specific abdominal pain. Priorities are to identify the acute (surgical) abdomen and time-critical causes: ruptured abdominal aortic aneurysm, mesenteric ischemia, perforated viscus, bowel obstruction, ectopic pregnancy, ovarian or testicular torsion, and extra-abdominal causes (acute coronary syndrome, diabetic ketoacidosis, lower-lobe pneumonia).
- History: onset, site and migration, character (colicky versus constant), radiation, associated GI, urinary and gynecological symptoms, last menstrual period, medications (NSAIDs, opioids, anticoagulants), alcohol, prior surgery.
- Examination: vital signs, peritonism (guarding, rigidity, rebound, percussion tenderness), hernial orifices, pulsatile mass, genital examination where relevant. Pain out of proportion to findings suggests mesenteric ischemia.
- High-risk groups: older adults, immunosuppressed patients and those on corticosteroids may have blunted signs; pregnancy alters anatomy and differential.
Investigations
- Pregnancy test (urine or serum hCG) in all people of reproductive potential.
- CBC, electrolytes, creatinine, liver panel, lipase, CRP; lactate if ischemia or sepsis suspected; glucose and ketones; ECG and troponin for upper abdominal pain with cardiac risk.
- Urinalysis (noting that pyuria can occur in appendicitis).
- Imaging guided by location (ACR Appropriateness Criteria): ultrasound first line for right upper quadrant pain, suspected gynecological pathology, and in children and pregnancy; contrast-enhanced CT for most adults with undifferentiated acute pain or right/left lower quadrant pain; non-contrast CT for suspected renal colic; CT angiography for suspected AAA or mesenteric ischemia. Plain films have limited value.
- Chronic pain: assess for alarm features (age over about 50 to 60 with new symptoms, weight loss, GI bleeding, anemia, dysphagia, persistent vomiting, family history of GI cancer) prompting endoscopy; consider celiac serology, fecal calprotectin and H. pylori testing as indicated. Apply Rome IV criteria for functional disorders.
Management
- Early analgesia, including opioids where needed, does not impair diagnostic accuracy and is recommended.
- Resuscitation, nil by mouth, and early surgical or gynecological consultation for peritonism, hemodynamic instability or suspected obstruction, perforation, ischemia or ectopic pregnancy.
- Avoid NSAIDs where GI bleeding, renal impairment or surgery is likely; NSAIDs are preferred for renal colic in the absence of contraindications.
- Antispasmodics (e.g. hyoscine butylbromide, dicyclomine) may help colicky and IBS-related pain; avoid in suspected obstruction.
- Specific therapies by cause: e.g. alosetron (US only, restricted to women with severe diarrhea-predominant IBS because of risks of ischemic colitis and severe constipation); elagolix for moderate to severe endometriosis-associated pain, with attention to bone mineral density loss and duration limits.
- Discharge with explicit safety-netting and reassessment within 24 to 48 hours if undifferentiated pain persists.
When to get medical help
See a doctor or nurse soon (within a day or two) if:
- Your pain lasts more than a few days, or keeps coming back
- You have pain with fever, or pain or burning when you pee
- You have diarrhea for more than a few days, or vomiting that lasts more than a day
- You are losing weight without trying, or have lost your appetite
- Your bowel habits have changed and stayed changed
- You have heartburn that does not get better with medicines from the pharmacy
- You are pregnant and have belly pain
Go to the emergency department or call emergency services right away if:
- The pain is sudden and severe, or so bad you cannot sit still or stand up straight
- Your belly is hard, swollen or very tender to touch
- The pain is in one spot and getting worse, especially low on the right side
- You are vomiting blood or something that looks like coffee grounds
- You have blood in your stool, or black, tar-like stools
- You cannot pass stool or gas and are vomiting
- You could be pregnant and have belly pain, vaginal bleeding, or feel faint
- You have chest pain, shortness of breath, or pain spreading to your jaw, arm or back
- You feel faint, dizzy or confused, or have a fast heartbeat or cold, clammy skin
- You have yellow skin or eyes with pain and fever
- You have sudden pain in a testicle or the groin
- You recently had an injury to your belly or surgery
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Abdominal Pain. meshb.nlm.nih.gov
- MedlinePlus: Abdominal pain. medlineplus.gov/ency/article/003120.htm
- NHS: Stomach ache. nhs.uk/conditions/stomach-ache/
- NIDDK: Digestive diseases. niddk.nih.gov/health-information/digestive-diseases