What's in the Pan

  • Subscribe
  • Grill and Smoker
  • Skewers and Kebabs
  • Steak
  • Desserts
    • No Bake
  • Popular
  • Traditional Italian Recipes
  • Cast Iron
  • Guides
  • Olya Shepard
menu icon
go to homepage
  • Subscribe
  • Grill and Smoker
  • Skewers and Kebabs
  • Steak
  • Desserts
    • No Bake
  • Popular
  • Traditional Italian Recipes
  • Cast Iron
  • Guides
  • Olya Shepard
search icon
Homepage link
  • Subscribe
  • Grill and Smoker
  • Skewers and Kebabs
  • Steak
  • Desserts
    • No Bake
  • Popular
  • Traditional Italian Recipes
  • Cast Iron
  • Guides
  • Olya Shepard
×
Home » Desserts » Cakes

Moist Triple Layer Chocolate Cake

Updated: June 24, 2026 · Published: March 4, 2026 2:03 am by Olya Shepard · 18 Comments

This post may contain affiliate links. Please see our Affiliate Policy
Jump to Recipe - Print Recipe

This triple layer chocolate cake uses oil, sour cream, and coffee for layers that stay moist for five days, comes together in one bowl with no creaming or tempering, and works with gluten-free and dairy-free swaps. It's topped with dark chocolate cream cheese frosting for a rich, not-too-sweet finish.

By · Baker: Layer Cakes, Cookies & Desserts
Olya
Olya Shepard

I am a self-taught baker & creator of WhatsInThePan. I've been writing about food since 2016 and have over a decade of experience in developing and testing dessert recipes, with a focus on layer cakes, reliable baking methods, and approachable from-scratch recipes for home bakers.

View full bio
chocolate cake

The Best Chocolate Cake Recipe (Moist, Rich & Made From Scratch)

This chocolate cake is built on a high-moisture, oil-based batter with sour cream and freshly brewed coffee, which creates layers that are deeply chocolatey, soft, and stable enough to stack without crumbling. It's topped with a rich, not-too-sweet dark chocolate cream cheese frosting that uses both butter and cream cheese for a truffle-like finish, and finished with delicate shaved chocolate on top for a cake that looks bakery-level but comes together at home.

If you're looking for other ways to use chocolate in layer cakes, try Chocolate Strawberry Cake for a fruit-forward pairing, Chocolate Zucchini Cake for a moist snacking cake, or Chocolate Loaf Cake for a simpler breakfast type option.

Why You'll Love This Recipe

  • Oil-based batter with sour cream - Creates a tender texture that stays moist for days without feeling heavy or greasy; oil distributes moisture more evenly than butter in high-cocoa cakes.
  • Freshly brewed coffee in the batter - Enhances the cocoa flavor rather than adding a coffee taste; the cake tastes more chocolatey, not coffee-forward.
  • Dark chocolate cream cheese frosting - Uses cream cheese and dark cocoa powder for a frosting that's rich, tangy, and less sweet than traditional buttercream; it spreads easily and holds its shape when chilled.
  • Shaved chocolate finish - Adds texture and visual elegance without extra effort; the same technique works on No Bake Chocolate Pudding Pie and other chocolate desserts.

New to layer cakes? Start with my step‑by‑step Layer Cake Guide, How to Stack Cake Layers Like a Pro, How to Crumb Coat a Cake, What Is a Cake Dam for all the basics.

chocolate cake

So what makes this the ultimate chocolate cake?

  • It's a one-bowl wonder that comes together with a whisk - no stand mixer required for the batter (although you can use one if you have it).
  • There is also one game-changing secret ingredient most people overlook: sour cream. Keep reading, because this tiny detail makes all the difference.
  • What makes it exceptional is the combination of oil (not butter) in the batter and hot coffee (to amplify the chocolate flavor) both of which work together to create a cake that stays moist and rich long after it's baked.
chocolate cake

Chocolate Cake Ingredients

To print ingredient list with measurements & instructions, head over to recipe card below.

