Skip to Content

Gluten Free Sourdough Chocolate Cake Recipe

An easy sourdough chocolate cake recipe made with sourdough discard. It’s a delicious way to reduce waste from your sourdough starter!

A frosted gluten free sourdough chocolate cake recipe on top of a white cake stand with a wood base.

This post contains affiliate links for products and ingredients I use and love. You can read my full disclosure here. Thank you for supporting What The Fork Food Blog so I can continue to provide you with free gluten free recipes ♥

Gluten Free Sourdough Chocolate Cake Recipe

This Sourdough Chocolate Cake recipe is based on my best gluten free chocolate cake recipe but it gets a little bit of a flavor boost from the sourdough starter discard.

Not only is the flavor unbelievably good, but the texture is superb! This is an incredibly moist chocolate cake recipe. It truly rivals any chocolate cake made with regular wheat flour.  

I double-dog dare you to try it for yourself!

This cake is super easy to make and beats the pants off any boxed mix you’re tempted to make.

a baked and frosted gluten free sourdough chocolate cake recipe on top of a white cake stand with a light colored wood base

Did you make this recipe? Leave a star rating and let me know in the comments! You can also leave a photo/comment on this pin for others to see.

If you’re looking to convert other gluten free cake recipes to use with your sourdough discard, I used 2 cups of sourdough starter to replace 1 cup gluten free flour and 1/2 cup milk from my regular recipe.

As an Amazon Associate I earn from qualifying purchases.

Sourdough Chocolate Cake Ingredients

  • Sourdough Starter – the starter I used in this recipe is made with my Nightshade Free Gluten Free Flour
  • Gluten Free Flour – I use my Nightshade Free Gluten Free Flour blend in this recipe with excellent results. It’s an ideal flour blend for cake recipes.
  • Xanthan Gum – Omit if your flour blend contains it.
  • Dry Ingredients – granulated sugar, Dutch-processed cocoa powder, baking soda, baking powder, and fine sea salt.
  • Wet Ingredients – milk, oil, eggs, and vanilla extract.
    • I don’t use buttermilk in this recipe.
  • Coffee – This is the secret ingredient that makes this cake amazing. I mix coffee into the batter at the end because coffee intensifies the chocolate flavor. You can’t taste the coffee in this cake recipe but if you don’t want to use coffee you can use hot water.

What is a Sourdough Starter?

A sourdough starter is a mixture of flour and water that’s used to cultivate “wild yeast”. As sourdough starter matures and ferments, it’s used to make sourdough bread. You can read all about it in my Gluten-Free Sourdough Starter post.


How to Make a Dairy Free Chocolate Cake

To make this a dairy free chocolate cake, I use unsweetened coconut milk beverage to replace the regular milk. For a dairy free chocolate frosting, use my vegan chocolate frosting recipe.


Equipment Needed to Make a Chocolate Cake Recipe from Scratch 

3 pieces of gluten free chocolate cake on plates ready to be served

How to Make Chocolate Cake

Step 1. Preheat oven to 350 degrees and spray 2 8-inch cake pans with non-stick spray. Then line the bottoms with parchment rounds.

Step 2. In a medium bowl, whisk together the gluten-free flour, xanthan gum, sugar, cocoa powder, baking soda, baking powder, and salt while breaking up any clumps of cocoa powder. Then set aside.

Step 3. In a large bowl, whisk together the milk, oil, eggs, and vanilla. Then whisk in the sourdough discard until combined.

Step 4. Add the wet ingredients to the dry ingredients and stir until incorporated. Pour the hot coffee into the batter and carefully mix until the coffee is completely combined. The batter will be very thin, almost liquidy and that’s totally fine and normal for this recipe.

Step 5. Divide the batter evenly between the 2 baking pans and bake on the center rack. Bake at 350 degrees for 35-40 minutes or until done.

Step 6. Cool the cakes in the pans on top of a wire rack for 20-30 minutes. Then invert onto a wire rack and cool completely before frosting (see note 4).

Step 7. Frost with chocolate buttercream frosting or one of the frostings listed in the post. For a thicker layer of frosting with extra to decorated, make 1 1/2 batches or a double batch of my chocolate buttercream frosting.

