Sourdough Chocolate Cake: Yes, Really
This article may contain affiliate links. If you make a purchase through these links, we may earn a small commission at no extra cost to you. This helps us keep creating free content.
I know what you are thinking. Sourdough in a chocolate cake sounds like a food blogger who has officially run out of ideas. I thought the same thing the first time someone suggested it. But then I made it, and I have to be honest with you, this is now my default chocolate cake recipe. Not "my default sourdough chocolate cake recipe." My default chocolate cake recipe, period.
The sourdough discard adds a subtle tang that makes the chocolate taste richer and more complex. It contributes moisture that keeps the crumb incredibly fudgy. And the mild acidity reacts with the baking soda to produce a beautifully tender texture. This is not a gimmick, it is genuinely better cake.
Ingredients
- 200g sourdough discard (room temperature)
- 200g all-purpose flour
- 65g cocoa powder (Dutch-process or natural, both work)
- 250g granulated sugar
- 1 tsp baking soda
- 1/2 tsp baking powder
- 1/2 tsp salt
- 2 large eggs
- 120ml neutral oil (vegetable or canola)
- 120ml buttermilk (or regular milk with 1 tsp vinegar)
- 120ml hot coffee (or hot water, coffee enhances chocolate)
- 1 tsp vanilla extract

Method
Step 1: Preheat your oven to 350Β°F (175Β°C). Grease and line two 9-inch round cake pans with parchment paper (or use one 9x13-inch pan for a sheet cake).
Step 2: In a large bowl, whisk together the flour, cocoa powder, sugar, baking soda, baking powder, and salt. Make a well in the center.
Step 3: Add the sourdough discard, eggs, oil, buttermilk, and vanilla to the well. Whisk everything together until just combined, a few lumps are fine. Do not overmix.
Step 4: Pour in the hot coffee and stir until the batter is smooth and thin. Yes, it will seem too thin. This is correct. Thin batter equals moist cake.
Step 5: Divide the batter evenly between the prepared pans. Bake for 30 to 35 minutes (25 to 30 for a sheet cake) until a toothpick inserted in the center comes out with just a few moist crumbs, not wet batter, not completely clean.
Step 6: Let the cakes cool in the pans for 10 minutes, then turn out onto wire racks to cool completely before frosting.
Frosting
This cake pairs beautifully with virtually any chocolate frosting. My favorite is a simple chocolate buttercream: beat 200g softened butter until fluffy, add 400g powdered sugar and 60g cocoa powder gradually, splash in 2 to 3 tablespoons of heavy cream, and beat until smooth and spreadable. A pinch of salt and a teaspoon of vanilla round it out.
For something less sweet, a chocolate ganache (equal parts chopped dark chocolate and hot heavy cream, stirred until smooth) poured over the cooled cake is stunning and easier to make.
Why the Sourdough Works
The acid in sourdough discard serves multiple functions in this cake. It tenderizes the gluten (less chew, more melt), reacts with the baking soda to produce extra lift, enhances the depth of the chocolate flavor (the same way a pinch of salt does), and adds moisture that keeps the crumb from drying out. It is not just a replacement for buttermilk, it is an upgrade.
If this cake has opened your eyes to sourdough beyond bread, explore more discard recipes in my complete discard guide. And for more unexpected sourdough projects, try my Sourdough Waffles or Sourdough Pancakes.
β οΈDisclaimer: This article is for informational purposes only. Fermenting and brewing require strict food hygiene β including correct fermentation times, temperatures, and cleanliness. Home-brewed beverages may contain alcohol. When in doubt, consult a food safety expert.
Published by the Sourdough Joe editorial team. Published June 7, 2026.
Editorial responsibility: see Imprint.
Spotted an error or have something to add? corrections@sourdoughjoe.com
You might also like
Sourdough Naan: Quick Flatbread from Discard
Turn your sourdough discard into soft, bubbly naan in under 30 minutes. No oven required β just a hot skillet and a few pantry staples.
Sourdough Crumpets: Fluffy, Tangy, and Addictive
Thick, spongy crumpets loaded with holes that pool with melted butter. Made with sourdough starter for a tang that elevates this British classic.
Sourdough Sandwich Bread: Soft Enough for PB&J
Not all sourdough has to be crusty and artisan. This soft, sliceable sourdough sandwich bread is perfect for school lunches and everyday sandwiches.
Explore more
All articles on Sourdough Joe β
Fresh from the Oven
New recipes, baking science, and troubleshooting tips β every Saturday morning.
π Free bonus: Your First Sourdough Loaf Guide (PDF)