Dioctyl capsules are for the treatment of constipation. Dioctyl works by softening the motions to produce a gentle movement. Dioctyl capsules can also be used to prevent constipation.