Sourdough Chocolate Cake with Cream Cheese Frosting

Sourdough Chocolate Cake with Chocolate Cream Cheese Frosting |

I know that some of you looked at the title of this recipe and thought sourdough chocolate what? Or perhaps you thought it was a typo and that this is actually a sour cream chocolate cake. Actually, it is a sour cream chocolate cake, but the recipe title is also correct. This chocolate cake includes a cup of sourdough starter in the batter, which is awesome for those of us who keep sourdough starters for bread and are sometimes looking for ways to use up the cup of starter that gets discarded when feeding our bubbly little pets. If you don’t have a sourdough starter, don’t worry, this cake can easily be made without one and it will still be an absolutely delicious chocolate sour cream cake. Instructions for doing this are in the recipe notes. If you would like to experiment with sourdough, here are my instructions for creating your own starter.

Rich and Moist Sourdough Chocolate Cake |

The great thing about this cake, other than the fact that you can use up a cup of sourdough starter discard, is that this cake is super easy to make. It’s a dump everything into one bowl and mix for three minutes kind of cake. It’s also one of the best chocolate cakes I’ve ever tasted– rich, moist, sweet, intense. And the chocolate cream cheese frosting? It’s easily my new favorite chocolate frosting recipe. Hands down. The frosting is simple to make, too.

Easy Chocolate Cream Frosting - the best chocolate frosting I've ever tasted! |

While I’m sure this cake will be very good made with pretty much any brand of unsweetened natural cocoa powder, including the Hershey’s that I usually have in the pantry, I used some Scharffen Berger that Phil brought home from work and it really took the cake and frosting to the next level. Although this isn’t a fancy layer cake, it is such a delicious recipe that I think it’s worth splurging on the best quality cocoa powder you can afford, especially if you’re making this for a gift or a special occasion.

Sourdough Chocolate Cake with Chocolate Cream Cheese Frosting and Pecans |

I had planned on putting chopped walnuts on top of the cake but the last of my walnuts were pretty old and not tasting so great. Luckily I found some pecans in the freezer and they were the perfect addition. If you don’t like nuts on your chocolate cake, just leave them off. But please, please try the frosting.

Sourdough Chocolate Cake with Chocolate Cream Cheese Frosting |

Yields 16 pieces

Sourdough Chocolate Cake with Cream Cheese Frosting
Save Recipe



1 cup all purpose flour

1 1/2 cups granulated sugar

3/4 cup natural cocoa powder

1 teaspoon baking soda

1 teaspoon kosher salt (or 1/2 tsp table salt)

1 cup sourdough starter*

2 large eggs

1/2 cup sour cream

1 cup canola oil

1/2 cup coffee

1 teaspoon vanilla


