Bisacodyl is a laxative that comes in tablet or capsule form to treat occasional constipation. Constipation occurs when you have less frequent bowel movements. This medication works by helping the muscles in your intestines move stool (poop) to produce a bowel movement.