What Causes Constipation in Newborns?

True constipation in newborns is uncommon, especially in breastfed babies. What most parents notice and worry about is a change in frequency or visible straining, both of which are often normal. When constipation does occur, the defining sign isn’t how often your baby poops but what the stool looks like: hard, dry, or pebble-like. Understanding the difference between normal newborn patterns and genuine constipation can save you a lot of unnecessary worry, and help you spot the rare situations that do need attention.

What Normal Newborn Stool Looks Like

Newborn stool varies widely depending on whether a baby is breastfed or formula-fed. Breastfed babies typically produce loose, seedy, mustard-yellow stools. Formula-fed babies tend to have slightly firmer, darker yellow stools. Both are normal.

Frequency is where parents often get confused. Some newborns poop after every feeding; others go several days between bowel movements. Going five to seven days without a stool isn’t necessarily a problem as long as the baby is eating well, gaining weight, and the stool is soft when it does come. In general, breastfed babies poop more often than formula-fed babies, and younger newborns poop more often than older ones. The pattern that matters most is your baby’s own baseline. A sudden shift from frequent soft stools to infrequent hard ones is more meaningful than the number of days between diapers.

Formula and Digestive Difficulty

Formula-fed newborns are more likely to experience constipation than breastfed ones. Formula contains larger proteins that are harder for immature digestive systems to break down. This slower digestion makes the stool firmer and increases the chance of gastrointestinal discomfort, including constipation.

Switching formulas can sometimes help, but it can also temporarily disrupt stool patterns while your baby adjusts. If your formula-fed baby is consistently producing hard, pellet-like stools and seems uncomfortable, the formula itself may be a factor worth discussing with your pediatrician.

Cow’s Milk Protein Intolerance

Most people associate milk allergies with diarrhea, but constipation can also be a sign of cow’s milk protein intolerance in infants. The mechanism appears to involve inflammation in the lower digestive tract. Cow’s milk proteins (present in most standard formulas, and sometimes passed through breast milk) can trigger irritation and small lesions around the anus, making bowel movements painful. The baby then holds stool in to avoid pain, creating a cycle of worsening constipation.

Research from the American Academy of Family Physicians found that when constipated children with suspected milk intolerance were switched to soy-based milk, those who responded had at least one soft bowel movement daily within two to six days. Their discomfort resolved completely, along with visible swelling and redness around the anus. Rectal biopsies in these children showed inflammatory changes and infiltration by immune cells, confirming that the constipation had an allergic component. If your newborn has persistent constipation along with signs of discomfort during or after feeding, a trial elimination of cow’s milk protein is something your pediatrician may suggest.

Dehydration and Inadequate Feeding

When a newborn isn’t getting enough fluid, whether from breast milk or formula, the body pulls water from the intestines to compensate. This leaves stool drier and harder to pass. Dehydration is one of the more straightforward causes of newborn constipation, and it’s also one of the easiest to check for at home.

The key indicator is wet diapers. After the first few days of life, your baby should be producing at least six wet diapers a day. If your newborn goes more than eight hours without urinating or consistently falls below six wet diapers daily, dehydration may be contributing to hard stools. Other signs include a dry mouth, sunken soft spot on the head, and unusual sleepiness. In breastfed babies, insufficient milk intake is the most common reason, particularly in the first week or two before breastfeeding is fully established.

Anatomical Causes

In rare cases, constipation in a newborn points to a structural problem that was present at birth. Anorectal malformations, where the anal opening is absent, misplaced, or abnormally narrow, can make stool passage difficult or impossible. Doctors typically check for these during the initial newborn exam. Signs include no visible anal opening, an opening that isn’t in the expected location, or an anus that appears unusually tight. If not identified early, these malformations can lead to intestinal obstruction with symptoms like vomiting, abdominal swelling, and complete inability to pass stool.

Most of these conditions are caught within the first day or two of life. In the first 24 hours, babies with anorectal malformations may pass no stool at all, or stool may exit through an abnormal opening. Surgical correction is the standard treatment, and outcomes are generally good when the condition is identified promptly.

Hirschsprung Disease

Hirschsprung disease is a condition where nerve cells are missing from a portion of the large intestine. Without these nerve cells, the affected segment of bowel can’t relax to move stool through. The result is severe, persistent constipation that typically shows up in the first days or weeks of life.

One of the hallmark signs is failure to pass the first dark, sticky stool (meconium) within the expected timeframe after birth. During a physical exam, doctors look for abdominal swelling and may perform a rectal exam. A telltale clue is explosive stool release after the rectal exam, or a rectum that contains no stool at all despite the baby not having had a bowel movement. Hirschsprung disease requires surgical treatment but is uncommon, affecting roughly 1 in 5,000 newborns.

Gentle Remedies That Can Help

For mild constipation in an otherwise healthy newborn, a few simple physical techniques can encourage a bowel movement. Gently massaging your baby’s tummy in a clockwise direction can stimulate the intestines. Holding your baby’s knees up against their chest mimics a squatting position that helps relax the pelvic floor. You can also slowly move your baby’s legs in a bicycling motion, which applies gentle pressure on the abdomen.

What you should avoid matters just as much. Mineral oil, stimulant laxatives, and enemas are not safe for newborns. These products can cause serious complications in infants and should never be used without direct guidance from a healthcare provider. If dietary changes and gentle physical techniques aren’t producing results, or if your baby seems to be in significant discomfort, that’s the point where medical evaluation becomes important.

Signs That Need Prompt Attention

Most newborn constipation resolves with minor adjustments, but certain signs suggest something more serious. No stool at all in the first 48 hours of life, a visibly swollen or hard abdomen, vomiting (especially green or bile-colored), blood in the stool, and poor weight gain all warrant prompt medical evaluation. Persistent hard, pebble-like stools combined with fewer than six wet diapers a day also suggest the baby isn’t getting adequate nutrition or hydration. These patterns don’t always indicate a serious condition, but they’re the ones that benefit from professional assessment rather than a wait-and-see approach.