a slice of sourdough chocolate cake on a plate with a fork ready to be served


Alternative Baking Pans

6-inch – cut the recipe in half and bake in 2 6-inch round pans. Baking time is 25-30 minutes. You can find the exact measurements for the 6-inch chocolate cake in my Chocolate Peanut Butter Ice Cream Cake recipe (minus the sourdough starter). 

9-inch – 2 9-inch round cake pans can be used instead of 8-inch, just reduce the baking time.

9×13 – Bake this cake in a 9×13 pan for 30-35 minutes.

a slice of gluten free chocolate cake recipe on a plate with a fork

Tips for Making Homemade Chocolate Cake

  • Use discard made with 100% hydration – which means the sourdough starter is made with equal parts gluten free flour and water by weight.
  • Your sourdough discard should be mature, at least a week old.
  • Halve the recipe to make a 2-layer 6-inch cake if you don’t want to make a full 8-inch cake.

Best Frosting for Chocolate Cake

For the frosting, I made a simple homemade chocolate frosting. Other great frosting options are Nutella Buttercream Frosting, Coconut Buttercream Frosting, Peanut Butter Frosting, Cream Cheese Frosting, or Vanilla Buttercream Frosting. Feel free to check out all the buttercream frosting recipe options on this site to make your own flavor combination.


Other Sourdough Discard Recipes To Try

a piece of gluten free chocolate cake on a plate with a bite taken out

Be sure to follow me on Instagram and hashtag #whattheforkfoodblog or tag @whattheforkfoodblog – I love seeing what you make!
If you love this Gluten Free Sourdough Chocolate Cake recipe, be sure to follow me on social media so you never miss a post:
Facebook | Twitter | Pinterest | Instagram | Youtube | Newsletter |

email subscription for What The Fork Food Blog
A frosted gluten free sourdough chocolate cake recipe on top of a white cake stand with a wood base.

Gluten Free Sourdough Chocolate Cake Recipe

4.68 from 46 ratings
An easy sourdough chocolate cake recipe made with sourdough discard. It’s a delicious way to reduce waste from your sourdough starter!
Prep Time: 20 minutes
Cook Time: 35 minutes
Total Time: 55 minutes
Servings: 14
Print Rate Pin

Ingredients

  • 3/4 cup 110g gluten free flour (note 1)
  • 3/4 teaspoon xanthan gum note 2
  • 2 cups 400g granulated sugar
  • 3/4 cup 70g Dutch-processed cocoa powder
  • 2 teaspoons 11g baking soda
  • 1 teaspoon 4g baking powder
  • 1 teaspoon 6g fine sea salt
  • 1/2 cup milk room temperature
  • 1/2 cup avocado oil or neutral oil of choice
  • 2 large eggs room temperature
  • 2 teaspoons pure vanilla extract
  • 2 cups 530g sourdough discard (note 3)
  • 1 cup hot coffee
  • 1 recipe Chocolate Buttercream Frosting or more for extra decoration

Instructions

  • Preheat oven to 350 degrees and spray 2 8-inch cake pans with non-stick spray, then line the bottoms with parchment rounds.
  • In a medium bowl, whisk together the gluten free flour, xanthan gum, sugar, cocoa powder, baking soda, baking powder, and salt while breaking up any clumps of cocoa powder. Then set aside.
  • In a large bowl, whisk together the milk, oil, eggs, and vanilla. Then whisk in the sourdough discard until combined.
  • Add the wet ingredients to the dry ingredients and stir until incorporated.
  • Pour the hot coffee into the batter and carefully mix until the coffee is completely combined. The batter will be very thin, almost liquidy and that's totally fine and normal for this recipe.
  • Divide the batter evenly between the 2 baking pans and bake on the center rack at 350 degrees for 35-40 minutes or until done.
  • Cool the cakes in the pans on top of a wire rack for 20-30 minutes. Then invert onto a wire rack and cool completely before frosting (see note 4).
  • Frost with chocolate buttercream frosting or one of the frostings listed in the post. For a thicker layer of frosting with extra to decorated, make 1 1/2 batches or a double batch of my chocolate buttercream frosting.

