Stool gets its usual brown color from the breakdown of bile pigments during digestion, so when that process is altered by food, medication, transit speed, or disease, the color shifts. Most color changes are harmless and trace back to something you ate or a supplement you took. A few colors, though, deserve prompt medical attention because they can signal bleeding or a blockage in the biliary system. Understanding which shades fall into each category can save you both unnecessary anxiety and dangerous delay.
Why Brown Is Normal
Your liver produces bile, a greenish-yellow fluid that helps digest fats in the small intestine. Bile contains bilirubin, a pigment that comes from the normal recycling of old red blood cells. As bile travels through your intestines, bacteria convert bilirubin into a cascade of byproducts, including urobilinogen and urobilin, which are responsible for the characteristic brown color of stool.1Europe PMC. Bilirubin Hepatic and Intestinal Transport and Catabolism: Physiology, Pathophysiology, and Benefits The exact shade of brown varies widely from person to person and even day to day. Light tan, chocolate brown, and dark brown are all normal. What matters more than the precise shade is when a color falls clearly outside the brown-to-dark-brown spectrum.
Green Stool
Green is probably the color change that causes the most unnecessary worry. In most cases, green stool simply means that food moved through your intestines faster than usual. When transit is quick, bile does not have enough time to be fully broken down by gut bacteria, so it retains its original greenish tint. Diarrhea from a stomach bug, a course of antibiotics that disrupts gut bacteria, or even a stressful day that speeds up your bowels can all produce green stool.
Diet is the other common culprit. Leafy greens like spinach and kale contain chlorophyll, which can tint stool green if you eat enough. Green food dyes in candy, ice cream, or sports drinks can do the same. Iron supplements sometimes turn stool dark green rather than the black that most people expect.
Green stool on its own, in the absence of other symptoms like fever, cramping, or persistent diarrhea, is rarely a reason to call your doctor. If it lasts more than a couple of days without an obvious dietary explanation and comes with other digestive symptoms, it is worth mentioning at your next appointment, but it is not an emergency.
Yellow Stool
Occasional yellowish stool is nothing to panic about, especially after a meal heavy in fats or yellow-pigmented foods like sweet potatoes and carrots. But when stool is consistently yellow, greasy-looking, and foul-smelling, it often points to fat malabsorption. The medical term for this is steatorrhea, and it means your body is not properly breaking down or absorbing dietary fat.
Several conditions can cause this. Celiac disease damages the lining of the small intestine and impairs nutrient absorption. Chronic pancreatitis reduces the output of digestive enzymes needed to process fat. Giardia, a waterborne parasite common among hikers and travelers, can produce a range of symptoms from silent infection to chronic diarrhea with malabsorption.2Seminars in Pediatric Infectious Diseases. Giardiasis Gallbladder removal occasionally leads to yellow stool as well, because bile delivery to the small intestine becomes less regulated.
If yellow stool is a one-time event, you can safely wait and watch. If it persists for more than a week or two and comes with weight loss, bloating, or unusually oily-looking stools that float and are hard to flush, bring it up with your doctor. Those patterns suggest a digestion or absorption problem worth investigating.
Black or Very Dark Stool
Black stool has two very different explanations, and telling them apart matters. The benign version is caused by something you swallowed. Iron supplements are the most common offender. Bismuth subsalicylate, the active ingredient in Pepto-Bismol, also turns stool black by reacting with trace sulfur in the digestive tract. Black licorice, blueberries in large quantities, and dark-colored supplements can have a similar effect. In all of these cases, the stool is black but looks normal in texture.
The concerning version is melena: stool that is not just black but tarry, sticky, and has a distinctly foul smell. Melena indicates bleeding in the upper gastrointestinal tract, typically the stomach or duodenum. Blood that originates high in the digestive system is exposed to stomach acid and digestive enzymes during its long transit, which turns it dark and gives it that tar-like consistency. Peptic ulcers, esophageal varices, and gastritis are among the common causes.
The practical rule is straightforward. If you are taking iron or bismuth and your stool turns black but otherwise looks normal, there is no urgency. If you see black, tarry, sticky stool and you are not taking any of those substances, or if you feel lightheaded or notice other symptoms, seek medical attention promptly. Upper GI bleeding can be serious and sometimes requires urgent treatment.
Red Stool
Red stool is another color that can be either completely innocent or a signal that something needs attention. The food explanation is surprisingly common. Beets and beetroot juice are notorious for producing alarming shades of red in stool and urine, a phenomenon sometimes called beeturia. Tomato soup, red gelatin, cranberries, and red food dye can do the same.
When red stool is not caused by food, it typically means there is bleeding somewhere in the lower gastrointestinal tract. Hemorrhoids are the single most common source, producing bright red blood on the toilet paper or coating the surface of the stool. Anal fissures cause a similar pattern. Diverticular bleeding, inflammatory bowel disease, and colorectal polyps can also produce red or maroon-colored stool. Research on stool color and bleeding source has confirmed that the brightest red shades correlate most strongly with a bleeding site in the colon or rectum rather than higher up in the digestive tract.3PubMed. An objective measure of stool color for differentiating upper from lower gastrointestinal bleeding
A useful way to sort this out at home: think back over what you ate in the past 24 to 48 hours. If you had beets, tomato sauce, or anything with red dye, wait a day or two and see if the color returns to normal. If you see red stool with no dietary explanation, or if the blood is clearly mixed into the stool rather than just sitting on the surface, contact your doctor. And if there is a large volume of blood or you feel faint, that warrants an emergency room visit.
Pale, White, or Clay-Colored Stool
Of all the abnormal stool colors, pale or clay-colored stool is the one that almost always warrants a call to your doctor. Because stool gets its brown color from bile pigments, a very pale or white stool suggests that bile is not reaching the intestines. This usually means something is blocking the bile duct, such as a gallstone, a stricture, or a tumor in the pancreas or bile duct. Liver diseases like hepatitis or cirrhosis can also reduce bile production or flow enough to lighten stool color. Research on bile composition during duct obstruction has found that the nature of the bile produced changes significantly depending on the cause and duration of the blockage.4JAMA Network. Pathogenesis of White Bile
There is one benign exception. Barium, which is used as a contrast agent for certain imaging tests like a barium swallow or barium enema, turns stool white or chalky for a day or two after the procedure. If you recently had one of these tests, that is the explanation. Antacids containing aluminum hydroxide can also lighten stool somewhat, though usually not to the point of true clay color.
Outside of barium or specific medications, persistently pale stool is a red flag. It often comes with other clues: dark urine, yellowing of the skin or eyes (jaundice), itching, or abdominal pain in the upper right side. Any combination of pale stool and these symptoms should prompt a medical evaluation sooner rather than later, because biliary obstruction can worsen quickly and some of its causes are time-sensitive.
Stool Colors in Newborns and Infants
Infant stool follows its own color timeline, and it can be alarming for new parents who are not expecting it. A healthy newborn’s first stools are meconium, a thick, dark green-to-black, tar-like substance made up of amniotic fluid, mucus, and cellular debris swallowed in the womb. Over the first few days of life, stool color transitions through shades of green and greenish-yellow before settling into the yellow stool typical of a milk-fed baby.5Midwifery. The development of a neonatal stool colour comparator The speed of this transition can vary depending on feeding type, with early and frequent feeding generally helping meconium pass more quickly.6Midwifery. Relationships between baby feeding types and patterns, gut transit time of meconium and the incidence of neonatal jaundice
Breastfed babies typically produce yellow, seedy-looking stool that has a mild, slightly sweet odor. Formula-fed babies tend toward darker yellow or tan stool that is a bit firmer. Both are normal. Green stool in infants is usually harmless and can result from a foremilk-hindmilk imbalance, iron-fortified formula, or a minor stomach bug.
The color that demands immediate attention in an infant is pale, white, or clay-colored stool. In newborns, this can be a sign of biliary atresia, a rare but serious condition where the bile ducts are blocked or absent. Early detection makes an enormous difference because surgical treatment, known as the Kasai procedure, is far more effective when performed in the first weeks of life. Taiwan implemented a national screening program using infant stool color cards, and the sensitivity of detecting biliary atresia with these cards reached about 97% after the program’s first year of refinement.7PubMed. Universal screening for biliary atresia using an infant stool color card in Taiwan The program was associated with a significant reduction in both hospitalization rates and mortality from the condition over the following years.8PubMed Central. Infant Stool Color Card Screening Helps Reduce the Hospitalization Rate and Mortality of Biliary Atresia: A 14-Year Nationwide Cohort Study in Taiwan
Many countries now include stool color reference cards in newborn discharge packets or health booklets. If your baby’s stool stays pale beyond the first few days, or turns pale after initially being normal, show it to your pediatrician right away. Taking a photo of the diaper can be genuinely helpful, since stool color is hard to describe accurately in words.
Medications and Supplements That Shift Color
A surprising number of over-the-counter and prescription substances can change stool color without anything being wrong. Knowing the common ones can save you a lot of anxiety.
- Iron supplements: Commonly turn stool black or very dark green. This is the single most frequent medication-related color change.
- Bismuth subsalicylate: The active ingredient in products like Pepto-Bismol and Kaopectate. Turns stool black through a chemical reaction with sulfur in the gut.
- Antibiotics: Can disrupt gut bacteria and speed transit, leading to green or lighter-colored stool. This usually resolves after the course is finished.
- Antidiarrheal agents: Some formulations contain attapulgite or kaolin, which can lighten stool color.
- Barium contrast: Produces white or chalky stool for a day or two after an imaging procedure.
- Rifampin: An antibiotic used for tuberculosis and other infections, rifampin can turn stool (along with urine, tears, and sweat) an orange-red color. This is harmless but can be startling if nobody warned you.
If you start a new medication and notice a color change in your stool within a few days, check the drug’s information sheet before assuming something is wrong. Most medication-related changes resolve once you stop taking the substance. If the timing does not match up with any new medication, treat the color change on its own merits using the guidelines in this article.
How Long a Color Change Should Last Before You Act
One of the most practical questions people have about stool color is how long to wait before doing something about it. The answer depends heavily on which color you are seeing and what else is going on.
Green or mildly unusual shades within the brown-green-yellow spectrum, with no other symptoms, can be watched for three to five days. If the color normalizes and you feel fine, there is nothing to follow up on. If it persists longer than a week and you cannot tie it to diet or a supplement, mention it at your next routine visit.
Black stool that you cannot explain with iron, bismuth, or a food you ate deserves attention within a day or two. If it is tarry and sticky rather than just dark, do not wait. Red stool with no dietary explanation follows similar timing: small amounts of bright red blood with an obvious trigger like straining from constipation can be monitored, but anything beyond minor surface spotting, or red stool that recurs, warrants a doctor’s visit. Large-volume bleeding or any sign of faintness means the emergency room.
Pale or clay-colored stool stands in a category by itself. In an adult, if it happens once and returns to normal, it may not be urgent, but mention it to your doctor. If it happens more than once, or comes with jaundice or dark urine, seek evaluation promptly. In an infant, pale stool that persists beyond a day or two is always worth an urgent call to the pediatrician.
Common Food Colorings and the Surprises They Cause
Artificial food dyes are an underappreciated source of dramatic stool color changes, especially in children. Birthday cake with bright blue or purple frosting can produce vivid green stool the next day, which makes perfect sense once you realize that blue dye combined with yellow bile pigment yields green. Black frosting, often made with a heavy dose of food coloring, can mimic the appearance of melena in a child’s diaper and send parents racing to the emergency department.
Grape-flavored drinks and dark-colored cereals are frequent offenders. Red velvet cake, which uses large amounts of red food dye, can tint stool pinkish-red. Some brightly colored breakfast cereals marketed to children contain enough dye to change stool to unexpected shades of green, blue-green, or even turquoise. These changes are entirely harmless and typically resolve within one to two bowel movements after the dye-heavy food has passed through.
If you are ever unsure whether a dramatic stool color in yourself or your child is food-related or something more concerning, a simple mental inventory of what was eaten in the past 24 to 48 hours usually settles the question. Keep in mind that gut transit time varies: food typically takes one to three days to travel from mouth to toilet, so yesterday’s lunch is not always the right timeframe. Sometimes you need to think back a bit further.
Stool Color Charts and When They Help
Visual reference tools for stool color have proven their worth in at least one major public health context. Taiwan’s national stool color card program for newborns showed that giving parents a simple visual reference dramatically improved early detection of biliary atresia, with the rate of timely surgical intervention rising substantially after the cards were introduced.7PubMed. Universal screening for biliary atresia using an infant stool color card in Taiwan The success of this approach has led other countries to adopt similar screening tools in their newborn care programs.
For adults, stool color charts are less formally validated but can still be useful as a rough guide. The limitation is that stool color exists on a continuum, and lighting conditions in your bathroom are not exactly standardized. A stool that looks black under dim light might look dark brown in daylight. If you are trying to decide whether your stool is genuinely abnormal, natural light or a well-lit room gives you a more accurate read than a dimly lit bathroom at night. And while it might feel odd, taking a quick photo can help you describe the color accurately to your doctor, which is more useful than trying to recall the shade from memory during an appointment days later.