2 cups powdered (confectioner's) sugar

1/4 cup unsweetened cocoa powder

8 ounces cream cheese, softened

4 tablespoons butter, softened

1/2 cup chopped pecans or walnuts (optional garnish)


Preheat oven to 350 degrees. Grease a 13 x 9 inch cake pan with nonstick cooking spray.

In a large mixing bowl or the bowl of a stand mixer, combine flour, sugar, cocoa powder, baking soda, and salt, and stir to combine, breaking up any large lumps of cocoa powder.

Add all the remaining ingredients to the bowl using a hand mixer or the paddle attachment of a stand mixer, beat on medium speed for 3 minutes, stopping occasionally to scrape down the sides and bottom of bowl with a spatula to make sure all ingredients get incorporated.

Pour batter into the greased cake pan (batter will seem thin, but this is okay) and bake on the center rack of preheated oven for 27-30 minutes or until a toothpick inserted in the center of the cake comes out clean and/or the top of center of the cake springs back when touched lightly. It's best to start checking the cake a bit early.

Let cake cool completely in the pan on a wire rack. Once completely cool spread the top of the cake with chocolate cream cheese frosting (recipe below) and sprinkle with chopped pecans or walnuts if you like. If using the cream cheese frosting, store leftover cake covered in the refrigerator. If making the cake a day before serving, store the cake covered in the refrigerator but remove it an hour or two before serving as the flavor and texture are best at room temperature (although it's delicious straight out of the fridge as well). I think the cake tastes just as good if not better the next day so it's a great make-ahead cake.

Frosting Instructions:

Sift powdered sugar and cocoa powder together into a bowl then set aside. Beat cream cheese and butter together with a hand mixer or stand mixer with paddle attachment until light and creamy. On low speed gradually beat in the sugar and cocoa powder, scraping down the sides of the bowl with a spatula as you go. Once it's all incorporated, increase the speed on your mixer to medium and beat for another minute.

Use immediately or cover and store in the refrigerator for a day or two. If you decide to make it ahead of time and store it in the refrigerator before frosting a cake, you will need to let the frosting sit out and come to room temperature (then maybe give it another brief mixing to make it creamy and spreadable again) before frosting the cake. So plan ahead. Recipe can be doubled to frost a layer cake or two dozen cupcakes.


To make this cake without sourdough starter, simply omit the starter, increase the flour to 2 cups and add 1/2 cup buttermilk or plain yogurt (water or milk could be substituted for the buttermilk or yogurt if that's all you have on hand). I used Diamond Crystal kosher salt when testing this recipe, if using table salt, please decrease the salt amount to 1/2 teaspoon. Plain yogurt (Greek-style or regular) may be substituted for sour cream. Any light-flavored oil can be used in place of canola oil. This recipe has not been tested by me with melted unsalted butter or coconut oil. If you want to try using melted butter in place of the oil, make sure that it is unsalted.

*This can be made with starter straight from the fridge as long as it has been regularly fed and isn't too funky. If your starter has been neglected for a while, I would feed it once before using it in this recipe. I keep my starter at 100% hydration, if your starter is very stiff, add a bit of water to make it a batter-like consistency before measuring for this recipe.

This recipe was created after reading through several recipes, including the Sourdough Chocolate Cake from King Arthur Flour, and Chocolate Sour Cream Bundt Cake from Two Peas and Their Pod. I made notes, adjusted ingredients according to what I had on hand and what sounded good to me, and came up with this, which will now be my go-to chocolate cake for every occasion that requires a chocolate cake. My husband, who has been saying over and over “I don’t even like chocolate cake!” as he shoves another piece into his mouth, told me that this is a perfect cake.


Sourdough Chocolate Cake with Chocolate Cream Cheese Frosting |

Don’t miss out on any recipes! Sign up to receive Pinch My Salt updates by email.

Related Recipes:

Around the Web:

  1. Maria

    This is my kind of cake! I want to eat it straight from the pan with a fork!

    12:31 pm  Feb 23rd, 2015
  2. Phillip

    Seriously, this is the best chocolate cake ever, and I don’t even like chocolate cake!

    I guess I can’t really say that anymore. 🙂

    12:33 pm  Feb 23rd, 2015
  3. kellypea

    I haven’t tried a starter since I failed so miserably when we were doing the BBA Challenge, so I should figure it out. The cake would go over quite well around here — and yes, specifically because of the sourdough.

    1:11 pm  Feb 23rd, 2015
  4. Brenda @ a farmgirl's dabbles

    I’ve never heard of using sourdough starter in a chocolate cake, you def have my interest piqued. The cake looks great! And thanks for the link love!

    1:11 pm  Feb 23rd, 2015
  5. Karen

    I absolutely hate coffee! So do you have any substitution ideas for it in the cake recipe?
    But I think I will have to try the frosting on other things that is not homemade.

    8:56 am  Feb 24th, 2015
  6. Nicole

    Karen- You can substitute pretty much any liquid for the coffee… water, milk or buttermilk would be fine. Enjoy!

    11:28 am  Feb 24th, 2015
  7. Jenny @ Ginger biscuits cookies

    Thanks for sharing the recipe, it looks delicious..

    4:29 am  Feb 25th, 2015
  8. Patty

    Coffee added to chocolate really brings out the flavor of the chocolate and you don’t even taste the coffee when you eat it. I just saw this tip on a British Baking Challenge show. So, I tried it and it’s true it really makes anything chocolate pop and no you can’t taste the coffee.

    6:27 am  Feb 26th, 2015
  9. Debbie

    What is sourdough starter and where would I find it

    10:47 am  Feb 26th, 2015
  10. Fabiana

    It sound really easy to prepare. I think that even I can do it.

    3:11 pm  Feb 27th, 2015
  11. Micky

    I made this cake yesterday and had high hopes of making the best cake ever. I was disappointed. I didn’t use sourdough starter but followed the alternate recipe exactly. The texture was more like a brownie, too dense. Also, the chocolate flavor wasn’t as intense as I expected. The recipe doesn’t include baking powder. Was it supposed to?

    6:41 am  Mar 1st, 2015
  12. Snowcop

    I live at almost 9000ft, so to say we have issues with baking is an understatement. Altitude has such an affect on baking because of the fat and leavening contents I have had to adjust all baking recipes. So to this recipe with the starter I added about 3/4 of flour extra and an extra egg and then had to bake an extra 10-15 minutes. That being said, my husband loves it!!! Rich intense flavor and very moist which isn’t easy at this altitude! Thanks!

    8:25 pm  Mar 1st, 2015
  13. Veronica

    I’ve made this cake twice in a week. The first time it had a rather solid, fudgy consistency a bit like brownies — good, but not quite what I was expecting. The second time, maybe because the starter was more lively, it was beautiful — light and airy, but still moist. I’m not generally a huge fan of chocolate cake either, but this is a keeper. It’s great even without the frosting … or, I’d be tempted to try a cream cheese frosting with lemon, lime, or orange in it. Note, mine took much longer to cook than yours — close to an hour.

    Is it OK if I put my metric conversion of this recipe on my blog, with a link to yours?

    2:10 am  Mar 14th, 2015
  14. joseph muita

    Thanks for sharing the recipe, it looks very delicious..

    12:16 am  Jun 9th, 2015
  15. Nathan

    This looks amazing.
    ive tried sourdough but never like this.
    I wonder how it would taste as a wheat free version?

    10:48 am  Jun 19th, 2015
  16. Tamm

    Do you use instant coffee?

    5:57 pm  Jul 19th, 2015
  17. Blake Shelton

    OMG! I have freshly fed starter on my counter….perfect 🙂

    9:53 pm  Sep 24th, 2015
  18. SkilledCooking

    Wowwwwwwwww the pictures of the cake look so great! I’ll definitely give this recipe a try!

    7:06 pm  Nov 14th, 2015
  19. Adrianne

    Would butter work as a substitute for the canola oil? I don’t have any oil, just butter. Thank you!

    7:19 am  Dec 6th, 2015
  20. Nicole

    Adrianne- I think melted butter would work in place of the oil but if the butter is salted, eliminate the salt from the ingredients. I haven’t tried this so I can’t guarantee the results will be the same.

    9:12 am  Dec 6th, 2015
  21. Bonnie

    This cake was AWESOME! The only thing I did different was I left out the nuts. I’m making it again tomorrow. Thank you for a great recipe:)

    7:08 pm  Apr 30th, 2016
  22. Samuel Kazungu

    Very great and sumptuous chocolate cakes!

    1:38 am  Jun 20th, 2016
Leave a Comment