This sourdough chocolate cake recipe is rich, delicious, healthier, and a more nutritious take on your classic dessert. Start the night before to ferment the grains, develop the flavors, and make the cake easier to digest. 

slice of three layer sourdough chocolate cake with chocolate frosting on a blue and white antique plate with a candle on a antique wooden high chair

Somehow, Daniel turned one year old a few days ago. Iโ€™m not quite sure how that happened. It feels like just yesterday I was holding my newborn baby in my arms (read his home birth story here).

After six children, I can tell you with all my heart that babies donโ€™t keep. You blink and they are one year old, they’ve learned to walk around the house, and they’re convinced they can do most things on their own.

Although it hurts my heart to move past the precious baby stage and into toddlerhood, watching Daniel become a toddler has its own set of blessings. 

I love watching them learn: learning about the world, how to communicate, and developing that curious personality. Itโ€™s a really fun stage. Soon enough, he will be running around barefoot on the farm playing with the goats and climbing trees. 

It goes too fast.

This chocolate sourdough cake was the perfect recipe to celebrate Daniel. Light, fluffy, and boasting my favorite sourdough tang, this cake has so much flavor. Layers of tender chocolate cake smothered with chocolate buttercream frosting. 

sourdough chocolate cake with chocolate frosting and 4 long beeswax candles on a white cake stand

Tips For Making Sourdough Chocolate Cake

  • Ferment this recipe overnight to increase the nutritional value of the grains and make them more digestible.
  • If you are in a pinch for time, skip the fermentation and use sourdough discard.
  • You can use active sourdough starter or sourdough discard. It is a great way for all that extra sourdough starter you may have on hand. Learn how to create your own sourdough starter here.
  • Add finely ground coffee to give this a deeper and richer chocolate flavor. Coffee and chocolate go together perfectly in baked goods.
slice of three layer sourdough cake with chocolate frosting on a blue and white antique plate with the remaining cake on a white cake stand in the background

Why you will love this recipe:

  • Start this recipe the night before (or even up to 24 hours before) to allow it to ferment. Starting the night before removes a few steps the next day, making it easier to whip together.
  • Chocolate lovers rejoice. Rich chocolate cake with a delicious chocolate frosting. This light and fluffy layer cake will have your family asking you to make this recipe over and over again.
  • It is healthier and easier to digest than a standard chocolate cake.
  • It’s the perfect cake for a birthday, holiday, or even just a weekend.
  • You can easily turn this into a sourdough discard chocolate cake by just using sourdough discard, mix the cake batter together, and bake.

This post contains affiliate links, which means I make a small commission at no extra cost to you. See my full disclosure here.

Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients:

close up picture of a slice of sourdough chocolate cake with chocolate frosting

Cake:

All-purpose flour

Coconut oil: Could also substitute with another oil like avocado. I would avoid using vegetable oil as it inflammatory and highly processed.

Sourdough starter – Discard sourdough starter or active sourdough starter will work.

Water

Eggs

Sugar: Sucanat or rapadura (regular sugar would work also)

Salt 

Finely ground coffee (optional)

Vanilla extract: Homemade or store-bought

Cocoa powder

Whole milk 

Baking soda

Chocolate Frosting:

Salted butter: If you only have unsalted butter available, you may want to add a dash of salt to the frosting to bring out all the flavors.

Powdered sugar

Vanilla extract

Cocoa powder

Heavy cream

Tools you may need:

Cake pans

Large bowl

Measuring cups and spoons

Stand mixer

chocolate cake with chocolate frosting with 4 long candles on a white cake stand

How To Make Sourdough Chocolate Cake

The Night Before:

In a large mixing bowl, mix together flour, coconut oil, sourdough starter, and water. Cover with plastic wrap, a tight lid, or beeswax wraps, and allow to sit overnight at room temperature or up to 24 hours.

The Next Day:

Preheat the oven to 350ยบ F. 

In a separate bowl, or in the bowl of a stand mixer, mix together sucanat or rapadura (regular sugar would work, as well), salt, and finely ground coffee (optional).

To the flour mixture, add remaining wet ingredients (eggs, vanilla, cocoa powder, and whole milk). 

Next, add the sourdough mixture into the rest of the ingredients. Whisk to incorporate until smooth. Use a stand mixer with a paddle attachment for easier mixing starting on low speed.

Lastly, add baking soda and incorporate well.

Prepare two, 9-inch cake pans with butter. Tip: Trace the round cake pans on parchment paper and cut out. Place the paper on the bottom of the greased pan. This will help the cake pop right out after baking.

Pour chocolate cake batter evenly between the two greased cake pans. 

Bake for 30-35 minutes, until a toothpick or cake tester comes out clean. 

Remove from the oven. Let the cake cool for about 10 minutes, then remove from the pan and place on a cooling rack to finish cooling.