The Cake Batter

  • All-purpose flour: Measure it carefully (spoon and level, or use a kitchen scale) to avoid a dry, dense cake. Avoid adding additional flour.
  • Granulated sugar: It plays a direct role in keeping the cake moist after baking.
  • Unsweetened cocoa powder: Use natural unsweetened cocoa powder in the cake for proper interaction with the baking soda. Natural cocoa is acidic and reacts with baking soda to provide lift and prevent density. Dutch-processed cocoa is not recommended in the cake batter unless the leavening is adjusted.
  • Baking soda and baking powder: Together, these two leavening agents give the cake its rise. Always check the expiration date - old leavening agents won't perform.
  • Salt:Enhances and balances all the other flavors. Without it, the chocolate would taste flat.
  • Eggs: Bind the ingredients together and contribute to structure. Room-temperature eggs blend more smoothly into the batter, preventing uneven mixing.
  • Sour cream (or whole milk swap): Full-fat sour cream provides acidity for proper leavening while contributing fat and structure, resulting in a slightly tighter, cleaner crumb that slices beautifully. Be sure sour cream is at room temperature to avoid a lumpy batter.
  • Vegetable oil: This is the secret to a moist chocolate cake that doesn't dry out. Unlike butter, oil stays liquid at room temperature, which keeps the cake soft even after it's cooled or been stored for a day or two.
  • Vanilla extract: Or use vanilla paste.
  • Hot brewed coffee: This is the most important step most recipes skip. Hot liquid "blooms" the cocoa powder, unlocking its full flavor potential and producing a far richer chocolate taste. Hot coffee takes this even further by amplifying the chocolate without adding a coffee flavor to the final cake.

