Guide

What Is Xanthan Gum (E415)? Food Allergies, Gluten and Hidden Ingredients Explained

Is xanthan gum safe for food allergies? Learn how E415 is made, whether it contains wheat, corn, soya or gluten, and how to read UK and US labels.

Xanthan gum is a thickener and stabiliser produced by microbial fermentation. It is widely used in gluten-free baking, sauces, dressings, dairy alternatives and processed foods. Although its manufacturing process may begin with sugars obtained from different crops, the finished ingredient is a purified polysaccharide rather than the original food protein. This guide explains its allergy relevance, digestive effects, UK and US labelling and how to distinguish xanthan gum from other thickeners.

You pick up a loaf of gluten-free bread, a bottle of salad dressing or a carton of dairy-free milk and notice an ingredient called xanthan gum. It appears in an enormous range of foods, often in very small amounts. But what exactly is it? Is it made from wheat? Could it contain maize or soya? Why is it so common in gluten-free products? And can it cause an allergic reaction? Xanthan gum is a carbohydrate-based thickener and stabiliser produced through fermentation using a bacterium called Xanthomonas campestris, and it is also known by its European food additive number, E415. Its purpose is to help control the thickness, texture and stability of foods. Xanthan gum is not gluten, wheat flour or a concentrated protein ingredient; however, questions about its fermentation materials and possible residual substances can be relevant for people managing particular allergies, and the important distinction is between the materials used during manufacturing and the composition of the finished ingredient.

At a glance

What is xanthan gum?

Xanthan gum is a high-molecular-weight polysaccharide, which is a carbohydrate made from many linked sugar units, produced when specific bacteria ferment a suitable carbohydrate-containing medium. After fermentation, the xanthan gum is recovered, purified and dried, and the finished ingredient is generally supplied as a fine powder; when mixed with water, it produces a thickened solution even at relatively low concentrations, which makes it useful in many food formulations. Manufacturers use xanthan gum to thicken sauces and dressings, stabilise mixtures, help prevent ingredients from separating, improve texture, control how liquids flow, support structure in gluten-free baking, improve consistency in certain dairy alternatives, and maintain texture during storage. It is primarily a functional ingredient rather than a flavouring.

What does E415 mean?

E415 is the European additive number for xanthan gum, and the number identifies the approved additive category; it does not identify the original fermentation feedstock or guarantee that a finished food is free from allergens. Xanthan gum may appear in an ingredients list as “thickener: xanthan gum”, “stabiliser: xanthan gum”, “thickener: E415” or “stabiliser: E415”, with the precise functional description depending on how the ingredient is used.

How is xanthan gum made?

Xanthan gum is manufactured using microbial fermentation.

Illustration of the xanthan gum process: a carbohydrate feedstock is fermented by Xanthomonas campestris bacteria, then the polysaccharide is recovered, purified and dried.
Xanthan gum is made by fermenting a carbohydrate feedstock, then recovering, purifying and drying the polysaccharide.

The manufacturer prepares a nutrient-containing mixture that includes a carbohydrate source, which may be obtained from different agricultural materials, with commercial production frequently using sugar-based feedstocks that can include glucose or sucrose. A selected strain of Xanthomonas campestris is used to produce xanthan gum, converting available nutrients into the extracellular polysaccharide, and temperature, acidity, oxygen availability and other conditions are controlled during production. After fermentation, the xanthan gum is separated from the fermentation mixture and processed, then purified and dried to produce the finished food-grade ingredient. The exact manufacturing process varies between producers, but the key point for allergy is that the original fermentation feedstock is not the same thing as the finished xanthan gum.

Is xanthan gum made from wheat, maize or soya?

Xanthan gum is not itself wheat starch or wheat protein; however, the carbohydrate ingredients used in fermentation may originate from different plant sources, potentially including wheat-derived glucose, and some manufacturing processes may also use other nutrients during fermentation.

Illustration contrasting the carbohydrate feedstock used to make xanthan gum (which may come from maize, wheat or other sources) with the purified polysaccharide finished ingredient.
The fermentation feedstock is not the finished xanthan gum: the purified polysaccharide differs from its source.

