Encopresis usually occurs after age 4, when a child has already learned to use a toilet. In most cases, soiling is a symptom of chronic constipation. Far less frequently it occurs without constipation and may be the result of emotional issues. Encopresis can be frustrating for parents — and embarrassing for the child.
https://www.mayoclinic.org/diseases-conditions/encopresis/symptoms-causes/syc-20354494

