Our Services
Medical Information
Helpful Resources
Published on: 1/13/2026
Green stools with stomach pain are commonly caused by rapid intestinal transit (often from diarrhea), green foods or food coloring, iron supplements, or infections. Less often, they can indicate bile acid diarrhea, or gallbladder or liver conditions.
Most cases resolve with hydration, gentle dietary changes, and over-the-counter remedies. However, you should seek medical care if you experience severe or persistent pain, high fever, blood in stool, dehydration, jaundice, or unexplained weight loss.
Because green stools and stomach pain have many possible causes—ranging from harmless to serious—guessing can delay the right next step. A free, instant, online symptom check built by doctors can help you quickly narrow down likely causes based on your specific symptoms, flag any red flags, and guide you on whether to try home care or see a provider. It takes just a few minutes and could save you hours of worry.
Reviewed for medical accuracy: 07/09/2026
Noticing green poop alongside stomach pain can be unsettling. In most cases, this combination stems from how quickly food moves through your digestive tract, certain foods or drinks, or mild infections. Occasionally, it can signal a more serious condition, such as bile acid diarrhea or liver disease. Below, we'll explore common causes, when to worry, and simple steps you can take.
Poop gets its color primarily from bile, a yellow-green fluid produced by the liver and stored in the gallbladder. As bile travels through the intestines, it's chemically altered and normally turns brown. Green poop usually means bile passed through too quickly or in large amounts.
Common non-serious causes:
Stomach pain (abdominal discomfort) often accompanies changes in stool color or consistency. Common reasons include:
According to Camilleri (2014), bile acid diarrhea occurs when excess bile acids reach the colon, drawing water into the bowel and speeding up transit. Symptoms include:
Risk factors for bile acid diarrhea:
Management strategies involve dietary changes (reducing fatty meals), bile acid sequestrants (under doctor guidance), and hydration.
Many viral or bacterial infections cause both green diarrhea and cramps:
Symptoms often include fever, nausea, vomiting, and sometimes blood in stool. Most infections resolve within a few days, but severe cases may need medical care.
Though less common, green stools and pain can hint at liver or biliary tract problems:
If you have risk factors for liver disease—heavy alcohol use, hepatitis, metabolic syndrome—mention these to your doctor.
Most causes of green poop and stomach pain are mild and improve with self-care:
If your stomach feels uncomfortably full or tight, check Ubie's free bloated stomach symptom checker to explore what might be causing your discomfort and get personalized guidance on next steps.
Contact a healthcare professional if you experience any of the following:
These symptoms could indicate a more serious infection, inflammatory bowel disease, gallbladder obstruction, or liver dysfunction.
To pinpoint the cause, your doctor may recommend:
Treatment depends on the underlying cause:
Green poop and stomach pain are often caused by rapid transit, dietary factors, or mild infections. In most cases, simple home care—hydration, diet changes, over-the-counter medications—leads to improvement within a few days. However, persistent or severe symptoms warrant professional evaluation to rule out bile acid diarrhea, gallbladder issues, or liver disease.
Remember, early diagnosis and treatment improve outcomes, especially for conditions like bile acid diarrhea (Camilleri 2014) or cirrhosis (Runyon 2018; D'Amico 2006). If you're concerned or symptoms worsen, please speak to a doctor about anything that could be life threatening or serious.
(References)
Camilleri M. (2014). Bile acid diarrhea: pathophysiology, diagnosis, and management… Nat Rev Gastroenterol Hepatol, 24452219.
Runyon BA, & American Association for the Study of Liver Diseases Practice Guideline Writing Committee. (2018). Diagnosis and treatment of cirrhosis and its complications: 2018 Practice Guidance by the American Association for the Study of Liver Diseases… Hepatology, 30127817.
D'Amico G, Garcia-Tsao G, & Pagliaro L. (2006). Natural history and prognostic indicators of survival in cirrhosis… Hepatology, 16447212.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.