Beyond Frosting » Recipes » Desserts » Cakes » Moist Chocolate Cake

Moist Chocolate Cake

You’ll love this super Moist Chocolate Cake topped with a silky chocolate cream cheese frosting. This homemade chocolate cake is fudgy, decadent, and so easy to make! It’s also crazy versatile, so you’ll never run out of excuses to make it.

Looking for a vanilla version? Try my equally irresistible Moist Vanilla Cake recipe.

A slice of frosted chocolate cake topped with rainbow sprinkles on a white plate, with the remaining cake in a baking dish in the background.

The Ultimate Easy and Moist Chocolate Cake

My standards are very high when it comes to chocolate cake. When the requests came pouring in for a chocolate version of my best-ever Vanilla Cake recipe, I knew it needed to be perfect

It’s been a year in the making, but I’ve done it (originally I shared this cake back in 2018). I finally nailed the ultimate chocolate cake! I’ve made it countless times since, and have learned more and more ways to make improvements over the years. This recipe for insanely rich and fudgy cake has since become my go-to cake for any and all occasions.

This cake is light and fluffy, but very moist, which is exactly what I’d hoped for. It’s a homemade cake with everything I loved about those chocolate cake mixes we made when I was a kid, only a MILLION times better!

What’s the Secret to a Moist Chocolate Cake?

One of the main questions I get from my readers is, “Why are my cakes so dry?” Clearly, it’s because they haven’t tried this recipe (jokes!).

In all seriousness, there are a couple of things that contribute to the outrageous moisture in this cake. The first is vegetable oil. Oil-based cake recipes tend to be moister, with a tender and spongy crumb. This is because oil stays liquid at room temperature, whereas butter tends to harden once it cools.

The second secret is sour cream (or yogurt). Sour cream brings unbelievable moisture to a chocolate cake, without watering it down. Even days later, you’ll still find this cake incredibly moist and fluffy. See the next section for the other ingredients that make this the best chocolate cake.

Key Ingredients

The best part is, the batter comes together in just a few minutes. Below is a quick overview of the key ingredients you’ll need to make this cake. Be sure to refer to the full details in the recipe card.

  • Oil – Using a neutral-flavored oil, like vegetable oil, in place of butter in cakes makes the texture extra tender.
  • Cocoa Powder – My favorite is Hershey’s special dark cocoa. It’s a little less bitter (milder) and gives it a distinct dark color. Otherwise, any unsweetened natural cocoa powder works best.
  • Sour Cream – Sour cream gives this cake the BEST texture and moisture. Sub with plain or Greek yogurt if you need to, but don’t skip it!
  • Espresso Powder – Adding espresso powder is optional, but it enhances the chocolate flavor. Fine ground coffee works too.
  • Brewed Coffee – Hot brewed coffee enhances the flavor and blooms the cocoa, for an exceptionally delicious chocolate cake. And no, your cake won’t taste like coffee! Milk is the best alternative if you’d prefer a caffeine-free cake.

For the Chocolate Cream Cheese Frosting

  • Butter – My frosting recipes always begin with cold butter. This might seem counterintuitive, but I promise you, the extra whipping leads to the fluffiest, airy frosting. Trust the process.
  • Cream Cheese – Also cold from the fridge. You’ll whip cocoa powder into a base of butter and cream cheese, for a silky, fudgy chocolate frosting.
  • Heavy Cream – I recommend using full-fat heavy whipping cream for a creamy frosting. Otherwise, whole milk will also work.

How to Make the Best Chocolate Cake

You don’t have to wait for any ingredients to come to room temperature with this recipe. Just whip everything together, and bake! Here’s how to make a perfect chocolate cake from scratch:

  1. Combine the wet ingredients. First, beat the sugar with the eggs, oil, and vanilla until lightened and fluffy, then add the sour cream.
  2. Combine the dry ingredients. In a separate bowl, mix the dry ingredients. I recommend sifting the flour and cocoa powder as it makes them easier to combine with the batter. If you don’t have a sifter, you can also use a fine mesh sieve.
  3. Add the dry ingredients to the wet ingredients. Add half the dry ingredients and half the brewed coffee to the bowl with the wet ingredients, and mix. Repeat again. Once all the ingredients are well combined, stir with a spatula. Pour the batter into a 9×13-inch pan.
  4. Bake. Bake the cake at 350ºF for 26-28 minutes. Afterward, let the cake cool completely before frosting.

