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.

Chocolate Layer Cake Summary
- 🥣 One bowl, no creaming, no tempering - just whisk oil, sour cream, and hot coffee together and pour
- ⚖️ Pan size: Three 9-inch pans get you tall, even layers for a proper stacked cake. No patience for stacking today? Pour the whole batter into a 9x13 and call it a sheet cake - same cake, zero fuss
- ☕ Coffee blooms the cocoa for deep chocolate flavor, with zero coffee taste in the finished cake
- 🍫 Big, dark chocolate flavor up front, backed by a rich, not-too-sweet dark chocolate cream cheese frosting
- 🧁 Soft, slightly dense texture that slices clean and stays moist for a full five days
- ⚖️ Weigh your batter across three pans for tall, even layers
- 🌱 Works with gluten-free and dairy-free swaps without losing the moist texture
- 🗓️ Bake the layers now, frost later - they freeze beautifully for up to two months
New to layer cakes? Start with my step‑by‑step Layer Cake Guide, How to Crumb Coat a Cake, and What Is a Cake Dam for all the basics.

Why This Cake Works
Most chocolate cakes fall into one of two camps: dry and cocoa-forward, or so buttery-rich you can only manage one slice. This one splits the difference by swapping butter for oil and adding sour cream for structure, which is exactly why it tastes better the day after baking instead of drying out like a typical butter-based chocolate cake . The hot coffee was the riskiest addition - it sounds like it should make the cake taste like a mocha, but its only job is pulling extra depth out of the cocoa, not adding coffee flavor.
The dark chocolate cream cheese frosting follows the same philosophy as the cake itself: built around cream cheese and dark cocoa with less powdered sugar than a typical buttercream, so it stays rich without burying the chocolate under sweetness.
My favorite way to finish this cake: a scatter of chocolate curls made with nothing more than a vegetable peeler and two squares of dark chocolate - thirty seconds of effort for a genuinely bakery-style finish.

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

Chocolate Cake Ingredients
To print ingredient list with measurements & instructions, head over to recipe card below.
The Cake Batter
All-purpose flour - Just measure it properly, either spoon-and-level or on a scale. Scooping straight from the bag packs in extra flour without you realizing it, and that's the fastest way to end up with a dry, dense cake instead of a soft one.
Granulated sugar - This isn't just for sweetness. Sugar actually helps the cake hold onto moisture as it bakes, so don't be tempted to cut it back.
Unsweetened cocoa powder - Stick with natural cocoa here, not Dutch-processed. Natural cocoa is acidic, and it needs that acidity to react with the baking soda and give the cake proper lift. Swap in Dutch-process and you'll end up with a flatter cake unless you also adjust the leavening.
Baking soda and baking powder - I use both because they're doing different jobs, so don't swap one for the other. Also, check that they're not expired - old leavening is sneaky, it won't make the cake fail completely, just rise less than it should.
Salt - Small amount, big job. Without it, the chocolate flavor tastes strangely flat, even though you won't actually taste "salty."
Eggs - Let them come to room temperature before you start. Cold eggs don't blend in smoothly, and you'll end up with a slightly uneven batter.
Sour cream - This is what gives the crumb that tighter, cleaner texture when you slice it, plus a little extra acidity that helps everything rise properly. Bring it to room temperature too, or you'll get lumps in your batter that never fully disappear.
Vegetable oil - This is genuinely the reason this cake stays moist for days instead of drying out. Butter firms up as it cools, oil doesn't, so the crumb stays soft even a couple of days later.
Vanilla extract - Regular extract or vanilla paste both work fine here.
Hot brewed coffee - I promise this doesn't make the cake taste like coffee. What it does is bloom the cocoa powder and pull out way more chocolate flavor than water ever could. If caffeine's an issue for you, hot water works as a stand-in, you'll just lose a little of that depth.
The Chocolate Cream Cheese Frosting
Unsalted butter, room temperature - This is your base, and it needs to be properly soft so it can beat up light and fluffy instead of dense.
Unsweetened cocoa powder - I switch to dark cocoa here for a deeper color and richer flavor. It's a little more drying than regular cocoa, which is why milk gets added to bring the frosting back to a smooth, spreadable texture.
Powdered sugar - This sweetens and thickens the frosting all at once, and it's what gives you that fluffy, pipeable texture.
Cream cheese plus a little milk - This is the part that keeps the frosting from tasting like straight sugar. It keeps things creamy instead of cloying.
Salt and vanilla extract - Both just round everything out and keep the frosting from tasting one-note sweet.
The Toppings
Chocolate curls - Grab two squares of dark chocolate and run a vegetable peeler down the edge. Takes thirty seconds and makes the cake look like it came from a bakery.

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.


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.


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!!!

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.

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.


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.

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.

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.

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

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
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)
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.
Notes
- Batter is thin - that's normal.
- Bake in three 9-inch pans at 325°F.
- For best stacking, chill layers before frosting.
- Frosted cake must be refrigerated.
- 9x13 sheet cake version: bake 40-45 minutes.
- Coffee deepens the chocolate flavor; it won't make the cake taste like coffee.
Tips for Perfectly Even and Stable Chocolate Cake
Weigh your batter between the pans. I know it feels like an extra step you don't need, but pouring by eye almost always gives you one thick layer and one thin one, and the thin one bakes faster and dries out while you're waiting on the others. A kitchen scale takes ten seconds and saves you the headache.
Don't pull the cakes early. I get the temptation - the kitchen smells amazing and the toothpick test feels close enough. But an underbaked layer looks fine going into the fridge and then sinks flat in the middle once it cools. Give it the full time.
Let the layers cool all the way before you touch them with frosting. Warm cake plus frosting equals a melty, sliding mess, and nobody wants to fight that halfway through assembling. I'll usually wrap mine and pop them in the fridge for at least an hour - chilled layers are so much easier to handle, they hold their shape, and they don't tear when you're spreading frosting on top.
Chill the whole cake again once it's assembled, before you cut into it. This is the difference between clean slices and a cake that smears everywhere the second your knife touches it.
What temperature should I bake this at?
I bake mine at 325°F. It's a lower temp than you'd guess, but it's what gives you a level rise instead of a dome, and it keeps the top from cracking. If your oven runs hot, this matters even more.
How do I know when the cake is actually done?
A few things I check every time:
- Press the center lightly - it should spring back, not leave a dent
- A toothpick comes out clean, no wet batter clinging to it
- If you've got an instant-read thermometer, you're looking for 205-210°F in the middle
Can I make this as a single layer instead?
Yep. Pour all the batter into one 9x13-inch pan and bake it for 40-45 minutes. You'll get a sheet cake instead of a stacked one - same flavor, way less fuss.
Why did my cake sink in the middle?
Nine times out of ten it's one of three things: it came out of the oven too early, the oven door got opened too soon while it was still rising, or there was too much leavening in the mix. My fix is boring but it works - preheat your oven fully before the batter goes in, leave the door shut for at least the first 30 minutes, and actually measure your baking soda and powder instead of eyeballing it.
Can I make this chocolate cake gluten-free?
Yes. 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.
Can I make this chocolate cake dairy-free?
Yes. Replace the sour cream in the batter with coconut milk, and swap the frosting's cream cheese and butter for coconut cream and a dairy-free butter alternative. I've had good results with this swap in my Chocolate Zucchini Cake, so the same substitution logic carries over here - you'll still get a rich, moist cake without any dairy.

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.

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





Linda Savinno says
Made this cake for my daughter's birthday. What a decadent perfect cake! Thank you so much!
Mary says
The best scratch chocolate cake I’ve made.
Olya Shepard says
Thank you Mary!