Purple poop is almost always caused by something you ate. Foods with deep red, blue, or purple pigments, like beets, blackberries, blueberries, and red cabbage, contain natural compounds that your body doesn’t fully break down during digestion. These pigments pass through your gut and tint your stool purple, violet, or even dark reddish-blue. If you can trace the color back to a recent meal, there’s rarely anything to worry about.
Foods That Turn Stool Purple
The most common culprit is beets. They contain a pigment called betanin that some people can’t fully metabolize. When betanin moves through your digestive tract intact, it colors everything it touches, including your stool and sometimes your urine. The effect can be striking enough that people mistake it for blood.
Other foods that produce the same kind of color shift include blackberries, blueberries, dark grapes, dragon fruit, rhubarb, and red cabbage. Artificial food dyes in candy, popsicles, sports drinks, and frosting can do it too. Purple or blue dyes are especially potent because they resist breakdown in stomach acid. Even a single serving of heavily dyed food can change your stool color for a day or two.
Certain medications and supplements also play a role. Iron supplements are known to darken stool significantly, and bismuth subsalicylate (the active ingredient in some over-the-counter stomach remedies) can turn stool very dark, sometimes with a purplish or greenish-black hue.
How Long the Color Change Lasts
Food-related color changes follow your gut’s transit time. For most people, food takes 30 to 40 hours to travel through the colon, though anything up to 72 hours is normal. In some cases, particularly for women or anyone prone to slower digestion, transit can stretch closer to 100 hours. That means a meal of roasted beets on Monday could still be coloring your stool on Wednesday or even Thursday.
If the purple color disappears within two to three days after you stop eating the suspected food, you have your answer. If it persists beyond 48 to 72 hours with no dietary explanation, that’s when it’s worth looking deeper.
When Purple Stool Could Signal Bleeding
Blood in the digestive tract can produce colors that overlap with food-related changes, and the specific shade depends on where the bleeding originates. Bright red blood in or on your stool (called hematochezia) typically comes from the lower digestive tract, like the colon or rectum. Black, tarry stool (called melena) signals bleeding higher up, in the stomach or upper small intestine. Blood darkens as it travels through the gut because digestive enzymes break down hemoglobin, turning it from red to black.
Purple or maroon-colored stool can fall between these two extremes. It sometimes indicates bleeding from the middle portion of the digestive tract, where blood has partially digested but hasn’t turned fully black. This is less common than either bright red or tarry black stool, but it does happen with conditions like bleeding ulcers, diverticular bleeding, or vascular malformations in the small intestine.
A few red flags suggest the color is coming from blood rather than food: the stool has a tarry or unusually sticky texture, it carries a noticeably foul smell beyond what’s normal, or you’re also experiencing abdominal pain, dizziness, fatigue, or unexplained weight loss. If you haven’t eaten beets, berries, or heavily dyed foods in the past 48 hours and the color persists, blood is worth ruling out.
Rare Causes Worth Knowing
Porphyria is a group of disorders that affect how your body produces heme, a component of hemoglobin. People with acute porphyria can develop dark or reddish-brown urine, and excess porphyrins can show up in stool samples during diagnostic testing. The condition is rare, and stool color changes alone wouldn’t point to it. Accompanying symptoms are distinctive: severe abdominal pain, nausea and vomiting, muscle weakness, confusion, anxiety, and skin that blisters easily in sunlight.
Malabsorption conditions, where your gut doesn’t properly absorb fats or certain nutrients, can also alter stool color and consistency. These typically produce pale, greasy, or unusually foul-smelling stools rather than purple ones, but combined with dietary pigments, the results can look unusual.
How Doctors Evaluate Unusual Stool Color
If you’re concerned enough to see a doctor, the first step is usually a fecal occult blood test. This checks for hidden blood that isn’t visible to the naked eye. It’s a simple test done on a small stool sample and can help distinguish between food-related color changes and actual bleeding.
If that test comes back positive, the most common follow-up is a colonoscopy, where a doctor uses a thin, flexible camera to examine your colon directly. Other options include a stool DNA test that screens for genetic markers of polyps or colorectal cancer, a sigmoidoscopy that views only the lower colon, or a CT colonography (sometimes called a virtual colonoscopy) that uses imaging to create detailed pictures of the entire colon.
For most people who notice purple stool once and can connect it to something they ate, none of these tests are necessary. The practical approach is straightforward: stop eating the suspected food, wait two to three days, and see if the color returns to its usual brown. If it does, you’ve solved the mystery.