A 5-year-old pooping his pants is almost always caused by chronic constipation, not laziness or behavioral defiance. The medical term is encopresis, and it affects up to 4% of school-age children. What looks like your child not caring enough to use the toilet is usually a physical problem he genuinely cannot control.
Understanding the mechanism behind it changes everything about how you respond, and the right response is what gets it to stop.
What’s Actually Happening Inside
The most common pattern starts with a child holding in stool. Maybe a bowel movement once hurt, or the school bathroom felt uncomfortable, or he was too busy playing to stop. Whatever the initial reason, the withholding creates a cycle that feeds itself. Stool accumulates in the lower colon and rectum, and the longer it sits there, the harder and drier it becomes. The rectum gradually stretches to accommodate the growing mass.
Here’s the part most parents don’t realize: once the rectum is stretched enough, the nerves that normally signal “you need to go” stop firing properly. Your child literally cannot feel that he needs to poop. Meanwhile, softer, newer stool from higher up in the colon leaks around the hard blockage and seeps out through the relaxed sphincter muscles. This leakage is what ends up in the underwear. It’s involuntary. Your child isn’t choosing to let it happen, and he may not even notice it until it’s already there.
This is why punishment or shaming doesn’t work and can actually make the problem worse. The soiling itself is a symptom of the blockage, not a behavior problem.
Common Triggers at This Age
Five is a perfect storm age for this problem. Many children are starting kindergarten, adjusting to new routines, and facing bathrooms that feel unfamiliar or rushed. Any of these stressors can kick off the withholding cycle:
- Starting school or a new schedule that disrupts bathroom routines
- A painful bowel movement that made your child afraid to go again
- Difficult or pressured toilet training earlier in life
- Family changes like a new sibling, a move, or a divorce
- Diet shifts that reduced fiber or fluid intake
Sometimes there’s no identifiable trigger at all. A child simply gets constipated, starts holding, and the cycle takes over before anyone notices.
How to Tell If Constipation Is the Cause
Most parents are surprised to hear their child is constipated because he may actually be pooping every day. But the stool in the underwear is typically the overflow leakage, not a full bowel movement. Signs that constipation is driving the problem include very large or very hard stools when your child does use the toilet, skid marks or small smears in the underwear (rather than full accidents), complaints of stomach pain, and a pattern of crossing legs or clenching when the urge hits.
Your child’s pediatrician can often confirm a backup just by feeling the abdomen. Sometimes an X-ray is used to show how much stool has accumulated in the colon.
When Something Else May Be Going On
In the vast majority of cases, there’s no underlying disease. But certain signs suggest a problem beyond ordinary constipation: fever, poor weight gain or weight loss, blood in the stool, a bloated abdomen, weakness in the legs, or constipation that started in the first month of life. A dimple, tuft of hair, or unusual marking at the base of the spine can also point to a structural issue. If your child has never responded to any constipation treatment, that’s another reason for a deeper evaluation.
Clearing the Blockage First
Treatment happens in two phases. The first is clearing out the backed-up stool, sometimes called a “cleanout.” Your pediatrician will typically recommend a stool-softening powder mixed into water or juice, given at higher doses for three to six days. This softens the impacted mass so it can pass without pain. Some children need a different approach if the oral route doesn’t work, but the cleanout is generally straightforward to do at home.
Don’t skip this step and jump straight to dietary changes. If there’s a large blockage, fiber and water alone won’t move it, and adding fiber on top of an impaction can actually increase discomfort.
Keeping Things Moving After the Cleanout
Once the blockage is cleared, the goal shifts to keeping stools soft and regular for long enough that the stretched rectum can shrink back to normal size and regain its sensation. This takes months, not weeks. Many families stop treatment too early because things seem better, and the cycle restarts.
Your doctor will likely recommend a daily maintenance dose of a stool softener at a lower level than the cleanout dose, adjusted based on how your child responds. The target is one to two soft, comfortable bowel movements per day. This maintenance phase commonly lasts six months or longer.
Dietary Support
Children ages 4 to 8 need about 25 grams of fiber per day. Most kids fall well short of that. Practical high-fiber foods include pears, raspberries, beans, oatmeal, whole wheat bread, and peas. Popcorn is another surprisingly good source for this age group. Spread fiber across meals rather than loading it all into one.
Hydration matters just as much. A 5-year-old should be drinking roughly 5 cups of water per day, plus 2 to 3 cups of milk. Juice in small amounts is fine, but water is the priority. Dehydrated stool is hard stool, and hard stool restarts the withholding cycle.
Scheduled Toilet Sits
Rebuilding the habit of using the toilet is just as important as the medical piece. Have your child sit on the toilet for about two minutes, three times a day at home. The best times are after meals, when the body’s natural digestive reflexes are strongest. After breakfast, after dinner, and before bed is a schedule that works for most families.
Keep it low-pressure. A stool under his feet so his knees are above his hips, a book or a tablet to pass the time, and zero commentary about whether anything “comes out.” The goal is making the toilet feel routine and safe, not stressful. A simple reward system, like a sticker chart for sitting (not for producing a bowel movement), helps many kids stay cooperative over the weeks and months this takes.
The Emotional Side
By the time parents search for answers, the whole family is often frustrated. Your child may be embarrassed, anxious about sleepovers or school, or shutting down when the topic comes up. Other kids may have noticed. This shame can intensify the withholding behavior, making the physical problem worse.
The single most helpful thing you can do is remove blame from the conversation entirely. Explain to your child that his body has a “traffic jam” and the poop is sneaking out without his permission. Frame the treatment as something you’re doing together to help his body heal. Let him know it’s not his fault, and mean it. Children who feel safe and supported through treatment recover faster than those who feel punished.
If your child’s soiling started suddenly after a major life change, or if he was previously fully toilet trained for a long stretch before the accidents began, it’s worth exploring whether anxiety or emotional stress is fueling the withholding. A pediatric psychologist who works with toileting issues can be a useful addition to the team in these cases.
How Long Recovery Takes
This is not a quick fix. The rectum needs time to return to its normal size, and the nerves need time to start sensing fullness again. Most children improve significantly within a few months of consistent treatment, but full resolution often takes six months to a year. Relapses are common, especially during transitions like summer to school or after an illness that disrupts routine. If accidents return, it usually means restarting the softener and toilet sits rather than starting from scratch.
The children who do best are the ones whose families stay patient and consistent with the full treatment plan, even after the accidents stop. Stopping the stool softener too soon is the most common reason the problem comes back.

