Why Is My Poop Purple? Causes and When to Worry

Purple stool is almost always caused by something you ate or drank, not by a serious medical condition. Deeply pigmented foods like blueberries, blackberries, beets, red dragon fruit, and grape juice contain plant pigments that resist digestion surprisingly well and can tint your stool shades of purple, violet, or deep blue. In rarer cases, medications, supplements, or certain food dyes are responsible. Genuine medical causes exist but are uncommon enough that the explanation usually turns up in your recent meals.

Foods That Turn Stool Purple

The most common culprits are foods loaded with anthocyanins, a class of pigments responsible for the deep reds, blues, and purples found in many fruits and vegetables. Blueberries, blackberries, elderberries, and concord grapes are especially potent. Eat a large serving of any of these and you may notice distinctly purple or dark blue-purple stool within a day or two. The effect is more dramatic when you eat them in concentrated form, such as smoothies, juices, jams, or wine.

Beets and red-fleshed dragon fruit work through a different pigment family called betalains, specifically betacyanins. These water-soluble compounds are concentrated enough to color stool intensely. Red dragon fruit contains betacyanin concentrations ranging from roughly 25 to 50 milligrams per kilogram of fruit, and beetroots contain even higher concentrations of betalains, including the red-violet compound betanin.1Clinical Case Reports Journal. Are Red Stools after Red Dragon Fruit (Selenicereus costaricensis) Ingestion a Red Herring? – Case Report and Clinical Pearls for Recognition The result is stool (and sometimes urine) that can look anything from deep red to purple, depending on how much you consumed and what else you ate alongside it.

The purple tint from food usually shows up 12 to 36 hours after eating, depending on your digestive transit time, and clears within a day or two once you stop eating the pigmented food. If you can trace the timing back to a big bowl of berry compote or a couple of beets, that is almost certainly your answer.

Food Dyes and Brightly Colored Products

Artificial food dyes, particularly blue and red dyes used in candy, frosting, sports drinks, popsicles, and brightly colored breakfast cereals, can combine in your gut to produce purple or dark blue stool. This is especially common in children, who tend to eat brightly colored snacks and sweets in quantities that make the effect visible. Kids also sometimes ingest non-toxic crayons, markers, or paint, all of which can contribute unusual stool colors.

The effect can be startling. One published case described a 93-year-old patient who presented with stool dark enough to look like gastrointestinal bleeding, along with a positive fecal occult blood test, which was ultimately attributed to food additives rather than actual hemorrhage.2PubMed Central. The Case of the Lime-green Stool: A Case Report and Review of Occult Blood Testing in the Emergency Department That case involved green stool specifically, but the broader point applies to purple as well: certain food additives are concentrated enough to color stool convincingly, and in clinical settings they can even fool standard screening tests.

If your child’s stool suddenly turns purple and they recently ate a bag of blue-raspberry candy or a purple-frosted cupcake, the dye is the overwhelmingly likely explanation. The color passes within a day or two.

Why Plant Pigments Survive Your Digestive System

You might wonder why these pigments do not simply get broken down during digestion the way most nutrients do. The answer is that anthocyanins are poorly absorbed in the small intestine. A large proportion of the anthocyanins you eat pass through the upper digestive tract intact and arrive in the colon still carrying their color.3PubMed Central. Anthocyanins-gut microbiota-health axis: A review Once in the large intestine, gut bacteria begin breaking some of them down into smaller compounds called phenolic acids, but plenty of the original pigment remains to color your stool.

The chemical structure of the anthocyanin matters. Research in animal models found that different sugar attachments on the anthocyanin molecule affect how quickly it degrades during digestion. Certain forms, such as those with arabinoside or xyloside sugar groups, showed almost no loss through the intestinal tract, while simpler glucoside forms broke down more readily.4PubMed Central. Analysis of anthocyanins in rat intestinal contents–impact of anthocyanin chemical structure on fecal excretion This is why chokeberries and blueberries, which are rich in those more stable anthocyanin forms, tend to color stool more dramatically than other fruits with similar pigment concentrations.

Betalains from beets and dragon fruit follow a different path but share the same general story: they are water-soluble, not fully absorbed, and pass through in enough quantity to be visually obvious. The intensity depends on how much you ate, how much stomach acid was present, and how quickly the food moved through you.

