We are independent & ad-supported. We may earn a commission for purchases made through our links.

Advertiser Disclosure

Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.

How We Make Money

We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently from our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What Are the Most Common Causes of Yellow Diarrhea?

By Valerie Clark
Updated Mar 03, 2024
Our promise to you
The Health Board is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At The Health Board, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

The most common causes of yellow diarrhea are related to the liver, gallbladder or small intestine and can be a sign of a serious health problem, including parasite infection, liver disease and intestinal disease. Diarrhea that resolves itself within a day or two and is often associated with diet or medication. Pale bowel movements and chronic yellow diarrhea suggest more serious causes, such as gallstones or cancer.

If diarrhea persists longer than two days, a physician might perform a stool culture or blood test or might suggest avoiding certain foods to evaluate the risk for more serious conditions. Medical history and a physical examination are also key in determining the cause of persistent diarrhea. Most experts will agree that eliminating toxins, avoiding fatty foods and consuming electrolytes are essential to resolving diarrhea quickly.

If yellow diarrhea shows up suddenly, the most common cause is a bacterial or parasite infection, especially if the sufferer also has bloody stool. Typically picked up by consuming contaminated food and/or water, bacteria and parasites can enter the body and settle into the small intestine, where they can cause a variety of uncomfortable symptoms, including yellow diarrhea. Bacteria and parasites that cause diarrhea include salmonella, Escherichia coli and Giardia lamblia. Treatment might include antibiotics as opposed to over-the-counter medicines such as loperamide and bismuth subsalicylate. Additionally, a viral infection can cause severe diarrhea and generally resolves on its own within three to seven days.

Yellow diarrhea can also be caused by a problem in the liver or gallbladder. In addition, liver and gallbladder problems are often accompanied by pain under the right ribcage. Pain under the left side suggests pancreas or spleen trouble. The color of feces is directly related to the amount of bile salts excreted from the liver. If this process is inhibited somehow, such as a by a gallstone, feces gradually will change color and become yellow or pale gray.

If the liver, pancreas and gallbladder suffers from fat malabsorption, feces can become yellow or gray, soft and smelly, as well as difficult to flush away. Cancer also is a possibility for sufferers of chronic yellow diarrhea that persists longer than four weeks. On a lighter note, some antibiotics, chemotherapy drugs and antacids containing magnesium can affect the liver and cause yellow diarrhea. One should consult a physician for alternative remedies and treatments if necessary.

With respect to the small intestine, a variety of intestinal diseases can cause chronic yellow diarrhea along with fever, bloody stool and abdominal pain, just to name a few. If these symptoms are present, a physician likely will perform a medical history and physical examination, stool culture or colonoscopy. Blood tests can be used to determine whether a patient is at risk for inflammatory bowel disease (IBD), ulcerative colitis, Crohn’s disease and celiac disease. These diseases are serious, and the severity of symptoms can be reduced by avoiding fatty foods, eliminating gluten and identifying other contributing factors.

Other Stool Discolorations

If you have discolored stool that is not yellow, this can be an indication of different health issues. Sometimes stool discoloration is temporary, and often due to a recent change in diet or medications. 

But never ignore a strange discoloration in the stool. Knowing what the different colors mean can help you assess your well-being and determine when it's time to see your doctor. 


The good one! Light brown to dark brown stool means a healthy gut and body. 

If your stool is consistently brown, this is a good sign that you are not suffering from many health issues discussed in this article. But diarrhea, even when a healthy brown color, is not a sign of a healthy digestive tract. 


Green stool is often not a cause for concern and can be considered normal. It is common in tandem with diarrhea because food and liquids move through your system much faster. 

Certain foods cause green poop naturally, so before you call your doctor, think about if you ingested any of the following recently:

  • Green fruits (kiwi, avocado)
  • Green veggies (spinach, broccoli, asparagus)
  • Nuts (pistachios)
  • Seeds (pumpkin seeds)
  • Herbs (parsley, cilantro)
  • Medications high in iron


A red or maroon stool could be caused by a particular diet that includes many red foods, especially baked goods or foods that contain red food coloring. 

Below is a list of foods that can turn your stool red:

  • Red or grape Kool-Aid
  • Red Jell-O
  • Red candy, like licorice
  • Fire Cheetos
  • Red food coloring
  • Cranberries
  • Paprika
  • Red peppers
  • Rhubarb
  • Tomatoes
  • Beets

