The Best Chocolate Layer Cake | Ultra Moist and Rich

5 from 7 votes

Next time there’s a reason to celebrate, try making this Decadent Chocolate Layer Cake recipe. With two fluffy layers of delectably moist chocolate cake and a thick coating of fudgy chocolate cream cheese frosting, each bite is brimming with deep, dark, chocolatey goodness. It’s the perfect cake for chocoholics!

A slice of rich chocolate layer cake with chocolate frosting, served on a white plate with a gold fork, sits on a wooden table. Another piece of cake is visible in the background.

I originally published this recipe in 2020 and have since added new photos and a few more success tips.

My fast and foolproof chocolate layer cake recipe is a YouTube sensation, with over 3 million views and 39,000+ likes to date. It’s not hard to see why, this showstopper is made with basic ingredients and only 25 minutes of active prep. But, despite the simple method and relatively short ingredient list, it yields a fabulously fudgy, decadently dark slice of heaven every time.

Ingredients & Substitutions

Labeled ingredients for baking, including flour, cocoa powder, baking soda, baking powder, sugar, eggs, salt, buttermilk, oil, coffee, vanilla, butter, cream cheese, and powdered sugar on a light surface.
  • All-Purpose Flour – Also known as “plain flour” in the UK.
  • Unsweetened Cocoa Powder – If possible, use Dutch-processed cocoa powder for the smoothest, richest chocolate flavor.
  • Baking Soda & Baking Powder – You’ll need both leaveners to achieve perfectly fluffy cake layers.
  • Granulated Sugar – Plain white sugar has a neutral flavor profile that allows the cocoa to shine.
  • Large Eggs – If you’re using liquid eggs, aim for a scant ¼ cup per large egg.
  • Buttermilk – The acidity of buttermilk adds a slight tang and helps achieve an impossibly tender crumb. If you don’t have any on hand, you can make a close substitute by mixing a tablespoon of acid (e.g. lemon juice or vinegar) with enough milk to top off a cup measure.
  • Vegetable Oil – Any neutral-flavored oil (e.g. avocado, corn, canola, grapeseed) will do the trick.
  • Coffee – Don’t fret if you’re not a fan of coffee. This just deepens and emphasizes the chocolate flavor rather than making your cake taste like a mocha. Feel free to use decaf or caffeine-free chicory “coffee” if needed.
  • Vanilla Extract – You can use an equal amount of vanilla paste.
  • Butter – If possible, reach for European-style butter, which has more fat than conventional. It’ll yield an exceptionally creamy frosting!
  • Cream Cheese – Make sure you’re reaching for full-fat, block-style cream cheese. If you want something slightly lighter, Neufchatel cheese is a much better bet than low-fat cream cheese. 
  • Powdered Sugar – This starchy sweetener ensures a velvety smooth, perfectly pipable chocolate cream cheese frosting. If you don’t have any on hand, you can make your own by blitzing a cup of granulated sugar with a tablespoon of cornstarch in a food processor.

This is just a short review of the ingredients; for the complete recipe, including quantities, scroll down to the recipe card 👇

Understanding the Different Types of Cocoa Powder

There are three main types of cocoa powder used in baking, and each affects flavor, color, and texture slightly differently.

  • Natural Cocoa Powder – Light brown in color with a bright, slightly acidic chocolate flavor. It reacts with baking soda to help cakes rise and produces a softer, lighter crumb.
  • Dutch-Process Cocoa Powder – Treated to neutralize acidity, resulting in a darker color and smoother, richer chocolate flavor. It creates a deeper-looking, more refined cake.
  • Black Cocoa Powder – An ultra-Dutched cocoa powder with a very dark color and mild flavor. It’s best used in small amounts or blended with other cocoa powders, as using it alone can make cakes dry.

This chocolate cake recipe works well with either natural or Dutch-process cocoa powder, thanks to the buttermilk and baking powder in the batter.

Why Buttermilk Makes This Chocolate Cake Extra Moist

