Purple stool is almost always the result of something you recently ate or drank, not an illness. Foods loaded with deep red and blue pigments, such as beets, blueberries, and grape-flavored drinks, are the most common culprits. Less often, a medication or supplement is behind the color change. In rare cases, very dark stool that appears purplish could point to bleeding in the digestive tract, which is a genuinely different situation worth understanding.
Foods and Drinks That Turn Stool Purple
The human digestive system does not fully break down all plant pigments. Some travel through largely intact and tint your stool on the way out. Beets are the classic example. The pigment responsible, called betanin, gives beets their deep crimson-purple hue and can produce a striking purple-red coloration in stool roughly a day or two after you eat them.1JAMA. Discoloration of Stools From Beets The effect can be dramatic enough to genuinely alarm people who have forgotten what they ate the day before.
Blueberries and blackberries are another frequent cause. Their dark pigments, which belong to a family of compounds called anthocyanins, resist digestion well enough that a large serving can darken or purple-tinge stool. The same goes for Concord grapes, elderberries, acai bowls, and red cabbage. Purple sweet potatoes, which have become trendy in smoothie bowls and snack foods, carry enough pigment to do the job as well. Even red wine, consumed in generous quantities, can have a noticeable effect.
The pattern is predictable: you eat a significant amount of something deeply pigmented, and within about 12 to 36 hours, your stool reflects that. The color change passes within a bowel movement or two once the food clears your system. If you can trace the timing back to a specific meal, you have almost certainly found the cause.
How Artificial Dyes Create Unexpected Colors
Artificially colored foods and drinks are a surprisingly common source of purple stool, and the mechanism is not always obvious. You might not have eaten anything purple at all. Blue dyes, particularly one commonly used in candy, sports drinks, frosting, and ice cream, are poorly absorbed in the gut. Animal research has shown that this dye passes through the gastrointestinal tract with minimal absorption and very little chemical transformation along the way.2Journal of Surgical Research. Quantitative Measure of Intestinal Permeability Using Blue Food Coloring That means it arrives in stool still blue.
Here is where it gets interesting. Stool is naturally brown due to a bile pigment called stercobilin. When a mostly intact blue dye mixes with brown stool, the result can look purple, dark teal, or even greenish-black depending on the concentration. So a child who ate blue frosted cupcakes at a birthday party, or an adult who downed a brightly colored sports drink, may see purple in the toilet the next day without having consumed anything that was actually purple. Red dyes mixed with blue dyes in the same product make the purple effect even more pronounced.
Grape-flavored drinks, popsicles, and gelatin desserts often combine red and blue dyes specifically to achieve a purple color on the shelf, and those same dyes survive digestion well enough to produce a vivid result at the other end. This is harmless, but it catches people off guard because they do not always connect a sugary drink consumed hours earlier to a stool color change the next morning.
Medications and Supplements That Shift Stool Color
Several over-the-counter and prescription medications can darken stool enough to make it look purple or nearly black. Bismuth subsalicylate, the active ingredient in some popular stomach-relief products, is one of the most well-known. It reacts with sulfur in your digestive tract to form a dark compound, turning stool a deep blackish-purple or jet black. This is entirely harmless and resolves once you stop taking it, but it startles a lot of people.
Iron supplements are another common cause of very dark, sometimes greenish-black stool. At certain doses and depending on the formulation, the color can veer close to a dark plum. Again, the effect is a known and expected side effect, not a sign of trouble.
The antibiotic cefdinir, often prescribed for ear infections and respiratory infections in children, deserves special mention. It can cause red-colored stools within a day or two of starting the drug, particularly in infants and young children.3The Journal of Emergency Medicine. Emergent “Bloody Diarrhea” Associated with the Use of Oral Cefdinir in Young Children The color can range from reddish to a reddish-purple, and when parents see it in a diaper, their first thought is often blood. Clinicians have noted that a careful medication history can spare families from unnecessary emergency workups and the anxiety that goes with them.3The Journal of Emergency Medicine. Emergent “Bloody Diarrhea” Associated with the Use of Oral Cefdinir in Young Children The reaction happens because cefdinir interacts with iron in the gut, forming a colored compound. It resolves once the course of antibiotics is finished.
When Dark or Purple Stool Might Signal Bleeding
This is where the conversation gets serious. Stool that appears very dark red, maroon, or purplish-black can sometimes indicate bleeding in the digestive tract, and that possibility is worth understanding even though it is far less common than a food-related color change.
Bleeding higher up in the digestive tract, such as from a stomach ulcer, typically produces black, tarry stool with a distinctive foul smell. This happens because blood is partially digested as it travels through the intestines, turning dark. Bleeding lower in the tract, such as from the colon, tends to produce brighter red blood. But bleeding from somewhere in between, like the small intestine, can produce a dark maroon or purplish stool that sits in a middle ground between bright red and black. Lower gastrointestinal bleeding can present as anything from a sudden, large-volume event to chronic, low-grade bleeding that shows up as intermittent dark-colored stool.4Nature Reviews Gastroenterology & Hepatology. Diagnosis and management of lower gastrointestinal bleeding
The key differences between food-related purple stool and bleeding-related dark stool come down to a few practical observations:
- Timing and diet: If you ate beets, blueberries, or heavily dyed food in the past day or two, that is your most likely explanation. Bleeding-related color changes have no connection to diet.
- Duration: Food-related color changes resolve within one to three bowel movements. If dark or purplish stool persists for several days, that warrants attention.
- Other symptoms: Digestive bleeding significant enough to change stool color often comes with lightheadedness, fatigue, abdominal pain, or a feeling of weakness. If the only unusual thing is the color and you feel fine, food or medication is far more likely.
- Consistency: Tarry, sticky stool with a strong smell is more concerning than formed stool that simply has an odd color.
A single episode of purple stool in someone who feels well and recently ate pigmented food is almost never an emergency. Recurrent dark stool with no dietary explanation, or dark stool accompanied by any of the symptoms above, should prompt a call to your doctor.
When Food Dyes Confuse Lab Tests
One genuinely frustrating wrinkle is that food dyes and pigments can interfere with the tests doctors use to check for blood in stool. Fecal occult blood tests, which are designed to detect hidden blood that is not visible to the naked eye, can sometimes return a false positive when certain food additives are present. Case reports have documented situations where patients with dark or unusual stool colors from food dyes underwent unnecessary workups because their occult blood test came back positive.5PubMed Central. The Case of the Lime-green Stool: A Case Report and Review of Occult Blood Testing in the Emergency Department
This matters in practice because if you show up at an emergency room or urgent care with an alarming stool color, one of the first things a clinician may do is run an occult blood test. If that test reads positive but the actual cause is a food dye, you could end up with additional procedures, imaging, or referrals that were never medically needed. The published literature notes that food additives causing melanotic-looking stools and triggering falsely positive tests is uncommon but documented.5PubMed Central. The Case of the Lime-green Stool: A Case Report and Review of Occult Blood Testing in the Emergency Department
The practical takeaway is simple: if your stool changes color and you end up seeing a doctor about it, mention everything you have eaten and any medications or supplements you are taking. That dietary history is one of the most useful pieces of information a clinician can have in deciding whether to pursue testing or reassure you.
Special Concerns for Babies and Young Children
Stool color in infants causes a disproportionate amount of parental anxiety, and with some justification. Babies cannot describe symptoms, so parents rely heavily on what they see in the diaper. Purple or reddish stool in a baby who is otherwise feeding well and acting normally is often traced to something in their diet or, as mentioned earlier, to a medication like cefdinir.
For breastfed infants, the mother’s diet can influence stool color. A mother who eats a large amount of beets or blueberries may notice that her baby’s stool takes on a slightly different hue. Formula-fed babies who are on iron-fortified formula often have darker stools as a baseline, and adding a pigmented food at the introduction of solids can push the color into purple territory. Toddlers are especially prone to dye-related stool changes because of how many children’s foods and drinks are aggressively colored.
Where stool color genuinely matters in infants is not purple but pale. White, clay-colored, or very light-colored stools in a newborn can signal a serious liver condition called biliary atresia, which requires early diagnosis. Research into smartphone tools that help parents assess stool color against reference images has shown promise in helping identify these concerning pale stools earlier.6PubMed Central. PoopMD, a Mobile Health Application, Accurately Identifies Infant Acholic Stools Stool color cards given to parents in the newborn period have been associated with improved time to diagnosis for biliary atresia.6PubMed Central. PoopMD, a Mobile Health Application, Accurately Identifies Infant Acholic Stools So while purple stool in a baby is rarely worrisome, very pale stool absolutely is. Knowing the difference saves real anxiety about the wrong color and directs attention toward the one that actually matters.
Other Stool Colors and What They Suggest
Once you start paying attention to stool color, you may notice more variation than you expected. Here is a quick map of what other colors tend to mean, since people who search for purple stool often end up wondering about the full spectrum:
- Green: Usually from leafy greens, green food dye, or bile moving through the intestine faster than normal (as in mild diarrhea). Bile starts green and turns brown as gut bacteria break it down, so faster transit means greener stool.
- Yellow: Can indicate excess fat in the stool, sometimes related to trouble absorbing nutrients. Occasional yellow stool is normal, but persistently greasy, foul-smelling yellow stool is worth mentioning to a doctor.
- Black: If tarry and smelly, could mean bleeding in the upper digestive tract. If you are taking iron supplements or bismuth products, it is almost certainly those. The distinction between supplement-black and bleeding-black often comes down to texture and smell.
- Bright red: Small amounts on toilet paper usually point to hemorrhoids or a minor anal fissure. Larger amounts mixed into stool can indicate lower gastrointestinal bleeding.4Nature Reviews Gastroenterology & Hepatology. Diagnosis and management of lower gastrointestinal bleeding
- White or clay-colored: Suggests a lack of bile reaching the intestine, which can indicate a problem with the liver, gallbladder, or bile ducts. This is the one stool color that should always prompt a medical call.
Normal stool ranges from light tan to dark brown. Within that range, day-to-day variation is completely expected and reflects differences in what you ate, how much water you drank, and how quickly food moved through your system.
How Long a Color Change Should Last
If food or dye is the cause, the purple color should clear within one to three bowel movements, which for most people means one to two days. The transit time from mouth to toilet varies from person to person, typically running somewhere between 12 and 48 hours, though it can be faster or slower depending on your diet, hydration, and individual gut motility. A large dose of pigment, like an entire beet salad or a full bag of grape candy, may take a bit longer to fully clear than a single blueberry smoothie.
Medication-related color changes persist for as long as you are taking the medication and usually clear within a couple of days after stopping. If you are on a long-term iron supplement, dark stool is going to be your baseline for the duration, and that is expected.
The signal to contact a doctor is when the unusual color persists for more than a few days without any dietary or medication explanation, or when it recurs repeatedly despite no obvious cause. A one-off instance with a clear dietary link and no other symptoms does not need medical attention.
Why Beets Affect Some People More Than Others
Not everyone who eats beets notices a color change, which leads to a fair amount of confusion at dinner parties. The phenomenon of beet pigment showing up in urine or stool, sometimes called beeturia, varies widely from person to person. Factors like stomach acidity, the speed of digestion, and how much oxalic acid is present in the meal all play a role. Some people break down betanin almost entirely during digestion and see nothing unusual. Others pass it through with minimal change, producing that vivid purple-red result.1JAMA. Discoloration of Stools From Beets
This variability means that if your partner ate the same beet dish and had no color change while yours was dramatic, neither of you is abnormal. It also means that the first time you eat a large amount of beets, you may have no frame of reference for what to expect. The surprise factor is part of why beet-related stool color changes generate so many worried internet searches. If you have recently introduced beets, purple cabbage, or another deeply pigmented food into your diet for the first time, give it a day or two before concluding something is wrong. The odds are overwhelmingly in favor of the food being the explanation.
Post-Surgical Changes to Stool Appearance
People who have undergone gastrointestinal surgery, particularly weight-loss procedures like gastric bypass, sometimes notice that their stool looks different than it did before. Research on bariatric surgery patients has found that procedures altering the digestive tract can change fat absorption patterns, with some surgeries leading to elevated fat concentrations in stool compared to non-surgical controls.7Obesity Surgery. The effect of bariatric surgery on intestinal absorption and transit time Higher fat content can make stool appear lighter, greasier, or more varied in color.
More relevant to the purple question: altered absorption can change how completely your body breaks down food pigments. If food moves through a shortened or rerouted intestine, pigments that would normally be degraded may pass through more intact, making color changes from foods more dramatic or frequent than they were before surgery. This is not dangerous, but it does mean that post-surgical patients may need to recalibrate their sense of what is “normal” for their stool. If you have had gastrointestinal surgery and notice persistent or unusual stool colors that do not match your diet, bring it up at your next follow-up appointment rather than assuming it is always benign.