Black poop in a baby is usually harmless, especially in the first few days of life. The most common cause is meconium, the tar-like first stool every newborn passes. In older babies, dark or black-looking stool typically comes from iron in formula or supplements, or from certain foods. Rarely, black stool signals bleeding in the upper digestive tract, which needs prompt medical attention.
Meconium in the First 48 Hours
Every newborn’s very first bowel movements are made of meconium, a thick, sticky, blackish-green substance that resembles tar. Meconium is a mix of everything your baby swallowed in the womb: amniotic fluid, skin cells, bile, and mucus. Unlike regular poop, it has almost no smell.
Your baby should pass meconium within 24 to 48 hours after birth. Over the next several days, stool gradually transitions from black-green to a dark greenish-brown (“transitional stool”), and then to the yellow, seedy texture typical of breastfed babies or the tan, firmer stool of formula-fed babies. If your newborn is still passing jet-black stool after four or five days, or hasn’t passed meconium at all within the first two days, let your pediatrician know.
Iron Supplements and Fortified Formula
Iron is the single most common reason for black stool in babies past the newborn stage. Many infant formulas are iron-fortified, and babies diagnosed with low iron levels may take liquid iron drops. When unabsorbed iron travels through the digestive tract, it oxidizes and turns stool dark green to black. This is completely normal and not a sign that anything is wrong with your baby’s stomach or intestines.
If your baby recently started a new formula or began iron supplements and you notice the color change, that’s almost certainly the explanation. The dark color will persist as long as your baby takes iron. Green stools are also a common, harmless variation in babies on iron-fortified whey-based formulas.
Foods That Darken Stool
Once your baby starts solids, certain foods can turn poop surprisingly dark. Blueberries are the most common culprit. A generous serving can produce stool so dark it looks nearly black. Blackberries, dark grape juice, and foods with heavy artificial coloring can have a similar effect. If several colors of food dye mix together in the gut, the result can also look black.
A simple way to check: think back to what your baby ate in the last 24 to 48 hours. If blueberries, dark berries, or brightly dyed foods were on the menu, that’s the likely cause. The color should return to normal once those foods clear the system.
Medications to Watch For
Bismuth subsalicylate, the active ingredient in Pepto-Bismol, is well known for turning stool jet black. It reacts with small amounts of sulfur in the digestive tract, creating a dark compound called bismuth sulfide. However, this medication is only considered safe for adults and children age 12 and older. Babies and young children should not take it. If your baby somehow ingested a bismuth-containing product, contact your pediatrician or poison control right away.
When Black Stool May Mean Bleeding
In cases where meconium, iron, and food have been ruled out, black stool in a baby can indicate bleeding higher up in the digestive tract. When blood from the esophagus, stomach, or the first part of the small intestine passes through the gut, stomach acid digests it and turns it black, sticky, and foul-smelling. Doctors call this “melena,” and it looks and smells distinctly different from iron-darkened stool or meconium.
Upper GI bleeding in infants can result from irritation or small ulcers in the lining of the esophagus or stomach. Certain medications, infections, or, less commonly, abnormal blood vessels or polyps can be the source. In breastfed newborns, cracked and bleeding nipples can also cause a baby to swallow small amounts of maternal blood, which then shows up as dark specks or streaks in the diaper.
Signs That Need Immediate Attention
Not every dark diaper warrants a trip to the emergency room, but certain combinations of symptoms do. Call your pediatrician right away if your baby’s black stool is accompanied by:
- A tar-like texture with a strong, foul smell that’s different from normal stool
- Vomiting, especially if the vomit looks bloody or resembles coffee grounds
- Lethargy or unusual sleepiness, where your baby is harder to wake or less responsive than usual
- Signs of dehydration, including fewer wet diapers, a dry mouth, or no tears when crying
- Pale skin or rapid breathing, which can signal significant blood loss
Persistent bleeding, even in small amounts, can lead to anemia over time. Always mention blood in your child’s stool to your pediatrician, even if the amount seems minor. They can determine whether it needs immediate evaluation.
How Doctors Test for Hidden Blood
If your pediatrician suspects the black color might be blood rather than iron or food, they can run a simple stool test called a fecal occult blood test. This involves applying a small stool sample to a special card treated with a plant-based resin that changes color when it detects a component of red blood cells. The test takes minutes and can be done in the office.
A positive result means blood was detected, but it doesn’t pinpoint the cause. False positives can happen (red meat in an older child’s diet, for example, can trigger the test), so a positive result is usually followed by further evaluation. If your baby tests positive and upper GI bleeding is suspected, the doctor may recommend an endoscopy to look directly at the lining of the esophagus and stomach. A negative result, combined with a clear dietary explanation like iron or blueberries, is typically all the reassurance you need.
A Quick Way to Sort It Out
When you open a diaper and see black, run through this mental checklist. Is your baby under five days old? It’s almost certainly meconium. Is your baby on iron drops or iron-fortified formula? That’s your answer. Did your baby recently eat blueberries or other deeply pigmented food? Mystery solved. If none of those apply, or if the stool is tar-like, unusually smelly, or your baby seems unwell, call your pediatrician. In most cases, black poop in babies has a simple, harmless explanation.

