How to Treat Yellow Stool: Gastroenterologist Explains.

Our content is not intended nor recommended as a substitute for medical advice by your doctor. Use for informational purposes only.

To treat yellow stool, you have to identify its cause at first and then treat it accordingly. Common causes of yellow stool to treat are IBS with diarrhea, fatty indigestion, gallbladder diseases, liver diseases, pancreatic diseases, medications, and bile acid diarrhea.

Step #1: Define the cause of yellow stool.

The first step to treat yellow stool is to define the cause of your condition. If you are unable to detect a cause, consult your doctor to get a diagnosis. After establishing a diagnosis, treat accordingly.

3 factors can lead to the yellow stools:

  1. Diarrhea (speeding up of the stool inside your intestine):
    The stool needs time to acquire its normal brown color inside the colon. Diarrhea (regardless of its cause) can lead to yellow stool. This is because stool has not have enough time to become brownish.
  2. Presence of more fat inside your stool:
    Fat is yellow in color. The condition that leads to increased fat in stool can lead to yellow stool.
    Examples of conditions that lead to increased fat in stool: Indigestion of a large fatty meal, pancreatic diseases, gallbladder disease, liver diseases, and a condition called bile acid diarrhea.
  3. Staining of your stool with yellow pigment: common causes are yellow foods such as:

    * Carrots.
    * Sweet potatoes.
    * Tumeric.
    * Any yellow Pigment containing Food.
    * Also, Bilirubin is a yellow pigment that causes yellow stool for years in Gilbert’s syndrome.

Common causes of Yellow stools:

1- Irritable bowel syndrome with predominant diarrhea.

2- indigestion of a large fatty meal.

3- Acute infectious diarrhea, giardiasis, and food poisoning.

4- Food intolerance.

5- Gallbladder diseases.

6- Pancreatic diseases.

7- Liver diseases.

8- Celiac diseases

9- Medications causing diarrhea or yellow stool.

10- Bile acid Diarrhea.

Below, we will provide you with a brief explanation of each condition, and the best treatment.

To learn more about the causes of yellow stool in detail, Try to read these:

Step #2: Decide whether you need to see a doctor or not.

See a doctor to diagnose and treat your yellow stool if you have:

  • Unexplained diarrhea.
  • Fever.
  • Vomiting.
  • Severe abdominal pain.
  • Jaundice (unexplained).
  • Weight loss with attacks of yellow stools or diarrhea.
  • Having a medical condition such as celiac, liver diseases, pancreatic diseases, or gallbladder disease.
  • Taking medications that can cause yellow stool (don’t stop prescribed medications by yourself).

On the other hand, some simple conditions that may NOT require a doctor visit include:

  • Eating more fat (indigestion of a large fatty meal).
  • Having conditions that cause yellow stools such as IBS with diarrhea or Gilbert’s syndrome.
  • Eating yellow foods.
  • Mild attacks of gastroenteritis that cause acute diarrhea and yellow stool (usually self-limiting).

Step #3: Treat according to the cause of yellow stool.

1- IBS yellow stools.

A common condition where your bowel movement is frequent, associated with abdominal pain and change in stool consistency. yellow stool here is due to the speeding up of gastric contents (diarrhea).

Learn more about HOW is IBS diagnosed.

Learn more about IBS yellow stool.

Tips to treat IBS yellow stool:

  • Eliminate FODMAP foods containing short-chain sugars that can trigger your IBS diarrhea and yellow stool. FODMAPs refer to Fermentable Oligo-, Di-, and Monosaccharides, And Polyols. Learn more about the types of food you should avoid.
  • Try a soluble fiber supplement such as Psyllium (Metamucil).
  • Avoid a high-fat diet.
  • Try to avoid Gluten (a protein present in wheat and rye).
  • Try a Probiotic.
  • Ask your doctor about anti-diarrhea medications for IBS such as loperamide (Imodium A-D).
  • Ask your doctor about Tricyclic antidepressants (TCAs) or Selective Serotonin Reuptake Inhibitors (SSRIs) for your IBS-D.
  • If your diarrhea is resistant, Ask your doctor about other IBS-D-specific medications such as Alosetron (Lotronex), Elucadoline (Viberzi), Rifaximin (Xifaxan), Linaclotide (Linzess).