Making the Chocolate Frosting

Choosing a frosting for this cake was no easy task. In the end, my Chocolate Cream Cheese Frosting won out. It’s honestly to die for, ultra-creamy and whipped to perfection, and not overly sweet. It really adds the perfect tangy chocolate kick to each bite. Plus, it’s very easy to make:

  1. Start with cold butter. Cut the butter into cubes, and beat until it’s smooth and creamy, and lighter in color. This may take several minutes, but it’s worth it.
  2. Add the cream cheese. Beat in the cream cheese (also cold!) until it’s well combined and free from any lumps.
  3. Add the cocoa powder and vanilla extract. Beat the cocoa powder into the cream cheese for a good minute or two, so that it’s thoroughly mixed.
  4. Add powdered sugar and whipping cream. Next, you’ll add 2 cups of powdered sugar at a time, followed by heavy whipping cream, beating each time until the frosting is completely smooth. The more you whip it together, the more airy your frosting will be. Repeat this until all ingredients have been added and whip until the chocolate frosting is light and fluffy.
  5. Frost the cake. When your chocolate cake is cooled completely, spread the chocolate cream cheese frosting over top in a generous, even layer. Then, dig in! See below for more ways to decorate a chocolate cake.
Frosted chocolate cake topped with sprinkles in a 9x13 baking dish with slices missing.

Tips for Success

You already know the secret to a super moist chocolate cake (see above), but here are a few more helpful tips for making the best cakes:

  • Ingredient temperatures. After making this cake dozens and dozens of times over the years, I’ve found that ingredient temperatures do matter when it comes to mixing the batter. Hot coffee helps bloom the cocoa powder, and room temperature ingredients do incorporate better.
  • Sifted ingredients. It’s an added step but sifting the flour and cocoa powder do help to prevent a lumpy batter and incorporate better overall. Additionally sifting the powdered sugar and cocoa powder for the frosting with also produce a smoother consistency.
  • Don’t overmix the batter. Overmixed batter yields a dense, tough cake. You want the ingredients thoroughly combined. Once the dry ingredients have been added, mix at a low speed and use a spatula to scrape the sides and mix from bottom to top.
  • How to tell when your cake is done baking: The easiest way to test a cake for doneness is to insert a toothpick into the middle of the cake. If the toothpick comes out clean, the cake is ready to come out. This means adjusting the baking time to your oven and pan type. Baking times are always suggestions but can vary greatly.

Can I Make Chocolate Cupcakes Instead?

Yes, this recipe yields enough batter for 24 standard-sized cupcakes. Simply divide the batter evenly between the wells of a lined cupcake pan, and bake at 350ºF for 14-16 minutes. You will need to scale up the frosting, though. See my post for Easy Chocolate Cupcakes for more details.

You can also make this cake in a different-sized pan. Here’s how to scale this recipe for other sizes:

  • To make a Chocolate Layer Cake, you can use this same recipe divided between three 8-inch round pans. Bake at 350ºF for 20-24 minutes.
  • For a two-layer Mini Chocolate Cake, divide between two 6-inch round pans and bake for 20-24 minutes.
A slice of frosted chocolate cake topped with rainbow sprinkles on a white plate, with a forkful missing.

More Variations and Ways to Decorate

This simple chocolate cake is so versatile, it’s no wonder that it’s become one of my most-made dessert recipes. It lays the foundation for easy variations like this decadent Better Than Sex Cake and my Buttermilk Chocolate Cake. I’ll also use it when making my classic Chocolate Poke Cake, or this Chocolate Oreo Poke Cake.

This cake can be made gluten-free using your choice of measure-for-measure gluten-free flour replacement (see my recipe for Gluten-Free Chocolate Cupcakes, too!).

If you don’t love cream cheese, you can always frost your cake using a traditional Chocolate Buttercream Frosting or this Chocolate Fudge Frosting instead. I can’t think of many frosting recipes that don’t pair with a perfect chocolate cake! Here are more frosting and decorating ideas to try:

  • Frosting – For something different, frost this cake with Peanut Butter Frosting or Oreo Frosting.  
  • Piping – You can be as fancy or as simple as you’d like when it comes to decorating your cake. Check out my tutorials for How to Decorate with Piping Tips and How to Use a Piping Bag for helpful pointers. 
  • Sprinkles – Customize this cake for any holiday, birthday, or occasion using your favorite colorful sprinkles and nonpareils. I used this cake recipe to make my Cookie Monster Smash Cake for my son’s first birthday.
  • More Chocolate – Top the frosted cake with shaved chocolate, chopped chocolate, or crumbled candy bars.
