The Best Sourdough Chocolate Cake

5 from 2 votes
Jump to Recipe

This post may contain affiliate links . Read my full Disclosure Policy.

This Sourdough Chocolate Cake is the ultimate chocolate lover’s dessert—super moist, decadent, and topped with a rich chocolate buttercream frosting. It is made with sourdough discard that adds just a touch of tang and moisture, giving the cake a soft, tender crumb.

Slice of chocolate cake with chocolate butter cream frosting and chocolate shavings on a brown plate next to the full cake.

One of my favorite things about this cake is how simple it is to make. Made in a 9×13 pan, it is quick, forgiving, and so easy to whip up. It’s easy enough for a quick dessert, yet decadent enough for a special celebration.

This will be the chocolate cake recipe you come back to time and time again! For more sourdough cake recipes, don’t miss my Sourdough Discard Apple CakeSourdough Carrot Cake, and Sourdough Tres Leches Cake

Why you’ll love this recipe

  • Great for any occasion – This Chocolate Sourdough Cake is perfect for birthdays, holidays, or any other celebration! 
  • Rich chocolate flavor – This Sourdough Discard Chocolate Cake has a rich, decadent chocolate flavor that will satisfy any chocolaty sweet tooth. If you love chocolate, be sure to also try this Chocolate Sourdough Bread
  • Quick and easy – All you need to make this delicious cake is a 9×13 pan and a hand mixer for the batter and frosting. It comes together in one bowl and has minimal clean up! 

Important Ingredients & Substitutions

Ingredients for Sourdough Chocolate Cake in clear bowls on a grey background.
  • Butter- Salted or unsalted will work in this recipe. I used salted since it is what I had on hand and it worked great.
  • Sourdough discard- The sourdough discard adds flavor and moisture to the cake. If you do not have your own sourdough starter, follow my Easy Sourdough Starter recipe to have one in as little as two weeks!
  • Cocoa powder- Cocoa powder is what creates the rich chocolate flavor in the cake and buttercream frosting. 
  • Sugars- White granulated sugar is used in the cake, and powdered sugar is used in the frosting. 
  • Leavening agents- Both baking soda and baking powder are used for a light and fluffy cake. 
  • Vanilla extract- Using vanilla in the chocolate cake helps bring out the flavor of the chocolate. 

See all the ingredients and amounts in the recipe card below.

Instructions to make the Sourdough Chocolate Cake Recipe

Butter and sugar creamed together for sourdough chocolate cake in a metal bowl.

Step 1: In a large mixing bowl, cream butter and sugar together until pale and smooth, about 5–7 minutes.

Eggs added to the creamed butter and sugar for sourdough chocolate cake.

Step 2: Add the eggs and beat until combined.

Wet ingredients added to the creamed butter and sugar for Sourdough Chocolate Cake.

Step 3: Add in the remaining wet ingredients. Whisk in the milk, sourdough discard, and vanilla extract.

Dry ingredients added to the Sourdough Chocolate Cake batter in a metal bowl.

Step 4: Next, add the dry ingredients. Add the all-purpose flour, baking soda, baking powder, salt, and cocoa powder, and mix until just incorporated.

Batter for Sourdough Chocolate Cake added to a parchment lined 9x13 baking dish.

Step 5: Add the batter to a 9×13 pan that has been greased or lined with parchment paper. 

Freshly baked Sourdough Chocolate Cake in a 9x13 pan lined with parchment paper.

Step 6: Bake in a preheated 350°F oven for 27-30 minutes, or until a toothpick inserted in the center of the cake comes out clean. If you use a glass pan it may take a little longer to bake.

Remove the cake from the oven and let the cake cool on a cooling rack.

Chocolate buttercream frosting in a metal bowl.

Step 7: Meanwhile, prepare the chocolate frosting by beating the butter until smooth and fluffy.

Add in the powdered sugar, cocoa powder, milk, and vanilla extract, and beat until smooth. If the frosting is too thick, add a little more milk as needed.

Sourdough Chocolate Cake with chocolate butter cream frosting and chocolate shavings on top.

Step 8: Spread the frosting over the cooled cake with a knife or offset spatula. I used a potato peeler to shave a chocolate bar as a garnish but that is optional. Serve and enjoy! 

Recipe Tips

  • Line the cake pan with parchment paper if you would like to easily pull the cake out of the pan to serve. When the cake has cooled, you can gently lift the cake out of the pan with the sides of the parchment paper. 
  • Let the cake cool before adding the frosting so that the frosting doesn’t melt off the cake. 
  • Do not overbake the cake. All ovens are different, so to know if your cake is done baking, insert a toothpick or cake tester into the center of the cake. You’ll know it is ready if the toothpick comes out clean. 
  • Use room-temperature wet ingredients to get the batter to blend easier.
One slice taken out of Sourdough Chocolate Cake with Chocolate Buttercream frosting and chocolate shavings on top next to a cake cutter.

Storage Instructions 

To store, cover the cake with plastic wrap or store it in an airtight container on the counter for up to 5 days.

Recipe FAQ

Can this Sourdough Chocolate Cake be made in round cake pans?

