Pain in top of stomach and diarrhea

Pain in your upper abdomen is usually due to a temporary, minor problem, such as indigestion or gas. However, ongoing or severe upper abdominal pain may indicate a potentially serious condition. Contact a doctor for severe pain or pain that does not go away within 2 days.Structures and organs within the upper abdomen include the:

  • stomach, spleen, liver, and gallbladder
  • parts of the pancreas, small intestine, and large intestine
  • the muscular abdominal wall itself

Problems with any of these structures can cause upper abdominal pain. The pain may be mild or severe and feel like cramps or a burning sensation. Other symptoms can include nausea, fever, and cough.

Abdominal pain can also spread, or radiate, to or from other locations, such as the heart, lungs, or blood vessels. Problems with the kidneys, which are located in the back side of the abdominal cavity, can also result in upper abdominal pain.

This article presents an overview of pain in the upper abdomen, including minor to severe causes, symptoms, when to contact a doctor for treatment, and how doctors diagnose the cause of upper abdominal pain.

What do we know about upper abdominal pain?

Pain in top of stomach and diarrhea

RealPeopleGroup/Getty Images

Abdominal pain, including upper abdominal pain, is a common reason for people to seek care in the emergency department (ED). This is according to a 2016 retrospective analysis of 5,340 admissions for acute abdominal pain to a large urban ED in Italy.

The definition of acute abdominal pain is pain lasting for 5 days. The Society for Academic Emergency Medicine notes that it is the most common condition in the ED. A common diagnosis is nonspecific abdominal pain, or abdominal pain that is not due to a specific cause. Renal colic from kidney stones is the other most common diagnosis.

There are different types of upper abdominal pain. For example, you may feel mild discomfort, a burning sensation, or a sharp pain. You may feel it in one specific area or throughout the upper abdomen. The pain may also move from one place to another. For example, you may feel pain that begins in your chest, such as from heartburn, but that moves to your upper abdomen.

The type and location of the pain can be important in diagnosing the possible cause. For example, pain from your pancreas or kidneys might start in your abdomen and then move to your back. Shingles, which can cause skin irritation, can also cause abdominal pain if the infection spreads there. Pain from heart attacks or pneumonia usually starts in your chest, but you may also feel this in your upper abdomen.

Any symptoms that occur along with upper abdominal pain, such as nausea or vomiting, can also help with diagnosis. Healthcare professionals perform a physical exam and ask about the nature and duration of the pain and any related symptoms. They may also order an abdominal ultrasound to help diagnose upper abdominal pain.

Seek immediate medical care (call 911) for severe upper abdominal pain that comes on suddenly, especially if it is accompanied by:

  • an inability to have bowel movements
  • bloody stool, vomiting blood, or abdominal rigidity, which refers to an abdomen that is very firm or hard
  • breathing difficulties
  • pain in the neck, chest, shoulders, or area between the shoulders

Abdominal pain during pregnancy also requires emergency attention.

Less severe pain that does not get better within a couple of days can also indicate a serious medical condition. If your upper abdominal pain is persistent or causes you concern, seek prompt medical care.

Find qualified telemedicine providers for a variety of symptoms and conditions here.

What causes upper abdominal pain?

Upper abdominal pain often originates in the digestive tract, but it can also be due to disorders of the circulatory system, kidneys, respiratory system, or abdominal wall.

Acute upper abdominal pain is pain lasting for up to 5 days.

Digestive tract causes of upper abdominal pain

Digestive tract causes include:

  • stomach flu
  • food intolerance, such as lactose intolerance
  • gastritis
  • celiac disease
  • diverticulitis
  • gallbladder disease or gallstones
  • gastroesophageal reflux disease
  • gastroenteritis
  • inflammatory bowel disease
  • irritable bowel syndrome
  • liver disease, including hepatitis
  • pancreatitis
  • ulcers of the stomach or duodenum, which is the first section of the small intestine

Other causes of upper abdominal pain

Conditions involving other body systems that can cause upper abdominal pain include:

  • muscle strain
  • nerve compression
  • kidney stones
  • kidney infection
  • shingles, which can sometimes cause pain on the left or right side of the abdomen
  • hernia
  • pleurisy
  • pneumonia
  • cancer

Serious or life threatening causes of upper abdominal pain

Upper abdominal pain may be a symptom of a serious or potentially life threatening condition, as these 2021 and 2016 articles summarize. Some conditions of this nature include:

  • abscess
  • aortic aneurysm
  • bowel obstruction or bowel perforation
  • chemical or heavy metal poisoning
  • colonic volvulus
  • intestinal ischemia
  • heart attack
  • pancreatitis
  • cholecystitis
  • cholangitis
  • peritonitis
  • preeclampsia, which can cause upper right abdominal pain
  • sickle cell crisis
  • significant abdominal trauma

What other symptoms might occur with upper abdominal pain?

Upper abdominal pain may occur along with other symptoms, including those involving the digestive tract or other body systems, such as the circulatory (cardiovascular) system.

Digestive tract symptoms that may occur along with upper abdominal pain