Buttermilk is one of the key ingredients in this chocolate cake, and I don’t recommend skipping it. Its natural acidity reacts with the baking soda to help the cake rise properly while also tenderizing the crumb, resulting in a noticeably softer, moister cake with a well-balanced chocolate flavor.

If you don’t have buttermilk on hand, you can make a quick homemade version by mixing 1 cup of milk with 1 tablespoon of lemon juice or white vinegar and letting it sit for 5 minutes. That said, real buttermilk delivers the most consistent, bakery-style results.

This is the same principle I use in many of my other successful, ultra-moist cake recipes, including my Red Velvet Cake, Vanilla Cake, and several celebration cakes on the blog, it’s a simple technique that makes a big difference.

A glass bowl with two raw eggs is shown as buttermilk or cream is being poured in, ready for mixing. The bowl is on a wooden surface.
Don’t skip buttermilk.

How to Make Chocolate Cake From Scratch

Watch the full video recipe to learn how to make the BEST Chocolate Cake Recipe.

Prefer the written recipe? Scroll down to the recipe box 👇


Optional Variations & Dietary Adaptations

  • Dairy-Free – Use a dairy-free milk (preferably soy) soured with 1 tablespoon lemon juice instead of buttermilk and replace the frosting ingredients with vegan butter + dairy-free cream cheese. 
  • Mocha Cake – Add a teaspoon of instant espresso to the frosting for a coffee-infused flavor. Use chocolate covered espresso beans for decoration to double down!
  • Chocolate Orange Cake – Add 1 tablespoon orange zest to the batter and ½ teaspoon of orange extract to the frosting. It’ll taste like the chocolate oranges they sell around Christmas!
  • Salted Caramel Chocolate Cake – Spread a thin layer of salted caramel sauce between the cake layers before frosting. Drizzle more caramel on top and finish with flaky sea salt for a sweet-salty, show-stopping version.
  • Chocolate Raspberry Layer Cake – Add a layer of raspberry jam between the cakes before frosting and add fresh raspberries as decoration. The tartness cuts through the rich chocolate in the best way.
  • Mint Chocolate Cake – Replace the vanilla with ½ teaspoon peppermint extract in both the cake and frosting. Add crushed mint chocolates or Andes mints between the layers for a fun texture.
  • Chocolate Peanut Butter Cake – Swap out the chocolate cream cheese frosting for a fluffy peanut butter buttercream and chewy chocolate ganache. Salty-sweet perfection!
Chocolate cake batter being poured into a round metal baking pan on a wooden surface.
Expect a thin batter.

Expert Tips & Tricks 

  • Bloom the cocoa for deeper flavor. The hot coffee in this recipe isn’t just for moisture; it helps “bloom” the cocoa powder, unlocking richer, more intense chocolate flavor. Even if you don’t like coffee, don’t skip it; your cake won’t taste like coffee at all.
  • Use room-temperature ingredients. Room-temperature eggs, buttermilk, butter, and cream cheese blend more smoothly. 
  • Expect a thin batter—that’s a good sign. Oil-based chocolate cakes are meant to have a runny batter. It’s what makes them ultra-moist. Avoid the temptation to add more flour!
  • Whisk, don’t overmix. Once you add the dry ingredients, mix just until combined. Overmixing develops gluten, which can make the cake tough instead of tender.
  • Use high-quality cocoa powder. Since chocolate is the star, choose a cocoa powder you really love. Dutch-process will give a deeper, smoother flavor, while natural cocoa offers a brighter chocolate taste.
  • Check for doneness early. Chocolate cakes dry out quickly if overbaked. Start checking a few minutes before the suggested bake time. A toothpick should come out with a few moist crumbs.
  • Cool completely before frosting. Cream cheese frosting melts easily. Make sure the cake layers are fully cool (or even slightly chilled) before assembling to get clean, smooth layers.
  • For cleaner slices, chill before cutting. Refrigerating the cake for 20-30 minutes firms the frosting and gives you perfect slices.
