Poop is brown because of the way your body breaks down old red blood cells. When red blood cells reach the end of their life, the hemoglobin inside them is converted into a yellow-green pigment called bilirubin. Your liver processes that pigment and sends it into your gut through bile, and bacteria in your colon then transform it into stercobilin — the pigment that gives stool its brown color. Without stercobilin, stool would look pale or clay-colored, which is why certain liver, gallbladder, and bile duct problems can change what you see in the toilet bowl.
Why Is Poop Brown?
The color of normal stool comes almost entirely from one pigment: stercobilin. It is the final product of a chain of chemical steps that starts in your spleen and bone marrow and ends in your colon.
Here is the sequence. Red blood cells typically circulate for about 120 days before they are broken down. The heme portion of hemoglobin is converted into bilirubin, which travels through the blood to the liver. The liver modifies bilirubin into a water-soluble form and releases it into bile. Bile flows into the small intestine, where most of it is reabsorbed later in the digestive tract, but a portion continues into the large intestine.
Once in the colon, bacteria convert bilirubin into related compounds. One of these is stercobilin. It is this pigment that binds to the stool and produces the familiar brown shade. The word itself comes from the Latin word for “dung” — a reminder that this pigment exists only because of digestion.
Several other factors fine-tune the exact shade. Bile itself has a yellow-green color. Foods, medications, and how long stool stays in the colon can all shift the hue from light tan to dark brown. But the underlying chemistry is the same: bilirubin in, stercobilin out.
What Does the Liver and Bile Have to Do With Poop Color?
The liver and gallbladder are the middle links in the chain. If bile cannot reach the intestine, stercobilin never forms, and stool loses its brown color.
Bile is produced continuously by the liver and stored in the gallbladder. When you eat, the gallbladder contracts and releases bile into the small intestine. Bile does two jobs at once. It helps your body absorb fats and fat-soluble vitamins, and it carries bilirubin out of the body. If the flow of bile is blocked — by a gallstone, a tumor, or inflammation — bilirubin builds up in the blood instead of reaching the gut.
That backup produces two visible signs. Stool becomes pale, clay-colored, or gray. At the same time, bilirubin accumulating in the blood can turn the skin and whites of the eyes yellow, a condition called jaundice. Dark urine is often part of the same picture, because the kidneys clear some of the excess bilirubin.
This is why stool color is sometimes described as a window into liver and bile duct health. It is not a diagnostic test on its own, but a persistent change in color is a reason to talk to a doctor rather than ignore.
What Foods and Medications Change Poop Color?
Most color changes are harmless and come from what you ate or took. The brown baseline stays the same, but other pigments can temporarily override it.
Foods that commonly shift stool color include:
- Beets — can produce a dark red or maroon tint.
- Dark leafy greens and iron-rich foods — can make stool darker green.
- Blueberries and black licorice — can darken stool toward black.
- Carrots, sweet potatoes, and other orange foods — can add an orange hue.
Medications and supplements matter too. Iron supplements are a well-known cause of black or dark green stool. Bismuth-containing products, such as some stomach remedies, can turn stool black. Some antibiotics and antidiarrheal medicines can change color as well.
One important caution: black stool is not always from food or iron. Bleeding high in the digestive tract can also produce black, tarry stool. That kind of stool is usually sticky and foul-smelling, not just dark. If you are not sure of the cause, it is worth getting checked.
When Should You Worry About Poop Color?
Color changes that come and go with meals are usually not a concern. Changes that persist, or that come with other symptoms, deserve medical attention.
Pay attention to these patterns:
- Pale, clay-colored, or gray stool — may signal a bile flow problem.
- Black, tarry stool — can indicate bleeding in the upper digestive tract.
- Bright red blood — often points to bleeding lower in the digestive tract, such as from hemorrhoids or other sources.
- Yellow, greasy, floating stool — can suggest fat is not being absorbed properly.
Persistent pale stool combined with yellowing skin or eyes is a stronger signal and should prompt a prompt medical visit. So should black tarry stool, especially if you feel weak, dizzy, or short of breath.
This is not a reason to panic over a single odd-looking bowel movement. The digestive tract is variable, and one unusual day is rarely meaningful. The pattern over days and weeks is what matters.
Does Poop Color Change With Diet or Health Conditions?
Both. Diet changes color quickly, often within a day or two. Health conditions tend to produce more sustained changes.
Conditions that can affect stool color include liver disease, gallbladder disease, bile duct blockage, and conditions that cause malabsorption, such as celiac disease or pancreatic problems. Inflammatory bowel disease and bleeding ulcers can also change what you see.
It helps to separate two ideas. The brown color itself is normal and expected. A change away from brown is the signal. Your body is not “supposed” to produce pale or black stool under ordinary circumstances, so a lasting shift is worth a conversation with a clinician.
One non-obvious point: stool color is not a reliable screening test for any specific disease. It is a clue, not a diagnosis. Doctors use it alongside blood tests, imaging, and other findings to figure out what is going on.
How Long Does It Take for Stool Color to Return to Normal?
When the cause is food or a short course of medication, color usually returns to normal within a few days after you stop the trigger. When the cause is a bile flow problem or bleeding, the color stays abnormal until the underlying issue is addressed.
There is no single timeline that applies to everyone. It depends entirely on what is driving the change. If a color change lasts more than a few days without an obvious explanation, that is a reasonable point to check with a doctor. If it comes with pain, weight loss, fever, or jaundice, seek care sooner.
Tracking what you eat and any new medications for a week or two can help you and your doctor sort out whether the cause is something simple or something that needs a closer look.
Frequently Asked Questions
Why is poop brown?
Poop is brown because of stercobilin, a pigment made when gut bacteria break down bilirubin from old red blood cells. Without it, stool would be pale or clay-colored.
What does pale or clay-colored poop mean?
Pale stool often means bile is not reaching the intestine, which can happen with liver, gallbladder, or bile duct problems. It is worth a medical visit, especially if it persists or comes with yellowing skin or eyes.
Can food make poop change color?
Yes. Beets, dark leafy greens, blueberries, and orange vegetables can all shift stool color temporarily. Iron supplements and bismuth-containing medicines can also darken stool.
Is black poop always a sign of bleeding?
No. Iron supplements and bismuth can cause black stool. Black, tarry, sticky stool is more concerning and can point to bleeding in the upper digestive tract, so it should be checked.