Create The Chocolate Buttercream Frosting

In a stand mixer bowl with whisk attatchment (or a large bowl with a hand mixer), add the softened butter.

Beat the butter on high speed for a few minutes until it becomes light and fluffy.

Turn the mixer down to low speed and slowly add in the cocoa powder and powder sugar until it is incorporated.

Add vanilla and 3 tablespoons of cream.

Once the ingredients are incorporated well, turn the speed back up to medium speed and whip until light and fluffy. Add remaining cream if the frosting seems too stiff.

Frost cake.

FAQ:

slice of sourdough discard chocolate cake on a blue and white antique plate with the rest of the cake on a white cake stand in the background with a case of eucalyptus

Do I have to ferment this recipe?

No you do not. You can easily just whip it up without letting it sit overnight.

How do you store chocolate cake?

  • Frosted cakes (with dairy) should be stored with a cake cover in the refrigerator. You don’t want to keep it in an airtight container as the cake can absorb the frosting.
  • Frosted cakes without dairy can be kept at room temperature covered.,
  • Freeze unfrosted cake in an airtight container with a piece of parchment paper between layers to prevent sticking for up to 6 months. Allow to thaw at room temperature for 6-12 hours before frosting and serving.
  • Freeze frosted cakes in an airtight container for up to 3 months. Be aware that frosted cakes may not looks as pretty after then come out of the freezer.

What does sourdough do for cakes?

Not only does it add a slight tangy flavor to the cake, but it also helps break down the gluten in the cake. This helps it be more tender rather than tough and chewy. If you ferment the grains with the starter it helps break down the phytic acid which makes the nutrients in the grains more absorbable.

Is sourdough hard to bake?

This depends on the recipe. Some recipes like bread can be more challenging, while others like this sourdough cake recipe is much easier.

I love this type of recipe because you mix a portion of it the night before and then finish the recipe the next day. It does take some planning ahead (although you could just whip it up and forgo the fermentation), but it is worth it.

What is unfed sourdough discard?

It is sourdough starter that has not been fed in over 12 hours. When you feed a sourdough starter it gets nice and active, plus it should doubles in size.

Once the yeasts in the starter have fed off the new flour and water, the bubbles release, and it will then come back down (the process takes about 12 hours). This is then considered unfed sourdough stater. Normally, you toss half of the starter (or use it in a discard recipe). What you get rid of would be considered unfed sourdough discard.

Find More Sourdough Desserts

If you try this recipe and love it, I would love if you gave it 5 stars! Thank you! Tag me on Instagram @farmhouseonboone.

Sourdough Chocolate Cake

4.56 from 234 votes
Rich, delicious, sourdough chocolate cake is a healthier, more nutritious take on your classic dessert.

Prep: 20 minutes
Cook: 35 minutes
Additional Time: 12 hours
Total: 12 hours 55 minutes
Servings: 12
sourdough chocolate cake with chocolate frosting and 4 long beeswax candles on a white cake stand
Save this recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

  • 2 cups flour
  • 1/2 cup coconut oil
  • 1/2 cup sourdough starter, discard or active starter
  • 1 cup water
  • 2 large eggs
  • 2 cups sucanat or rapadura, regular sugar would work also
  • 1 teaspoon salt
  • 1 teaspoon finely ground coffee, optional
  • 2 teaspoons vanilla
  • 3/4 cup cocoa
  • 1 cups whole milk
  • 2 teaspoons baking soda

Chocolate Buttercream Frosting

  • 1 cup salted butter, softened
  • 3 cups powdered sugar
  • 2 teaspoons vanilla
  • 1/2 cup cocoa powder
  • 3-4 tablespoons heavy cream

Instructions 

  • In a bowl, mix together flour, coconut oil, sourdough starter, and water. Cover and allow to sit overnight or up to 24 hours. (Optional)
  • In a large bowl, mix together sucanat or rapadura, salt, and finely ground coffee (optional).
  • To the dry ingredients, add eggs, vanilla, cocoa powder, and whole milk.
  • Next, add the sourdough mixture into the rest of the ingredients. Whisk to incorporate until smooth.
  • Lastly, add baking soda and incorporate well.
  • Preheat the oven to 350ยบ F.
  • Prepare two, 9-inch cake pans with butter.
  • Divide cake batter evenly between the two prepared cake pans.
  • Bake for 30-35 minutes, until a toothpick inserted comes out clean.
  • Remove from the oven. Allow to cool for about 10 minutes, then remove from the pan and allow to cool completely before frosting.

Create the frosting:

  • In a stand mixer bowl with whisk attatchment (or a large bowl with a hand mixer), add the softened butter.
  • Beat the butter on high speed for a few minutes until it becomes light and fluffy.
  • Turn the mixer down to low speed and slowly add in the cocoa powder and powder sugar until it is incorporated.
  • Add vanilla and 3 tablespoons of cream.
  • Once the ingredients are incorporated well, turn the spead back up to medium and whip until light and fluffy. Add remaining cream if the frosting seems too stiff.
  • Frost cake.