The Chocolate Cream Cheese Frosting

  • Unsalted butter (room temperature) - The base of a silky buttercream. Softened butter beats smoothly and holds air for a light, fluffy texture.
  • Unsweetened cocoa powder: Dark cocoa powder is used in the frosting for a richer color and deeper flavor. Because dark cocoa is more drying than natural cocoa, milk is added to achieve a smooth, spreadable consistency.
  • Powdered (confectioners') sugar: Dissolves effortlessly into the butter, thickening and sweetening the frosting simultaneously. It's what creates that signature fluffy texture.
  • Cream Cheese plus some Milk: The key to the frosting that's creamy and not too sugary.
  • Salt and vanilla extract :Balance the sweetness and add depth to the finished frosting.

The Toppings

Chocolate curls: Use 2 squares of dark chocolate and shave them with a vegetable peeler.

chocolate cake ingredients

How to Make Chocolate Cake

This is an overview with step-by-step photos. Full ingredients, measurements & instructions are in the recipe card below.

1. Combine Dry Ingredients: In a large bowl, whisk together flour, sugar, cocoa powder, baking soda, baking powder, and salt.

dry ingredients in the bowl
cocoa, flour, baking powder and baking soda mixed in the bowl

2. Mix Wet Ingredients In the bowl of a stand mixer fitted with the whisk attachment, whisk together eggs, sour cream, vegetable oil, vanilla, and coffee until smooth.

3. Combine Dry into Wet Ingredients: With the mixer running on its lowest speed gradually add the flour mixture. Mix until combined and lump-free. The batter will be thin, which is fine.

eggs and sour cream whisked in the bowl
dry ingredients added to the wet ingredients

4. Add Batter to 3 9-inch Pans: Divide the cake batter evenly between the prepared pans. The batter will be thin before baking, this is intentional and results in a tender, even crumb. Don't be alarmed!!!

chocolate cake batter divided between 3 round pans

5. Bake for 28-35 minutes, or until a toothpick inserted into the center comes out clean or the internal temperature reaches 205-210°F. Cool in pans for 15 minutes, then turn out onto wire racks to cool completely.

baked chocolate cake inside baking pans

How to Make Chocolate Frosting

1. Beat Butter: In the bowl of a stand mixer fitted with the paddle attachment, beat the butter until smooth and creamy, about 2-3 minutes.

2. Add the cream cheese and beat until fully incorporated and smooth then add the dark cocoa powder, vanilla, and salt and mix until uniform in color.

cream cheese creamed with butter in the bowl
cocoa powder added to the bowl with cream cheese and butter

3. Gradually add the powdered sugar and beat until combined. Add the milk and beat again until smooth and spreadable. The frosting should be creamy and silky but thick enough to hold soft peaks.

chocolate frosting in the bowl

How to Assemble the Chocolate Cake (3 Layers)

1. Place one cake layer onto a serving plate. Spread approximately ¾ cup frosting evenly over the top then repeat with the second layer.

frosting on top of the. first chocolate cake layer

2. Place final layer on top, then pile the rest of the frosting on to the top layer and use an offset spatula to spread the frosting in an even layer across the top of the cake. Use the spatula to make swirls in the top of the cake.

The remaining frosting will fall down the sides of the cake - smooth it out as evenly as you can using an offset spatula. It doesn't need to be neat; an abundant, rustic-style frosting works beautifully on this cake.

chocolate cake being frosted on the outside

3. Top the cake with chocolate curls made with a vegetable peeler.

chocolate curls on top of the chocolate cake

4. Chill for 30-45 minutes before slicing. For neat slices run a sharp knife under hot water, repeating and wiping clean after each cut.

chocolate cake slice
moist chocolate layer cake

Chocolate Cake

This moist chocolate cake recipe is rich, fudgy & made from scratch. With perfect chocolate frosting every time. The only recipe you'll ever need!

CLICK on STARS to REVIEW the RECIPE, then CLICK OK

5 from 20 votes
Prevent your screen from going dark
Print Pin Start Cooking (Step by Step)
Course: Dessert
Cuisine: American
Keyword: cake, chocolate, chocolate cake
Prep Time: 30 minutes minutes
Cook Time: 28 minutes minutes
Cooling Time: 1 hour hour
Total Time: 1 hour hour 58 minutes minutes
12
Author: Olya Shepard

Equipment

  • 3 9-inch round cake pans
  • parchment paper

Ingredients

Chocolate Cake

  • 3 cups all-purpose flour
  • 3 cups granulated sugar
  • 1 cup unsweetened natural cocoa powder
  • 1 tablespoon baking soda
  • 1½ teaspoon baking powder
  • 1 teaspoon fine salt
  • 4 large eggs room temperature
  • 1 cup full-fat sour cream room temperature
  • 1 cup freshly brewed coffee
  • ½ cup vegetable oil
  • 2 teaspoon vanilla extract

Dark Chocolate Cream Cheese Frosting

  • 1½ cups unsalted butter soft
  • 8 oz full-fat cream cheese soft
  • ¾ cup dark cocoa powder
  • 2 teaspoon vanilla extract
  • pinch salt
  • 3½ cups powdered sugar
  • 3 tablespoon milk

To Decorate

  • chocolate curls from 2 squares dark chocolate (shaved with a vegetable peeler)
US Customary - Metric

Instructions

Prep Work

  • Preheat oven to 325°F. Grease and line three 9-inch round cake pans with parchment paper.

Mix Dry Ingredients

  • In a large bowl, whisk together flour, sugar, cocoa powder, baking soda, baking powder, and salt.

Mix Wet Ingredients

  • In the bowl of a stand mixer fitted with the whisk attachment, whisk together eggs, sour cream, vegetable oil, vanilla, and coffee until smooth.

Combine Both

  • With the mixer running on its lowest speed gradually add the flour mixture. Mix until combined and lump-free. The batter will be thin, which is fine.

Divide Batter and Bake

  • Divide the cake batter evenly between the prepared pans.
  • Bake for 28-35 minutes, or until a toothpick inserted into the center comes out clean or the internal temperature reaches 205-210°F.
  • Cool in pans for 15 minutes, then turn out onto wire racks to cool completely.

Make Chocolate Frosting

  • In the bowl of a stand mixer fitted with the paddle attachment, beat the butter until smooth and creamy, about 2-3 minutes.
  • Add the cream cheese and beat until fully incorporated and smooth then add the dark cocoa powder, vanilla, and salt and mix until uniform in color.
  • Gradually add the powdered sugar and beat until combined. Add the milk and beat again until smooth and spreadable. The frosting should be creamy and silky but thick enough to hold soft peaks.

Assemble the Cake

  • Place one cake layer onto a serving plate. Spread approximately ¾ cup frosting evenly over the top then repeat with the second layer.
  • Place final layer on top then pile the rest of the frosting on to the top layer and use an offset spatula to spread the frosting in an even layer across the top of the cake. Use the spatula to make swirls in the top of the cake.
  • The remaining frosting will fall down the sides of the cake - smooth it out as evenly as you can using an offset spatula. It doesn't need to be neat; an abundant, rustic-style frosting works beautifully on this cake.

Top with Chocolate Shavings

  • Top the cake with chocolate curls made with a vegetable peeler.

Chill Before Slicing

  • Chill for 30-45 minutes before slicing.
  • For neat slices run a sharp knife under hot water, repeating and wiping clean after each cut.
Calories: 806kcal
Nutrition Facts
Chocolate Cake
Amount per Serving
Calories
806
% Daily Value*
Fat
 
37
g
57
%
Saturated Fat
 
22
g
138
%
Trans Fat
 
1
g
Polyunsaturated Fat
 
2
g
Monounsaturated Fat
 
10
g
Cholesterol
 
146
mg
49
%
Sodium
 
563
mg
24
%
Potassium
 
370
mg
11
%
Carbohydrates
 
118
g
39
%
Fiber
 
5
g
21
%
Sugar
 
86
g
96
%
Protein
 
10
g
20
%
Vitamin A
 
1168
IU
23
%
Vitamin C
 
0.2
mg
0
%
Calcium
 
101
mg
10
%
Iron
 
4
mg
22
%
* Percent Daily Values are based on a 2000 calorie diet.

Tips for Perfectly Even and Stable Chocolate Cake

  • Weighing the batter ensures even layers.
  • Do not underbake, as this can cause sinking once cooled.
  • Allow cakes to cool completely before frosting. For clean stacking and slicing, wrap layers and chill for at least 1 hour before assembling. Chilled layers are firmer and easier to handle.
  • Chill the assembled cake before slicing for the cleanest cuts.

What is the Correct Temperature to Bake This Cake

Bake at 325°F for a level rise and even structure. Higher temperatures can cause doming and cracking.

How Do I know When Cakes are Done

  • The center springs back lightly
  • A toothpick comes out clean
  • Internal temperature reaches 205-210°F

Can I make this as a single-layer cake?

Yes. Pour all the batter into one 9×13-inch pan and bake for 40-45 minutes for a sheet cake version.

Why did my cake sink in the middle?

Sinking is typically caused by underbaking, opening the oven door too early, or too much leavening.

Make sure your oven is fully preheated, don't open the door until at least 30 minutes into the bake, and always measure leavening agents carefully.

chocolate cake

Can I Use Less Sugar in the Frosting?

This chocolate frosting already uses reduced powdered sugar compared to traditional buttercream. The result is:

  • Less sweet
  • Creamier
  • Softer in structure

Because of the lower sugar content, the frosting will not crust and remains silky. If you want frosting to crust, add ½ cup to 1 cup more of powdered sugar.

If frosting feels too soft, chill briefly before spreading. If too firm after chilling, allow it to sit at room temperature for 10-15 minutes before working.

chocolate cake

Substitutions and Variations

Coffee => Water: Freshly brewed coffee enhances the chocolate flavor without making the cake taste like coffee. It deepens the cocoa notes and improves overall richness. If you are sensitive to caffeine, hot water may be substituted if needed, but coffee is strongly ecommended for the best flavor.

Gluten-Free Chocolate Cake
Simply swap the all-purpose flour for an equal amount of gluten-free flour. One thing to keep in mind though: if your gluten-free flour blend doesn't already contain xanthan gum, you'll want to add a little. Xanthan gum acts as a binder and helps hold everything together, so your cake stays moist and doesn't crumble. Without it, gluten-free bakes can turn out a little dry and fall apart on you! The good news is that most store-bought gluten-free flour blends (like Bob's Red Mill 1-to-1 or King Arthur Measure for Measure) already include xanthan gum.

