Skip to main content
Ingredient ComparisonCaution

Xanthan Gum vs Guar Gum: Which Is Safer and When to Use Each

Xanthan gum and guar gum are the two most common stabilizers in gluten-free baking and processed food. Both are FDA GRAS. Both have documented edge-case safety concerns. Here is what the regulators actually say, what the science shows, and how to choose between them.

March 11, 20268 min readSources: FDA, EFSA, PubMed
Gluten-free baked goods that use xanthan gum or guar gum as a binder

Bottom line

Both xanthan gum and guar gum are FDA GRAS and EFSA-authorized at food-use levels. For most adults, neither poses a meaningful safety concern at the quantities found in packaged food. The documented concerns — xanthan gum and NEC in premature infants, guar gum supplement-related obstruction in the 1990s — are context-specific and do not apply to normal food consumption. Functional differences matter more than safety differences for most consumers.

What are xanthan gum and guar gum?

Xanthan gum

Xanthan gum is a polysaccharide produced by bacterial fermentation. The bacterium Xanthomonas campestris ferments a carbohydrate substrate — typically corn, wheat, or soy — and secretes xanthan as a byproduct. The gum is then precipitated with isopropyl alcohol, dried, and milled into powder. The fermentation substrate matters for people with celiac disease: xanthan gum produced on a wheat substrate may carry trace gluten, though finished products are typically tested and labeled accordingly.

In food, xanthan gum functions as a thickener, stabilizer, and binder. It is shear-thinning — it flows easily under mechanical stress (mixing, pouring) and thickens when at rest. This makes it useful in salad dressings, sauces, and baked goods. It is stable across a wide pH and temperature range. See the full regulatory profile at our xanthan gum additive page.

Guar gum

Guar gum is derived from the endosperm of the guar bean (Cyamopsis tetragonolobus), a legume grown primarily in India and Pakistan. The beans are dehusked, split, and the endosperm is ground into powder. Guar gum is primarily galactomannan — a polysaccharide made of mannose and galactose units — which gives it high water-binding capacity.

Guar gum is approximately 5–8 times more viscous than cornstarch per unit weight. It performs especially well in cold or frozen applications because it does not break down as much at low temperatures. Ice cream, yogurt, and frozen desserts frequently use guar gum to prevent ice crystal formation. Full regulatory data is at our guar gum additive page.

Side-by-side comparison

The table below covers regulatory status, typical use, and key safety data for both stabilizer-class additives.

Raw baking ingredients including flour and thickeners
Illustrative photo.
Xanthan gumGuar gum
SourceBacterial fermentation (Xanthomonas campestris)Guar plant seed endosperm (Cyamopsis tetragonolobus)
FDA statusGRAS — 21 CFR 172.695GRAS — 21 CFR 184.1339
EU authorizationE415 — quantum satis in most categoriesE412 — quantum satis in most categories
Typical use level0.1–0.5% by weight0.5–1.0% by weight (needs higher dose)
Best applicationBaked goods, salad dressings, sauces, high-heat stableCold applications, ice cream, dairy, high-fiber foods
Key safety concern2011 FDA warning: NEC risk in premature infants (SimplyThick)1990s recall: high-dose supplements caused esophageal obstruction
GI effectsPossible bloating/gas at high doses; minimal at food levelsSame — fermented by gut bacteria; dose-dependent
VeganYesYes
Gluten-free bakingMore common, better binding in bread/cakesUsed but less binding strength per gram

The xanthan gum infant warning: what actually happened

In 2011, the FDA issued a safety alert about SimplyThick, a commercial food-thickening product used in neonatal intensive care units to thicken breast milk and formula for premature infants with swallowing difficulties. SimplyThick used xanthan gum as its primary thickening agent.

The alert followed reports of necrotizing enterocolitis (NEC) — a serious gastrointestinal condition — in premature infants fed xanthan gum-thickened feeds. NEC is the leading gastrointestinal emergency in neonatal medicine. The FDA warned healthcare providers not to use xanthan gum-thickened products for premature infants.

The proposed mechanism: the immature gut of premature infants may allow xanthan gum to be fermented by intestinal bacteria in ways that produce harmful metabolites, or the thick consistency may alter gut motility in ways that promote NEC. The evidence was observational — causal attribution was not established definitively.

Critical context

The 2011 FDA warning applies specifically to xanthan gum-thickened liquids fed to premature infants — not to xanthan gum in food products consumed by older children or adults. The warning has not been extended to general food use. Term infants, children, and adults are not covered by this advisory. If you are caring for a premature infant and need thickened feeds, consult a neonatologist.

The guar gum supplement recall: context matters

In the late 1980s and early 1990s, guar gum was sold in large doses as an appetite suppressant and weight-loss supplement — under brand names including Cal-Ban 3000. The FDA received reports of esophageal and small bowel obstruction: guar gum, when swallowed in tablet or powder form without sufficient water, could expand in the esophagus or intestine and cause blockage.

