Seeing green in the toilet bowl can be startling, but it is rarely a medical emergency. In most cases, the color comes from what you ate or from how quickly food moved through your digestive system. Bile, the digestive fluid that breaks down fats, is naturally green, and when it does not have time to turn brown, your stool can come out green.
Why Your Stools Are Green: The Main Causes
Your liver produces bile, and your gallbladder stores it. Bile is bright green. As it travels through your intestines, bacteria change its color from green to yellow to brown. If that process is rushed, the green color remains.
The most common reason for green stool is simple: food moved through your colon too quickly. Diarrhea is the classic example. When you have diarrhea, waste passes through your system before the bacteria can finish changing the bile’s color.
Green vegetables are another common cause. Spinach, kale, and other leafy greens contain chlorophyll, the pigment that gives plants their color. Eating a large salad or drinking a green smoothie can easily turn your stool green for a day or two.
Foods and Drinks That Turn Stool Green
Certain foods are well-documented causes of green stool. These include:
- Leafy green vegetables like spinach, kale, and Swiss chard
- Green food coloring in candy, frosting, sports drinks, and gelatin
- Blue foods or drinks that mix with yellow bile to appear green
- Iron supplements can darken stool and sometimes give it a greenish tint
- Blueberries and grapes with dark skins can contribute to unusual colors
Food coloring is a frequent culprit. Brightly colored processed foods often contain dyes that your body does not fully absorb. When those dyes pass through your system, they can change the color of your stool.
Green Stool From Diarrhea and Digestive Speed
Diarrhea is one of the most common reasons for green stool. When your digestive system speeds up, bile does not have enough time to change from green to brown. This can happen with:
- Viral gastroenteritis (stomach flu)
- Food poisoning
- Irritable bowel syndrome (IBS)
- Medication side effects
Some research suggests that certain infections, particularly bacterial ones, can cause green stool along with diarrhea. If you have diarrhea that lasts more than a couple of days, or if it comes with a fever, you should contact a healthcare provider.
Medications, Supplements, and Medical Conditions
Several medications and supplements can change stool color. Antibiotics are a common cause because they alter the bacteria in your gut. Those bacteria are responsible for changing bile from green to brown. When antibiotics disrupt them, green stool can result.
Iron supplements commonly darken stool. In some people, the color takes on a greenish or black-green appearance. This is generally harmless, though it can be alarming if you were not expecting it.
Some medical conditions can also produce green stool. Conditions that cause chronic diarrhea, such as Crohn’s disease or celiac disease, can lead to green stool because of rapid transit time. Bile acid malabsorption, where your intestines do not properly reabsorb bile, can also cause green, watery stool.
In rare cases, green stool can indicate a more serious problem. If you have green stool along with severe abdominal pain, blood in your stool, or persistent fever, seek medical attention.
Is Green Stool Ever a Sign of Something Serious?
Green stool alone is rarely a sign of a serious problem. The color itself is not dangerous. What matters more is what accompanies it.
You should contact a healthcare provider if you have green stool along with any of these signs:
- Diarrhea lasting more than a few days
- Signs of dehydration
- Severe abdominal pain
- Blood or mucus in your stool
- Unexplained weight loss
- Fever above 101°F (38.3°C)
These symptoms point to an underlying issue that needs evaluation, not the green color itself. A doctor will look at your overall symptoms to determine what is causing the problem.
When to See a Doctor About Green Stool
Most cases of green stool resolve on their own. If you ate a large spinach salad or had a brief bout of diarrhea, the color should return to normal within a day or two.
See a doctor if your stool stays green for more than a few days without an obvious cause. Also see a doctor if green stool comes with persistent diarrhea, pain, or other concerning symptoms.
If you have a known digestive condition like Crohn’s disease, ulcerative colitis, or celiac disease, green stool might signal a flare-up. Contact the doctor who manages your condition if you notice a pattern of green stool with other symptoms.
No clinical guidelines exist for treating green stool itself because it is a symptom, not a disease. Treatment focuses on the underlying cause. If diarrhea is the cause, staying hydrated is the priority. If a food or supplement is the cause, stopping or changing it resolves the issue.
How to Prevent Green Stool
Prevention depends on the cause. If green vegetables are the culprit, you do not need to change anything. Green stool from eating spinach is harmless and simply reflects your diet.
If food coloring is the cause, reducing your intake of heavily dyed processed foods will likely help. If diarrhea is the cause, treating the diarrhea will usually resolve the green color.
Some people find that probiotics help regulate digestion after a course of antibiotics. The evidence for probiotics is mixed, and results vary by individual and by the specific strain used. Some studies suggest certain strains may help restore gut bacteria, but no single probiotic is proven to prevent green stool.
What Normal Stool Color Tells You
Normal stool ranges from light to dark brown. That brown color comes from the breakdown of bile and bilirubin, a waste product from red blood cells.
Other colors can signal different issues. Black stool can indicate bleeding in the upper digestive tract or can come from iron supplements and bismuth medications like Pepto-Bismol. Red stool often points to bleeding in the lower digestive tract but can also come from beets or red food coloring. Pale or clay-colored stool can suggest a bile duct blockage.
If you notice a persistent change in stool color that you cannot explain, mention it to your healthcare provider. A single green stool is not a concern. A pattern of unusual colors, especially with other symptoms, deserves attention.
Frequently Asked Questions
Can stress cause green stool?
Stress itself does not directly turn stool green, but it can speed up digestion and trigger diarrhea. When food moves through your system faster than normal, bile does not have time to turn brown, which can result in green stool.
How long does green stool last?
Green stool typically lasts one to two days. If it lasts longer than a few days without an obvious cause like diet or diarrhea, you should contact a healthcare provider.
Is green stool a sign of infection?
Green stool can accompany infections that cause diarrhea, particularly viral gastroenteritis or certain bacterial infections. The green color alone is not diagnostic of an infection, but green stool with diarrhea and fever warrants medical evaluation.
Does green stool mean liver problems?
Green stool is not typically a sign of liver problems. Liver conditions more often cause pale or clay-colored stool. Green stool usually reflects dietary factors or rapid digestion rather than liver disease.

