When used correctly and under the guidance of a healthcare provider, stool softeners are generally safe for children. However, prolonged use without medical supervision can lead to dependency or mask underlying conditions that require different treatments. Always consult with a pediatrician before starting any stool softener regimen.