Why Is My Poop Blue? Common Causes and When to Get Help

Reading time: 6 minutes
Reading mode:

Blue stool at a glance: what the color may mean

Blue stool is uncommon, but it is frequently the result of recently consumed pigments, dyes, or specific medications. While an unusual stool color can be startling, it is often harmless and resolves once the responsible substance passes through the digestive system. Lighting, the color of toilet water, and the specific shade of the stool itself can sometimes make accurate identification difficult, leading to confusion between true blue, blue-green, or even very dark shades that may signal a different issue.

Clear blue stool filling the lower half of a toilet bowl

Distinguish between harmless pigment changes and signs of gastrointestinal bleeding. Black, tarry stool commonly indicates bleeding in the upper gastrointestinal tract, while red or fresh blood in stool can indicate rectal or lower gastrointestinal bleeding. These findings warrant prompt medical assessment rather than assuming a food-color explanation. Accurately identifying the color and considering recent dietary or medication intake is the first step in understanding what the change may mean.

Have you ever noticed blue or blue-green stool?

Foods, drinks, and dyes that can turn stool blue

The most common cause of blue stool is the consumption of foods, beverages, or candies containing blue or purple artificial coloring. Common examples include sports drinks, blue raspberry candies, frostings, and certain brands of popsicles. Artificial dyes are not always fully broken down during digestion, which can result in the blue pigment appearing in the stool.

Display of blue raspberry candies, a sports drink bottle, blueberries, grapes, and popsicles on a kitchen counter

Certain whole foods can also contribute to blue or purple-hued stool. These include blueberries, grapes, grape juice, plums, and currants. The intensity of the color change depends on the quantity consumed and individual digestive speed. Competitor food lists vary, and these items are presented as possible pigment sources rather than guaranteed causes.

Timing is a key factor. If blue or purple-colored foods were eaten in the last one to two days, they are the most likely explanation for the discoloration. A single food item does not prove a diagnosis, and blue stool does not indicate poor gut health. If no blue or purple foods or dyes were consumed, other causes such as medications or medical conditions should be considered.

Try a handful of quick questions to check your understanding. Select one answer per question and see how much you remember.

Understanding Blue Stool

Bright blue stool is most often caused by:

Medication and uncommon medical causes

Certain medications are known to cause blue or blue-green stool. The most notable example is prussian blue insoluble, sold under the brand name Radiogardase. According to U.S. labeling, this drug is excreted primarily in feces and turns stools blue. It is an approved treatment for people with harmful internal contamination by radioactive cesium-137 or thallium and is not an ordinary food dye or general digestive supplement. Distinguish medical prussian blue from artist's pigment, which is not safe for human consumption.

Methylene blue, another medication, can also discolor bodily fluids, including urine and potentially stool, though this is less commonly cited as a direct cause of blue stool compared to prussian blue.

A small ampoule of Radiogardase with a label indicating a dark blue liquid

Rare medical conditions, such as porphyria, can sometimes cause unusual stool colors. These conditions are uncommon and require clinician assessment for diagnosis. Blue stool alone is not sufficient to diagnose porphyria or any other disease. If no dietary or obvious medication causes are identified, and especially if other symptoms are present, medical evaluation is necessary to rule out underlying issues.

Blue-green stool and how to distinguish it from true blue

Distinguishing between true blue stool and blue-green or green stool is often straightforward when considering recent intake. Green or blue-green stool is more common and may follow the consumption of green foods, such as leafy vegetables, or green-colored drinks. Iron supplements, diarrhea, or rapid bile transit can also lead to greenish hues, as bile does not have sufficient time to break down completely into its typical brown color.

If you noticed blue stool, what would you most likely do first?
Side-by-side comparison of plain blue stool and greenish stool in separate toilet bowls

To differentiate, consider the hue and consistency. True blue is usually a distinct, artificial-looking shade, often associated with artificial dyes or prussian blue medication. Green or blue-green stool tends to have a more natural, earthy tone or a vibrant green tint, often linked to green vegetables or iron. If the stool is green and you have recently eaten spinach, kale, or taken iron supplements, this is a likely explanation.

Color alone cannot diagnose infection or another disease. If the stool is blue-green and you have not consumed green foods, iron, or medications like methylene blue, but you are experiencing diarrhea or other digestive distress, it may be worth monitoring. If the color is distinctly blue and no green foods or iron were consumed, consider the other causes outlined in this article.

What to do and how long to monitor changes

If you notice blue stool, start by reviewing the foods, drinks, supplements, and medicines you have consumed in the past one to two days. Look for any blue or purple artificial dyes, blueberries, grapes, plums, or medications like prussian blue. Keeping a record of stool color and any associated symptoms can be helpful if the issue persists.

An isolated change after consuming blue-colored food can typically be watched as the pigment passes through your system. There is no exact time for blue dye to leave the body, as it varies by individual, but it often resolves within a few days as your digestive tract clears the ingested material. During this time, maintaining ordinary hydration and eating a normal, fiber-containing diet if tolerated is advisable. These steps support general digestive health but should not be viewed as a treatment to force rapid clearance.

If the blue color persists beyond a few days, recurs without an obvious dietary cause, or is accompanied by other symptoms, it is advisable to contact a healthcare professional. Persistent or recurrent unexplained changes warrant medical evaluation to determine the underlying cause.

When blue-looking stool needs medical attention

While blue stool is often benign, certain signs require urgent medical attention. Black, tarry stool, dark red stool, or visible blood in the stool can signal gastrointestinal bleeding and need prompt medical assessment. Do not assume a food-color explanation if the stool appears black or red, as these are serious symptoms.

Seek urgent help if you experience severe or worsening abdominal pain, faintness, vomiting blood, fever, or significant diarrhea alongside the stool color change. These are general red flags that indicate a potentially serious underlying issue. If you cannot confidently distinguish whether your stool is blue, black, or bloody, it is safer to seek medical evaluation to rule out bleeding or other complications.

When in doubt, err on the side of caution. If the color change is unexplained, persistent, or accompanied by any of these warning signs, contact a healthcare provider or seek emergency care as appropriate.

What a clinician may ask or test

If the blue stool color is unexplained or persistent, a clinician will likely begin by taking a detailed history. They will ask about recent exposure to foods, dyes, medications, and supplements, including the timing of consumption. A photo of the stool or a stool diary can be helpful for visual confirmation. The clinician will also inquire about any associated symptoms, such as pain, changes in bowel habits, or signs of bleeding.

Physical examination may be performed to assess for abdominal tenderness or other physical signs. Testing is directed by symptoms and may include stool or blood tests to check for infection, bleeding, or other abnormalities. When gastrointestinal bleeding is suspected, endoscopy or imaging may be used to visualize the digestive tract and identify the source of bleeding.

Blue stool itself does not typically require invasive testing unless other concerning symptoms are present. Persistent unexplained discoloration deserves individualized medical advice. A clinician can help determine if further investigation is needed based on your specific health history and current symptoms.

A person holding a notebook with a small photo of blue stool, demonstrating a stool diary
Stools - Unusual Color

Provided by: MedlinePlus, U.S. National Library of Medicine

Stool Color: When to Worry

Provided by: Mayo Clinic

Questions and comments

Please do not include passwords, medical record numbers, insurance information, financial information, precise addresses, or other confidential or directly identifying information in your message.