Yes, you can bake the cake in 2 9-inch cake pans, which will allow you to make a layer cake if desired. You will have to adjust your baking time as well since the pan is smaller.

Can I make cupcakes instead of a cake with this Sourdough Chocolate Cake recipe?

Yes, this recipe will make 24 cupcakes. If you are making cupcakes, reduce the cooking time to 16 minutes. 

Can I use active sourdough starter instead of discard in this Sourdough Chocolate Cake recipe?

Yes, either active starter or discard will work in this chocolate cake recipe. 

Can I long ferment this Sourdough Chocolate Cake recipe?

Yes! You can long ferment the batter in the fridge for 12-24 hours before baking for added fermentation benefits.

More sourdough Desserts

Tried this Sourdough Chocolate Cake or another recipe from the site? I’d love to hear about it! Drop a star rating and share your thoughts in the comments—can’t wait to see what you’re baking!

Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!
Slice of chocolate cake with chocolate butter cream frosting and chocolate shavings on a brown plate.
5 from 2 votes

Sourdough Chocolate Cake

This Sourdough Chocolate Cake is the ultimate chocolate lover’s dessert. It's super moist, decadent, and topped with a rich chocolate buttercream frosting.
Prep: 20 minutes
Cook: 27 minutes
Total: 47 minutes
Servings: 16 servings
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

  • 113 gram butter, ½ cup
  • 400 grams sugar, 2 cups
  • 2 large eggs
  • 300 grams milk, 1 ¼ cup
  • 120 grams sourdough discard, ½ cup
  • 5 grams vanilla extract, 1 teaspoon
  • 245 grams all-purpose flour, 1 ¾ cup
  • 5 grams baking soda, 1 teaspoon
  • 5 grams baking powder, 1 teaspoon
  • 3 grams salt, ½ teaspoon
  • 35 grams cocoa powder, ⅓ cup

Chocolate buttercream

  • 170 grams butter, ¾ cup
  • 360 grams powdered sugar, 3 cups
  • 5 grams vanilla, 1 teaspoon
  • 50 grams cocoa powder, ½ cup
  • 60 grams milk, ¼ Tablespoons

Instructions 

  • Preheat the oven to 350°F.
  • In a large mixing bowl, cream butter and sugar together until pale and smooth, about 5–7 minutes.
    113 gram butter, 400 grams sugar
  • Add the eggs and beat until combined.
    2 large eggs
  • Mix in the milk, sourdough discard, and vanilla extract.
    300 grams milk, 120 grams sourdough discard, 5 grams vanilla extract
  • Add the dry ingredients and mix until just incorporated.
    245 grams all-purpose flour, 5 grams baking soda, 5 grams baking powder, 3 grams salt, 35 grams cocoa powder
  • Add the batter to a 9×13 metal pan that has been greased or lined with parchment paper.
  • Bake for about 27-30 minutes, or just until a toothpick inserted in the center of the cake comes out clean. If you use a glass pan, your cake may need a couple more minutes to bake.
  • Remove the cake from the oven and let cool.
  • Meanwhile, prepare the chocolate frosting by beating the butter until smooth and light and fluffy in a large bowl.
    170 grams butter
  • Add in the remaining frosting ingredients and mix until smooth. If the frosting is too thick, add a little more milk as needed.
    360 grams powdered sugar, 5 grams vanilla, 50 grams cocoa powder, 60 grams milk
  • Spread the frosting over the cooled cake with a knife or offset spatula. Serve and enjoy!

Notes

  • Line the cake pan with parchment paper if you would like to easily pull the cake out of the pan to serve. When the cake has cooled, you can gently lift the cake out of the pan with the sides of the parchment paper. 
  • Let the cake cool before adding the frosting so that the frosting doesn’t melt off the cake. 
  • Do not overbake the cake. All ovens are different, so to know if your cake is done baking, insert a toothpick or cake tester into the center of the cake. You’ll know it is ready if the toothpick comes out clean.

Nutrition

Serving: 1slice, Calories: 351kcal, Carbohydrates: 57g, Protein: 4g, Fat: 14g, Saturated Fat: 8g, Polyunsaturated Fat: 1g, Monounsaturated Fat: 4g, Trans Fat: 0.5g, Cholesterol: 53mg, Sodium: 300mg, Potassium: 128mg, Fiber: 2g, Sugar: 41g, Vitamin A: 418IU, Calcium: 60mg, Iron: 1mg

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

Like this? Leave a comment below!

About Emily Christensen

Welcome to Country Roads Sourdough! Here, I share my no-stress approach to making sourdough bread. I’m so excited to share my time-saving hacks, spill my best-kept tips and tricks, and whip up a bunch of my favorite sourdough recipes with you.

You May Also Like

5 from 2 votes

Leave a comment

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

Recipe Rating




3 Comments

  1. Gabby says:

    5 stars
    This cake is delicious!!!

    1. Emily Christensen says:

      I’m so glad you like it! Thanks for the review Gabby!

  2. Emily Christensen says:

    5 stars
    This sourdough chocolate cake is everything you would ever want in a cake! It’s super moist, light and decadent plus it’s made in a 9×13 pan to make it as easy as possible.