Learn more about IBS treatments:


2- Indigestion of a large fatty meal.

Eating large amounts of fat is common misbehavior by many. That is why we put it second in the order of the causes of yellow stool. fat causes diarrhea and also it is yellow in color, and this is why it causes yellow stool.

No specific treatment is recommended. Once you stop the wrong habit of eating high-fat foods, the yellow stool will go away.

Eating healthy types of fat in moderation is not supposed to cause yellow stool or diarrhea.

If you experience diarrhea and yellow stool with normal amounts of fat, this may indicate “fat intolerance” or a condition called (bile acid diarrhea).

Discuss the issue with your doctor to determine the cause and the best solutions.

3- Acute infectious diarrhea.

Acute infectious diarrhea is a very common cause of yellow stools. It is a very common condition worldwide, both in children and adults. About 3-5 billion cases of acute gastroenteritis occur worldwide each year (ref).

Common causes of acute infectious diarrhea:

  • Acute viral gastroenteritis (stomach flu) due to norovirus, rotavirus, or astrovirus.
  • Food-borne illnesses (food poisoning) such as salmonella.
  • Protozoal infections such as Giardiasis (a common cause of yellow stool).

Tips to treat yellow stool due to acute infectious diarrhea:

  • Good hydration with water and bland fluids is critical.
  • Eating BRAT diet: Bananas, Rice, Apple sauce, and Toast.
  • Rest.
  • Stop eating solid foods for a few hours if the condition is severe.
  • Avoid caffeine, fatty foods, alcoholo, and nicotine.
  • Usually, medications are not needed unless the condition is severe, with fever, or vomiting.

4- Food intolerance.

Common types of food tolerances that cause diarrhea and yellow stool include:

1- Lactose sugar in dairy products such as milk, yogurt, and cheese.

2- Gluten in wheat and barley.

3- Caffeine in coffee, and other caffeinated drinks.

4- FODMAPs in people with IBS.

5- Salicylates: natural products present in a wide range of foods (fruits, vegetables, teas, coffee, spices).

6- Fructose intolerance (fructose is a FODMAP): it is most commonly found in ripe fruits and honey.

7- Fat intolerance.

Learn more about food intolerance and diarrhea.

Treatment of yellow stool due to food intolerance is simply by identifying the offending foods and eliminating them.

If you suspect yellow diarrhea due to food intolerance, it is better to keep a food diary and consult your doctor or dietitian.

5- Gall bladder disease.

Any condition affecting the normal flow of bile from the gall bladder to the intestine can lead to changes in stool color (yellow stool).

common causes of yellow stool due to gallbladder conditions include:

  • Gallbladder removal (cholecystectomy).
  • Gallbladder inflammation (cholecystitis).
  • Gallbladder Obstruction by a stone or tumor.

Yellow stool together with jaundice is a sign of liver or gallbladder disease. Treating yellow stool is directed towards treating the primary condition affecting the gallbladder.

Diarrhea after gallbladder removal is common. it is a common cause of yellow stool.

Restricting fat in food is critical in treating yellow stools due to gallbladder disease.

Eating smaller meals with less fat content, treating the underlying cause such as removal of obstructing stones, and treating gallbladder inflammation will improve yellow stool.

The presence of acute jaundice and pale yellow (clay) stool may be signs of biliary obstruction, which may require urgent medical intervention with the insertion of a stent into the bile ducts to restore bile flow.

6- Liver diseases.

Conditions affecting the liver (the factory of the bile) can lead to abnormal yellow stool.