Dairy-Free Chocolate Cake
For a dairy-free version, I've had great results using coconut milk in place of the sour cream in the batter and coconut cream for the frosting. I also made frosting made from coconut oil in Chocolate Zucchini Cake.

Storage and Leftovers

  • Refrigerator: Store cake covered in the refrigerator for up to 4 days. Because the frosting contains cream cheese, refrigeration is required. For best texture, allow slices to sit at room temperature for 20-30 minutes before serving.
  • Freezer: Unfrosted cake layers may be wrapped tightly and frozen for up to 2 months. Thaw overnight in the refrigerator before assembling. Frosted cake may also be frozen. Chill until firm, then wrap well and freeze up to 1 month. Thaw overnight in the refrigerator.

More Layer Cakes You'll Love

  • Berry Chantilly Cake
  • Chocolate Strawberry Cake (3 Layers, From Scratch)
  • Moist Lemon Blueberry Layer Cake with Lemon Buttercream
  • Raspberry White Chocolate Layer Cake
  • Lemon Raspberry Cake with Freeze-Dried Raspberry Buttercream
  • The Vanilla Blueberry Layer Cake I'm Bringing to Every Summer Celebration

More Chocolate Cakes

  • Dark Chocolate Raspberry Cupcakes
  • Cookie Dough Stuffed Chocolate Cupcakes
  • Low on Sugar Chocolate Frosting
  • Vegan Chocolate Frosting

More Cakes

  • Vanilla Layer Cake
    Vanilla Layer Cake Recipe (My Go-To Celebration Cake)
  • Strawberry Sheet Cake with Strawberry Cream Cheese Frosting
    Strawberry Sheet Cake with Freeze-Dried Strawberry Frosting
  • A slice of vanilla blueberry layer cake laying on the white surface with blueberry filling and vanilla buttercream showing between the layers
    Vanilla Blueberry Layer Cake with Frozen Blueberry Filling and Vanilla Bean Buttercream
  • Lemon Raspberry 3 Layer Cake
    How to Dependably Build a Layer Cake
