Xanthan gum comes from bacteria. Specifically, it’s produced by a microorganism called Xanthomonas campestris, which naturally lives on plants like cabbage and broccoli. In a factory setting, these bacteria are fed sugar in large fermentation tanks, and the thick, gooey substance they secrete gets collected, dried, and ground into the white powder you see on ingredient labels.
The Bacterium Behind It
Xanthomonas campestris is a common plant bacterium that produces a sticky, protective coating around itself as it grows. That coating is xanthan gum, classified as an exopolysaccharide, which is essentially a long chain of sugar molecules the bacteria string together and push outside their cell walls. The major building blocks of this chain are three simple sugars: glucose, mannose, and glucuronic acid. The way these sugars link together gives xanthan gum its unusual ability to thicken liquids and hold mixtures stable.
The bacterium was first harnessed for this purpose at a USDA research lab in Peoria, Illinois. Allene Rosalind Jeanes, a chemist with the Agricultural Research Service, and her colleagues discovered that the gum Xanthomonas campestris produced could thicken and stabilize a wide range of products, from salad dressings and ice cream to cough syrups and skin lotions. That discovery turned a plant pest’s natural secretion into one of the most widely used food additives in the world.
How It’s Manufactured
Commercial xanthan gum production is essentially a controlled brewing process. It starts with a preserved strain of Xanthomonas campestris, selected for consistency and high yield. A small sample of that culture gets grown on a solid surface or in liquid to build up enough bacteria to seed a large fermentation tank.
Inside the tank, the bacteria feed on a sugar source, typically glucose or sucrose, along with nitrogen, phosphate, magnesium, and trace minerals. The fermentation runs as a batch process, meaning everything goes in at once and the bacteria work through the sugar over a set period. As they consume the sugar, they pump out xanthan gum into the surrounding liquid, turning it increasingly thick and viscous.
Once fermentation is complete, the recovery process has several stages. First, the bacterial cells are deactivated and either removed or broken apart. Then the xanthan gum is separated from the liquid through alcohol precipitation, most commonly using isopropyl alcohol, which causes the gum to clump together and fall out of solution. That clumped material gets dewatered, dried, and milled into a fine powder ready for packaging.
The Sugar Source and Allergen Question
One of xanthan gum’s older synonyms is “corn sugar gum,” which hints at why some people with corn allergies wonder if it’s safe for them. Glucose derived from corn is one of the most common fermentation feedstocks in the United States. Other producers use sucrose or even sugar cane broth. By the time the bacteria have consumed the sugar and the gum has been precipitated and purified, the original sugar source has been metabolized and washed away. The final product is the bacterial polysaccharide, not a corn derivative, though trace residues are theoretically possible.
Soy and wheat are occasionally used as nitrogen sources in the fermentation medium, which raises similar questions for people with those allergies. In practice, the purification steps remove these substrates, but if you have a severe allergy, checking with the specific manufacturer about their fermentation inputs is the most reliable approach.
Why It Works So Well in Food
Xanthan gum is prized for two properties: it thickens liquids at very low concentrations, and it’s a shear-thinning fluid, meaning it gets thinner when you stir, shake, or chew it and thickens back up when left still. That’s why salad dressing pours easily when you shake the bottle but clings to lettuce once it lands. It’s also why xanthan gum keeps particles suspended in sauces and beverages rather than letting them settle to the bottom.
In gluten-free baking, xanthan gum serves as a stand-in for the elasticity and structure that gluten normally provides. It binds flour particles together, locks in moisture, and gives dough enough stretch to hold its shape during baking. Without it, gluten-free bread tends to crumble, and rolled doughs crack apart. A small amount, usually a fraction of a teaspoon per cup of flour, is enough to make a noticeable difference in texture.
Uses Beyond the Kitchen
Food is only part of the picture. Xanthan gum’s resistance to heat, salt, and alkaline conditions makes it valuable in oil and gas drilling, where it’s mixed into water-based drilling fluids. Its shear-thinning behavior is ideal here: the fluid flows easily when pumped through drill pipes but thickens when circulation stops, keeping rock cuttings suspended and preventing them from settling and clogging the wellbore.
In cosmetics and personal care products, xanthan gum acts as a stabilizer and thickener in lotions, creams, and shampoos. It keeps emulsions from separating and gives products a smooth, even consistency. Pharmaceutical applications include suspending active ingredients in liquid medications and controlling the texture of cough syrups and topical gels.
Safety and Regulation
The FDA classifies xanthan gum as safe for use in food, listing it under the Code of Federal Regulations as an approved stabilizer, emulsifier, thickener, suspending agent, and foam enhancer. There is no maximum concentration specified; it falls under “good manufacturing practice,” meaning manufacturers use only as much as needed to achieve the desired effect. In the European Union, it’s approved as food additive E 415 and has been re-evaluated by the European Food Safety Authority.
In the small amounts typically found in food (usually well under 1% of the product by weight), xanthan gum passes through the digestive system largely intact since humans lack the enzymes to break it down. It functions similarly to soluble fiber. At higher doses, such as when people take it as a supplement or use large amounts in home cooking, it can have a mild laxative effect or cause bloating, which is consistent with how most soluble fibers behave in the gut.

