Medications for constipation are used to treat chronic constipation. These medications also have other uses, such as preparing for colonoscopies and managing symptoms of irritable bowel syndrome. They work in different ways, including softening stools, increasing bowel movements, or drawing water into the intestines. Common classes include stool softeners, osmotic laxatives, and stimulant laxatives. Stool softeners like docusate sodium (Colace) are usually taken as oral pills. Osmotic laxatives, such as polyethylene glycol 3350 (Miralax), are available in powder form to mix with liquids. Stimulant laxatives, like bisacodyl (Ducolax, Biscolax), are available as oral pills and rectal suppositories. These options provide different ways to help manage your constipation effectively.