Seeing blue or purple poop can be surprising, but it doesn't necessarily mean something is wrong. Food coloring is the best-documented cause of blue stool. Here's what else can change the color and how to tell when it deserves a closer look.
How Food Coloring Turns Stool Blue
Royal blue food coloring isn't absorbed in the small intestine, so it travels the length of the gut and tints what comes out, which is why researchers use it as a marker.
In one blue dye study, 863 healthy adults each ate two muffins with royal blue coloring paste and logged their first blue stool. The median was 28.7 hours, a gut-transit marker rather than a forecast for your own blue frosting or drink. Timing also tracked with usual stool consistency: group medians ran past five days for the hardest stools and around one day for the loosest.
What Else Can Change Stool Color?
Most other color changes come from ordinary foods and supplements, and nearly all of them darken stool rather than turning it blue.
Darkly pigmented foods. Black licorice and blueberries can darken stool, which matters here because a blue food can end up looking closer to black.
Iron, bismuth, and charcoal. All three push stool toward black; bismuth products such as Pepto-Bismol are included. None of them turns it blue.
Prussian blue. These capsules are given after internal contamination with radioactive cesium, or with thallium, whether radioactive or not. The drug is not absorbed; it binds those metals inside the gut and leaves in the stool, and its label tells patients their stools might be blue-colored.
Beets and red coloring. Reddish rather than blue, and the shade most often mistaken for blood.
Can Food Dye Look Like Bleeding?
Yes, convincingly enough to send someone to the emergency department.
One case report describes a 93-year-old woman with black, tarry stool that turned lime green in toilet water. She had eaten a hamburger and frozen drink dyed black for a Halloween promotion, and the bun's coloring combined Yellow 6, Blue 1 and Red 40.
Her stool blood test came back positive. The authors then ran those same dyes across a guaiac card themselves and got the same positive reading, with no blood involved at all.
The food history mattered. It did not end the evaluation. She had blood work, a rectal exam, a bleeding risk score, re and a repeat hemoglobin the next day before anyone was willing to call that test a false positive.
A dyed meal explains a color. It does not rule out bleeding.
Could Blue Stool Be Blood?
Color narrows the possibilities. It does not settle them.
Black, tarry, foul-smelling stool is the classic sign of bleeding high in the digestive tract, where blood is partly digested on the way through. Iron and bismuth produce black stool as well, which is exactly why this question gets answered in a clinic rather than over a toilet bowl.
Bright red more often means bleeding lower down, near the colon, rectum, or anus, and dark blood mixed through stool belongs on the list as well. Neither pattern is a rule, and where bleeding comes from gets established by testing rather than by eye.
A vivid, even blue is unlikely to be blood. A muddy dark red, a brown-black,k or a purple cast is the one not to talk yourself out of. Black stool gets its own article: black poop.
What to Do About Blue Poop
Concerning colors come first. If stool is black, tarry, red, or maroon, skip ahead to the next section rather than working through this one.
Go back two days. Anything strongly colored you ate or drank, plus new medicines and supplements. Dye usually needs around a day to appear, longer if your stools run hard and slow.
Match the color against the patterns above. A vivid blue sits in different territory from the shades associated with blood, and that distinction outranks everything else here.
Watch the next few stools. Dye clears as the food moves through. A dated photo and a note on what you ate is worth more at an appointment than a week-old recollection.
Leave the drugstore card alone. Guaiac-based tests, the cards that turn blue when blood is present, were the kind involved in the case above, where dyes turned the card blue on their own. Fecal immunochemical tests, the kits mailed out for colorectal cancer screening, look for human blood protein instead and are not fooled the same way. Neither answers what an alarming color means.