While red stool can be innocuous, it could be a sign of health problems. If you have a red or maroon-colored stool, it could be a sign of one of the following health issues:

  • Hemorrhoids 
  • Gastrointestinal bleeding
  • Inflammatory bowel disease
  • Tumor
  • Rapid upper GI bleed
  • Diverticular bleed infection

If your stool is red, but you do not recall eating any foods that could be the culprit, you should see a doctor as you should not ignore all these health conditions. 


Black stool can be quite concerning. In poor lighting, green stool can appear black, so try to verify the color before seeking medical help. 

Like other stool colors, black stool can be due to a specific diet. If you have eaten the following foods or medications, the black stool is likely not a health concern:

  • Medicines high in iron 
  • Pepto-Bismol
  • Cigarette ashes
  • Grape juice
  • Charcoal 
  • Oreo cookies
  • Licorice

If you have not consumed any of these items and your stool is consistently black, you should see a doctor immediately. Consistent black stool is a sign of GI bleeding (intestinal bleeding). When blood goes through your stomach, the stomach bile turns your blood a dark tar-like black. 

GI bleeding is a serious health concern and should be addressed promptly. The cause of GI bleeding is almost always a severe condition. GI bleeding means you could have one of the following conditions:

  • Angiodysplasia
  • Benign tumors and cancer
  • Colitis
  • Colon polyps
  • Diverticular disease
  • Esophageal varices
  • Esophagitis
  • Gastritis


White stool is highly unusual and often caused by a liver or biliary disease. It can indicate a lack of stomach bile in the stool, necessary to process food. This disease most commonly occurs in babies because their bile ducts become blocked. 

But white stool might be caused by an unusual diet. If you eat a lot of the foods or medications listed below in a short period, it can cause stool to appear a white or light gray:

  • Fatty foods
  • Milk-only diets
  • High dairy diets (yogurt, cream, white cheeses)
  • Barium sulfate from a barium enema
  • Aluminum hydroxide (antacids

Sometimes pale yellow stool can be misconstrued as white stool, so try to identify the color before informing a doctor of your concerns and condition. 

Blue and Purple

Why would your feces be such a strange color like blue or purple? The answer is simple: food coloring. 

Artificial food coloring that people mostly put in baked goods and candies can not be thoroughly processed in your digestive system. So the color makes it through your body, changing the color of your stool. 

But don’t worry, this is normal and not a cause for concern. Cut back on the jolly ranchers and colored frosting if your stool is consistently blue or purple. 

The Health Board is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Discussion Comments

By anon966263 — On Aug 18, 2014

I have Hereditary Angioedema and just before and during an attack, I will have yellow stools.

By Fa5t3r — On Oct 01, 2013

@indigomoth - I once had a giardia infection and happened to take an iron tablet and it turned my stool an emerald green! I couldn't believe it when I saw it, to be honest, but apparently it happens fairly often to aid workers (since they are likely to come across those combinations of factors).

Yellow, watery diarrhea might not mean anything specific, though, except that you probably aren't getting enough nutrition for whatever reason, which might be sickness and might be something else.

By indigomoth — On Sep 30, 2013

@umbra21 - Other things can cause it as well. If you put enough food coloring into something it will dye everything that comes out of you for a couple of days afterwards, which I found out after I made rainbow milkshakes for my cousins and their parents called mine in a panic after they left.

I think that vitamins can cause changes as well, although I don't know if any of them would specifically cause yellow stool or diarrhea.

I know that taking too much iron can cause your stool to change color and it can also upset your stomach. So, it's possible that something else could change it in other ways.

By umbra21 — On Sep 30, 2013

Food can also cause yellow diarrhea. I still remember when I was a child and my friend and I discovered a big bag of cashews in her mother's storage cupboard and ate bowls full of them while we were watching TV.

I suffered for it for the whole next day and my mother was convinced that I had some kind of strange disease because I was producing such strange yellow poop.

She wasn't particularly happy when she found out that my friend had the same symptoms and had told her mother about what we had done. I suppose it was almost lucky that the nuts were punishing me already, since I didn't get punished again for worrying her.

The Health Board, in your inbox

Our latest articles, guides, and more, delivered daily.

The Health Board, in your inbox

Our latest articles, guides, and more, delivered daily.