260 shares
  • Facebook
  • Email

Comments

  1. Mary says

    May 25, 2026 at 10:41 am

    The best scratch chocolate cake I’ve made.

    Reply
    • Olya Shepard says

      May 27, 2026 at 12:56 am

      Thank you Mary!

      Reply
« Older Comments
5 from 20 votes (5 ratings without comment)

Leave a Reply Cancel reply

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

Click on stars to rate the recipe!




Hi, I'm Olya! Welcome to the online home of my recipes that will make you look like a pro, yet without having to spend too much time in the kitchen! More about me →

Most Recent:

  • Stuffed Dates Goat Cheese Pistachios
    12 High-Fiber, Gluten-Free Recipes to Gently Reset Your Metabolism
  • Peach Cobbler Cheesecake
    Peach Season by State: When Peaches Are Ripe Near You
  • strawberry lasagna with 3 layers and sliced fresh strawberries on top
    15 Cool & Creamy Strawberry Desserts for Hot Days
  • Hero image of raspberry chia pudding surrounded by ingredients—coconut milk, raspberries, chia seeds—suggesting a simple dairy-free recipe.
    Raspberry Coconut Chia Pudding: Fiber‑Packed and Dairy‑Free

Footer

↑ back to top

Privacy Policy

Affiliate Disclosure

Disclaimer

Contact Me

About

Work with me

Pinterest

Facebook

Instagram

Copyright © 2016-2025 Whatsinthepan.com

Click on Stars

Your vote:




A rating is required
A name is required
An email is required

Chocolate Cake

Chocolate Cake

Ingredients

Chocolate Cake
  • 3 cups all-purpose flour
  • 3 cups granulated sugar
  • 1 cup unsweetened natural cocoa powder
  • 1 tbsp baking soda
  • 1½ tsp baking powder
  • 1 tsp fine salt
  • 4 large eggs (room temperature)
  • 1 cup full-fat sour cream (room temperature)
  • 1 cup freshly brewed coffee
  • ½ cup vegetable oil
  • 2 tsp vanilla extract
Dark Chocolate Cream Cheese Frosting
  • 1½ cups unsalted butter (soft)
  • 8 oz full-fat cream cheese (soft)
  • ¾ cup dark cocoa powder
  • 2 tsp vanilla extract
  • pinch salt
  • 3½ cups powdered sugar
  • 3 tbsp milk
To Decorate
  • chocolate curls from 2 squares dark chocolate ((shaved with a vegetable peeler))

Equipment

  • 3 9-inch round cake pans
  • parchment paper
1
Preheat oven to 325°F. Grease and line three 9-inch round cake pans with parchment paper.
2
In a large bowl, whisk together flour, sugar, cocoa powder, baking soda, baking powder, and salt.
3
In the bowl of a stand mixer fitted with the whisk attachment, whisk together eggs, sour cream, vegetable oil, vanilla, and coffee until smooth.
4
With the mixer running on its lowest speed gradually add the flour mixture. Mix until combined and lump-free. The batter will be thin, which is fine.
5
Divide the cake batter evenly between the prepared pans.
6
Bake for 28–35 minutes, or until a toothpick inserted into the center comes out clean or the internal temperature reaches 205–210°F.
7
Cool in pans for 15 minutes, then turn out onto wire racks to cool completely.
8
In the bowl of a stand mixer fitted with the paddle attachment, beat the butter until smooth and creamy, about 2–3 minutes.
9
Add the cream cheese and beat until fully incorporated and smooth then add the dark cocoa powder, vanilla, and salt and mix until uniform in color.
10
Gradually add the powdered sugar and beat until combined. Add the milk and beat again until smooth and spreadable. The frosting should be creamy and silky but thick enough to hold soft peaks.
11
Place one cake layer onto a serving plate. Spread approximately 3/4 cup frosting evenly over the top then repeat with the second layer.
12
Place final layer on top then pile the rest of the frosting on to the top layer and use an offset spatula to spread the frosting in an even layer across the top of the cake. Use the spatula to make swirls in the top of the cake.
13
The remaining frosting will fall down the sides of the cake - smooth it out as evenly as you can using an offset spatula. It doesn’t need to be neat; an abundant, rustic-style frosting works beautifully on this cake.
14
Top the cake with chocolate curls made with a vegetable peeler.
15
Chill for 30-45 minutes before slicing.
16
For neat slices run a sharp knife under hot water, repeating and wiping clean after each cut.

Hope you enjoyed cooking this recipe!

Please rate this recipe to help others find it.

step 1 of 16

Recipe Ratings without Comment

Something went wrong. Please try again.