A slice of frosted chocolate cake topped with rainbow sprinkles on a white plate.

How to Store a Frosted Cake

Once frosted, this cake can be stored in an airtight container on the countertop for up to 3 days. If you live in a hot and humid environment, then you’ll need to refrigerate it. However, this can sometimes dry out the cake. Be sure to use an airtight container and serve at room temperature for the best results.

Can I Freeze Chocolate Cake?

Yes, though you’ll want to freeze the baked cake before it’s frosted. Once the cake has cooled completely, wrap it tightly in plastic wrap with an extra layer of foil. Store the cake frozen for up to 3 months, and defrost it in the fridge before letting it come to room temperature for frosting. 

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
A slice of frosted chocolate cake topped with rainbow sprinkles on a white plate.

Moist Chocolate Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.7 from 21 reviews
  • Author: Julianne Dell
  • Prep Time: 20 minutes
  • Cook Time: 26 minutes
  • Total Time: 46 minutes
  • Yield: 12-15 slices
  • Category: Cake
  • Method: Oven
  • Cuisine: American

Description

This easy homemade Chocolate Cake is ultra-moist and fluffy, topped with a silky chocolate cream cheese frosting. Decorate it any way that you’d like, it’s the ultimate chocolate cake recipe for any occasion!


Ingredients

For the cake:

  • 1 ½ cups (285g) granulated sugar
  • ½ cup (118 ml) vegetable oil
  • 3 large eggs, at room temperature
  • 1 tablespoon (15 ml) pure vanilla extract
  • ½ cup (118 ml) sour cream, at room temperature
  • 2 cups (280g) all-purpose flour, sifted
  • ½ cup (40 g) cocoa powder, sifted
  • 1 tablespoon (5g) espresso powder  (optional)
  • 2 ½ teaspoons (9 g) baking powder
  • ½ teaspoon (2 g) baking soda
  • 1 teaspoon (5 g) salt
  • 1 ¼ cup (296 ml) hot brewed coffee

For the frosting:

  • ½ cup (113g) unsalted butter, cold
  • 6 ounces (170g) full-fat cream cheese, cold
  • ½ cup (40 g) cocoa powder, sifted
  • 34 (390-520 g) powdered sugar, sifted (see notes)
  • 2 tablespoons (30ml) milk or heavy whipping cream
  • 1 tablespoon (15ml) pure vanilla extract

Instructions

For the cake:

  1. Preheat the oven to 350°F. Spray the pan with coking spray.
  2. In a large mixing bowl, combine the sugar, vegetable oil, eggs, and vanilla extract. Beat on medium speed until the eggs and oil are well incorporated and the batter is lighter in color. Next mix in the sour cream and beat until well combined.
  3. In a separate bowl, sift together the dry ingredients. Add half the dry ingredients to the wet ingredients, followed by half of the coffee, and mix until the flour is just incorporated at a low speed. Then add the remaining dry ingredients and coffee. Beat until all of the ingredients are well combined. Use a spatula to scrape down the sides of the bowl and stir the batter from the bottom to the top to ensure it’s well mixed.
  4. Pour the batter into a 9×13-inch pan and bake at 350°F for 26-28 minutes. Test the cake for doneness by inserting a toothpick into the center of the cake. If the toothpick comes out clean, your cake is done. Remove from the oven and allow to cool completely.

For the frosting:

  1. Cut the butter into 1-inch blocks. Beat the butter for 3-4  minutes until it’s softened.
  2. Then add the cream cheese and cream together for 2-3 minutes until they are fluffy and free of lumps, scrape down the bowl occasionally.
  3. Add the cocoa powder and vanilla extract and beat until well combined,
  4. Next, add the confectionary sugar 2 cups at a time, followed by one tablespoon of heavy whipping cream, and beat for 60-90 seconds until completely smooth. Add the remaining powdered sugar and cream and beat until desired consistency, at least 2 minutes.
  5. Spread frosting over the cooled cake and then cover it with sprinkles.

