Miralax can be effective for treating impacted stool, but it may take several days to see results. It is important to follow the dosing instructions carefully and drink plenty of fluids to help soften the stool and make it easier to pass.