Notes

  • Ferment this recipe overnight to increase the nutritional value of the grains and make them more digestible.
  • If you are in a pinch for time, skip the fermentation and use sourdough discard. You can use active sourdough starter or sourdough discard.
  • Add finely ground coffee to give this a deeper and richer chocolate flavor.

Nutrition

Calories: 608kcal | Carbohydrates: 88g | Protein: 6g | Fat: 29g | Saturated Fat: 19g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 6g | Trans Fat: 1g | Cholesterol: 78mg | Sodium: 524mg | Potassium: 224mg | Fiber: 4g | Sugar: 64g | Vitamin A: 606IU | Vitamin C: 0.02mg | Calcium: 57mg | Iron: 3mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

Sharing is caring!

4.56 from 234 votes (207 ratings without comment)

Leave a comment

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

Recipe Rating




209 Comments

  1. Mackenzie says:

    Made this one this week and it was delicious! The chocolate buttercream was amazing. I think next time I am going to try out peanut butter buttercream just because I love that combo. Got thumbs up from my whole family! I am loving all of your recipes.

  2. Mackenzie says:

    What are your thoughts on making this a Bundt cake? Any tips on changes or cook time?

    1. Lisa says:

      I love that idea. I would think it would need longer, but I’ve never tried it to know for sure.

  3. Amy says:

    I just made this, but used butter instead of coconut oil, only 1/4 cup water + 3/4 c. Sour cream(plain yogurt is yummy too), and then I used 3/4 tsp. Of baking soda and 3/4tsp. Baking powder. The batter tasted delish! Thank you for your recipes! I love them!

    1. Lisa says:

      That sounds like lovely substations. Glad you enjoyed the recipe.

  4. Madeline says:

    Hi Lisa! I would like to make a sourdough strawberry layer cake since it’s almost strawberry season (yay!) and was wondering if you think I could make this recipe into a strawberry cake (sans chocolate)? I’m worried that the wetness of the strawberries would affect the moisture level of the cake, like make it too soggy. How would you do this?

    1. Lisa says:

      Hmmm. Here are some thoughts. If you don’t want to use the chocolate I would suggest my sourdough vanilla cake. I think most strawberry cake recipes call for a reduced strawberry puree so you get a more concentrated strawberry flavor without as much moisture. You may also need to reduce the amount of liquid a bit as well. If that is too many changes, you could make the vanilla cake and add layers of strawberry puree and frosting between layers. Hope that helps.

  5. Laurie says:

    I made this for my husbands birthday and he loved it! I cut the recipe in half and baked it in a 9 inch glass baking dish. Thanks so much for sharing! It turned out perfect and itโ€™s our new favorite chocolate cake!

    1. Lisa says:

      So glad you enjoyed it!! Hope your husband had a wonderful birthday!

  6. Moire says:

    Hi Lisa, I had a question. I made this cake this morning with a 9″ round pan, but when I divided the batter into 2, each of the segments that came out of the oven were like not even an inch thick – they were VERY flat. The photos make it look like they’re 2-3″ tall each segment. Do I need to double the recipe, or did you use like a 6″ round pan?

  7. Laura says:

    Made this today using the long ferment method. I’ve always made Hershey’s Perfectly Chocolate Cake recipe but decided to give your recipe a try for a double birthday celebration this evening. Wow! So moist! Everyone raved about it and my husband has already requested it for his birthday! Thank you for a new favorite!

    1. Lisa says:

      That is so wonderful to hear!

  8. Maggie says:

    I have a friend who is gluten and lactose intolerant. She can eat a bit of each, but not much. She does better with fermented breads. So, I fermented my batter for 24 hours and substituted soy milk for the whole milk. The next day I made cupcakes, 30 of them! Mine took about 13 minutes. I frosted the cupcakes with a soy milk, powdered sugar, cocoa powder, vanilla icing. The result was fabulous. The cupcakes have a nice crumb that goes all melty when you eat it. I can taste and smell the sourdough, but I kind of like that. Itโ€™s faint, but itโ€™s there.

    I think she is going to love these cupcakes.

    1. Lisa says:

      Yay! That is so kind of you to think of your friend like that. I hope she enjoys them!

  9. Darryl Alder says:

    Made this sweetened with honey and no coffee. Turned out great but got better the second and third day!

    1. Lisa says:

      So glad you enjoyed it!

  10. Dayna says:

    This was so so good! I used half of powdered swearve and half regular sugar. I wanted to lighten the sugar up in it, but also keep the fermentation process. It was so fudgey and flavorful! Will definitely be making this again!!