Persistent constipation in children may be due to a lack of fiber, fluids, or exercise or negative toilet habits. In some cases, medications or health conditions can cause chronic constipation.