The finished xanthan gum is a purified microbial polysaccharide, so the use of a wheat-derived carbohydrate during production does not automatically mean the finished xanthan gum contains clinically significant wheat protein; equally, the ingredient name alone does not reveal the full manufacturing specification, so for someone with an unusual or particularly sensitive wheat allergy, manufacturer information may help clarify whether relevant residual proteins have been assessed. Some xanthan gum manufacturing processes use carbohydrate feedstocks that may originate from maize (commonly called corn in the US): corn-derived glucose may be used in fermentation, but the finished xanthan gum is not equivalent to corn flour or corn protein, because the manufacturing process converts carbohydrate nutrients into a different polysaccharide, and the source of the feedstock does not automatically determine the allergenic properties of the final ingredient. The fermentation medium may also contain various nutrients, some from plant sources including soya-derived materials; however, the finished xanthan gum is not the same as soya protein, because manufacturing and purification can substantially change or remove the original materials, so for someone with soya allergy the clinically relevant question is whether allergenic soya proteins remain in the finished ingredient, and the word “xanthan” does not identify soya as an ingredient.

Is xanthan gum safe for wheat, corn or soya allergy?

For most people with wheat allergy, food-grade xanthan gum is not ordinarily treated as equivalent to a wheat protein ingredient, because the finished material is a purified polysaccharide; however, individual circumstances matter, so if someone has a confirmed wheat allergy and has previously reacted to highly processed wheat-derived ingredients, their allergy specialist may recommend obtaining manufacturer information, since the key questions concern residual allergenic protein and the complete product, not simply whether wheat-derived carbohydrate was ever used during fermentation. Corn allergy can occur, although it is less commonly diagnosed than several major food allergies, and the finished xanthan gum is not ordinarily a concentrated corn protein ingredient; nevertheless, detailed evidence about residual corn proteins in every commercial xanthan gum product is limited, so someone with confirmed corn allergy who has experienced reactions to highly processed corn-derived ingredients should seek individual clinical advice, and where appropriate the manufacturer may be able to clarify the fermentation materials and residual protein specifications, because it would be inaccurate either to say that all xanthan gum contains corn allergens or to guarantee that every commercial formulation is suitable for every individual. Similarly, food-grade xanthan gum is not ordinarily considered a soya protein ingredient; however, a person with severe or unusual reactions to processed soya-derived ingredients may wish to obtain manufacturer information, and the complete product also matters, because a dairy-free yoghurt containing xanthan gum might contain soya protein as its main ingredient, in which case the soya protein is a much more direct allergen concern than the xanthan gum. Our soya allergy explained and wheat allergy explained guides cover those allergies in more detail.

Is xanthan gum gluten-free?

Food-grade xanthan gum is generally regarded as compatible with gluten-free diets: it is not gluten, and its main component is a polysaccharide rather than a wheat protein, which is one reason xanthan gum is widely used in gluten-free baking; however, the complete product must still meet applicable gluten-free requirements. A glucose feedstock derived from wheat is not equivalent to wheat flour, because glucose is a carbohydrate and highly purified glucose generally contains negligible residual wheat protein, and the subsequent fermentation and purification stages further distinguish xanthan gum from the original feedstock; nevertheless, individual manufacturers may use different processes, so a gluten-free claim on the finished food provides more meaningful information for coeliac disease than assumptions about a possible fermentation source. For coeliac disease, the relevant issue is the gluten content of the finished food, and gluten-free foods must contain no more than 20 ppm gluten, so a compliant gluten-free product may contain xanthan gum. Wheat allergy and coeliac disease should not be confused, as the following table shows.

Feature Wheat allergy Coeliac disease
Immune mechanism May be IgE-mediated Autoimmune
Relevant trigger Wheat allergenic proteins Gluten
Can cause anaphylaxis? IgE-mediated wheat allergy can No
Main concern with xanthan gum Relevant residual wheat proteins, if any Gluten contamination or exposure
Is a gluten-free claim sufficient? Not necessarily Generally relevant when compliant

A person with wheat allergy may need information beyond gluten-free status, while a person with coeliac disease should focus on reliable gluten-free information for the finished food.

Why is xanthan gum used in gluten-free baking?

Gluten helps conventional wheat dough develop elasticity and structure, so when gluten-containing flour is removed, baked products can become crumbly or difficult to handle; xanthan gum can help improve the viscosity and binding properties of gluten-free doughs and batters. It does not chemically recreate gluten, but instead helps compensate for some of the structural properties that gluten would ordinarily provide. Xanthan gum may be used in gluten-free bread, pizza bases, cakes, muffins, pastry, pancakes and baking mixes; the amount required depends on the recipe, and too much xanthan gum can produce an unpleasantly sticky or gummy texture.

Is xanthan gum an allergen?

