Rich, delicious, sourdough chocolate cake is a healthier, 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.

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 sourdough cake was the perfect way to celebrate Daniel. Light, fluffy, and boasting my favorite sourdough tang, this cake has so much flavor. Layers of rich, chocolate cake smothered with chocolate frosting.

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. 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.
- This is one of my favorite sourdough cake recipes. You can also find a vanilla version, coffee cake, or this yummy pumpkin cake roll here on the blog.

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.
- Delicious, rich flavors that are light and fluffy with each bite 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.
FAQ

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.
Tools you may need:
Large bowl
Measuring cups and spoons

How To Make Sourdough Chocolate Cake
The Night Before:
In a bowl, mix together flour, coconut oil, sourdough starter, and water. Cover and allow to sit overnight or up to 24 hours.
The Next Day:
In a large bowl, mix together sucanat or rapadura (regular sugar would work, as well), 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. Use a stand mixer for easier mixing.
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.

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

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
Nutrition information is automatically calculated, so should only be used as an approximation.












This cake turned out perfect. Everyone loved it. I did swap out the cows milk for canned coconut milk. Fantastic
Can you sub whole milk for canned coconut milk instead? Also can you sub coconut sugar for regular sugar in this recipe?
Both should be fine, although I’ve never tried it.
This is the best tasting cake from scratch that I’ve made, but it caved while baking and it’s just falling apart. I got it iced and it looks like a cake. haha ๐ What did I do wrong, would love feedback. I’m going to try again for another birthday.
I’m glad it tasted delicious. Hmm I’m not sure. I’ve never had that happen in the many times I’ve made this. I’m so sorry it was crumbly. Did you make the recipe exactly, any substitutions?