Moist Chocolate Cake

4.85 from 39 votes
Pin RecipeJump to Recipe

There’s something to be said for a chocolate cake recipe that you can whip up at 9 o’clock on a Friday night, after a serious doozy of a week, when you need some baking therapy that requires little to no brain power.

slice of moist chocolate cake on plate

By the time this past weekend hit, I think anything requiring technique or poise in the kitchen would have had induced some kind of cerebral short circuiting – I imagine there would have been sparks, probably some twitching and likely even drool.

Okay fine, so there might have been drool anyway. Actually, when the cake emerged, there was probably drooling and clapping. I tell you that because I trust you won’t judge me.

A slice of moist chocolate cake on a plate with a fork.

Why You’ll Love This Moist Chocolate Cake Recipe

This cocoa-based cake is deeply chocolatey and incredibly moist.

It surprises me every single time with how good it is for something so easy.

It is a great emergency chocolate cake to have in your repertoire for forgotten birthdays, last-minute visitors, or urgent Friday night chocolate cravings.

adding the flour

Moist Chocolate Cake Ingredients

Get ready to whip up the most delicious and moist chocolate cake. It’s a straightforward recipe with common pantry ingredients and some basic kitchen tools.

  • All-purpose flour: Swap all-purpose flour with a gluten-free alternative if you need to.
  • Granulated white sugar: Adds sweetness of course, but also contributes importantly to the moist texture. I don’t recommend you reduce it.
  • Unsweetened cocoa powder: Natural or dutch process cocoa powder both work here.
  • Baking soda: No baking powder is needed, the baking soda reacts with the acidic ingredients to make the cake rise.
  • Salt
  • Eggs
  • Buttermilk: Contributes to the cake’s tenderness and slight tang. If you don’t have buttermilk, here are the best buttermilk substitutes. Milk and lemon juice, full fat greek yogurt or sour cream all work well.
  • Butter
  • Vanilla extract
  • Hot coffee: The secret ingredient that intensifies the chocolate flavor and contributes to a moist texture. If caffeine is a concern, go with decaffeinated coffee. I always keep a jar of instant decaf on hand for this purpose. You can alternatively swap in instant espresso powder.
Adding coffee to moist chocolate cake.

Can You Taste the Coffee?

I have been asked dozens of times if you can taste the coffee, and the answer is no; it does not taste at all like coffee.

You won’t know it’s there, it just deepens the flavour of the chocolate and the heat helps smooth out the batter and get rid of lumps.

But feel free to use just plain boiling water in its place.

Grab these Tools

To make this cake, you’ll need:

  • Mixing Bowls: For combining your dry and wet ingredients.
  • Standing Mixer: Ideal for mixing your batter, but a hand mixer or whisk works too.
  • Rubber Spatula: To fold in the coffee and scrape the sides of the bowl.
  • Two 9-inch Round Cake Pans: The perfect size for this cake.
  • Parchment Paper: Helps prevent sticking and makes removing the cakes easier.
  • Cooling Racks: Essential for cooling the cakes after baking.
  • Oven Mitts: Safety first when handling hot pans.
  • Butter Knife or Palette Knife: For loosening the cakes from the pans.

How to Make Moist Chocolate Cake: An Easy Guide

This Moist Chocolate Cake recipe is so easy and yields a deliciously rich and tender cake for your next birthday celebration.

Everything gets tossed in the standing mixer (no creaming of butter and sugar, or alternating between dry and liquid as in typical cake recipes), poured into cake pans, and popped in the oven.

Easy as 1-2-3.

Combining dry ingredients for chocolate cake.

For a deeper dive, however, here’s my complete guide to “How to Make a Cake from Scratch“, with insights and tips from my background in food science. Over there, you’ll learn all the detailed essentials of cake-making, from ingredients and tools to troubleshooting.

How to Make the Cake Batter

Combine Dry Ingredients: In your mixer’s bowl, mix together flour, sugar, cocoa powder, baking soda, and salt.

Adding Wet Ingredients: To the dry mix, add eggs, buttermilk, melted butter, and vanilla extract. Beat until smooth.

Final Touch with Coffee: Remove the bowl from the mixer. Gently stir in hot coffee with a rubber spatula. The batter will be quite runny.

mixing the coffee into the moist chocolate cake batter,

How to Bake The Cake

Preheat and Prepare Pans: Start by preheating your oven to 350ºF. Grease and flour two 9-inch baking pans and line them with parchment circles.

I like to “flour” the pans using cocoa powder so that it doesn’t leave a sticky white residue on the baked cake.

Pouring chocolate cake batter into pans.

Pour and Bake: Evenly distribute the batter between the two pans. Bake in the middle rack for 25-35 minutes, or until a thermometer reads 190ºF.

Cooling Down: Let the cakes cool in the pans for 15 minutes. Then, run a butter knife around the edges and flip them onto parchment-lined cooling racks.

fresh from the oven chocolate moist cake

How to Remove the Cake from Pans