Xanthan gum is not one of the UK’s 14 mandatory allergen categories or the nine major food allergen categories in the US, and it is primarily a carbohydrate-based ingredient; most conventional IgE-mediated food allergies involve immune responses to proteins. However, rare hypersensitivity reactions to ingredients or substances associated with manufacturing cannot be ruled out, and the evidence for a common, clinically established IgE-mediated xanthan gum allergy is limited. This means two things: first, xanthan gum should not routinely be treated as a major food allergen; and second, a person who experiences reproducible symptoms after consuming a xanthan-gum-containing product should not dismiss those symptoms without appropriate assessment.

How xanthan gum differs from other thickeners

Xanthan gum is frequently confused with other thickening gums and starches, but it differs from each.

Illustration comparing xanthan gum (fermentation) with guar gum (guar bean), locust bean gum (carob seed), cellulose gum and modified starch, noting different origins.
Thickeners differ by origin: xanthan from fermentation, guar and locust bean from legumes/seeds, others from cellulose or starch.

Xanthan gum is not the same as guar gum: both are used as thickeners and stabilisers, but guar gum is extracted from guar beans, a legume, whereas xanthan gum is produced by microbial fermentation.

Feature Xanthan gum Guar gum
Origin Microbial fermentation Guar bean
UK E number E415 E412
Main role Thickener and stabiliser Thickener and stabiliser
Derived directly from a legume? No Yes
Same ingredient? No No

Guar gum’s legume origin may be relevant to some individuals with specific legume allergies; however, cross-reactivity between different legumes should not be assumed solely because they belong to the same botanical family. Xanthan gum is also not the same as locust bean gum (also called carob bean gum, additive number E410), which is extracted from the seeds of the carob tree and, like guar gum, is a plant-derived thickener, whereas xanthan gum is produced through fermentation, so the ingredients have different structures and functional properties and should not automatically be treated as interchangeable. Nor is xanthan gum the same as cellulose gum (commonly carboxymethyl cellulose), which is produced from chemically modified cellulose: both can thicken or stabilise foods, but they are different substances, and the fact that two ingredients are described as “gums” does not mean they share the same origin or allergen profile. Finally, xanthan gum is not the same as modified food starch, which is produced by treating starch to change its properties, whereas xanthan gum is a microbial polysaccharide produced through fermentation; both can thicken foods, but their chemical structures, manufacturing processes and functional properties differ, and a food may contain both. Our modified food starch guide explores that ingredient further.

Where is xanthan gum found?

Xanthan gum helps improve dough structure and reduce crumbliness in gluten-free bread, maintains consistency and reduces separation in salad dressings, and provides thickness and stability in cooking sauces. Some plant-based drinks use it to improve texture in dairy-free milk alternatives, and it may help stabilise the mixture and influence texture in ice cream. It can improve batter structure and the finished crumb in gluten-free cakes, help maintain a consistent thickness in soups, and appear in certain ketchup, mustard and sauce formulations among condiments. It may improve mouthfeel and help suspend ingredients in protein shakes, and stabilise sauces and fillings during the processing and storage of prepared meals. Not every food in these categories contains xanthan gum. Our understanding hidden food allergens guide covers more examples.

Can xanthan gum cause digestive symptoms?

Yes, xanthan gum can contribute to digestive symptoms in some circumstances, because it is a polysaccharide that can be fermented by intestinal microorganisms, and larger amounts may cause symptoms such as bloating, increased gas, abdominal discomfort and changes in stool consistency. However, the quantities used in ordinary foods are generally small, and digestive effects vary according to the amount consumed and the individual’s gastrointestinal health, so these symptoms are not automatically evidence of food allergy. Xanthan gum is a polysaccharide whose digestive behaviour differs from that of many small fermentable carbohydrates commonly considered in FODMAP management, so it should not automatically be classified as a high-FODMAP ingredient solely because it can undergo fermentation; the amount present in a food and the person’s individual tolerance matter, and someone following a medically recommended low-FODMAP diet should use current, reliable dietary guidance rather than assuming all gums are equivalent. At sufficiently high intakes, xanthan gum may influence bowel function; however, the amounts used in typical manufactured foods are generally much smaller than those used in studies investigating gastrointestinal effects, so diarrhoea after consuming a product containing xanthan gum may have several possible causes, and the complete food, quantity consumed and underlying health conditions should be considered, with persistent or severe symptoms requiring medical assessment.

Can xanthan gum cause anaphylaxis?

Xanthan gum is not ordinarily recognised as a common cause of IgE-mediated food anaphylaxis; however, rare or unusual reactions to food ingredients can occur, and suspected anaphylaxis always requires urgent treatment. A reaction after consuming a food containing xanthan gum does not establish that xanthan gum was the trigger, because the food may contain milk, wheat, egg, soya, nuts, peanuts or other allergens, and a specialist may investigate the complete ingredient list and reaction history. Symptoms of anaphylaxis may include breathing difficulty, wheezing or persistent coughing, throat tightness, tongue swelling, sudden voice changes, dizziness or collapse, and rapidly developing symptoms affecting multiple body systems; anaphylaxis can occur without skin symptoms.

