Sharp pain in upper abdomen after eating

Acute pancreatitis is sudden swelling and inflammation of the pancreas.

The pancreas is an organ located behind the stomach. It produces the hormones insulin and glucagon. It also produces chemicals called enzymes needed to digest food.

Most of the time, the enzymes are active only after they reach the small intestine.

  • If these enzymes become active inside the pancreas, they can digest the tissue of the pancreas. This causes swelling, bleeding, and damage to the organ and its blood vessels.
  • This problem is called acute pancreatitis.

Acute pancreatitis affects men more often than women. Certain diseases, surgeries, and habits make you more likely to develop this condition.

  • Alcohol use is responsible for up to 70% of cases in the United States. About 5 to 8 drinks per day for 5 or more years can damage the pancreas.
  • Gallstones are the next most common cause. When the gallstones travel out of the gallbladder into the bile ducts, they block the opening that drains bile and enzymes. The bile and enzymes "back up" into the pancreas and cause swelling.
  • Genetics may be a factor in some cases. Sometimes, the cause is not known.

Other conditions that have been linked to pancreatitis are:

  • Autoimmune problems (when the immune system attacks the body)
  • Damage to the ducts or pancreas during surgery
  • High blood levels of a fat called triglycerides -- most often above 1,000 mg/dL
  • Injury to the pancreas from an accident

Other causes include:

  • After certain procedures used to diagnose gallbladder and pancreas problems (endoscopic retrograde cholangiopancreatography, ERCP) or ultrasound guided biopsy
  • Cystic fibrosis
  • Overactive parathyroid gland
  • Reye syndrome
  • Use of certain medicines (especially estrogens, corticosteroids, sulfonamides, thiazides, and azathioprine)
  • Certain infections, such as mumps, that involve the pancreas

The main symptom of pancreatitis is pain felt in the upper left side or middle of the abdomen. The pain:

  • May be worse within minutes after eating or drinking at first, more commonly if foods have a high fat content
  • Becomes constant and more severe, lasting for several days
  • May be worse when lying flat on the back
  • May spread (radiate) to the back or below the left shoulder blade

People with acute pancreatitis often look ill and have a fever, nausea, vomiting, and sweating.

Other symptoms that may occur with this disease include:

  • Clay-colored stools
  • Bloating and fullness
  • Hiccups
  • Indigestion
  • Mild yellowing of the skin and whites of the eyes (jaundice)
  • Swollen abdomen

Treatment often requires a stay in the hospital. It may involve:

  • Pain medicines
  • Fluids given through a vein (IV)
  • Stopping food or fluid by mouth to limit the activity of the pancreas

A tube may be inserted through the nose or mouth to remove the contents of the stomach. This may be done if vomiting and severe pain do not improve. The tube will stay in for 1 to 2 days to 1 to 2 weeks.

Treating the condition that caused the problem can prevent repeated attacks.

In some cases, therapy is needed to:

  • Drain fluid that has collected in or around the pancreas
  • Remove gallstones
  • Relieve blockages of the pancreatic duct

In the most severe cases, surgery is needed to remove damaged, dead or infected pancreatic tissue.

Avoid smoking, alcoholic drinks, and fatty foods after the attack has improved.

Most cases go away in a week or less. However, some cases develop into a life-threatening illness.

The death rate is high when:

  • Bleeding in the pancreas has occurred.
  • Liver, heart, or kidney problems are also present.
  • An abscess forms the pancreas.
  • There is death or necrosis of larger amounts of tissue in the pancreas.

Sometimes the swelling and infection do not fully heal. Repeat episodes of pancreatitis may also occur. Either of these can lead to long-term damage of the pancreas.

Contact your provider if:

  • You have intense, constant abdominal pain.
  • You develop other symptoms of acute pancreatitis.

You may lower your risk of new or repeat episodes of pancreatitis by taking steps to prevent the medical conditions that can lead to the disease:

  • DO NOT drink alcohol if it is the likely cause of the acute attack.
  • Make sure children receive vaccines to protect them against mumps and other childhood illnesses.
  • Treat medical problems that lead to high blood levels of triglycerides.

Gallstone pancreatitis; Pancreas - inflammation

Crockett SD, Wani S, Gardner TB, Falck-Ytter Y, Barkun AN. American Gastroenterological Association Institute Clinical Guidelines Committee. American Gastroenterological Association Institute Guideline on initial management of acute pancreatitis. Gastroenterology. 2018;154(4):1096-1101. PMID: 29409760 pubmed.ncbi.nlm.nih.gov/29409760/.

Forsmark CE. Pancreatitis. In: Goldman L, Schafer AI, eds. Goldman-Cecil Medicine. 26th ed. Philadelphia, PA: Elsevier; 2020:chap 135.

Paskar DD, Marshall JC. Acute pancreatitis. In: Parrillo JE, Dellinger RP, eds. Critical Care Medicine: Principles of Diagnosis and Management in the Adult. 5th ed. Philadelphia, PA: Elsevier; 2019:chap 73.

Vege SS. Acute pancreatitis. In: Feldman M, Friedman LS, Brandt LJ, eds. Sleisenger and Fordtran's Gastrointestinal and Liver Disease: Pathophysiology/Diagnosis/Management. 11th ed. Philadelphia, PA: Elsevier; 2021:chap 58.

Updated by: Michael M. Phillips, MD, Emeritus Professor of Medicine, The George Washington University School of Medicine, Washington, DC. Also reviewed by David Zieve, MD, MHA, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

Why do I have a sharp pain in my upper stomach?

Pancreatitis. Abdominal pain caused by pancreatitis, which is inflammation in the pancreas, is a severe and sharp pain occurring in the upper middle of the abdomen that can sometimes radiate to your back or chest. You may also experience other symptoms such as nausea, vomiting and fever.

When should I worry about 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.

How do you fix upper stomach pain after eating?

Some remedies may also benefit stomach upset from other sources, such as irritable bowel syndrome..
Drinking water. ... .
Avoiding lying down. ... .
Ginger. ... .
BRAT diet. ... .
Avoiding smoking and drinking alcohol. ... .
Avoiding difficult-to-digest foods. ... .
Lime or lemon juice, baking soda, and water. ... .

Can food cause upper abdominal pain?

Most people can even pinpoint which foods trigger their symptoms the most. For example, it's common to experience symptoms after eating spicy food or food that's high in fat content. Indigestion (also known as dyspepsia) is also a common characteristic. Indigestion is persistent discomfort or pain in the upper abdomen.