Yellow Stool & Abdominal Pain: 11 Causes Explained In-depth

Your stool acquires its normal brown color via the breakdown of a substance called bilirubin inside your intestine. yellow stools can occur by a variety of mechanisms.

  • Diarrhea: Not enough time to process your stool to its normal brown color (speeding up of stool  passage through the colon)
  • Less bilirubin reaching your intestine: as with bile duct obstruction, bilirubin is the source of the brown color of stool.
  • Excess bilirubin reaching your intestines exceeding the capacity of your intestine to break it down. (as with inflammation of the liver “hepatitis”).
  • More fat in your stool as with eating large fatty meals or conditions leading to fat malabsorption.
  • Eating too many yellow-colored foods.

Here, We will discuss the COMMON causes of yellow stools and abdominal pain at the same time.

1- Stomach flu (viral gastroenteritis).

Infection of your intestine by viruses is very common, it causes severe diarrhea and colics.

If your stool is just yellow without diarrhea, stomach flu is unlikely.

Viral Gastroenteritis is the most common cause of infectious diarrhea (58.7% of infectious diarrhea are caused by viruses, commonly:

  • Norovirus.
  • Rotavirus.
  • Astrovirus.

Norovirus became the most common cause of viral gastroenteritis after the invention and the widespread use of the Rotavirus vaccine.

Gut viruses cause both abdominal pain and yellow diarrhea are caused by speeding up of your gastric contents and impairment of fat absorption.

How to suspect stomach flu (symptoms):

  • severe abdominal cramps (mainly lower abdomen.
  • Diarrhea and yellow loose stool.
  • Upper abdominal pain (stomach pain).
  • Nausea and vomiting can occur.
  • Low-grade fever.
  • Body aches, headache.

How to deal?

  • The condition is usually self-limiting within few days.
  • Eat easily digestible foods such as BRAT (Bananas, Rice, Applesauce, Toast).
  • Avoid high-fat foods, caffeine, and sugary foods.
  • call your doctor if you suspect covid-19, have a high-grade fever, bloody diarrhea, or sharp intolerable pain that is not going away.

CAUTION!

Fever, Diarrhea, Yellow stool, and abdominal pain can be a result of COVID-19 infection. Immediately consult your health care provider if you encounter fever or any suspicious symptoms of COVID-19 such as:

  • Lack of taste or smell.
  • severe bony aches and malaise.
  • shortness of breath.
  • Cough, sputum.
  • severe headache.
  • Rapid breathing or rapid heartbeats.

– Indigestion of a large fatty meal

 

2- Giardiasis & other infections.

Apart from viral gastroenteritis, other gut bugs can cause infection to your gut, commonly bacterial infections, protozoa, and parasites.

They cause yellow stool by speeding up the stool passage (diarrhea), and of course, abdominal pain and colics.

Giardiasis is a protozoan that is famous for causing severe yellow diarrhea. it specifically causes “yellow stools” by decreasing fat absorption.

Viral gastroenteritis primarily affects your small intestine while bacteria and protozoa mainly affect the colon.

The symptoms of bacterial gastroenteritis are generally more severe than viral gastroenteritis with more fever, colics, blood, or mucus in stool.

Symptoms:

  • Abdominal pain is more severe than stomach flu, with attacks of intense abdominal cramps.
  • Diarrhea can be yellow with mucus or blood.
  • Fever is usually high grade, especially with bacterial gastroenteritis.
  • Vomiting and nausea are present but generally less than viral gastroenteritis.
  • Tenesmus, dysentery are common, especially with amoebic and shigella infections.

These infections can be acquired by contaminated hands or food. when you acquire the infection by eating contaminated food or drinks it is called “foodborne illness” or “Food Poisoning”.

how to deal?

  • The same as viral gastroenteritis. It is important to keep yourself hydrated as diarrhea can be severe.
  • Eat soft easy to digest foods and avoid high fat and fried foods.
  • Consult your doctor if the fever is a high grade, severe bloody diarrhea, or signs of dehydration.

MORE: Causes of Severe Stomach Pain & Diarrhea in The Middle of the Night.

3- Food: intolerance, allergy, and yellow foods.

 

Food intolerance

Sporadic attacks of abdominal pain and yellow stool can be due to intolerance of your gut to certain foods.

It is usually caused by the inability of your intestine to digest and absorb certain types of food fibers or sugars.

Food intolerance is common. it is estimated that 15-20% of people have a food intolerance (ref).

According to the severity of intolerance and how often you eat the offending food, symptoms may vary from:

  • Occasional abdominal pain, gases, and stool changes.
  • Persistent chronic diarrhea, yellow stools, abdominal pain, and bloating.

Common foods causing intolerance:

  • Lactose intolerance: lactose is a sugar present in milk and dairy products, a very common form of food intolerance. 
    Severe forms usually present in early childhood with severe diarrhea, distention, and abdominal pain. But also, it can present with mild symptoms in adults after ingestion of too much lactose, in the form of abdominal pain and yellow stools, and maybe diarrhea. 
    This article explains how you can become lactose intolerant later in life.
  • Fructose Malabsorption (intolerance): Fructose is a simple sugar. It comes mostly from fruit, honey, and some vegetables.
    Overconsumption of fructose is common due to the high intake of refined foods nowadays.
    Symptoms are similar to lactose intolerance with bloating, abdominal pain, diarrhea, or yellow stools. LEARN MORE
  • Intolerance of certain types of alcohol.
  • Gluten is a common type of food intolerance. it causes severe diarrhea, anemia, bloating, yellow stool, and abdominal pain. 
    The severe form is called celiac disease. Milder forms of gluten sensitivity are present (Non-celiac gluten sensitivity.
    Learn more about Celiac disease HERE.
    Learn more about Non-celiac Gluten sensitivity HERE.
  • Caffeine intolerance.
  • Amines intolerance.
  • FODMAP intolerance in patients with IBS. Learn more.

Food Allergy.

Food allergy is different from food intolerance. While food intolerance is just “difficulty digesting and absorbing certain foods, Food allergy is an immune-mediated creation to certain foods you eat.

It is less common than a food allergy, affecting only about 2-5% of people (ref).

Not only food allergy produces Gut symptoms similar to food intolerance, but also it can produce severe allergic reactions such as

  • Swollen lips or face.
  • Skin allergy as redness, swelling, itching.
  • Difficulty swallowing.
  • It may cause life-threatening laryngeal edema with difficulty breathing.

Common foods causing food allergy:

  • Nuts, peanut.
  • Raw meat, seafood.
  • Mustard
  • Rice!
  • Some vegetables and fruits.

Some yellow foods:

Some yellow foods can cause your stool to become yellow. These foods usually don’t trigger abdominal pain, but you should consider them whenever you experience yellow stool.

Review what you ate before the appearance of yellow stool. You may find some of the below foods that cause yellow stools:

  • Sweet potatoes.
  • Carrots.
  • Tumeric.
  • Yellow pigment-containing foods.

4- Stress.

Stress, anxiety, and other forms of psychological stressors occur almost to everyone.

Your gut is the first and most affected organ by your brain and psychological status. The mind-gut connection is one of the most common causes of unexplained gut symptoms.

Stress and anxiety are major contributors to the development of Functional GI diseases, especially Irritable bowel syndrome.

You don’t have to be diagnosed with irritable bowel syndrome to experience stress-related gut symptoms.

A simple daily stress or anxiety situations can trigger both abdominal pain and loose yellow stools or even diarrhea.

Here are some interesting facts about stress, anxiety, and your gut:

  • Your gut has an entire nervous system in the form of nerve cell plexuses around the intestine.
  • These nerve cells residing in the gut are more than the entire spinal cord neurons (ref).
  • Stress can induce nausea, abdominal pain, loose stools, or even diarrhea.
  • IBS, Peptic ulcers, GERD, Inflammatory bowel disorders are all related to stress.
  • Microbiome (the beneficial micro-organisms inside your intestines) are connected to your brain, they can affect each other.

If you encounter abdominal pain, yellow stools, or diarrhea every time you feel stressed, consider this as the primary cause.

If you suspect irritable bowel syndrome, learn how is IBS diagnosed here.

5- Alcohol and Caffeine.

Although we mentioned alcohol and caffeine under food intolerance causes, we have to give them special attention due to their wide use.

Instead of thinking of serious causes of yellow stool and abdominal pain, it is better to think of bad drinking habits.

Excess alcohol or caffeine can irritate your gut causing cramps and loose yellow stool or even diarrhea.

Review the list of what you drink before the onset of yellow stool and abdominal pain.

Alcohol can cause harm to your gut in the form of:

  • large amounts of alcohol can trigger gut inflammation and abdominal pain.
  • Alcohol can disturb the ecosystem of beneficial micro-organisms inside your colon.
  • Vitamin malabsorption and vitamin deficiency.
  • Pancreatic and liver inflammation and damage (which can also be a cause of yellow stool).
  • It can trigger other symptoms such as diarrhea, gas, and bloating.
  • Some alcohols contain fructose, artificial sweeteners. These constituents can trigger abdominal pain and loose yellow stools.

Learn more about alcohol, your gut, and IBS here.

Caffeine is a beneficial drink with powerful anti-oxidant effects. However, caffeine abuse in large amounts or caffeine sensitivity can lead to abdominal pain, yellow stool every time you drink it.

if the pain and stool changes are triggered every time you drink coffee or other caffeinated drinks, consider cutting it off and watch if symptoms go away.

6- Medications.

Another thing to consider as a common (& overlooked) cause of abdominal pain, yellow stools, or diarrhea is MEDICATIONS.

either new or chronic medications can affect your gut and cause side effects including pain and stool changes.

Review any recent medications and the list of your chronic medication for any offending drug that can cause abdominal pain and yellow stools:

  • Laxatives: large doses of laxatives can cause abdominal bloating, pain and may induce loose yellow stools. 
    Commonly: Lactulose, Docusate sodium, and Magnesium oral solutions and laxatives.
  • Some antibiotics: Many antibiotics can harm your gut health by either killing the beneficial bacterial or inducing inflammation. 
    The common antibiotic that can cause abdominal pain and yellow stools are clindamycin, Penicillins, and cephalosporins. 
    Learn more about the harmful effects of antibiotics on your gut health and how to restore your gut health after antibiotic use HERE.
  • Some Diabetes Mellitus medications such as metformin.
  • GERD, gastritis, and peptic ulcer medications (Proton Pump inhibitors, H2 blockers) may cause an overgrowth of harmful gut microbes and cause symptoms such as abdominal pain, bloating yellow loose stool.
  • Chemotherapy (anticancer medications).
  • Immunosuppressive medications used in autoimmune diseases like Rheumatoid arthritis, Systemic lupus Erythromatosis, Idiopathic thrombocytopenic purpura.

The details about medications that can cause diarrhea and yellow stools are discussed here.

Consult your doctor about any mediation you use and its relations to abdominal pain and stool color changes.

7- Irritable bowel syndrome (especially with diarrhea).

Another common cause of abdominal pain and loose yellow stool is Irritable bowel syndrome.

IBS affects around 11 to 15% of the population (ref). Currently, there is no reliable test to diagnose IBS, IBS is diagnosed according to some clinical criteria.

The fundamental symptom of IBS is abdominal pain that occurs at least once per week. The onset of abdominal pain is associated with at least 2 of the below:

  • Defecation: abdominal pain is relieved (or worsened) during or after defecation.
  • Change in stool form: stool becomes more hard or loose (and yellow).
  • Change in stool frequency: more frequent or less frequent bowel movements (constipation or diarrhea)

irritable bowel syndrome

A surprising fact about IBS:

Only 30% of people matching the criteria of IBS will consult their doctors about IBS symptoms (ref).

This leaves 70% of people matching the diagnostic criteria of IBS without even knowing they’ve IBS!

If you have recurrent abdominal pain and yellow stool, Read this in-depth guide to figure out if you have IBS or Not.

8- Acute Hepatitis (& other liver diseases).

Acute inflammation of the liver (commonly due to hepatitis A virus) can cause abdominal pain and yellow stool (ref).

Overproduction of bilirubin by the inflamed liver can lead to yellow stool.

symptoms of acute hepatitis:

  • Usually starts with nausea, abdominal pain (mainly in the upper right abdomen)
  • Yellowish discoloration of the skin, sclera (eye whites),
  • Dark urine, pale yellow stools.
  • Vomiting may occur.
  • Fatigue and loss of appetite.
  • Fever can also occur.

Learn more about hepatitis A infection here.

Other liver conditions that can cause yellow stool and abdominal pain:

  • Acute hepatitis due to causes other than hepatitis such as acute hepatitis B, autoimmune hepatitis.
  • Acute fulminant liver failure.
  • Chronic hepatitis such as chronic hepatitis c.
  • other rare liver diseases such as PBC (Primary Biliary Cholangitis), Wilson’s disease, and hemochromatosis.

9- Gall bladder issues.

The gall bladder can contribute to abdominal pain and yellow pale stools, many gallbladder conditions can cause such conditions such as:

Can the removal of your gallbladder cause persistent abdominal pain and yellow diarrhea?

According to Dr, Michel from Mayoclinic, about 20% of people undergoing gallbladder surgery may develop diarrhea (ref). also, symptoms of gallbladder inflammation may persist after surgery. This condition is called “Post-cholecystectomy syndrome” (ref).

10- Celiac disease.

Celiac disease is a form of food intolerance (to wheat and barley). in its severe form, the celiac disease leads to persistent yellow diarrhea, abdominal pain, anemia, and fatigue.

The classical disease is very severe, its age of presentation is usually between 20-30 years of age.

don’t consider celiac disease if you don’t have chronic yellow diarrhea.

11- Pancreatic Diseases.

Acute inflammation of the pancreas leads to severe abdominal pain and loose yellow stools, the condition is usually severe, with sharp stopping pain in the upper part of your abdomen.

In some cases, the inflammation may become chronic and lead to a deficiency of the digestive enzymes (pancreatic Exocrine deficiency). this condition leads to chronic yellow diarrhea especially after eating fatty foods.

Fast facts about EPI (Exocrine Pancreatic Insufficiency):

  • Common in alcoholics and people with chronic pancreatitis.
  • The condition may be mild and diarrhea occurs only after you eat fatty foods.
  • More severe disease can present with severe greasy diarrhea, abdominal pain, bloating, weight loss, and vitamin deficiency.
  • Suspect if you have a history of pancreatitis.
  • Treatment is usually by the replacement of deficient pancreatic enzymes.