Gastrointestinal symptoms can include:

  • bloating
  • belching
  • indigestion, or dyspepsia
  • constipation
  • diarrhea
  • gas
  • bloody stool
  • changes in bowel movements
  • nausea with or without vomiting

Read about home remedies for nausea here.

Other symptoms that may occur along with upper abdominal pain

Upper abdominal pain may accompany symptoms related to other body systems. Such symptoms may include:

  • abdominal muscle spasms
  • body aches
  • cough
  • fever
  • general ill feeling
  • numbness or tingling
  • rash
  • unexpected weight loss

What are the potential complications of upper abdominal pain?

Potential complications of untreated upper abdominal pain due to serious conditions include:

  • spread of infection
  • bowel infarction due to prolonged ischemia
  • spread of cancer
  • sepsis
  • organ failure

When to contact a doctor

Abdominal pain is a common complaint that can be due to a wide range of causes. Some of these are serious and require a professional medical evaluation to diagnose or rule out.

Contact a doctor or another healthcare practitioner for upper abdominal pain when you experience:

  • abdominal pain bad enough to wake you up
  • continuous discomfort for 24–48 hours
  • mild pain or pain that comes and goes for more than a few days
  • vomiting
  • rash

Keep in mind that the need for medical attention can depend on the person’s age, health, and medical history.

Learn more about when to contact a doctor for abdominal pain here.

Serious symptoms that might indicate a life threatening condition

In some cases, upper abdominal pain is a symptom of a serious condition. Seek immediate medical care (call 911) for any of the following symptoms:

  • high fever
  • severe or sharp abdominal pain that comes on suddenly
  • an inability to have bowel movements, especially with vomiting
  • jaundice
  • a rapid heart rate
  • respiratory or breathing problems
  • chest pain, chest tightness, chest pressure, or palpitations
  • rigidity of the abdomen
  • trauma to the abdomen
  • vomiting blood, rectal bleeding, or bloody stool
  • changes in consciousness or alertness, such as passing out or becoming unresponsive

How do doctors diagnose the cause of upper abdominal pain?

The diagnosis of upper abdominal pain involves a thorough physical examination, a review of your medical history, and possibly imaging and blood tests.

Imaging tests can include:

  • abdominal ultrasound, which is a common imaging test for diagnosing abdominal pain
  • CT scan
  • upper gastrointestinal endoscopy, or esophagogastroduodenoscopy, which is a test to examine the lining of the esophagus, stomach, and first part of the small intestine

Learn when doctors might order an upper gastrointestinal endoscopy here.

Questions for diagnosing the cause of upper abdominal pain

To diagnose your condition, some questions your doctor may ask include:

  • Where do you feel the pain?
  • Is the pain precise, or is it hard to pinpoint where it is?
  • When did the pain start?
  • Have you had pain like this before?
  • How severe is the pain? (On a scale of 1–10, 10 is the worst pain you can imagine.)
  • How would you describe your pain? Is it sharp or dull, constant, or intermittent?
  • Does anything make the pain go away or make it worse?
  • Have you been injured?
  • Do you have any other symptoms?
  • What medications are you taking?
  • What is your medical history?
  • Have you had surgery recently?
  • Could you be pregnant?

What are the treatments for causes of abdominal pain?

The treatment of abdominal pain will depend on the cause. You can treat some causes at home. For non-serious causes, such as stomach flu, treatment includes resting and taking on fluids until your body clears the viral infection.

Some types of treatment, along with their causes, include:

  • antacid medications for heartburn
  • pain relief medications for muscle strains
  • antibiotics for bacterial infections
  • nerve blocks for severe pain from conditions such as pancreatitis
  • oral or IV fluids for dehydration from vomiting
  • surgery for correcting structural problems, such as hernia, or for treating certain conditions, such as stomach ulcer or kidney stones

Summary

Often, upper abdominal pain is not due to a serious cause and will go away on its own.

However, if you have persistent pain, unusual or sharp pain, or pain with other symptoms, take your concerns to your healthcare professional. In most cases, a doctor finds the cause, and treatment is successful.

What helps upper stomach pain and diarrhea?

For cramping from diarrhea, medicines that have loperamide (Imodium) or bismuth subsalicylate (Kaopectate or Pepto-Bismol) might make you feel better. For other types of pain, acetaminophen (Aspirin Free Anacin, Liquiprin, Panadol, Tylenol) might be helpful.

What does it mean when your stomach hurts up top?

Pain in this area can be caused by eating too much. It can be caused by a food or a drug that upsets the stomach. It can also be caused by more serious problems like stomach ulcers or a gallbladder attack. Reflux disease (GERD) causes a burning pain that goes into the chest.

When should I be concerned about stomach pain and diarrhea?

Call your doctor if you have abdominal pain that lasts 1 week or longer, if your pain doesn't improve in 24 to 48 hours, if bloating lasts more than 2 days, or if you have diarrhea for more than 5 days.

How do I know if my upper stomach pain is serious?

You should seek emergency medical attention if you have any of the following:.
severe pain or pressure..
fever..
nausea or vomiting that won't go away..
unexpected weight loss..
yellowing of the skin (jaundice).
abdominal sweating..
severe tenderness when you touch your abdomen..
bloody stools..