When used topically in hair products or cosmetics, the EWG has rated xanthan gum a 1 which means it is not harmful or toxic. If you have allergies to corn, wheat, soy, or dairy, talk with your doctor as it may be a potential allergen.