What is the purpose of xanthan gum in toothpaste? Xanthan gum is a common ingredient in many household products, including toothpaste. It is a natural thickening agent that is derived from the fermentation of corn sugar with a bacteria called Xanthomonas campestris. Xanthan gum is used in toothpaste