Both external and internal forms of hemorrhoids can be a cause of mucus in the stool. For instance, when swollen veins protrude (which happens when one has internal hemorrhoids), they gather amounts of mucus. This mucus substance usually has stains of blood on it. Likewise, external hemorrhoids also contribute to having mucus in the stool. Frequently, the mucus comes along with itching, inflammation, bleeding, and pain. if this mucus bothers you, you can see a surgeon to have your hemorrhoids removed.