A close-up of a spatula spreading chocolate frosting onto a round, dark chocolate cake layer on parchment paper.
Frost the first layer with chocolate cream cheese frosting.
A hand uses a spatula to smooth chocolate frosting on a round cake, creating concentric circular patterns on the top.
Frost the top and sides.

How to Serve Moist Chocolate Cake

For the best texture, slice the cake cold but serve it at room temperature, allowing the crumb to soften and the cream cheese frosting to become creamy and smooth.

This chocolate cake is delicious on its own, but you can dress it up with fresh berries, a sprinkle of flaky sea salt, or a drizzle of chocolate or caramel sauce. For an extra-indulgent treat, serve it with a scoop of vanilla or salted caramel ice cream.

If you’re serving it as a dessert with a drink, it pairs beautifully with my dalgona coffee, a refreshing strawberry iced tea or simply a glass of cold milk.

How to Store Chocolate Cake

  • Refrigerator: Store the assembled cake in an airtight container in the refrigerator for 4-5 days, since the cream cheese frosting needs to stay chilled. For the best texture, let slices sit at room temperature for about 15-20 minutes before serving. This helps the frosting soften and the cake regain its rich, tender crumb.
  • Freezer: Frosted chocolate layer cake can also be frozen. Chill the cake until the frosting firms up, then wrap slices (or the whole cake) tightly in plastic wrap and foil. Freeze for up to 1 month. Thaw in the refrigerator, then let it come to room temperature before serving for the best texture and flavor.
  • Make-Ahead Tip: If you’re prepping ahead, you can bake the cake layers in advance. Wrap each cooled layer tightly in plastic wrap and store them at room temperature for up to 1 day or refrigerate for up to 4 days. They also freeze beautifully: wrap each layer in plastic wrap, then a layer of foil, and freeze for up to 3 months. Thaw overnight in the fridge before frosting.
A round chocolate cake with smooth, glossy chocolate frosting and a spiral pattern on top, displayed on a white cake stand over a wooden surface.

FAQs

Can I substitute buttermilk in this chocolate cake?

Yes. You can make a quick substitute by mixing 1 cup of milk with 1 tablespoon of lemon juice or white vinegar and letting it sit for 5 minutes. That said, real buttermilk gives the best texture and flavor.

Can I bake this chocolate cake in a different-sized pan?

Yes! You can use 9-inch pans, but the cake layers will be thinner, and the baking time will need to be reduced. For a single-layer cake, use a 9×13-inch pan and bake for around 35-40 minutes.

Does the cake taste like coffee?

No. The coffee doesn’t make the cake taste like coffee at all. It simply enhances and deepens the chocolate flavor. Even kids won’t notice it. If needed, you can use hot water instead.

A slice of rich chocolate layer cake with smooth chocolate frosting, served on a white plate with a gold fork. Another slice of cake is visible in the background.

The Best Chocolate Layer Cake | Rich and Moist

The best moist chocolate layer cake with creamy chocolate cream cheese frosting. Simple ingredients, bakery-style results.
5 from 7 votes
Prep Time 20 minutes
Cook Time 35 minutes
cooling time 2 hours
Total Time 2 hours 55 minutes
DIFFICULTY Medium
Course Dessert
Cuisine World
Servings 14 yields
Calories 436 kcal

Ingredients
 

For the cake:

  • cups (220 g) All-purpose flour
  • ¾ cup (75 g) Cocoa powder unsweetened
  • teaspoons Baking soda
  • 1 teaspoon Baking powder
  • cups (350 g) Sugar
  • ¼ teaspoon Salt
  • 2 Eggs
  • 1 cup (240 ml) Buttermilk read notes
  • ½ cup (120 ml) Vegetable oil
  • 1 cup (240 ml) Coffee hot, read notes
  • 1 teaspoon Vanilla extract

