Green poop paired with stomach pain usually means food is moving through your digestive system faster than normal. The most common cause is a stomach bug, but diet, medications, and certain digestive conditions can also be responsible. In most cases, the combination clears up on its own within a few days.
Why Fast Digestion Turns Stool Green
Your liver produces bile, a green-yellow fluid that helps digest fat. As bile travels through your intestines, bacteria break it down and transform it from green to the familiar brown color. This process takes time. When food moves through your gut quickly, whether from an infection, stress, or something you ate, bile doesn’t get fully processed and your stool stays green.
Faster transit also means more bile ends up in your stool overall. Normally, your intestines reabsorb most bile acids and recycle them. But when things speed up, less gets reabsorbed. The extra unprocessed bile can also pull water into the colon, which is why green stools often come with loose or watery consistency and cramping.
Stomach Bugs Are the Most Likely Cause
If your green stool and stomach pain came on suddenly, a viral or bacterial infection is the most probable explanation. Norovirus (often called a stomach bug) is extremely common in the UK and causes diarrhea, cramping, nausea, and sometimes vomiting. The rapid gut movement it triggers is what makes stool green. Most people recover within two to three days without any treatment.
Bacterial infections from Salmonella or E. coli can cause the same combination of symptoms but tend to be more intense and last longer, sometimes up to a week. These are typically picked up from undercooked meat, contaminated water, or contact with someone who’s infected. If you’ve recently travelled abroad, a parasite called Giardia is worth considering. It causes greasy, foul-smelling stools that may float, along with stomach cramps, bloating, and nausea. Giardia doesn’t always clear on its own and may need treatment from your GP.
Food, Supplements, and Medications
Before assuming something is wrong, consider what you’ve eaten in the last day or two. Large amounts of green vegetables like spinach, kale, or broccoli contain chlorophyll, which can tint stool green directly. Artificial food dyes, particularly blue and yellow combinations found in sweets, coloured burger buns, or brightly coloured drinks, are well documented to change stool color. If your stomach pain is mild and you can trace it to something you ate, this is likely the explanation.
Iron supplements are another common culprit. They can darken stool to a very deep green or black and frequently cause stomach discomfort, nausea, or constipation. Antibiotics can also turn stool green by disrupting the gut bacteria responsible for converting bile from green to brown. If you’ve recently started either, the timing will usually make the connection obvious.
When It Could Be Something More Persistent
If green stools and stomach pain keep coming back over weeks or months, a longer-term digestive condition may be involved. In conditions like Crohn’s disease or coeliac disease, the part of the intestine that normally reabsorbs bile acids can become damaged or inflamed. This means bile passes straight through to the colon, causing persistent diarrhea that may appear green, pale, or greasy. Other signs to watch for include unintentional weight loss, fatigue, and bloating that doesn’t resolve.
Irritable bowel syndrome (IBS) can also cause episodes of rapid transit with cramping and loose stools. While IBS doesn’t damage the gut, flare-ups can speed digestion enough to produce green stool. The pattern with IBS is usually recurrent, often linked to stress or certain foods, and alternating with periods of normal bowel habits.
Managing Symptoms at Home
The NHS recommends treating diarrhea and stomach pain at home in most cases. The priority is staying hydrated. Drink plenty of water or squash, taking small sips if you feel nauseous. Avoid fruit juice and fizzy drinks, which can make diarrhea worse. Eat when you feel up to it, but steer clear of fatty or spicy foods until things settle. Paracetamol is fine for stomach discomfort. Rest as much as you can.
For children, keep up breast or bottle feeding as normal. If a baby is vomiting, try smaller feeds more frequently. Don’t give anti-diarrhea medication to children under 12, and don’t give aspirin to anyone under 16.
What Your GP Might Do
If symptoms last more than a week, if you notice blood in your stool, or if the pain becomes severe, your GP can investigate further. They’ll often start with a stool sample, which can be tested for infections, inflammatory markers linked to conditions like Crohn’s disease or ulcerative colitis, and other causes of persistent diarrhea. You’ll typically be asked to return the sample within 24 hours so it can be tested while still fresh.
For most people, green stool with stomach pain is a short-lived nuisance that resolves once the gut slows back to its normal pace. The color itself isn’t dangerous. It’s simply a visible sign that your digestive system is working faster than usual.

