Why Is My Baby’s Poop Green and When to Worry

Green poop in babies is almost always normal. The color of your baby’s stool depends on what they’re eating, how fast milk or food moves through their digestive system, and how old they are. In most cases, green poop shows up for a day or two and resolves on its own without meaning anything is wrong.

That said, there are a few patterns worth knowing about, because the combination of green stool with other symptoms can occasionally point to something that needs attention.

How Stool Gets Its Color

Your baby’s liver produces bile, a green fluid that helps digest fat. When bile enters the intestines, bacteria gradually break it down into yellow and then brown pigments. This is why healthy breastfed baby poop is typically mustard yellow, and older children’s stool is brown.

The key variable is speed. When food moves through the intestines quickly, bile doesn’t have enough time to complete that green-to-yellow-to-brown conversion. The stool comes out still tinted green. Anything that speeds up digestion, whether it’s a stomach bug, a big feeding, or mild irritation in the gut, can produce green poop for this reason alone.

The First Week: Meconium and Transitional Stool

If your baby is brand new, green poop is expected. The first stool a newborn passes is meconium, a thick, sticky, greenish-black substance that built up in the intestines before birth. Over the first few days, stools shift from greenish-black to green, then to yellow or yellowish-brown by the end of the first week. This transition happens as your baby begins digesting milk and clearing out the meconium. No intervention is needed.

Breastfed Babies and Fast Digestion

In breastfed babies, the most common reason for ongoing green stool is that milk is moving through the gut too quickly for all the lactose (milk sugar) to be fully digested. Fat in breastmilk naturally slows digestion and gives the body more time to break down lactose. When a baby takes in a large volume of milk quickly, or when feeds are cut short, they may get less of the fat-rich milk that comes later in a feeding. The result is a faster transit time and incompletely digested lactose.

This is sometimes called lactose overload, and it can cause frequent, large, runny stools that look green, frothy, or even explosive. Babies with lactose overload are often gassy and uncomfortable. It’s not a lactose intolerance in the traditional sense. It’s a timing issue. Allowing your baby to finish one breast fully before switching sides, and feeding on demand rather than on a strict schedule, often resolves it within a few days.

Formula-Fed Babies

If your baby drinks formula, green poop is commonly caused by the iron content. Many formulas are iron-fortified, and excess iron that isn’t absorbed passes through the digestive tract and tints the stool green or dark green. This is harmless. Specialty formulas, particularly hydrolyzed formulas used for babies with milk or soy allergies, can also produce green stool as a normal side effect.

Starting Solid Foods

Once your baby starts solids, usually around 4 to 6 months, green poop often has an obvious dietary explanation. Pureed peas, spinach, beans, and other green vegetables can color the stool directly. This is one of the most straightforward causes and nothing to worry about. You’ll likely notice the color change within a day of introducing the new food.

Stomach Bugs and Illness

When green poop shows up alongside other symptoms, a viral stomach infection is a common cause. Viral gastroenteritis speeds up digestion significantly, which means bile passes through without fully breaking down. The stools are typically watery, frequent, and greenish-brown. Your baby may also have a mild fever.

The stool color itself isn’t the concern with a stomach bug. Dehydration is. Watch for dry nappies (fewer wet diapers than usual), a dry mouth, no tears when crying, sunken eyes, or a sunken soft spot on the top of the head. Pale or mottled skin, cold hands and feet, and unusual drowsiness or irritability are more serious signs that your baby needs medical attention promptly.

Milk Protein Sensitivity

Cow’s milk protein allergy is sometimes mentioned alongside green stool, though the hallmark symptoms are actually blood or mucus in the stool rather than color change alone. A baby with this allergy is often extremely fussy, difficult to console, and may develop small flecks or streaks of blood in their poop. Some also have diarrhea, vomiting, nasal congestion, or eczema. If you’re seeing green stool combined with visible mucus, streaks of blood, or a baby who seems to be in pain during or after feeds, that combination is worth bringing up with your pediatrician. Green stool by itself, without those other signs, is unlikely to point to an allergy.

Stool Colors That Are Actually Dangerous

Green is almost never a dangerous stool color. The colors that do signal an emergency are white, chalky grey, and pale yellow, along with bright red and black.

White or chalky grey stools suggest that bile isn’t reaching the intestines at all, which can indicate a serious liver condition called biliary atresia. This is rare but life-threatening. About 77% of infants with biliary atresia have pale or white stools by 30 days of life, and that number climbs to 97% by 60 days. The American Academy of Pediatrics now recommends that pediatricians check stool color at early well-visits, sometimes using a stool color card or a phone app, specifically to catch this condition early. If your baby’s stool looks white, grey, or an unusually pale yellow, contact your pediatrician right away.

Bright red stool typically indicates bleeding near the end of the digestive tract, while black stool (after the meconium phase) suggests bleeding higher up, such as in the stomach. Both warrant an immediate call to your doctor.

When Green Poop Is Just Green Poop

If your baby is eating well, gaining weight, and seems comfortable, a green diaper is almost certainly fine. Babies’ digestive systems are still maturing, and stool color can shift from one feeding to the next. You might see yellow in the morning and green in the afternoon. The things that matter more than color are your baby’s overall behavior, their weight gain, and whether the stool contains blood or mucus. A happy baby with green poop is just a baby with green poop.