If anaphylaxis is suspected: use prescribed adrenaline immediately using the person’s auto-injector if available, and call 999 (or your local emergency number), explaining that anaphylaxis is suspected. Keep the person lying down with legs raised where possible; if breathing is difficult, raise the shoulders or sit up slowly, and do not stand or walk, even if symptoms improve. If symptoms have not improved after five minutes, use a second prescribed adrenaline dose if available. A pregnant person should lie on their left side where possible. Antihistamines do not replace adrenaline in suspected anaphylaxis.

See our understanding anaphylaxis guide for more detail.

Is xanthan gum safe for babies and children?

Xanthan gum may be used in certain foods, subject to applicable food additive rules; however, the suitability of a product for an infant or child depends on age, formulation, nutritional needs and medical circumstances. Particular caution is necessary with thickening products used for infant feeding: some commercial thickeners containing xanthan gum have been associated with serious intestinal complications in premature infants. This does not mean ordinary foods containing small quantities of xanthan gum present the same risk to all children; however, xanthan-gum-based feeding thickeners should not be given to premature infants or medically vulnerable babies without explicit specialist medical direction, and parents should follow paediatric guidance for feeding difficulties and reflux rather than adding thickeners independently.

How is xanthan gum labelled?

Xanthan gum is not itself a regulated allergen in either market, so labelling conventions differ mainly in how the ingredient is named.

Step-by-step illustration of checking a label where xanthan gum appears: recognise it as a thickener and read the full ingredient list for regulated allergens such as milk, wheat and soya.
Xanthan gum is a thickener, so the useful label check is the rest of the product for regulated allergens.

In the UK, xanthan gum is a permitted food additive identified as E415, and it may appear in ingredients lists under descriptions such as “thickener: xanthan gum”, “stabiliser: xanthan gum”, “thickener: E415” or “stabiliser: E415”. Xanthan gum is not itself one of the 14 mandatory allergen categories, so it does not have to be highlighted in bold solely because it is xanthan gum; however, applicable allergen declaration rules still apply to other relevant ingredients in the food, so if a food contains wheat, milk, soya or another regulated allergen, those ingredients must be declared according to applicable rules. E415 identifies xanthan gum, not wheat, and the E number does not establish the fermentation feedstock. For coeliac disease, gluten-free foods must contain no more than 20 ppm gluten.

How is a suspected xanthan gum reaction investigated?

A healthcare professional will usually begin with the person’s symptoms and the complete food consumed, and relevant questions include what product caused the reaction, whether xanthan gum was listed as an ingredient, whether any major allergens were present, how quickly symptoms developed, whether the symptoms were immediate or delayed, whether the reaction was reproducible, whether the person has tolerated other foods containing xanthan gum, whether there are known wheat, maize, soya or other allergies, and whether another ingredient could explain the symptoms. Skin-prick testing and specific IgE blood tests may be useful for investigating suspected conventional food allergens; however, there is no widely standardised routine diagnostic pathway that establishes xanthan gum allergy simply from its presence on an ingredients list, so a specialist may consider additional assessment when the history warrants it, and a suspected allergen tolerance should not be tested at home. Our how food allergies are diagnosed guide covers these investigations.

Questions to ask a manufacturer

If xanthan gum is relevant to a confirmed allergy or suspected reaction, useful questions include: what carbohydrate feedstock is used during fermentation; are wheat-derived, maize-derived or soya-derived nutrients used; is the fermentation medium consistent across suppliers; what purification steps are used; does the finished xanthan gum have specifications for residual allergenic proteins; is the ingredient suitable for foods making a gluten-free claim; are relevant allergens handled on shared equipment; and has the formulation or supplier changed recently? Manufacturer information may help clarify ingredient composition, but it cannot replace individual clinical advice.

Practical safety steps

Read the full ingredients list, because xanthan gum is often present alongside other ingredients that are more directly relevant to food allergy. Understand fermentation, because a fermentation feedstock is not chemically identical to the finished xanthan gum. Check gluten-free status, because for coeliac disease you should use reliable finished-product gluten-free information. Consider individual allergies, because people with unusual reactions to highly processed wheat, maize or soya-derived ingredients may need specialist advice. Distinguish digestive symptoms from allergy, because bloating or diarrhoea does not automatically establish IgE-mediated allergy. Take infant feeding precautions seriously, and do not use xanthan-gum-based feeding thickeners for premature or medically vulnerable infants without specialist direction. Ask manufacturers when necessary, if the source or manufacturing specification matters. Finally, avoid unnecessary restrictions, because xanthan gum does not need to be avoided by everyone with a food allergy.

