• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Zest for Baking
  • Start Here
  • About
  • Recipes
  • Membership
  • Classes & Books
menu icon
go to homepage
  • Start Here
  • Recipes
  • About
  • Resources
  • Classes & Books
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • subscribe
    search icon
    Homepage link
    • Start Here
    • Recipes
    • About
    • Resources
    • Classes & Books
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • ×
    • How to Substitute Eggs for Applesauce in Baking & Cooking
    • wooden bowl of quinoa
      10 Best Quinoa Substitutes for Cooking, Baking, and More
    • glass bowl of tahini running off a spoon
      Is Tahini Gluten Free? What You Need to Know
    • stack of cassava flour pancakes on a plate
      Cassava Flour Pancakes: Gluten-Free
    • measuring cup of sorghum flour
      Best Sorghum Flour Substitutes for Gluten-Free Baking
    • small glass bowl of agave syrup
      Best Agave Syrup Alternatives for Gluten-Free Baking
    • spoonful of baked bread pudding
      Easy & Delicious Gluten Free Bread Pudding Recipe
    • white bowl with gluten free pudding
      Homemade Gluten Free Chocolate Pudding Recipe
    • glass bowl with flax seed
      Best Flax Seed Substitutes for Gluten-Free Baking
    • chia seed and ground chia seeds on a cutting board
      8 Best Chia Seed Alternatives for Gluten-Free Recipes
    • bowl of millet flour
      Is Millet Gluten Free? How to Use This Ancient Grain
    • plate of gluten free halloween cookies
      Gluten Free Witches Finger Halloween Cookies
    Home » GF Ingredients

    Xanthan Gum vs Cornstarch: Which One Should You Use?

    Published: Oct 24, 2023 by Christine Brady · This post may contain affiliate links · 2 Comments

    These two ingredients are commonly used in gluten-free baking, but which one is best, and when do you use them? Let's weigh out the differences between xanthan gum vs cornstarch right here!

    wooden bowl of cornstarch

    If you're a gluten-free baker, you probably have both of these gluten-free thickening agents in your pantry. They can be used to thicken a variety of dishes and give a great texture to your bakes. However, it can be confusing to figure out exactly which one to use and when. They are not created equally, so it's important to choose the right product to match your recipe and cooking process.

    Jump to:
    • Xanthan Gum vs Cornstarch: Key Takeaways
    • What is Xanthan Gum?
    • What is Cornstarch?
    • What's the Difference: Xanthan Gum vs Cornstarch?
    • FAQs
    • More on Xanthan Gum & Cornstarch

    Xanthan Gum vs Cornstarch: Key Takeaways

    Xanthan gum and cornstarch are both used to thicken recipes or hold them together. 

    Xanthan gum does not have to be heated to thicken, so it can be used for a wide variety of products, like ice cream, salad dressings, blended drinks, and gluten-free bakes.

    Cornstarch does need to be heated, so it's more commonly used for puddings, sauces, gravies, breading, and baked goods. 

    In baking recipes that call for xanthan gum, you can usually replace it with the same amount of cornstarch. 

    If you want to use xanthan gum in place of cornstarch, you'll usually need much less (½ teaspoon of xanthan gum per 1 tablespoon of cornstarch). 

    For other recipes, you may want to look into specific alternatives that are better suited to the job.

    What is Xanthan Gum?

    The tricky thing about gluten-free baking is the lack of gluten. Gluten acts as a glue to hold your recipes together, giving them a distinct texture. One of the best gluten-free alternatives to regular gluten is xanthan gum!

    Xanthan gum is made by fermenting different types of sugar with a specific bacteria, then precipitating it in alcohol to create a solid substance before drying and grinding it into a powder. 

    It is especially great at holding liquids and solids together, which is why Starbucks uses it in frappuccinos and major companies use it in products from toothpaste to yogurt! It's like a glue that keeps ingredients from separating for a smooth, consistent product.

    In gluten-free baking, xanthan gum does a fantastic job of giving your bakes that classic spongy, springy texture you normally get with regular all purpose flour.

    Another great thing about xanthan gum is that it does not need to be heated to activate its thickening power. It can work at a much lower temperature, so you add it directly to room temperature drinks or even cold water.

    However, it's important to be cautious with your xanthan gum usage. If you use too much, you can turn your recipes into a gummy, rubbery mess. It can also upset your stomach if you use a large amount. It's best to add small amounts to hold your recipe together.

    Best Xanthan Gum Substitute

    If you don't have xanthan gum on hand, you can use these xanthan gum substitutes as a replacement.

    • psyllium husk
    • ground chia seeds
    • flax meal
    • unflavored gelatin
    • konjac powder
    • agar agar
    • arrowroot powder
    • guar gum powder
    • pectin
    wooden bowl of xanthan gum

    What is Cornstarch?

    Cornstarch is an inexpensive and common pantry staple! It is a great thickening agent and is often used for breading fried chicken, making stovetop puddings or gravy, and so much more. 

    Cornstarch is a natural starch derived from the endosperm of corn kernels or the white center of the corn kernel. When dried and processed, corn starch turns into a fine white powder that can be used in many ways.

    Like other gluten-free starches, corn starch must be heated to activate its thickening power. When cooking, it is usually whisked together with a cold liquid to create a slurry before being added to a savory dish. Then, the mixture must be stirred constantly to thicken. 

    In baking, cornstarch can be added directly to a batter and will help absorb excess liquid. For example, you can add it to cheesecake recipes to absorb extra liquid and prevent cracking!

    Note about Corn Flour

    Depending on where you live, you may see corn flour on the shelves. Corn flour is not the same thing as cornstarch.

    Best Cornstarch Substitutes for Gluten-Free Baking

    These popular gluten-free starches can be used as cornstarch substitutes, but you may need to adjust when or how you add the ingredient.

    • tapioca starch
    • arrowroot flour
    • potato starch

    What's the Difference: Xanthan Gum vs Cornstarch?

    Although both of these ingredients are excellent thickeners, there are some important differences that affect how you use them.

    Xanthan gum does not need to be heated to reach a gel-like consistency, so it's commonly used in both raw and cooked preparations. For example, you can add it to salad dressings to keep the oil and vinegar from separating. It's also a fantastic way to add a "glue" to your gluten-free recipes to get a spongy, light texture, like in this gluten free cornbread and these gluten-free breadsticks.

    On the other hand, cornstarch must be heated to thicken your recipes. It absorbs excess liquid and is a great way to prevent your gluten-free bakes from being too moist or heavy. 

    They can sometimes be used interchangeably, but not always. Xanthan gum is much more potent than cornstarch, so a little goes a long way! 

    Is Cornstarch a Good Substitute for Xanthan Gum?

    It actually can be a great choice, depending on the recipe! Cornstarch and xanthan gum can both be used to thicken soups, stews, or gravies. Because xanthan gum is such a powerful thickener, you usually want to use a much smaller amount of it than cornstarch. Start by using ½ teaspoon of xanthan gum per 1 tablespoon of cornstarch.

    In gluten-free baking, both xanthan gum and cornstarch are commonly added to gluten-free flour mixes to absorb excess liquids and get a fluffy final product. If a baking recipe calls for xanthan gum and you don't have any on hand, replace it with the same amount of cornstarch.

    Is Xanthan Gum better than Cornstarch?

    That depends on what you mean by better! Let's break down both of these ingredients to understand how they really relate.

    Allergens: Since it is derived from corn, cornstarch is not safe for people with a corn allergy. It is also a grain, so it is not grain-free and is often processed in facilities that process gluten. People with celiac disease must purchase certified gluten-free cornstarch to avoid cross-contamination. The sugar used to make xanthan gum can be derived from a variety of sources, so it's important to choose a brand without your specific allergens. 

    Use: Xanthan gum is more versatile than cornstarch since it can be used in both raw and cooked preparations. Cornstarch must be cooked to be consumed, which can be considered a con. 

    Digestibility: Xanthan gum is not tolerated by everyone. Because it is almost entirely soluble fiber, it can cause an upset stomach or bloating. On the other hand, cornstarch is easy to digest. 

    Nutritional Value: Nutritionally they are both quite different as well. Cornstarch is high in calories and carbohydrates like other starch products, while xanthan gum has no real nutritional value as it's almost entirely fiber. 

    Pricing: Xanthan gum is also quite expensive and can be hard to find, while cornstarch is inexpensive and commonly available in any local grocery store.

    For many people, cornstarch is an affordable, accessible alternative to xanthan gum, and it's much more commonly tolerated than high-fiber gums.

    wooden bowl of xanthan gum with a spoon

    FAQs

    Can I substitute xanthan gum for cornstarch?

    Yes and no. Xanthan gum does not have to be heated to be consumed, so it's used in a wide variety of products, including cold beverages. Cornstarch does need to be heated, so it cannot be consumed raw like xanthan gum. For baking, you can usually use them interchangeably in small amounts. For homemade puddings or gravies, you will likely need more cornstarch than xanthan gum (1 tablespoon of cornstarch per ½ teaspoon xanthan gum).

    How much xanthan gum do you need to use in place of cornstarch?

    Since xanthan gum can typically give you a similar effect to cornstarch by using far less, you need to adjust the amount used based on the specific recipe at hand.

    Baking: If you replace cornstarch with xanthan gum in gluten-free baked goods, use the same amount of xanthan gum as cornstarch (1:1 ratio).

    Sauces & Puddings: Most cornstarch pudding recipes use quite a lot of cornstarch. You would not want to use nearly that much xanthan gum! A good rule of thumb is to use about ½ teaspoon of xanthan gum per 1 tablespoon of cornstarch.

    Breading: If you want to replace cornstarch as a breading, you will need to add a small amount of xanthan gum to another starch, like tapioca flour. 

    Is xanthan gum good for thickening gravy?

    Xanthan gum is a great thickener and is the best substitute for cornstarch or wheat flour when thickening a gravy. You'll need to add a very small amount of xanthan gum to thicken your gravy (approximately ½ teaspoon or less), so it's best to start with a very small amount and add more if needed.

    Which is better: xanthan gum vs cornstarch? Clearly, the answer depends on several different variables. They are both great thickening agents and can be used interchangeably at times, but it really depends on each specific recipe.

    More on Xanthan Gum & Cornstarch

    • up close shot of xanthan gum in a spoon
      Is Xanthan Gum a Substitute for Baking Powder?
    • labeled substitutes for xanthan gum on a piece of parchment paper.
      10 Best Xanthan Gum Substitutes in Gluten-Free Baking
    • glass jar storing homemade gluten free bisquick baking mix
      Homemade Gluten Free Bisquick Recipe: Easy & No Xanthan Gum
    • guar gum and xanthan gum on a cutting board
      Guar Gum vs Xanthan Gum: Which One Should You Use?

    Reader Interactions

    Comments

    1. GG

      July 02, 2024 at 1:10 am

      Using arrowroot gives better texture than corn starch in my experience 🥰

      Reply
      • Christine

        July 02, 2024 at 9:40 am

        🙂

        Christine

        Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe Rating




    Primary Sidebar

    Christine Brady.

    Hi, I'm Christine, a gluten free baker and baking problem-solver. I love baking breads and sharing best practices so that everyone can bake tasty treats too. Zest For Baking (est. 2013) is where you'll find gluten free (and dairy free) recipes, tips for substituting ingredients, and help navigating the world of gluten free baking.

    More about me →


    Spring Baking

    • inside of a cinnamon roll
      Gluten Free Cinnamon Rolls Recipe: Soft & Extra Fluffy
    • gluten free easter bread on a wire rack, overhead shot.
      Traditional Gluten Free Easter Bread
    • basket of gluten free dairy free rolls up close.
      The Best Gluten Free Dairy Free Dinner Rolls: Soft & Easy
    • gluten free hot cross buns on a cookie sheet
      Gluten Free Hot Cross Buns (With Dairy Free Option)
    • slice of gluten free carrot cake on a white plate.
      Gluten Free Carrot Cake: Light, Tender, Crowd-Pleaser
    • king cake sitting on a brown plate, overhead shot.
      Easy Gluten Free King Cake

    More Spring Baking


    2nd Edition! How to Substitute Eggs, Gluten Free Flours, Gums, and Dairy in Gluten Free Baking

    how to substitute ebook cover
    Check it out!

    Gluten Free Baking Help

    • small glass bowl of apple cider vinegar
      10 Best Apple Cider Vinegar Substitutes in Baking
    • cup of coconut flour
      Best 10 Coconut Flour Substitutes
    • wooden bowl of xanthan gum with a spoon
      Xanthan Gum vs Cornstarch: Which One Should You Use?
    • jar of baking soda on a table.
      6 Best Baking Soda Substitutes & How to Use Them
    • clear bowl of cornmeal on a counter
      Can You Substitute Cornmeal for Flour? 7 Flour Alternatives
    • agar agar powder in a bowl with a measuring spoon nearby
      Top 10 Agar Agar Substitutes for Cooking & Baking

    More Baking Help

    Footer

    ↑ back to top

    Featured On

    About


    Since 2013, Christine has been helping readers with gluten free baking challenges and substitution issues, all while creating delicious gluten free baking recipes that no one would guess are actually gluten free. Her Zest For Baking recipes have been featured on Beyond Celiac, The Daily Meal, Bloglovin' and Dr. Axe, to name a few. When she's not hanging out on Facebook or sharing pictures on Instagram or pinning on Pinterest, you can find her in her kitchen, creating more ZestForBaking.com recipes!

    Browse


    • Start Here
    • Guide to Gluten Free Flour Substitutes
    • Alternatives to Xanthan Gum & Guar Gum
    • Gluten Free Oat Flour Substitutes
    • Gluten Free White Bread Recipe
    • Soft Gluten Free Breadsticks
    • Gluten Free Dairy Free Dinner Rolls
    • Millet Flour Biscuits
    • Gluten Free Baking Masterclass
    • Classes & Products

    Information


    About

    Contact

    Privacy

    Terms of Use

    • Instagram
    • Facebook
    • Pinterest

    Copyright © 2025 | Zest For Baking | Privacy Policy 

    As an Amazon Associate, Zest For Baking earns fees when you click on links within our articles and make qualifying purchases.