For the frosting:

  • ¾ cup (175 g) Butter softened
  • cups (335 g) Cream cheese room temperature
  • cup (67 g) Cocoa powder
  • 1½ cups + 2 tablespoons (200 g) Powdered sugar
  • 1 teaspoon Vanilla extract

Instructions
 

Make the Cake:

  • Prep the pans: Preheat oven to 350°F (180°C). Grease two 8-inch (20cm) round cake pans, line the bottoms with parchment paper, grease the sides, and dust lightly with cocoa powder. Set aside.
  • Mix dry ingredients: In a large bowl, whisk together flour, cocoa powder, sugar, baking soda, baking powder, and salt.
  • Mix wet ingredients: In a separate bowl, whisk together the eggs, buttermilk, oil, and vanilla extract until smooth. Don't add the coffee at this stage.
  • Combine: Add the wet ingredients to the dry ingredients and whisk just until combined. The batter will be thick at this stage.
  • Add coffee: Slowly pour in the hot coffee while whisking continuously. The batter will loosen and become smooth and glossy. Do not overmix. If not using coffee, use hot water.
  • Bake: Divide the batter evenly between the prepared pans. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean.
  • Cool: Let cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.

Make the Frosting:

  • Beat the butter until light and creamy. Add cream cheese and beat until smooth and fully combined.
  • Add cocoa powder, vanilla extract, and mix until combined.
  • Gradually add powdered sugar and beat on low speed until smooth and creamy.

Assemble:

  • Level the cooled cakes if needed.
  • Place one cake layer on a serving plate. Spread an even layer of frosting on top.
  • Place the second layer on top, flat side up. Frost the top and sides evenly.
  • Refrigerate for 2–3 hours before slicing for best texture.

Video

Notes

  • Coffee: You won’t taste the coffee, it simply enhances the chocolate flavor. If you prefer, substitute with hot water, but coffee gives the best result.
  • Buttermilk: Don’t skip it. Buttermilk keeps the cake extra moist and tender. No buttermilk? Mix 1 cup milk + 1 tablespoon lemon juice or vinegar, let sit 5 minutes.
  • Mixing Tip: Whisk just until combined. Overmixing can make the cake dense.
  • Storage: Store covered in the refrigerator for up to 5 days. ake layers can be frozen (unfrosted) for up to 2 months.

Nutrition

Calories: 436kcalCarbohydrates: 46gProtein: 6gFat: 29gSaturated Fat: 14gPolyunsaturated Fat: 5gMonounsaturated Fat: 7gTrans Fat: 0.5gCholesterol: 76mgSodium: 373mgPotassium: 226mgFiber: 4gSugar: 27gVitamin A: 693IUCalcium: 81mgIron: 2mg
Nutrition information is automatically generated and thus we can not guarantee it is 100% accurate.
Keyword cake, chocolate