Notes

  • Frosting consistency: the amount of powdered sugar you’ll want to use in the frosting will vary between 3-4 cups. Start with 3 cups and if you’d like a sweeter or thicker consistency, add an additional cup.

Ingredients & Substitutions 

  • Cocoa powder: I prefer to use Hershey’s Special Dark Cocoa Powder for a nice rich flavor and color. Otherwise, a natural, unsweetened cocoa powder is the next best option. 
  • Coffee substitute: I recommend using milk. You should still heat the milk in the microwave for approximately 60 seconds. 
  • Sour Cream. Use plain or Greek yogurt.

Storing and Freezing:

  • Once frosted, this cake can be stored in an airtight container on the countertop for up to 3 days. Refrigerating the cake is suggested if you live in a hot or humid climate. In which case, use an airtight container and serve at room temperature for best results. 
  • To freeze an unfrosted cake, wrap it tightly in plastic wrap with an extra layer of foil. Store the cake frozen for up to 3 months, and defrost it in the fridge before letting it come to room temperature for frosting. 

Nutrition

  • Serving Size: 1 slice
  • Calories: 606
  • Sugar: 70.1g
  • Sodium: 394.7mg
  • Fat: 25.9g
  • Saturated Fat: 17.3g
  • Carbohydrates: 92.1g
  • Fiber: 3.2g
  • Protein: 6.5g
  • Cholesterol: 87.4mg

Filed Under:

More Easy Chocolate Desserts

Review and rate this post!

I love hearing from you! Submit your question or review here. Your email address will not be published. Required fields are marked*.

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