To start, prepare a cooling rack by lining it with parchment paper. This prevents the cake from sticking to the wire rack and makes it easier to handle later.

  1. Gently run a knife around the edge of the pan.
  2. Place the parchment-lined baking rack on top of the cake pan so that it covers the cake.
  3. Use oven mitts to hold everything together, and flip the cake pan over onto the cooling rack.
  4. Now that the cake pan is upside-down on the cooling rack, gently tap on on the bottom of the pan until the cake releases.
  5. Finally, remove the pan and peel off the parchment paper.

Complete Cooling: Allow the cakes to cool completely before handling or frosting. This ensures they’re firm enough to decorate and serve.

Layer cake with fluffy whipped chocolate frosting layers.

Best Frosting for Moist Chocolate Cake

I love to smother moist chocolate cake in fluffy vanilla frosting (the five-minute kind made with just whipped butter, sugar, cream or milk and vanilla).

Mmm… Drooling again. Note to self: try to control that.

This time I smothered it instead with a super easy Chocolate Buttercream Frosting.

Not the fancypants Italian buttercream, the shortcut American-style buttercream that is basically just butter, icing sugar, and cocoa powder.

Again, brain short-out aversion strategy.

Peeling parchment paper off the bottom of chocolate cake.

Storing Baked, Unfrosted Cake Layers

Once cooled, the cake layers can be wrapped in plastic wrap and kept at room temperature for up to 2 days or frozen for up to 3 months.

I don’t recommend refrigerating unfrosted cake, as it actually speeds up the staling process. It’s best to save refrigeration until it’s really needed, if cream fillings or fruit toppings are used.

How to Freeze This Homemade Chocolate Cake Recipe

This chocolate cake recipe freezes beautifully and I’ll typically make it a few days in advance when preparing for a party.

Just wrap the cooled, unfrosted cakes well in plastic wrap before popping them into freezer bags.

Thawing: Unwrap the frozen cake layers while still frozen. This ensures the sticky surface of the cake doesn’t glue itself to the wrappings. Thaw frozen cake layers partially at room temperature before icing them or decorating them. You can frost cake layers while still cold (this actually makes it easier to spread the frosting).

moist chocolate cake on a plate with a fork

How to Store Moist Chocolate Cake with Frosting

Once frosted, cover it loosely with plastic wrap or use a cake dome.

The cake can be stored at room temperature for 2 days or in the refrigerator for longer. Here’s everything you need to know about how long cake lasts in the fridge.

I make sure that it’s at room temperature by the time it’s served again for best texture (although my husband loves it straight from the fridge).

Frosted moist chocolate cake with a slice removed so you can see inside.

Can You Freeze Frosted Cake?

Yes, you can freeze a frosted cake, although the success of this depends partly on the type of frosting used. Here are some tips for freezing a frosted cake:

  • Buttercream and Ganache: Cakes frosted with buttercream or ganache freeze well. These types of frostings hold up to the freezing and thawing process without much alteration in texture or taste.
  • Freezing Method: First, freeze the frosted cake uncovered for a few hours or until the frosting is firm. This prevents the frosting from sticking to the wrapping.
  • Wrapping: Once the frosting is firm, wrap the cake tightly in plastic wrap, then in aluminum foil or place it in a freezer-safe container. This helps to protect the cake from freezer burn and absorbs any odors.
  • Thawing: To thaw, remove the cake from the freezer and place it in the refrigerator for several hours or overnight. Before serving, let the cake sit at room temperature for about an hour for optimal flavor and texture.
  • Frostings to Avoid Freezing: Some frostings, like those made with whipped cream or cream cheese, may not freeze as well. They can become watery or separate when thawed.
  • Decoration Consideration: Delicate decorations or those made from fondant might not withstand freezing and thawing as well as the cake itself, so it’s best to add these after thawing if possible.

How to Adapt The Chocolate Cake Recipe a Different Size Pan

One of the most common questions I get is on how to adapt it for cupcakes or another size cake pan. I have used this recipe to make sheet cakes, layer cakes, cupcakes, mini cupcakes, etc. Really, you can’t go wrong.

These made from scratch Chocolate Cupcakes with Fluffy Oreo Cream Cheese Frosting are seriously heavenly. Chocolate creamcheese frosting piled atop moist chocolate cupcakes and sprinkled with Oreo crumbs... there's no question this is the ultimate chocolate dessert. These are great to make for birthday celebrations!
  • For cupcakes: bake at 375ºF for 20-24 minutes, until the tops feel slightly springy when pressed.
  • For an round pan smaller than the nine inch cake pans called for: f the pan is smaller, start checking doneness 10 minutes sooner.
  • For a larger pan: if the pan is larger, give it more time and cover with aluminum foil if the top is getting dark before the middle feels slightly bouncy (your finger shouldn’t sink, like it’s still raw beneath the surface).

If you’re not sure about cooking times, the easiest thing to do is grab your cooking thermometer. The temperature should be 190ºF in the middle.

Start testing when the cake has risen, feels slightly bouncy when pressed in the center, and is a shade darker. A toothpick or tester inserted in the center will have just a few moist crumbs attached (not wet batter).

If you love this one, I’ve got lots more cake recipes be sure to check them out!

Moist Vanilla Cake

Chocolate Orange Cake

Moist and Fluffy Vanilla Cupcakes