41 Comments

  1. Is cultured low-fat buttermilk with 1% milk fat fine for this recipe

    June 17, 2025
    1. Yes, cultured low-fat buttermilk with 1% milk fat is perfectly fine for this recipe. It still provides the necessary acidity to react with the baking soda and helps create a moist, tender crumb in the chocolate cake. Even though it’s lower in fat than whole buttermilk, the oil and eggs in your batter will make up for the richness, so the texture and flavor won’t suffer.

      June 18, 2025
  2. Eunice silva says:

    5 stars
    hi, what type of butter should I use?
    should I use salted or unsalted butter?

    June 14, 2025
    1. Unsalted butter.

      June 14, 2025
  3. 5 stars
    Best chocolate cake I’ve ever made. compliments from all my family.

    November 16, 2024
  4. regarding cocoa powder do you use , Dutch process or regular and sweetened or unseewetend?

    January 27, 2024
  5. Should we use salted or unsalted butter?

    January 12, 2024
  6. Can I reduce the amount of sugar in both the cake and frosting? Will it reduce the consistency?

    November 19, 2023
  7. Hi! should my buttermilk be room temperature or cold? Also did you use medium eggs or large ones?

    August 25, 2023
  8. Jaylan Rahmatullah says:

    5 stars
    Hi. I love this recipe! How many days does this cake stay moist for please? Thank you so much. Jay

    June 26, 2023
    1. The Cooking Foodie says:

      Thanks! About 4-5 days if you keep it covered in the fridge.

      July 9, 2023
  9. Did you use dutch processed cocoa or natural??

    March 25, 2023
    1. The Cooking Foodie says:

      I used natural cocoa powder

      March 30, 2023
  10. pnina Hornung says:

    What is the size of the pans?

    January 9, 2023
  11. how many teaspoons of coffee do you add to this cake recipe

    December 16, 2022
    1. The Cooking Foodie says:

      1-2 teaspoons

      December 16, 2022
      1. Thank you. Would that be 2 large eggs for the recipe?

        December 17, 2022
  12. I don’t understand how a recipe with that much liquid inside is ever going to become solid… For me it was a complete flop, and I didn’t even use all of the coffee 😅

    September 27, 2022
    1. In defense of the recipe, I did add the coffee while slightly hot, which was not so smart in retrospect as it might have killed the eggs.

      September 27, 2022
    2. Есма Сербез says:

      да ,аз увеличих брашното с 1 чаша и се получи,другото ,което промених е формата за печене с по-голям диаметър

      March 6, 2024
  13. Hi! what if I bake the entire cake in one tin……………….? How long shall I Bake it?

    September 18, 2021
  14. Is there any substitute for creame cheese?

    September 16, 2021
  15. I made this cake for my dad’s birthday (which was yesterday 🙂 and it is an amazing recipe! We all loved it…it’s moist, full of flavour and absolutely delicious!!! Thank you so much for this amazing recipe!!!

    September 9, 2021
  16. Is it okay if you don’t skip coffee?

    September 9, 2021
  17. 5 stars
    This is the second time this week that I have cooked your cake.
    I must say that it is an outstanding recipe.
    So moist and full of chocolate flavour.
    Thank you for such a lovely recipe and also the chocolate icing is to die for.

    July 25, 2021
  18. Baker_101 says:

    Hi How Can I Make 1 Layer Cake.
    How To Manage The Ingredients???

    March 17, 2021
    1. The Cooking Foodie says:

      Hi,
      Just cut the ingredients in half.

      March 17, 2021
  19. Hi. Did you used dutch processed cocoa or natural?

    October 20, 2020
  20. Hi! I also have a small oven and i was wondering what to do with the other cake batter while the first one’s baking? Do i cover it or refrigerate it?Thanks 🙂

    September 4, 2020
    1. The Cooking Foodie says:

      Hi, you don’t need to cover the batter. let it sit while you baking the first cake.

      September 4, 2020
  21. Is there something i can use as a substitute for cream cheese in frosting?

    July 20, 2020
  22. Hi ! I love this recipe but I just wanted to ask, does it matter if the coffee is hot or cold?

    July 17, 2020
    1. The Cooking Foodie says:

      Hi, no. Use warn or cold coffee, but not boiling.

      July 18, 2020
  23. 5 stars
    Can you use milk instead of buttermilk!?

    June 21, 2020
    1. The Cooking Foodie says:

      Please read recipe notes.

      June 21, 2020
      1. Thanks for the response, but I want to know if I can substitute milk instead of buttermilk or homemade buttermilk, just simple milk!

        June 22, 2020
      1. No, what?!

        November 26, 2020
      2. 5 stars
        I believe he meant just follow the recipe and use milk.
        Not buttermilk,self made or store bought !

        December 2, 2025
    2. spongebob says:

      that wat i thought

      October 15, 2023
    3. 5 stars
      I believe he meant just follow the recipe and use buttermilk regardless of if it’s store bought or homemade!

      December 2, 2025
5 from 7 votes

Leave a Reply

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

Recipe Rating




The maximum upload file size: 2 GB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here