Digestive

Constipation from Medication in Babies and Toddlers

The short answer

Several common baby and toddler medications can cause constipation as a side effect. Iron supplements and iron-fortified formulas are the most frequent culprits, but antacids, certain antibiotics, and some other medications can also slow digestion. Medication-related constipation is usually manageable with dietary adjustments and does not mean you need to stop the medication. Talk to your pediatrician before changing or stopping any prescribed medication.

By Age

What to expect by age

The most common medication-related constipation at this age comes from iron supplements (often prescribed for anemia or prematurity) and iron-fortified formula. Signs include hard, pellet-like stools, straining, and less frequent bowel movements. If your baby is on iron drops, giving them between meals rather than with milk may reduce constipation. Your pediatrician may also suggest adjusting the dose or trying a different form of iron.

As babies start solids and may still be on iron supplementation, constipation from iron can persist. This is also the age when reflux medications (like ranitidine or omeprazole) may be used, which can sometimes contribute to harder stools. Offering high-fiber purees (prunes, pears, peas) and ensuring adequate fluid intake can help offset medication-related constipation. Do not give over-the-counter laxatives without medical guidance.

Toddlers may experience constipation from iron supplements, antihistamines (like diphenhydramine), certain antibiotics, or antacid medications. If your toddler is consistently constipated while on a medication, your pediatrician may adjust the timing, dosage, or formulation. Increasing water intake, offering prune juice (1-2 oz mixed with water), and including fiber-rich foods (whole grains, fruits, vegetables) can help manage symptoms.

What Should You Do?

When to take action

Probably normal when...
  • Stools becoming slightly firmer after starting iron supplements but still passing without pain
  • Bowel movements being less frequent (every 2-3 days) while on iron but remaining soft
  • Dark or greenish-black stools from iron supplementation, which is expected and harmless
  • Temporary changes in stool pattern after a course of antibiotics
Mention at your next visit when...
  • Your baby is straining significantly and passing hard, painful stools after starting a new medication
  • Your baby has not had a bowel movement in 3+ days and seems uncomfortable
  • You are considering stopping or changing a medication because of constipation
  • Your baby has blood on the stool surface or in the diaper from straining
Act now when...
  • Your baby has severe abdominal distension (a very swollen, hard belly) with vomiting
  • Your baby has not had a bowel movement in a week and appears to be in pain
  • You notice blood mixed into the stool (not just on the surface) along with constipation
  • Your baby is refusing to eat, is lethargic, or is vomiting bile along with constipation

Sources

Baby Constipation

Constipation in babies is defined by hard, dry, difficult-to-pass stools rather than by how often your baby poops. Breastfed babies can go several days without a bowel movement and still be perfectly normal. If your baby is passing soft stools comfortably, even if infrequently, they are likely not constipated.

Baby Hard Pebble-Like Poop

Hard, pebble-like stools in babies are a sign of constipation and usually mean your baby is not getting enough fluid or fiber. This is most common after starting solid foods or when transitioning from breast milk to formula. While uncomfortable for your baby, it is usually easily addressed with dietary changes and rarely indicates a serious problem.

Baby Straining and Grunting to Poop

Babies straining, grunting, and turning red during bowel movements is extremely common and usually not a sign of constipation. Young babies are learning to coordinate the muscles needed to push out stool while simultaneously relaxing their pelvic floor, and this takes practice. If the stool that comes out is soft, your baby is not constipated regardless of how much effort it seems to take.

My Toddler Drinks Too Much Milk (Iron Deficiency Risk)

While milk is nutritious, toddlers who drink too much cow's milk, more than 24 ounces per day, are at risk for iron deficiency anemia. Cow's milk is low in iron and can interfere with iron absorption, and filling up on milk reduces appetite for iron-rich foods. The AAP recommends limiting cow's milk to 16 to 24 ounces per day for toddlers.

My Baby's Belly Looks Swollen

A rounded, slightly protruding belly is completely normal in babies and toddlers due to immature abdominal muscles and their proportionally larger organs. However, if the belly becomes suddenly swollen, feels hard and tight, or is accompanied by pain, vomiting, or changes in bowel movements, it needs medical evaluation as it could signal gas buildup, constipation, or rarely, something more serious.

My Baby Has an Anal Fissure (Blood When Pooping)

A small streak of bright red blood on the surface of your baby's stool or on the diaper is most commonly caused by an anal fissure, which is a tiny tear in the skin around the anus from passing hard stool. Anal fissures are very common in babies and toddlers and usually heal on their own with simple measures like keeping stools soft. While this is rarely serious, any blood in your baby's stool should be mentioned to your pediatrician.