Guar gum is a gel-forming fiber from the seed of the guar plant (Cyamopsis tetragonoloba). It's used to thicken foods and is also used as a dietary supplement. Guar gum helps normalize the moisture content of the stool, absorbing excess liquid in those with diarrhea, and softening the stool in those with constipation.