Yes, xanthan gum can substitute for cornstarch, but not in a 1:1 ratio and not in every application. Xanthan gum is a much more powerful thickener, so you need only about one-quarter to one-third as much, and it works best in cold or lightly cooked foods rather than in recipes that require prolonged heat. This guide explains the key differences, how to swap them correctly, and when you should keep both in your pantry.
What Are Xanthan Gum and Cornstarch?
Cornstarch is a fine, powdery starch extracted from the endosperm of corn kernels. It is a classic thickening agent used in sauces, gravies, puddings, and fruit pie fillings. To work properly, cornstarch must be heated with liquid to about 95°C (203°F) to gelatinize, and it needs sufficient sugar and acid to be stable. Once cooked, it forms a clear, glossy gel that sets as it cools.
Xanthan gum is a polysaccharide produced by fermenting glucose or sucrose with the bacterium Xanthomonas campestris. It was discovered in the 1950s and approved for food use in the 1960s. It is a hydrocolloid, meaning it disperses in water to create a viscous, slimy solution. Unlike cornstarch, xanthan gum thickens instantly at any temperature, and it does not require heat to activate. It is widely used in gluten-free baking to mimic the binding and elasticity that gluten provides, and as a stabilizer in salad dressings, ice cream, and sauces.
Why You Might Want to Substitute
There are several reasons you might reach for xanthan gum instead of cornstarch:
- Gluten-free diets: Cornstarch is naturally gluten-free, but xanthan gum is often preferred in gluten-free baking because it also improves texture and structure.
- Cold preparations: If you are making a cold sauce, dressing, or dessert, xanthan gum thickens immediately without cooking, whereas cornstarch would need heat.
- Freezer stability: Cornstarch-thickened mixtures can break down and become watery after freezing and thawing. Xanthan gum maintains its viscosity through freeze-thaw cycles.
- Acidic foods: Cornstarch loses thickening power in highly acidic liquids (like lemon juice or vinegar). Xanthan gum is stable across a wide pH range.
- Low-carb or keto diets: Cornstarch is high in carbohydrates; xanthan gum is mostly fiber and has minimal impact on blood sugar.
How to Substitute Xanthan Gum for Cornstarch
The general rule is to use about 1/4 to 1/3 teaspoon of xanthan gum for every tablespoon of cornstarch. However, because xanthan gum is so potent, it is best to start with less and add more if needed. Here is a step-by-step approach:
- Measure the cornstarch called for in the recipe. For every 1 tablespoon (about 8 grams) of cornstarch, use 1/4 to 1/3 teaspoon of xanthan gum.
- Whisk the xanthan gum into the liquid before adding it to the hot mixture. Xanthan gum clumps if added directly to hot liquid. Use a blender or a whisk to disperse it evenly.
- Allow the mixture to sit for a few minutes. The full thickening effect develops after about 5 minutes, so do not judge the consistency immediately.
- If the sauce is still too thin, add a tiny pinch more xanthan gum and whisk again. Wait another few minutes before adding more.
For example, if a gravy recipe calls for 2 tablespoons of cornstarch, you would use about 1/2 to 2/3 teaspoon of xanthan gum. In a pie filling that uses 3 tablespoons of cornstarch, you would use about 1 teaspoon of xanthan gum.
Key Differences in Texture and Use
Cornstarch produces a translucent, glossy gel that is smooth but can become slightly rubbery if overused. It is ideal for fruit pies, puddings, and sauces that are served warm or at room temperature. Xanthan gum creates a thick, viscous, and somewhat slimy texture that is more like a gel or a syrup. It is excellent for dressings and beverages because it also helps keep emulsions stable, but it can make a sauce feel heavy or “snotty” if too much is used.
Another difference is how they behave with heat. Cornstarch must be cooked to reach its full thickening power, and it will thin out if boiled too long. Xanthan gum thickens immediately and is stable under heat, but it does not set into a firm gel like cornstarch does. For a pie filling that needs to hold its shape when sliced, cornstarch is the better choice. For a sauce that needs to cling to food without becoming a solid block, xanthan gum works well.
Common Problems and How to Avoid Them
The most common issue when using xanthan gum is using too much, which results in a slimy, unappealing texture. Always start with a smaller amount and add more gradually. Another problem is clumping. To prevent this, mix xanthan gum with a small amount of oil or dry sugar before adding it to liquid, or use a blender to incorporate it.
Cornstarch also has its pitfalls. It can create lumps if added directly to hot liquid, so it is usually mixed with cold water first (a slurry). It also breaks down if cooked too long or if the mixture is stirred too vigorously. Additionally, cornstarch-thickened sauces can become thin if they contain too much acid or if they are reheated multiple times.
Cost and Availability
Cornstarch is inexpensive and widely available in any grocery store. A 16-ounce box costs about $1–2. Xanthan gum is more expensive and is typically sold in small bags or jars. A 8-ounce bag can cost $8–12, but because you use so little, it lasts a long time. It is available in most supermarkets in the baking or gluten-free section, as well as online.
Safety and Dietary Considerations
Both xanthan gum and cornstarch are generally recognized as safe (GRAS) by the FDA. Cornstarch is simply a carbohydrate, but it is not suitable for raw consumption because it can harbor bacteria. Always cook cornstarch before eating. Xanthan gum is a soluble fiber, and consuming large amounts can cause digestive upset, including gas and bloating. It is also important to note that xanthan gum can be derived from corn, wheat, or soy, so if you have a specific allergy, check the label.
For people with diabetes, xanthan gum is a better choice because it has minimal impact on blood sugar, while cornstarch raises blood glucose. However, xanthan gum can interfere with the absorption of certain medications, so it is best to take medications at least two hours apart from foods containing large amounts of xanthan gum.
Frequently Asked Questions
Can I use xanthan gum in place of cornstarch for frying?
No, xanthan gum is not a good substitute for cornstarch in frying batters. Cornstarch creates a crispy, crunchy coating when fried, while xanthan gum does not crisp. For frying, use cornstarch or a mix of cornstarch and flour.
How much xanthan gum equals 1 tablespoon of cornstarch?
Use about 1/4 to 1/3 teaspoon of xanthan gum for every 1 tablespoon of cornstarch. Start with the smaller amount and add more if needed.
Can I substitute cornstarch for xanthan gum?
Yes, but you will need much more cornstarch. For every 1/4 teaspoon of xanthan gum, use about 1 tablespoon of cornstarch. However, cornstarch requires heat to thicken, so it will not work in cold preparations like no-cook dressings.
Does xanthan gum work in pie fillings?
Xanthan gum can thicken pie fillings, but it will not set into a firm, sliceable gel like cornstarch does. For a runny fruit filling, you may prefer cornstarch or use a combination of both.
Is xanthan gum safe for children?
Yes, xanthan gum is safe for children in normal food amounts. However, it is important to avoid giving large quantities to infants, as it can cause intestinal blockages due to its high viscosity.
Can I use xanthan gum to make gravy?
Yes, xanthan gum can thicken gravy, but you must whisk it in thoroughly to avoid lumps. Use about 1/4 teaspoon per cup of liquid. The gravy will be smooth but may have a slightly different mouthfeel than cornstarch gravy.