How ClearaScan supports xanthan gum ingredient awareness

Xanthan gum is a good example of an additive that usually matters less than what surrounds it: it is a fermentation-derived thickener that is not a regulated allergen, so the useful check is the rest of the product. ClearaScan is designed to read actual ingredient labels against individual ingredient avoidance profiles, so rather than stopping at “xanthan gum” or “E415”, it scans the whole list for the milk, wheat, soya, nut or other ingredients that are more likely to matter in a sauce, dairy alternative or gluten-free bake. Family profiles support ingredient checks for multiple people, Care Circle allows relevant profiles to be shared with family members and carers, and Trusted Products keeps a record of previously checked products. A profile can also be set to flag xanthan gum for someone advised to limit it for a digestive reason, though that is a tolerance rather than an allergy matter. However, a scanner cannot tell the fermentation feedstock of a particular xanthan gum, cannot measure residual protein, and cannot replace specialist advice, so where a feedstock source genuinely matters the manufacturer and an allergy specialist remain the right sources of confirmation.

The Food Allergy Lab, The Sensitive Skin Lab and ClearaScan share common commercial ownership.

Key takeaways

Xanthan gum is a thickener and stabiliser produced by microbial fermentation, and its European food additive number is E415. It is a polysaccharide rather than wheat flour, gluten or a concentrated food protein. The fermentation process may use carbohydrates from different sources, including maize or potentially wheat, but the source of a fermentation feedstock does not automatically determine the allergen content of the finished ingredient. Xanthan gum is generally compatible with gluten-free diets and is commonly used to improve texture in gluten-free baking. Digestive symptoms can occur, particularly at higher intakes, but they do not automatically indicate food allergy, and xanthan-gum-based feeding thickeners require particular caution in premature and medically vulnerable infants. For allergy management, the complete product, individual clinical history and relevant manufacturer information matter more than assumptions based solely on the word “gum”.

Sources and further reading

  1. Food Standards Agency – Food allergy and intolerance
  2. Retained EU food information regulation – Annex II allergen exemptions
  3. NHS – Coeliac disease
  4. NHS – Anaphylaxis
  5. FDA – Food allergies
  6. FDA – Gluten and food labeling

This article provides general educational information and is not individual medical advice. It does not diagnose food allergy or establish individual tolerance. Current UK and US additive regulations, gluten-free claims, and the evidence concerning residual fermentation proteins should be verified against current guidance. The infant feeding-thickener warning requires particular care: risks associated with specific thickening products in premature infants must not be generalised to all ordinary foods containing xanthan gum, and decisions about infant feeding, a confirmed food allergy or coeliac disease should be directed by an appropriate healthcare professional.

Get the free Allergen Label Decoder

One page for reading any food label fast: the hidden names, the "may contain" grey area, and what UK and US law must declare.

Common questions

What is xanthan gum?

Xanthan gum is a polysaccharide produced through microbial fermentation and used to thicken and stabilise foods.

What does E415 mean?

E415 is the European food additive number for xanthan gum.

Is xanthan gum gluten-free?

Food-grade xanthan gum is generally compatible with gluten-free diets, but the finished food must meet applicable requirements.

Is xanthan gum made from wheat?

Its fermentation feedstock may sometimes include wheat-derived carbohydrates, but the finished ingredient is not wheat flour or wheat protein.

Is xanthan gum safe for wheat allergy?

It is not ordinarily considered a wheat protein ingredient. Individual circumstances and relevant residual proteins should be assessed where necessary.

Is xanthan gum made from corn?

Some manufacturing processes may use corn-derived carbohydrate feedstocks, but the finished ingredient is a purified polysaccharide.

Does xanthan gum contain milk?

Not inherently. It is produced through fermentation rather than from milk.

Is xanthan gum vegan?

It is generally considered vegan, although strict verification may require manufacturer information.

Is xanthan gum the same as guar gum?

No. Guar gum comes from guar beans, while xanthan gum is produced through fermentation.

Can xanthan gum cause bloating?

It can contribute to digestive symptoms in some people, particularly at higher intakes.

A note on this content. The Food Allergy Lab publishes general educational information, not medical advice. If you have or suspect a food allergy, speak to a doctor, allergist or dietitian. Recipes and labels change without notice, so always check the ingredients on the product itself.