Intro
Constipation in children is common, but it can still feel worrying and exhausting for families. A child may avoid the toilet, cry with bowel movements, soil underwear, complain of abdominal discomfort, or seem irritable without being able to explain why.
Most pediatric constipation is functional, meaning no dangerous disease is found and the bowel has become slow or the child is withholding stool. Still, constipation can occasionally signal an underlying medical issue, so persistent, severe, or unusual symptoms deserve guidance from a pediatrician or qualified healthcare professional.
Highlights
The most common reasons include stool withholding, low fiber intake, inadequate fluids, changes in routine, and stress around toilet learning.
Painful hard stool can create a cycle: the child withholds to avoid pain, stool stays longer in the colon, and the next bowel movement becomes even harder.
Diet and hydration matter, but emotional pressure, school bathroom avoidance, medications, and family routines can be equally important.
Red flags such as poor growth, vomiting, blood not clearly from a fissure, severe abdominal distension, or constipation from birth require medical assessment.
What constipation means in children
Constipation is not defined only by how many times a child passes stool. A child may stool daily and still be constipated if bowel movements are hard, painful, very large, or difficult to pass. Conversely, some healthy children do not stool every day. Clinicians look at the overall pattern: stool consistency, pain, straining, withholding behavior, abdominal symptoms, appetite, growth, and whether stool accidents are occurring.
In infants and children, constipation often reflects slow movement of stool through the colon or voluntary withholding. As stool remains in the colon, more water is absorbed, making it drier and firmer. Passing a hard stool can stretch the anus and sometimes cause a small fissure. The next time the child feels the urge to go, they may tighten their pelvic muscles, stand stiffly, cross their legs, hide, rock, or avoid the bathroom. This can start a self-perpetuating cycle of pain, fear, and retention.
Parents often feel guilty, but constipation is rarely caused by one mistake. It usually develops from several overlapping factors: diet, fluid intake, developmental stage, toilet access, temperament, illness, travel, medications, and family routines. Understanding the likely causes helps caregivers respond with patience rather than blame.
Stool withholding: the most common mechanism
Stool withholding in children is one of the main drivers of functional constipation. It may begin after one painful bowel movement, during toilet training, after a change in routine, or because the child dislikes unfamiliar bathrooms. Young children may not understand that delaying stool makes the next bowel movement harder; they simply remember that stooling hurt.
Withholding is often misread as trying to poop. A child may squat, clench the buttocks, straighten the legs, stand on tiptoe, or become flushed and quiet. These behaviors can look like straining, but they are frequently efforts to keep stool in. Over time, the rectum can stretch from retained stool, reducing the child’s sensation of urgency. Softer stool may leak around a retained stool mass, causing fecal soiling from retained stool. This is not laziness or deliberate misbehavior; it is a physiologic overflow problem that can be embarrassing and distressing.
Toilet training can intensify withholding if the child feels pressured, shamed, rushed, or afraid of the toilet. Some children are uncomfortable sitting with feet dangling, which makes pelvic floor relaxation harder. Others dislike the sound of flushing, the smell, or the feeling of letting stool leave the body. Supportive routines, privacy, a footstool, and calm encouragement can reduce fear, but persistent withholding should be discussed with a clinician.
Diet, fiber, and fluids
Dietary patterns are another frequent contributor. Low intake of fiber-rich foods can make stool smaller, firmer, and slower to pass. Fiber is found in foods such as fruits, vegetables, beans, lentils, whole grains, nuts or seeds when age-appropriate and safe, and some fortified cereals. Fiber helps hold water in stool and supports normal bowel motility. A healthy diet for children can include these foods gradually, because suddenly increasing fiber without enough fluids may worsen bloating or discomfort.
Insufficient fluid intake may also contribute, especially during hot weather, fever, increased activity, or school days when children drink less. Some children avoid drinking at school because they do not want to use the bathroom. Others fill up on milk or sweet drinks and eat less solid food with fiber. Large amounts of cow’s milk may be associated with constipation in some children, and cow’s milk allergy can be a less common contributor. Caregivers should not remove major food groups without medical advice, especially in young children who need adequate calories, fat, calcium, and vitamin D.
Constipation can appear during food transitions: starting solids in infancy, switching from breast milk to formula, changing formula, moving from purees to table foods, or reducing fruit and vegetable intake as picky eating emerges. These transitions are common and often manageable, but constipation with poor feeding, vomiting, poor weight gain, or significant distress needs professional evaluation.
Routine changes, school, stress, and toilet access
Children’s bowels are sensitive to routines. Travel, holidays, starting daycare or school, illness, sleep disruption, and changes in caregivers can all alter stooling patterns. A child who usually stools after breakfast may miss that opportunity because mornings are rushed. Another child may ignore urges during play or screen time until the signal fades.
School can be a major setting for constipation. Some children avoid school toilets because they lack privacy, smell unpleasant, are noisy, or require asking permission. Older children may feel embarrassed about spending time in the bathroom. If a child repeatedly suppresses the gastrocolic reflex, the natural increase in colon movement after meals, stool can accumulate.
Emotional stress matters too. Anxiety, conflict, bullying, separation stress, moving house, a new sibling, or pressure around potty training can contribute to toileting distress in childhood constipation. This does not mean constipation is “all psychological.” Rather, the nervous system, pelvic floor, gut motility, and behavior interact. A calm, predictable toilet routine after meals can help some children, but significant anxiety, stool accidents, or refusal to use the toilet may require coordinated support from a pediatric clinician and, when appropriate, a behavioral health professional.
Medications and medical conditions that can contribute
Several medicines can slow intestinal motility or make constipation more likely. Examples include some antacids containing aluminum or calcium, iron supplements, certain antiepileptic drugs, opioids, anticholinergic medications, and some treatments used for psychiatric or allergy symptoms. This does not mean a medication should be stopped suddenly. If constipation begins after a new medicine or dose change, caregivers should contact the prescribing clinician to discuss safe options.
Less commonly, constipation is related to an underlying medical condition. Possibilities include hypothyroidism, celiac disease, diabetes, electrolyte abnormalities, spinal cord or neurologic disorders, anorectal malformations, and Hirschsprung disease, a condition in which nerve cells are absent from part of the colon. These are not the typical cause for most constipated children, but they become more relevant when symptoms are severe, start very early in life, or occur with other signs such as poor growth, delayed passage of meconium after birth, neurologic findings, or significant abdominal distension.
Family history can also influence risk. Some children appear genetically predisposed to slower bowel transit or more constipation-prone stool patterns. Still, family tendency should not prevent assessment when constipation is persistent, painful, or accompanied by warning signs.
Age-specific reasons constipation develops
In infants, stool patterns vary widely. Breastfed babies may stool several times a day or, after the early weeks, go several days between stools while remaining comfortable. Formula-fed infants may have firmer stools. Constipation is more concerning when stools are hard pellets, the baby appears distressed, feeding is poor, vomiting occurs, the abdomen is swollen, or growth is affected. Starting solids can change stool consistency, especially if early foods are low in fiber.
Toddlers are at high risk because autonomy and toilet learning collide. A toddler may resist sitting, fear the potty, or withhold stool as a way to maintain control. Painful stool can quickly create avoidance. Preschool and school-age children may be more affected by schedules, bathroom privacy, selective eating, and embarrassment. In adolescents, constipation may be linked to irregular meals, low fluid intake, dieting behaviors, reduced physical activity, stress, medications, or reluctance to discuss bowel habits.
Across ages, caregivers should avoid punishment or shame. Children do not choose constipation in the way adults may imagine. Even when behavior is involved, the behavior is usually protective: avoiding pain, fear, embarrassment, or loss of control.
When to seek medical advice and what clinicians consider
Many children have occasional constipation, but medical guidance is appropriate when constipation is recurrent, painful, associated with stool accidents, or not improving with reasonable routine and diet measures. A clinician may ask about stool frequency, consistency, pain, blood, withholding postures, toilet training, diet, fluids, medicines, growth, birth history, neurologic symptoms, and family history. They may examine the abdomen and growth pattern and decide whether additional evaluation is needed.
Constipation red flags in children include delayed passage of meconium as a newborn, persistent vomiting, severe abdominal distension, poor weight gain or weight loss, fever, weakness in the legs, abnormal gait, significant anal abnormalities, or blood in stool that is not clearly explained by a small fissure. Severe abdominal pain with constipation should also be taken seriously, particularly if the child is unable to pass gas, repeatedly vomits, or looks very unwell.
Because treatment depends on age, duration, severity, and possible causes, caregivers should avoid giving adult laxatives, enemas, herbal remedies, or repeated suppositories without professional advice. Pediatric clinicians can help distinguish functional constipation in children from less common disorders and can recommend safe, age-appropriate management.
Seek urgent or prompt medical care if
- Constipation occurs with repeated vomiting, severe abdominal swelling, or the child appears very ill.
- There is blood in the stool not clearly linked to a small anal fissure, or bleeding is recurrent.
- A newborn did not pass meconium in the expected early period or has significant feeding problems.
- Constipation is associated with poor growth, weight loss, fever, weakness, or abnormal walking.
- Pain is severe, persistent, or accompanied by inability to pass stool or gas.
Tools & Assistance
- Keep a simple stool diary noting frequency, consistency, pain, accidents, diet, and toilet avoidance.
- Ask the child’s pediatrician before using laxatives, enemas, supplements, or major diet restrictions.
- Discuss school bathroom access, privacy, and permission policies with teachers or school nurses when relevant.
- Use calm, non-shaming language around stooling and accidents to reduce fear and withholding.
- Seek pediatric care if constipation is persistent, recurrent, severe, or linked with warning signs.
FAQ
Can a child be constipated even if they poop every day?
Yes. Daily stooling can still be constipation if stools are hard, painful, very large, or associated with withholding or leakage.
Why does my child hide or stand stiffly when they need to poop?
Those behaviors often suggest withholding. The child may be trying to avoid a painful bowel movement, even if it looks like straining.
Can milk cause constipation?
Large amounts of cow’s milk may contribute in some children, and cow’s milk allergy is a less common cause. Discuss dietary changes with a clinician.
Are stool accidents a sign of diarrhea?
Sometimes loose leakage can occur when softer stool passes around retained hard stool. This pattern needs careful assessment and should not be treated as misbehavior.
When should I call a doctor?
Call for persistent pain, recurrent constipation, stool accidents, blood, poor growth, vomiting, marked bloating, or any concern in a young infant.
Sources
- MedlinePlus — Constipation in infants and children
- Mayo Clinic — Constipation in children - Symptoms & causes
- NHS — Constipation in children
Disclaimer
This article is for general educational purposes only and does not replace medical evaluation, diagnosis, or treatment. Consult a qualified healthcare professional for concerns about a child’s constipation.

Please log in to leave a comment.