Hello,
Green stool can be caused by a change in diet, mucus or some gastrointestinal infection. Intake of diet high in
green vegetables such as spinach, food dyes can lead to
green stools. Other causes are bacterial infection of the intestines, ulcerative colitis, irritable bowel syndrome etc.Consult a doctor. Your doctor will ask for a stool sample to check for presence of any bacteria or contaminants which may be affecting your digestive system.