Notes

  1. For best results, use my Nightshade Free Gluten Free Flour Blend.
  2. If your flour blend and sourdough starter both contain xanthan gum, omit what's called for in the recipe. If your flour blend contains xanthan gum but your sourdough starter doesn't, add 1/4-1/2 teaspoon xanthan gum.
  3. Use the discard from a mature sourdough starter, at least a week old.
  4. For best results, freeze cake layers that have been wrapped in plastic wrap on a sheet pan before frosting. Frozen cake layers are easier to crumb coat and frost. Once frosted, keep the cake at room temperature to defrost until ready to serve the same day. A completely frosted cake can be refrigerated a day before serving.

Nutrition Information

Serving: 1g | Calories: 174kcal

Disclaimers

As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.

Nutrition Facts are estimated and aren't always accurate. Please consult a doctor or nutritionist if you have special dietary needs.

Did you make this?Mention @whattheforkfoodblog or leave a comment rating below!

Did you make this Sourdough Chocolate Cake recipe? Leave a star rating and let me know in the comments! You can also leave a photo/comment on this pin for others to see.

Leave a comment

If you made this recipe, please consider giving it a star rating when you post a comment. Star ratings help people discover my recipes online.

Sincerely,
Shay

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

Recipe Rating




  1. Wynell Marlow says:

    5 stars
    My gluten-free lifestyle came late in life after I was diagnosed with Celiac Disease. This is Absolutely delicious! Best gluten-free chocolate cake I’ve had!

  2. Mary Fox says:

    5 stars
    This is, hands down, the best chocolate cake/brownies/base for ice cream cake I’ve ever used! Quick question, I’m taking a break from sourdough, is there a recommendation for when I don’t have discard 😭

  3. Chelsi Shultz says:

    5 stars
    This is SO good! Moist and chocolatey! I put Trader Joe’s peanut butter chips in the batter (oh my goodness!!), next level!! It didn’t even need icing, would be way too sweet with it!

  4. Dave Morrison says:

    5 stars
    I ate this for breakfast frozen after cutting it up to eat at a later date it’s so delicious I very highly recommend this cake it doesn’t even need icing!
    I made the vegan chocolate icing with this and it was shocking how great it tasted, thank you so much!
    Link to the frosting recommended in recipe, happy baking..
    https://www.whattheforkfoodblog.com/2016/04/04/vegan-chocolate-frosting/

  5. Anonymous says:

    5 stars
    Best Gluten Free chocolate cake so ever made! Thanks for the recipe!🫶🏼

  6. Katie says:

    This looks amazing! Is there any substitute I could try for the coffee?

  7. Amy says:

    Has anyone had success with flax eggs instead of the eggs?

  8. Dave says:

    Why does the coffee need to be hot? Could you use cold brew as an alternative (even room temp)?

  9. Vikki Fredette says:

    Hi,

    The Sourdough Discard used in this recipe is NOT gluten free. Due to fermentation it is low gluten and easier for those allergic to digest. Maybe change your GLUTEN FREE title to LOW GLUTEN.

    • Shay says:

      Hi Vikki, I suggest you read the entire post, notes, etc. before commenting.

      This cake is, in fact, gluten free. It’s made with gluten free flour and sourdough discard from a gluten free sourdough starter. Yes, the sourdough starter is made with ONLY gluten free flour so it’s also gluten free, not low gluten as you suggest.

  10. Leah says:

    Have you ever fermented this cake mix for an extended period of time?

  11. carolann says:

    This cake was excellent! Light and fluffy and literally couldn’t guess it was GF – even I forgot that it was gluten free! I will definitely be bookmarking this recipe (and building up my discarded starter again!) to make it again.
    I used Bob’s red mill 1:1 baking flour (also what I had been feeding my starter with) so I omitted the xanthum gum. We made a vanilla buttercream and everyone thought it was great. Save your discard to make this – you won’t be disappointed!

  12. Susan says:

    THE best chocolate cake I’ve ever eaten. Moist and flavorful. Easy to frost. Gluten eaters will be impressed!

  13. Rohtak says:

    I love this idea–the texture looks perfect!

  14. rona mehta says:

    Thank you for sharing this delightfully easy, mouthwateringly delicious recipe. Have baked this cake several times since I first tried it a few weeks back and it’s been a huge success each time!