How to Stop Green Poop in Babies: Causes and Fixes

Green poop in babies is usually normal and rarely signals a problem. The Mayo Clinic lists green as a typical stool color at every stage of infancy, from the dark green meconium passed in the first days of life to the yellow-green transitional stools that follow, to the occasional green diaper that shows up months later for no obvious reason. That said, some causes of persistent green stools are worth addressing, and a few are worth watching closely.

Why Baby Poop Turns Green

The most common reasons fall into a short list: what your baby is eating (or what you’re eating if you breastfeed), how quickly milk moves through the gut, a sensitivity to a protein in formula or breast milk, or a stomach bug. Each cause looks a little different in the diaper and calls for a different response.

Lactose Overload in Breastfed Babies

This is one of the most frequent causes of green, frothy, explosive stools in breastfed infants. When a baby takes in a large volume of milk that is relatively low in fat, it moves through the digestive system faster than the lactose (milk sugar) can be broken down. The undigested lactose ferments in the lower bowel, producing gas, pain, and green foamy poop. Babies dealing with this are often very gassy and may scream during or after feeds rather than just fussing.

Lactose overload typically happens when a parent has an oversupply of milk. The baby fills up on the higher-lactose, lower-fat milk that flows first without getting enough of the fat-rich milk that comes later in a feeding. Fat is what slows milk’s transit through the gut and gives the body time to digest the lactose properly.

How to Fix It

The goal is to let your baby drain the breast more fully at each feeding so they get that higher-fat milk. A few practical steps:

  • Finish one breast before offering the other. Let your baby feed as long as they want on the first side. Only switch when they come off on their own or clearly lose interest.
  • Try block feeding if you have oversupply. For a set block of time, usually about four hours, offer only one breast every time your baby wants to feed. After the block ends, switch to the other breast for the next four hours. Each repeated feed from the same breast delivers progressively fattier milk. If the resting breast gets uncomfortably full, shorten the blocks to three hours.
  • Stop block feeding as soon as symptoms improve. Most parents see a change in stool color and gassiness within one to three days. Block feeding is designed to reduce your overall supply, so continuing it longer than necessary can create a new problem. Only use this technique if your baby is gaining weight well and you’re confident you have too much milk.

Formula-Fed Babies and Green Stool

Formula-fed babies commonly produce yellow or tan stools with hints of green, and that’s completely normal. A switch between formula brands or types can temporarily change stool color for a few days. Iron-fortified formulas, which most standard formulas are, can also produce darker green stools. This is harmless and doesn’t mean your baby is getting too much iron.

Green Poop After Starting Solids

Once your baby begins eating solid foods, green and brown stools become one of the many colors you’ll see. Dark green vegetables like peas, spinach, and broccoli pass their pigment straight through a baby’s short digestive tract. The color change is temporary and clears up once those foods cycle out of the diet. There’s no reason to stop offering green vegetables. The color is cosmetic, not a sign of poor digestion.

Cow’s Milk Protein Allergy

If your baby’s green stools also contain mucus or tiny streaks of blood, the cause may be allergic colitis. This happens when a baby’s immune system reacts to proteins in cow’s milk, causing inflammation in the colon. About 30 percent of babies allergic to cow’s milk protein also react to soy protein, so a simple switch to soy formula doesn’t always resolve things.

Babies with this allergy are often extremely fussy and hard to console. Sometimes the blood in the stool is invisible to the naked eye and only shows up under a microscope, so a pediatrician may test a stool sample. If cow’s milk protein allergy is confirmed, the fix for formula-fed babies is switching to a hypoallergenic formula. Breastfeeding parents are typically asked to eliminate dairy (and sometimes soy) from their own diet, since these proteins pass into breast milk. Improvement usually takes a couple of weeks after the allergen is fully removed.

Stomach Bugs and Infections

A sudden shift to green, watery diarrhea alongside vomiting, fever, loss of appetite, or unusual lethargy points toward gastroenteritis. Viral stomach bugs are the most common cause in babies. The green color comes from bile moving through the intestines too quickly for normal reabsorption. In some cases, stools may contain blood or pus, which signals a bacterial infection rather than a virus.

The stool color itself isn’t the concern here. Dehydration is. For infants, the key marker is wet diapers: fewer than six wet diapers in a 24-hour period suggests mild dehydration, and only one or two wet diapers a day signals something more serious. Other warning signs include a sunken soft spot on the head, no tears when crying, and unusual drowsiness. If your baby has diarrhea and any of these signs, they need medical attention promptly.

When Green Poop Is Just Green Poop

Most of the time, an occasional green diaper in an otherwise happy, feeding, gaining-weight baby means nothing at all. Bile, which helps digest fat, is naturally green. It turns stool its usual yellow or brown color only after bacteria in the gut have time to break it down. Anything that speeds up transit, even a mild growth spurt where your baby is feeding more aggressively, can leave the bile partially unprocessed and the diaper green.

The colors that actually warrant a call to your pediatrician are white or chalky gray (which can indicate a liver or bile duct problem), red (possible bleeding), and black stools after the newborn period (which can also suggest bleeding higher in the digestive tract). Green, on its own, is not on that list.