Mucus discharge occurs in up to 50% of patients with irritable bowel syndrome, with or without pain. Mucus may also be produced in response to partial obstruction, chronic constipation, rectal dysfunction, infection, &even from secretory villous tumors of the rectum, among others.