Common causes of yellow stool due to the liver:

  • Acute Hepatitis (especially due to hepatitis A virus).
  • Chronic hepatitis (due to viral infections, Non-alcoholicosteatohepatitis, alcoholicohepatitis, or autoimmune hepatitis).
  • Liver cell failure (liver cirrhosis).
  • Liver cancers (primary liver cancer or metastasis tumors).

Tips to treat yellow stools due to liver diseases:

  • Close medical follow-up with your doctor, because of the serious nature of the liver diseases.
  • Limit the high-protein and high-fat in the diet.
  • Eat small, more frequent meals.
  • Be compliant with the treatments prescribed by your doctor according to your specific liver condition.

Sometimes, you may continue to experience yellow stool with your liver condition (especially with Gilbert’s syndrome). Usually, this is not a cause of concern, and you can live with it. 

7- Pancreatic diseases.

Acute and chronic pancreatitis leads to the destruction of the pancreatic tissue.  Alcoholismo, pancreatic duct obstruction, and high blood lipid are common causes of pancreatitis.

Damage to the pancreas decreases the digestive enzymes inside your digestive tract, leading to malabsorption syndrome (which in turn will cause diarrhea and yellow stool).

Chronic yellow diarrhea and malabsorption are characteristic of Exocrine Pancreatic Insufficiency (EPI). EPI is a sequela of chronic pancreatitis.

Tips to treat yellow stool due to pancreatic conditions:

  • Avoid alcoholocompletely.
  • Limit fat in your diet.
  • Take a pancreatic enzyme supplement. 
  • Avoid large meals, eat smaller, more frequent meals. 

Work with your doctor to determine the best specific treatment for your condition (which may include surgical treatments). Learn more.

8- Celiac disease.

Celiac disease is a chronic medical condition due to sensitivity to a protein called “gluten”.

Gluten is present in wheat, rye, and barley-containing foods. Celiac disease causes severe diarrhea, anemia, and yellow stool.

Although there are no specific medications to treat celiac disease, eliminating the offending foods will result in a dramatic improvement in diarrhea, yellow stool, and all other symptoms.

learn more.

9- Medications.

Some medications can lead to yellow stool. Usually, the yellow stool due to medication is caused by drug-induced diarrhea.

Common medications that cause diarrhea and yellow stool:

  • Laxative overdose.
  • Some antibiotics.
  • Some diabetes medications such as Metformin (Commonly prescribed for people with type 2 DM).
  • GERD and Gastritis Medications such as Proton pump inhibitors (omeprazole, esomeprazole, dexlansoprazole), H2 blockers (such as famotidine)
  • Chemotherapy medications.
  • Immunosuppressive medications used in immune-mediated diseases. 

CAUTION: don’t stop medications prescribed for your health conditions to avoid yellow stool or diarrhea. This may cause serious consequences.

Yellow diarrhea is usually not a serious health issue. Stopping the above medications without medical permission can lead to flare-ups or complications in the original disease. 

Antibiotic-associated diarrhea and yellow stool can be treated with probiotics and changing or stopping the antibiotic (by your doctor).

10- Bile acid diarrhea.

Bile acid diarrhea is an under-diagnosed condition. It is caused by the failure of your digestive system to handle and re-absorb bile acids.

BAD is characterized by diarrhea, severe urgency, yellow stool. It is usually triggered by fatty meals.

Surprisingly, some studies suggest that bile acid diarrhea is misdiagnosed as an IBS-diarrhea. Some reports suggest that up to 40% of patients with IBS-D suffer from bile acid diarrhea. Learn more.

Treatment of yellow stool due to BAD:

  • Sticking to a low-fat diet.
  • Avoid butter, margarine, mayonnaise, fried foods, breaded foods, baked goods, full-fat dairy products, and any high-fat foods.
  • Shift to healthier fats (in moderate amounts) such as fish, avocados, nuts, and olive oil.
  • Cholestyramine (Questran) is a very effective treatment, but you have to be diagnosed first by your doctor. Learn more.

MORE: Cholestyramine & Weight Loss: 5 Facts You Should Know.