Stool softeners are taken by mouth and come in capsule, liquid, and tablet form.
When this happens, stools become softer so you don’t have to strain to pass them.
Docusate sodium is the active ingredient used in OTC stool softeners.

Michelle Lee Photography / Getty Images
Stool softeners don’t work immediately.
It may take up to 72 hours before they induce a bowel movement.
For some people, this can cause serious harm.
Situations when stool softeners may be recommended include:
Stool Softener or Another Laxative?
Stool softeners are intended for short-term use.
They can treat occasionalconstipation, but other laxatives may be better suited because they typically work faster.
For example, stimulant laxatives work within six to 12 hours.
Stool softeners are intended for short-term use to soften stools and prevent bowel straining.
For faster relief of constipation, a stimulant, hyperosmotic, or saline laxative may be preferred.
Chronic constipation may be best treated with a bulk-forming laxative.
How to Use
A stool softener is usually taken at night before you go to bed.
Be sure to follow the package instructions and never exceed the recommended dose.
Note that stool softeners are generally not used for longer than one week.
Side Effects and Risks
Stool softeners are not absorbed into the bloodstream and are generally well-tolerated.
Side effects are rare.
This can lead to bouts of diarrhea.
Summary
Stool softeners are used to soften stools and prevent bowel straining.
They work by adding moisture to stools, making them easier to pass.
Stool softeners can take up to 72 hours to work and are intended for short-term use.
For the rapid relief of constipation, other laxatives may a better choice.
Jin J.Over-the-counter laxatives.JAMA.2014;312(11):1167. doi:10.1001/jama.2014.2078
Bashir A, Sizar O.Laxatives.
In:StatPearls [Internet].
Hannoodee S, Annamaraju P.Docusate.
In:StatPearls [Internet].
National Institute of Diabetes and Digestive and Kidney Diseases.Treatment for constipation.