Stool tends to be brown. But a green poop color change is common and in the normal healthy stool color range. That said, you should see your doctor if the green poop (or another stool color change) is ongoing, or if you have other symptoms, like fever, diarrhea, nausea, vomiting, or pain.

This article discusses some possible causes of green poop (whether it is dark, bright, light green, or floating). It also covers reasons for green poop in pregnant women and infants, and when to see a doctor.

Green Foods

Your poop can be green after eating meals with green vegetables, such as:

SpinachKaleBroccoliSwiss chardBok choyArugulaWatercressGreen beansCeleryAsparagusZucchiniCucumbers

Green fruits like these can also cause green poop:

AvocadosGreen applesGreen olivesKiwiGreen grapes

Green poop after eating these foods doesn’t mean there’s something wrong. Dark green, leafy vegetables and green fruits are rich in chlorophyll—the pigment that gives plants their color. Any of these plant foods can cause green poop if you eat enough of them.

Nuts like pistachios, seeds like hemp seeds, and herbs like parsley, basil, and cilantro are also rich in chlorophyll. Matcha, a type of powdered green tea, can also make stools a bright green hue.

Some foods contain green (or blue and yellow) food coloring that may turn your poop green. These dyes are sometimes used in canned green peas, green beer, breakfast cereal, candy, jarred pickles, salad dressing, drinks, icing, and sweets. You’ll also see these dyes in holiday food.

Blue and Purple Foods

Deep blue or purple foods can sometimes lead to green poop. This includes blueberries, grapes, and red wine.

Purple (or red and blue) food coloring can also cause dark or bright green poop. These dyes are in:

Drink mixesGrape Kool-Aid and sodaFrozen ice popsCake icingBlue juicesPackaged fruit snacksLicoriceGrape-flavored Pedialyte

Food dye colors are often used during Kwanzaa, Easter, Eid Al-Fitr, Saint Patrick’s Day, and Halloween.

Coffee, Spicy Foods, and Alcohol

As bile moves through the small intestine to the large intestine, it changes color from green to yellow to brown. This is due to how bacteria in the large intestine acts on bile salts.

Coffee, alcohol, jalapeños, and chili pepper can make you have to poop more quickly. These foods cause a laxative effect that makes food rush through your intestines too fast for it to change from green to brown.

Vitamins, Supplements, and Drugs

Taking iron supplements can change the color of your poop to dark green (or black). Other vitamins, supplements, and teas that can cause green poop include:

Senna, cascara sagrada, rhubarb, and fiber supplements Supplements that contain chlorophyll, like wheatgrass, spirulina, barley grass, chlorella, and blue-green algae Yerba mate tea Medication that can cause diarrhea as a side effect, like metformin, Lexapro (escitalopram), Nyquil, Zoloft (sertraline), or antibiotics like ciprofloxacin

Special Diets

Eating lots of green veggies and fruits can make you have green poop. Juicing or juice cleanses will also up your chlorophyll intake and make green poop more likely.

If you are doing a colon cleanse, you might have green stools too. That’s because a colon cleanse causes food to rush through your intestines.

A high-fat diet like the keto diet may give your poop a bright green hue. With a high-fat diet, your body makes more bile to digest these fats. So, your stool may come out with more green bile.

Green Poop In Pregnancy

Green poop can occur during pregnancy. Some women get it in the earliest weeks of their pregnancy. In many cases it happens before they even know they are pregnant. Other women get it because they take iron supplements or prenatal vitamins, which have more iron than the typical multivitamin.

Green stool can also happen during the third trimester. Some women get loose green stools in late pregnancy when food often moves through the intestines fast.

Babies, Toddlers, and Older Kids

An infant’s first poops tend to be green to black in color. This is known as “meconium.” It usually stops after they are three days old.

If a breastfed baby has green poop, it could be something in the mother’s diet, like green veggies or food made with green or purple food coloring. In some cases, it could be that the mother or baby is sensitive or allergic to something in their diet.

Green poop in breastfed babies (particularly “EBF” or exclusively breastfed babies) can be a sign that the baby is getting too much low-calorie, low-fat foremilk (the milk that comes first in a feeding) and not enough hindmilk, which is higher in fat.

It could also mean that the baby isn’t feeding long enough on each breast. The baby may not be draining the breast enough. Or, there could be an oversupply of breast milk. A lactation consultant may be able to help find the issue.

Kids often eat foods that have food dyes, including green, purple, blue and yellow, or red and blue coloring. They are found in grape Pedialyte and some kids’ breakfast cereals, drinks, candies, birthday cakes, and cookies.

Medical Conditions

Diarrhea causes stool to move faster through the bowels, so any condition that causes diarrhea can cause green poop, such as:

Food poisoning Infectious or traveler’s diarrhea, especially Salmonella, E. coli, and Giardia (Bacterial, parasitic, and viral intestinal infections can cause your intestines to flush faster than normal) Antibiotic-associated diarrhea (also known as pseudomembranous colitis) Lactose intolerance Premenstrual syndrome (PMS) Celiac disease Ulcerative colitis Crohn’s disease Irritable bowel syndrome (IBS) Eating disorders that involve laxative abuse After surgery, such as a cesarean section (also known as a C-section)  Graft versus host disease (a condition that can develop after surgery for a bone marrow transplant)

When to See Your Doctor

You should talk to your doctor if your green stools are ongoing and/or you also have any of these symptoms:

FeverStomach aches or painBlood in the stool (or black stool)Watery or liquid stoolAny other unusual symptoms

A rare but serious cause of green poop in kids and adults is poisoning by chemicals such as paraquat, a pesticide in weed killers.

Green stools that have visible mucus could mean the lining of your intestines is inflamed. If you notice this often, it could be a sign of a condition that may require treatment, especially if you have other symptoms like diarrhea, constipation, pain in your abdomen, nausea, or vomiting.

Like green poop, floating green stool is often normal and due to what you ate. In some cases (particularly if it’s an ongoing concern), floating stool could mean that your intestines aren’t absorbing fat properly.

Summary

Stool is normally brown because of how the bacteria in your intestines gradually changes its color during digestion. However, green poop is common at any age.

Stool typically turns green because of something green that you ate or drank, and it usually returns to brown within a day or two.

Stool can also turn green if you are doing a colon cleanse, eating something that has a laxative effect, or have diarrhea. This is because the stool is rushing through your intestines so quickly that there’s not enough time for your intestinal bacteria to make it brown.

A Word From Verywell

Green stools can fall within the normal color range for poop colors. If the change in your stool color is ongoing or you have any other unusual symptoms, it’s best to talk to your doctor to rule out an underlying health condition. In most cases, having the occasional greenish poop is nothing to worry about. If your green poop was caused by something you ate, your stools should return to their normal color within a day or two.