Freshly baked loaves of bread on a wooden board
Illustrative photo.

The FDA took enforcement action against Cal-Ban 3000 and similar products in 1990. Several deaths and hundreds of injuries were attributed to these high-dose guar gum supplements.

The doses involved — often 10–20 grams per day in supplement form — bear no resemblance to the amounts in food. A serving of ice cream or salad dressing might contain 0.1–0.3 grams of guar gum. The obstruction risk was specific to dry, high-dose supplement forms swallowed without adequate liquid.

Gluten-free baking: which one to use

In gluten-free baking, both gums replace the structural role that gluten plays in conventional flour — trapping gas bubbles, providing elasticity, and binding the crumb. Without a binder, gluten-free baked goods tend to be dense, crumbly, and dry.

Xanthan gum is generally the default for gluten-free bread, cakes, and cookies. A small amount (0.25–0.5 teaspoon per cup of flour) goes a long way. It tolerates baking temperatures well and remains effective after repeated freezing and thawing.

Guar gum works better in recipes that are not baked — smoothies, ice cream, no-bake desserts — and in high-fiber baked goods where xanthan gum can sometimes produce a gummy texture. Use approximately 1.5–2x the quantity compared to xanthan gum when substituting.

Some gluten-free recipes combine both — a small amount of each — to balance binding strength (xanthan) with moisture retention (guar). Neither gum adds flavor at typical use levels.

For broader context on stabilizer-class additives and gut health, see our articles on carrageenan safety and emulsifiers and gut health.

2024–2026 research update

A 2024 review in Nutrients (PMID 38201904) examined the gut microbiome effects of common food hydrocolloids including xanthan gum and guar gum. Both act as prebiotics at food-level doses — fermented selectively by beneficial bacteria including Bifidobacterium and Lactobacillus species. The authors concluded that regular dietary exposure at food concentrations is unlikely to be harmful and may support microbiome diversity in healthy adults. High-dose studies showing adverse effects used quantities far above typical dietary exposure.

Frequently asked questions

Is xanthan gum bad for you?

For most adults, xanthan gum is safe at food-use levels. It is FDA GRAS and EFSA-authorized. The main documented concern is a 2011 FDA warning about NEC risk in premature infants exposed to xanthan gum-thickened feeds — this does not apply to trace amounts in packaged food or to older children and adults.

Can I substitute guar gum for xanthan gum?

Yes, with adjustments. Use approximately 1.5–2x the quantity of guar gum compared to xanthan gum called for in the recipe. Guar gum performs better in cold applications; xanthan gum is more heat-stable. Neither substitutes 1:1 without testing.

Is guar gum FDA approved?

Yes. Guar gum is GRAS under 21 CFR 184.1339. The FDA sets no specific maximum use level for most applications, deferring to good manufacturing practice. It is also authorized as E412 in the EU.

Are xanthan gum and guar gum vegan?

Both are vegan. Xanthan gum is produced by bacterial fermentation. Guar gum is derived from the seeds of a legume. Neither contains animal-derived ingredients.

Do xanthan gum and guar gum cause bloating?

Both are soluble fibers fermented by gut bacteria, which can produce gas. GI symptoms are more likely at high doses. Typical food-product concentrations (0.1–0.5%) are low enough that most people experience no symptoms. Those with IBS or FODMAP sensitivity may be more susceptible.

Disclaimer

This article presents publicly available regulatory data and peer-reviewed research. It does not constitute medical or dietary advice. Individuals with specific medical conditions — including premature infants, people with severe IBS, or those with legume allergies — should consult a healthcare provider before making dietary changes based on this information.

Sources

  • U.S. Food and Drug Administration. 21 CFR 172.695 — Xanthan gum. Code of Federal Regulations.
  • U.S. Food and Drug Administration. 21 CFR 184.1339 — Guar gum. Code of Federal Regulations.
  • U.S. Food and Drug Administration. 'FDA Safety Communication: SimplyThick.' MedWatch, May 2011.
  • U.S. Food and Drug Administration. 'Cal-Ban 3000 Seizure.' FDA Enforcement Actions, 1990.
  • European Food Safety Authority (EFSA). 'Re-evaluation of xanthan gum (E 415) as a food additive.' EFSA Journal, 2017. doi:10.2903/j.efsa.2017.4909.
  • European Food Safety Authority (EFSA). 'Re-evaluation of guar gum (E 412) as a food additive.' EFSA Journal, 2017. doi:10.2903/j.efsa.2017.4669.
  • Blaak EE, et al. 'Short chain fatty acids in human gut and metabolic health.' Beneficial Microbes, 2020. doi:10.3920/BM2020.0057.
  • Nutrients review of food hydrocolloid gut microbiome effects. PMID 38201904. 2024.

Full safety profiles, E-numbers, and regulatory status — updated monthly.