Portuguese Orange Cake

Carrot Cake with Buttermilk

Save this recipe!
Get this recipe link sent straight to your inbox to make it later!
Please enable JavaScript in your browser to complete this form.
4.85 from 39 votes

Moist Chocolate Cake

This Moist Chocolate Cake is the best from-scratch chocolate cake recipe ever. Rich and deeply chocolatey.
Prep Time: 15 minutes
Cook Time: 30 minutes
Total Time: 50 minutes
Servings: 12


  • 1 ¾ cups all purpose flour
  • 2 cups granulated white sugar
  • ¾ cup unsweetened cocoa powder
  • 1 ½ tsp baking soda
  • ¾ teaspoon salt
  • 2 large eggs
  • 1 cup buttermilk or substitute by putting 1 tbsp white vinegar in a cup then filling the rest up with milk; let stand 5 minutes until thickened
  • ½ cup butter melted
  • 1 tbsp vanilla extract
  • 1 cup hot coffee or 2 tsp instant coffee in 1 cup boiling water
Save this recipe!
Get this recipe link sent straight to your inbox to make it later!
Please enable JavaScript in your browser to complete this form.


  • Preheat oven to 350ºF. Grease and flour (using cocoa powder ideally – see note) two 9-inch baking pans and line them with parchment circles.
  • In the large bowl of a standing mixer, combine flour, sugar, cocoa, baking soda, and salt on low speed for one minute.
  • Add eggs, buttermilk, melted butter and vanilla extract and beat on medium speed until batter forms, about 30 seconds. Pause to scrape down sides and bottom of mixer bowl as well as the paddle. Beat 15 seconds more, until mixture is mostly smooth.
  • Remove bowl from mixer and stir in hot coffee with a rubber spatula. Batter will be very runny.
  • Pour batter evenly between the two pans and bake on middle rack of oven for 25-35 minutes, until thermometer inserted in the middle reaches 190ºF.
  • Allow to cool 15 minutes in pans, then run a butter knife around the edges of each cake. Line two cooling racks with parchment paper. (See note)
  • Place a cooling rack over top of each pan. Wearing oven mitts, use both hands to hold the racks in place while flipping the cakes over onto the racks. Set the racks down and gently thump on the bottom of the pans until the cakes release. Cool completely before handling or frosting.



For FROSTING the cake: here’s a link to the fluffy whipped chocolate frosting pictured, you don’t want to miss this incredible, airy chocolate buttercream. It’s so easy. This fluffy vanilla frosting is another tested-till-perfect gorgeous frosting option.
  • Use cocoa powder to dust your pans instead of flour. Flour can leave a gummy white residue on the finished cakes.
  • Line your cooling racks with parchment paper before flipping the pans over onto them. This prevents the cake layers from sticking to the wire racks.
  • Can you taste the coffee? Absolutely, 100% no, you can’t taste it at ALL. You won’t know it’s there, it just deepens the flavour of the chocolate. 
  • I use decaf instant coffee so I don’t have to worry about caffeine but feel free to use plain boiling water instead. Still an absolutely delicious (and very moist) chocolate cake.
  • To bake in a 9×13″ pan, bake at 325ºF for 35-45 minutes (start checking at 35 minutes).
  • To make cupcakes, line muffin tins with paper liners and spray the pan (it’s a moist cake, which can stick). Fill the cups only halfway full. Bake at 375ºF for 18-22 minutes. It makes 24 cupcakes or 48 mini cupcakes.
  • Don’t have buttermilk? In a pinch you use one of these buttermilk substitutes.


Calories: 384kcal | Carbohydrates: 72g | Protein: 5g | Fat: 11g | Saturated Fat: 6g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 3g | Trans Fat: 0.3g | Cholesterol: 51mg | Sodium: 388mg | Potassium: 138mg | Fiber: 4g | Sugar: 50g | Vitamin A: 324IU | Calcium: 53mg | Iron: 2mg

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

Tried this recipe? Leave a comment!

You’ll Also Love These

Leave a comment

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

Recipe Rating


  1. xiomara says:

    5 stars
    this was sooo good!! I’ve spent the last 2 months testing and freezing cakes to find the best chocolate cake recipe, and after taste testing all at once today with a few people today, this one was voted as the best actual cake with the ideal moist texture + chocolate flavour mix across all the recipes 🙂

    Very happy with this recipe and will be using for upcoming events, ty!!<3

    1. Jennifer Pallian BSc, RD says:

      Ahh how do I even respond to this? This is amazing! Thank you so much!

  2. Simona says:

    5 stars
    I’ll make this sensational recipe on May 25th, for my husband’s birthday. THANKS A MILLION:-)))

  3. Sarah says:

    5 stars
    5 stars! I made two batches of this recipe. One as originally posted and one gluten free. My family has tasted a LOT of gluten free versions and this was a clear winner. You literally couldn’t tell the difference in a taste test comparison. It wasn’t a bit dry or crumbly, just perfectly moist!

    I used King Arthur GF cup for cup, Hershey’s Special Dark cocoa powder and just hot water/no coffee. Both the regular and GF are going in my saved file to make again and again.