Moist Sourdough Chocolate Cake with Easy Chocolate Frosting
Use your discard sourdough starter to make this rich, moist sourdough chocolate cake topped with an easy and delicious chocolate frosting. It’s one of my most beloved sourdough discard recipes.

Don’t worry; there’s no sourdough taste. You don’t even have to share your secret ingredient 😉. All the normal people in your life will just know it’s the best chocolate cake they’ve ever tasted.
Ingredients and Tools You’ll Need
You don’t need a stand mixer or anything fancy here. Just pantry ingredients and some hot water for an extra moist cake.

Heart’s Content Farmhouse is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. This means that when you click on certain links on this site and make a purchase, I may earn a small commission at no additional cost to you. I only recommend products I genuinely believe in and would use in my own kitchen. As an Amazon Associate, I earn from qualifying purchases.
For the cake
- 2 cups all-purpose flour
- 1 ¼ cups sugar
- ¾ cup cocoa powder (We always use Hershey’s for the cocoa; no need to get fancy!)
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- ¾ cup vegetable oil
- 2 eggs
- 1 teaspoon vanilla
- ¾ cup discard sourdough starter (The sourdough starter adds a richness to the cake that is somewhat like a cake made with buttermilk: not sour, but definitely delicious.)
- ¼ sour cream (It helps make your cake extra moist and takes the place of milk in this recipe.)
- 1 cup boiling water
For the frosting
- ½ cup melted butter (1 stick)
- ⅔ cup cocoa powder
- 3 cups powdered sugar
- ⅓ cup milk
How to Make Sourdough Chocolate Cake
Step One: Prep Oven And Pan
Preheat the oven to 350℉ with the rack in the center. Prepare a 9 x 13 pan with cooking spray.
Step Two: Mix Dry Ingredients
In a large mixing bowl, combine the flour, sugar, cocoa, baking powder, baking soda, and salt. Stir until well combined.

Step Three: Add Wet Ingredients
Add the vegetable oil, eggs, vanilla, sour cream, and sourdough starter. Stir to form a thick batter. The batter will seem very thick and lumpy. That’s okay, just stir it up the best you can. Pour in the cup of boiling water and stir well until a smooth batter forms.

Step Four: Bake
Pour into prepared baking pan and bake for 35-45 minutes, until a toothpick inserted into the center comes out clean, or with only a few crumbs. (The top may crack.)

Step Five: Cool
Cover the cake with a clean tea towel and allow it to cool directly in the pan. Cool completely before frosting.

Step Six: Frost And Serve
To make the frosting, combine the melted butter and cocoa in a large mixing bowl. Add the powdered sugar and milk, alternating with each other, and beat with an electric mixer until a smooth frosting forms. Frost the cake and serve directly out of the pan.

Storage Instructions
Any leftovers will keep well, tightly covered, in the fridge for 5 days or so, or at room temperature for about 3 days.
If you’d like to freeze your leftovers, I recommend wrapping individual slices in plastic wrap and sticking them all in a zipper-top bag. They come out quite well! Just let them defrost on the counter.
What to Serve with Sourdough Chocolate Cake
This can pretty much work with everything since chocolate is a classic. But it is quite rich.
- In the fall, have a caramel apple latte. The fruit and caramel will taste wonderful with the chocolate.
- Cake always needs ice cream. Try making this salted caramel vanilla ice cream.
- If it’s hot out, this refreshing raspberry peach iced tea will cut through the rich chocolate.
Questions and Troubleshooting
Absolutely! You should get about 24 cupcakes. Start checking for doneness at 20 minutes, and be sure to use cupcake liners.
Yes, but the recipe will fill about 1.5 loaf pans. You could always double it and get 3 loaves!
You can substitute crème fraiche, Greek yogurt, or more sourdough starter.
Replace the eggs with flax eggs (1 tbsp ground flaxseed + 2.5 tbsp water per egg), and use dairy-free sour cream.