109 thoughts on “Moist Chocolate Cake”

  1. Hi! I just found this recipe and i cant wait to try make it. My problem is your recipe used a 9×13-inch pan but mine is an 8-inch square pan. What should i do? Blurrrr?






  2. Hi there. I followed this recipe to the letter last week and it was absolutely fantastic. Love the moist amd fluffy texture and my family loved it too. This is now my ‘go-to’ recipe for my chocolate tray bake and I am about to make it again this afternoon due to popular demand. Thank you for sharing!






    1. Julianne - Beyond Frosting
      Beyond Frosting

      YAAAAS Roz! That is amazing! I am so glad to hear it that. It has become my go-to recipe as well because it’s so easy!

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Donna, I don’t grease my pans because they are already coated nonstick, but it would depend on the pan you’re using. I am also not removing the cake from the pan, so I don’t grease, but if you are planning to grease the pan, then yes, definitely. In regards to refrigerating this cake, that would depend on the climate you live in. I live in a cooler climate, and I store at room temperature in an air tight container. It’s up to you.

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Water is usually my recommendation. Milk can also be used but it makes the cake a bit heavier and not as fluffy.

  3. Can I freeze the sponge?
    I am makimg this cake for a second time minus the coffee and now all my 2 year old wants is cake! I’m making again for her birthday and wanted to check it it could be frozen or kept for 3 days without freezing?

  4. I will be honest, I was a little hesitant to try this recipe after reading a few of the less than gracious recent comments, but I am so glad I trusted my gut- and just went for it! Oh my gosh, this cake is the bomb! We made it, yesterday, for Mother’s Day and it was just amazing! It was everything you said it was going to be- super moist, fluffy and not overly sweet! It’s been in the fridge overnight and it is still incredible- maybe better, but then I like cake when it’s cold!! I will definitely be making it again and using it as a base cake for many other different recipes in the future. Okay, now that I’m thinking about it, I’m going to have another piece 🙂 Thank you!!






    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Marlene! I am SO glad that you gave this a chance. Honestly, when it comes to chocolate and vanilla cake, everyone has such differing opinions, but I LOVE this recipe and it’s my perfect chocolate cake. Thank you for sharing!

  5. I made this cake along with a vanilla and mixed them for a marble effect. The swirl was not as visually pleasing as I had hoped, but that was due to the incompatibility of the two recipes I chose to use. The chocolate went to the bottom and the vanilla was mostly at the top. However the taste and flavor was delicious! Thank you so much for sharing!

    1. Julianne - Beyond Frosting
      Beyond Frosting

      You’re welcome LD. Yes, the vanilla cake batter is quite a bit thinner than the chocolate, so they can’t be marbled together unfortunately, but I am glad it tasted good!

      1. What temperature is should the butter be for the frosting? Looking forward to trying his cake for my daughter’s birthday. Your vanilla cake was a huge hit last year.

  6. I tried this and the cake is just ok. Not quite as special as I expected it to be basing from the write up. For the frosting, I already lessened butter and sugar yet it still tastes way tooooo sweet. I tried remedying it with Greek yogurt but was still too sweet. My husband just made it into a chocolate drink instead since only lots of water could lessen the sweetness.

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi there, I am sorry you didn’t like it. Although I think it’s a personal taste that differs between each person. I am not sure I quite understand what adjustment you made to the frosting. Water will not do much for lessening sweetness, instead I’d recommend milk or heavy cream and a pinch of salt.

  7. Avatar photo
    Tangocharlie77

    I followed the recipe exactly. I found the cake to be bland and boring. It wasn’t as moist or fluffy as I thought. Disappointing as I made this for Valentine’s day.






    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi there, I am sorry you didn’t like it. Although I think it’s a personal taste that differs between each person. I’ve made this recipe dozens and dozens of times and it gets great reviews. The cake is more mild chocolate tasting so that it isn’t overly sweet once the frosting has been added.

  8. Hi Julianne

    I have just pulled my attempt out of the oven! We are looking forward to frosting it and then trying it 🙂

    I cooked it in a fan forced convection oven at 180C which means it would usually cook quicker than the suggested time. BUT mine needed 1 hour and 15 minutes. I am sure I followed your recipe accurately but maybe I put too much of one of the liquids in without realising. When the buzzer went off at 30mins it was still completely liquid.

    I am testing it out for a birthday party cake in a few weeks so will play around with the recipe if needed – wont bother though if it still tastes great, we will know in a few hours 🙂

    Annabel

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Thanks Annabel. I am not familiar with a fan forced convection over, so this probably has something to do with the adjustments you needed to make during the baking process. I hope you enjoy!

  9. Hi can I use a 8inch cake pan? Also another question, I can only bake one cake at a time in my oven so if this batter makes two cakes and I keep one waiting on the counter top while the other one bakes, and then bake it, do you think it would affect the taste?

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi there! Yes, I have a chocolate layer cake recipe that talks about baking this same recipe in 8-inch pans. I do not think it will effect it to bake one at a time. But I recommend leaving the batter in your mixing bowl, because you’ll want to remix the leftover batter again before baking your second or third layer. As the batter is sitting and waiting when you are baking your first one, it’s going to settle a bit.

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Leane- I don’t turn turn on my fan but I am not really sure if there’s an internal one and I am not sure how to turn on my oven fan, so maybe I need to look into that!

  10. Julianne - Beyond Frosting
    Beyond Frosting

    Hi Cleason, please let me what is not clear so I can help and make improvements for others, as I have made this recipes dozens and dozens of time without issue, and other have made it as well. Did you over bake the cake?

  11. Hi Julianne,

    This was my first not-boxed cake, I will never go back.
    This cake is Awesome!!

    I had to add another 1/4 cup heavy cream to get the icing thin enough to pipe, I made cupcakes, but it worked out!

    Thanks for sharing this recipe, you made it so easy.

    dave






  12. At first I wasn’t satisfied with the results, It smelled eggy, and looked dry, also I tasted some crumbles and I didn’t like it. Once was cool down; and the cake was a little cold, finally I gave it a proper taste and OMG it was moist, It was fluffly, the thing I think was dryness in reality was a brownie-like top. And the taste of the chocolate mmm so delicious, also the eggy smell disappeared. By far, this is the beeeeest chocolate cake I’ve made (Also, I’m a pastry chef, so that’s a lot to say) Just, amazing, Thanks for this recipe!

    Also, I made it again, but I substitute the oil for margarine, and the sour cream for Mayonnaise, And It still worked like a charm. Love it!






    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Ramse! Thanks for much for the explanation and giving it a fair shot! I am so glad you liked it

  13. I just made this completely substituted everything lol and it was so good I used egg replacers and dry coffee grinds and omg delish I needed the base idea and I’m super pleased baking is a science and science is for experiments????‍♀️






    1. Julianne - Beyond Frosting
      Beyond Frosting

      I use a nonstick pan, so I do not grease the pan. If you are using glass or a pan without a nonstick coating then you should probably grease the pan

  14. Cant wait to try this. My sister is allergic to eggs. Have you tried this or other recipes with flax eggs?