Medications and Supplements That Can Darken Stool

Iron supplements are one of the most common non-food causes of unusually dark stool. Iron reacts with digestive enzymes and bacteria in the gut to produce iron sulfide, a black compound. Depending on the dose and what else you have eaten, the result can look anywhere from jet black to a very dark purple. In a study of pregnant women taking different iron formulations, black stools were reported in about 8 percent of those on a low dose of ferrous bisglycinate, climbing to roughly 22 percent on ferrous fumarate and 31 percent on ferrous sulfate at higher doses.5PubMed Central. Low-Dose Prophylactic Oral Iron Supplementation (Ferrous Fumarate, Ferrous Bisglycinate, and Ferrous Sulphate) in Pregnancy Is Not Associated With Clinically Significant Gastrointestinal Complaints: Results From Two Randomized Studies If you recently started taking iron and your stool has turned very dark or purplish-black, the supplement is very likely responsible.

Bismuth subsalicylate, the active ingredient in some common stomach-relief products, also turns stool dark or black. This happens because bismuth reacts with trace amounts of sulfur in saliva and the digestive tract. The discoloration is harmless and resolves once you stop taking the medication.

A few other medications can darken stool noticeably, including activated charcoal and certain prescription drugs. If you started any new medication within the past few days and your stool color changed, check the drug information leaflet or ask your pharmacist. Dark stool from medications is almost always benign, but it is worth confirming so you do not miss a genuine warning sign.

How to Tell Purple Stool from Dark Red Stool

This is the question that genuinely matters medically. Purple stool from food or supplements is harmless. Dark red or maroon stool from bleeding in the digestive tract is not. The distinction can be tricky because dried blood in stool can look purple, dark maroon, or nearly black depending on where in the GI tract the bleeding originated and how long the blood spent in transit.

A few features help separate benign purple from concerning dark red:

  • Consistency over meals: If the purple disappears after a day or two and clearly tracks with what you ate, it is almost certainly dietary. Bleeding tends to persist or recur regardless of your meals.
  • Other symptoms: Bleeding significant enough to color your stool usually comes with other signs like abdominal pain, cramping, dizziness, fatigue, or a feeling of lightheadedness. Purple stool from blueberries does not make you feel sick.
  • Smell: Stool containing digested blood often has a distinctly foul, metallic, or tarry odor that is different from the usual smell. Stool colored by beets or berries smells normal.
  • Texture: Melena, the medical term for stool that contains digested blood from higher in the GI tract, tends to be sticky and tar-like. Berry-colored stool has a normal texture.

When blood originates lower in the digestive tract, such as in the colon, it can appear bright red or maroon rather than black and tarry. Conditions like ischemic colitis, where blood flow to part of the colon is reduced, can cause bloody diarrhea that might initially be mistaken for an unusual stool color. Diagnosis of such conditions relies on clinical suspicion combined with imaging, endoscopy, and tissue analysis.6PubMed Central. Ischemic colitis: clinical practice in diagnosis and treatment The key point for you is that if the dark or purple color persists beyond two or three days with no dietary explanation, or if you feel unwell, you should get it checked.

When You Should Actually Worry

Most people Googling “why is my poop purple” do not need to see a doctor. But some situations warrant prompt attention:

  • Persistent dark stool with no dietary cause: If you have not eaten beets, berries, or anything with heavy food dyes, and you are not taking iron or bismuth, dark or purple stool lasting more than a couple of days deserves a call to your doctor.
  • Accompanying symptoms: Abdominal pain, dizziness, weakness, unexplained weight loss, or vomiting (especially if the vomit looks dark or has a coffee-ground texture) are red flags that suggest GI bleeding.
  • Recurrent episodes: A single episode of purple stool after a berry smoothie is not a pattern. Repeated dark stools without an obvious food cause could point to a chronic source of slow bleeding.
  • Known risk factors: If you have a history of stomach ulcers, inflammatory bowel disease, liver disease, or are on blood-thinning medications, your threshold for concern should be lower. Even a single unexplained episode is worth mentioning to your doctor.

The simplest self-test is to stop eating the suspected food for two to three days and see if the color normalizes. If it does, you have your answer. If it does not, or if new symptoms develop, medical evaluation is appropriate.