Related Recipes
- Sourdough lemon cake is soooo good and can even work as a breakfast.
- Carrot cake cupcakes with sourdough starter are one of our favorites and are topped with the most delicious cream cheese frosting.
- Coffee cake with discard starter requires your stand mixer, but it is so tender and topped with cinnamon sugar.
Printable Recipe
One Bowl Sourdough Chocolate Cake

Ingredients
For the cake
- 2 cups all-purpose flour
- 1 ¼ cups sugar
- ¾ cup cocoa powder
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- ¾ cup vegetable oil
- 2 eggs
- 1 teaspoon vanilla
- ¾ cup discard sourdough starter
- ¼ sour cream
- 1 cup boiling water
For the frosting
- ½ cup melted butter (1 stick)
- ⅔ cup cocoa powder
- 3 cups powdered sugar
- ⅓ cup milk
Want To Save This For Later?
You'll join my email list which you will love. And if you don't, unsubscribe in one click. ❤️
Instructions
- Prep oven and pan. Preheat the oven to 350℉ with the rack in the center. Prepare a 9 x 13 pan with cooking spray.
- Mix dry ingredients. In a large mixing bowl, combine the flour, sugar, cocoa, baking powder, baking soda, and salt. Stir until well combined.
- Add wet ingredients. Add the vegetable oil, eggs, vanilla, sour cream, and sourdough starter. Stir to form a thick batter. Pour in the cup of boiling water and stir well until a smooth batter forms.
- Bake. Pour into prepared baking pan and bake for 35-45 minutes, until a toothpick inserted into the center comes out clean, or with only a few crumbs. (The top may crack.)
- Cool. Cover cake with a clean tea towel and allow it to cool directly in the pan. Cool completely before frosting.
- Frost and serve. To make the frosting, combine the melted butter and cocoa in a large mixing bowl. Add the powdered sugar and milk, alternating with each other, and beat with an electric mixer until a smooth frosting forms. Frost the cake and serve directly out of the pan.
Video
Notes
Nutrition
By Katie Shaw

Katie shares simple, reliable recipes from her home in Virginia, where she lives with her husband, three daughters, a chocolate lab, and over thirty chickens.
I liked this easy recipe. I always need to use up discard. I prefer to overnight ferment my added flour but this time I was in a hurry for some chocolate. I always make high elevation modifications for any and all cakes as I am at 5,000 feet. It really does make a difference in case anyone is in the same situation. The cake was very light and held together well. Used dark cocoa powder and added some instant espresso powder to my boiling water. idk if that helped or not, but the taste was very chocolatey!!!!!
hi marcy! thanks so much for the high altitude tips! and the espresso powder is a great idea!
Can I put the batter in the fridge to long ferment overnight?
10/10 would recommend! I made cupcakes and 20 minutes was the perfect time. They are delicious! Definitely saving this one for future use.
hi nicole! so so happy you liked the recipe!
I was wondering if I can put the batter in the refrigerator after all ingredients are mixed and let it ferment for about 8-10 hours before I bake it?
I’m new to the sour dough game and tried this cake recipe. It came out perfect & EVERYONE who tried it loved it. So easy & cake itself is not overly sweet-more like dark chocolate cake-like -brownie. DELICIOUS & so simple.
This was so delicious–thank you! I was craving chocolate cake, and I only make cake for special occasions because of all the sugar, but I made this for no special reason and because it seems to have less sugar than other recipes. I used Einkorn flour, cacao powder, and coconut oil. I did half the amount of icing and just melted the butter and cacao on the stove and stirred by hand, spread on while still warm, Texas sheet cake style. It actually reminds me of Texas sheet cake! Which I never make anymore because it has SO much sugar and butter, but this was moist and delicious even though I reduced the sugar in the cake to 1 cup since Einkorn flour needs less moisture (although I might just use the full amount next time).
I made this cake even though I was skeptical it might not come out like I wanted,but to my surprise it was delicious! It was moist,not even dry. I did cut back on the sugar on the cake and frosting. I want to try the vanilla cake next.