docusate is a stool softener. it works by increasing the amount of water the stool absorbs in the gut making the stool softer and easier to pass. side effects stomach pain diarrhea or cramping may occur. irritated throat (with liquid or syrup forms) may a