Transit Time and Its Effect on Stool Color

How quickly food moves through your digestive system plays a bigger role in stool color than most people realize. Normal intestinal transit time varies widely between individuals, from about 12 hours to 72 hours. When transit is fast, as with diarrhea or after a high-fiber meal, food pigments have less time to be broken down by enzymes and bacteria, so they arrive at the other end with more of their original color intact. This is why a bout of loose stools after eating beets or berries tends to be more vividly colored than normal-consistency stool after the same meal.

Conversely, when transit is slow, pigments have more time to be degraded by colonic bacteria, and the stool itself darkens through prolonged exposure to bile pigments. Research on fiber and transit found that increasing dietary fiber eventually shortened transit time and increased stool weight, though this effect took months to stabilize.7PubMed Central. Long-term effect of wholemeal bread on stool weight, transit time, fecal bile acids, fats, and neutral sterols The practical takeaway is that the same food can produce noticeably different stool colors in two people, or even in the same person on different days, depending on how long it spends in the gut.

If you ate a large quantity of blueberries and had faster-than-usual digestion that day, the purple will be dramatic. If your digestion was slower, the pigments may have been partially broken down, yielding a muddier, darker shade that looks less obviously food-related. This variability is one reason people sometimes panic over stool that is merely the combination of partially degraded berry pigments and the brown tones of normal bile.

False Alarms in Medical Testing

One underappreciated consequence of food-pigmented stool is that it can interfere with common medical screening tests. Fecal occult blood tests, which detect hidden blood in stool, can return false positive results when the stool contains certain food dyes or heavily pigmented compounds.2PubMed Central. The Case of the Lime-green Stool: A Case Report and Review of Occult Blood Testing in the Emergency Department This means a routine screening could flag something alarming that turns out to be yesterday’s beet salad. If you are scheduled for a stool-based screening test, your doctor may ask you to avoid red meat, beets, and certain supplements for a few days beforehand to reduce the chance of a misleading result.

Similarly, if you visit an emergency room with dark stool and the clinical team suspects GI bleeding, be sure to mention any recent foods or supplements that could explain the color. It can save you an unnecessary endoscopy or CT scan. Clinicians are generally aware of this possibility, but providing that context upfront speeds up the process and reduces anxiety all around.

What Happens to Anthocyanins in Your Gut

Beyond just coloring your stool, the anthocyanins that survive digestion interact with the bacteria living in your colon in ways that researchers are still mapping out. Those unabsorbed pigments serve as a substrate for gut microbes, which break them down into smaller phenolic acid compounds. These metabolites accumulate in the body and appear to influence a range of biological processes.3PubMed Central. Anthocyanins-gut microbiota-health axis: A review The interaction runs both directions: anthocyanins can shift the balance of microbial populations in the colon, increasing the proportion of certain beneficial species and altering the production of short-chain fatty acids and bile acids.

This is still an active area of research, and the clinical significance for the average person eating a normal amount of berries is unclear. But it does mean that the purple tint in your toilet bowl is a visible reminder of a real biochemical process. The pigments are not simply passing through inertly; they are being partially metabolized by your gut flora along the way, and the leftover color is what your body could not fully process.

Rare Microbial Causes of Purple Discoloration

Although it does not directly affect stool, there is a rare and genuinely strange phenomenon worth knowing about: purple urine bag syndrome. This occurs in people with urinary catheters and urinary tract infections caused by certain bacteria that produce the enzymes sulfatase and phosphatase. These bacteria metabolize tryptophan, an amino acid originally processed in the gut, into two pigments called indigo (blue) and indirubin (red). When these mix in the urine, the result is a vivid purple color in the catheter bag.8Academia.edu. Purple urine bag syndrome (PUBS)—an enigma!

Purple urine bag syndrome is medically benign on its own but signals an underlying urinary tract infection that needs treatment. It is most commonly seen in elderly, bedridden, or catheterized patients, and it is startling enough to alarm caregivers who encounter it for the first time. The relevance to purple stool is indirect: the same tryptophan metabolic pathway begins in the gut, and the pigments involved illustrate how microbial activity throughout the body can produce unexpectedly vivid colors from ordinary dietary building blocks. If you are caring for someone with a catheter and the urine turns purple, do not panic, but do let their medical team know so the infection can be treated.