What Makes Babies Constipated and How to Help

Most baby constipation comes down to a short list of causes: dietary changes, formula composition, dehydration, and occasionally a cow’s milk allergy. True constipation in infants is actually uncommon, especially in breastfed babies, where hard stools occur in 1% or fewer. But when it happens, parents notice quickly, and understanding the trigger makes it much easier to fix.

Before diving into causes, it helps to know what’s normal. Newborns around three weeks old poop a median of four times per day. Breastfed babies poop more frequently than formula-fed babies at every age. By about four months, breastfed infants still average around twice a day, while formula-fed babies average closer to once. Some breastfed babies go several days between bowel movements and are perfectly fine, as long as the stool is soft when it does come.

Straining Isn’t Always Constipation

One of the most common reasons parents worry about constipation is watching their baby turn red, grunt, and strain for 10 to 30 minutes before a bowel movement. If the stool comes out soft and normal afterward, this isn’t constipation. It’s a condition called infant dyschezia, sometimes called grunting baby syndrome. Babies with dyschezia haven’t yet figured out how to coordinate the muscles needed to push stool out. They need to simultaneously bear down with their abdominal muscles while relaxing their pelvic floor, and that’s a skill that takes practice. It resolves on its own without treatment.

How Formula Can Harden Stools

Formula-fed babies are significantly more likely to develop hard stools than breastfed babies, and the reason is chemical. In most standard formulas, the fat molecule palmitic acid is attached to the outer positions of a fat structure. Babies under six months don’t produce enough of the enzyme needed to digest fat in that position. The undigested fat binds with calcium in the gut, forming soap-like compounds that literally harden the stool.

Some formulas are now designed with the fat in a different position that’s easier for young digestive systems to handle. If your formula-fed baby is consistently passing hard, pellet-like stools, switching formulas may help. Preparation matters too. Adding too little water when mixing powdered formula concentrates the ingredients and can contribute to firmer stools.

One thing that probably isn’t causing the problem: iron. Many parents suspect iron-fortified formula, but controlled studies have found no difference in stool frequency, stool consistency, or digestive symptoms between babies fed iron-fortified and low-iron formulas.

Starting Solid Foods

The transition to solid foods is one of the most common triggers for constipation. A baby’s digestive system has been handling nothing but liquid, and suddenly it needs to process thicker, drier, lower-fiber foods. Three early foods are particularly well known for causing backup: rice cereal, bananas, and applesauce. All three are low in fiber relative to their starch content, which slows things down.

If constipation shows up right around the time you introduced solids, the food itself is the likely culprit. Higher-fiber options like pureed peas, prunes, or pears tend to keep things moving. You don’t need to avoid the constipating foods entirely, just balance them with fiber-rich alternatives.

Dehydration and Illness

Babies can become dehydrated faster than adults, and even mild dehydration pulls water out of stool, making it harder to pass. Vomiting and diarrhea from illness are common triggers, creating a frustrating sequence where a stomach bug leads to dehydration, which then leads to constipation. Signs of dehydration in a baby include fewer wet diapers than usual and unusual sleepiness or lethargy.

For babies who haven’t started solids yet, breast milk or formula provides all the hydration they need. Giving water or juice to a very young baby without medical guidance can be harmful, because it dilutes the nutrients they need and can throw off their electrolyte balance.

Cow’s Milk Protein Allergy

About 4.6% of infants with a cow’s milk allergy develop constipation as a symptom. This is an underrecognized cause, partly because most people associate food allergies with rashes or vomiting rather than hard stools. The mechanism is inflammation. The allergic reaction triggers immune cells in the rectal lining to cluster near the nerve endings that control how the bowel muscles move. This raises the resting pressure of the anal sphincter, making it physically harder for the baby to pass stool. The resulting pain from straining and small tears around the anus can then cause the baby to start withholding stool, creating a cycle that gets worse over time.

The key difference between this and ordinary constipation is that removing cow’s milk protein resolves everything, including the withholding behavior, the inflammation, and the nerve changes. If your baby is formula-fed and constipated despite other interventions, or if you’re breastfeeding and consuming dairy, cow’s milk allergy is worth discussing with your pediatrician. Cow’s milk protein can pass through breast milk.

What Helps at Home

For babies who have started solids, the simplest fix is adjusting what they eat. Pureed prunes, pears, and peas are reliably effective at softening stools. For babies younger than four months who haven’t started solids, Children’s Hospital of Philadelphia recommends mixing 1 ounce of prune, apple, or pear juice with 1 ounce of water, given once or twice a day.

Gentle belly massage can also help. Place your fingers just below the navel and massage in a clockwise direction (following the path of the large intestine). Bicycling the baby’s legs, moving them in a pedaling motion while the baby lies on their back, helps stimulate the bowel muscles. A warm bath relaxes the abdominal and pelvic muscles, which can make it easier for the baby to pass stool.

When Constipation Signals Something Deeper

The vast majority of infant constipation is functional, meaning there’s no underlying disease. But persistent constipation that doesn’t respond to dietary changes can occasionally point to conditions affecting the bowel muscles or nerves. Hirschsprung’s disease, where nerve cells are missing from a section of the colon, is the most well-known example. It typically shows up in the first days or weeks of life, with a failure to pass the first stool within 48 hours of birth. Thyroid problems and other conditions affecting the bowel can also present as constipation, though these are rare.

Red flags that set these apart from ordinary constipation include a swollen or tight abdomen, constipation starting in the very first days of life, poor weight gain, and blood in the stool that isn’t explained by a small anal tear. These patterns look different from a baby who was pooping fine and then got backed up after starting rice cereal.