This chocolate cake has two soft, moist chocolate cake layers filled and covered with a rich, silky, creamy chocolate cream cheese frosting.

Rich, fudgy, and full of chocolate, this is the kind of cake that disappears before the candles are even blown out.
Everything comes together in one bowl, and a splash of hot coffee wakes up the cocoa, so every bite tastes deeply chocolatey. Don't worry, you won't taste the coffee!
Then there's the frosting: a silky chocolate cream cheese frosting with just a little tang, swooped on thick.
No fancy skills needed. Just two pans, a whisk, and someone to share it with.
One reader, Jessica, commented: “This cake is so tender and moist, SO delicate. ★★★★★”
If you like chocolate cakes, try my chocolate strawberry cake, chocolate hazelnut cake, and chocolate mayonnaise cake!
Jump to:
Why this recipe works
- One Bowl Batter: Everything is whisked together by hand in one bowl, so there’s no mixer and barely any dishes.
- Deep Chocolate Flavor: Hot coffee blooms the cocoa for a richer, darker chocolate taste, without any coffee flavor.
- Extra Moist: Oil, sour cream, and buttermilk keep the layers soft and tender for days, even straight from the fridge.
- Chocolate Cream Cheese Frosting: A gentle tang from the cream cheese balances the sweetness, so the frosting is rich but never too sweet.
- Classic Celebration Cake: Two tall, even layers that are easy to stack and frost, even if you’re new to layer cakes.

Ingredients
Before starting, measure and prepare your ingredients so the baking process goes smoothly. You can find the exact measurements in the recipe card at the bottom of this post.
The chocolate cake
Flour: All-purpose flour gives the layers structure while keeping them soft. Spoon it into your measuring cup and level it off, or, even better, use a kitchen scale to weigh it.
Dutch-Processed Cocoa Powder: Gives the cake a deep, dark color and a smooth chocolate flavor. Sift it to avoid lumps.
Granulated Sugar: Sweetens the cake and keeps it moist. Caster sugar works great too.
Eggs: Large eggs at room temperature so they blend smoothly into the batter.
Sour Cream: Adds richness and moisture for a tender crumb. Greek yogurt works in the same amount.
Buttermilk: Adds acidity and moisture for a soft, fluffy cake. You can make your own by mixing milk with 1 tablespoon of lemon juice and letting it sit for 5 minutes.
Vegetable Oil: Keeps the layers moist and soft, even straight from the fridge.
Hot Coffee: Blooms the cocoa for a richer chocolate flavor. You won't taste the coffee, and hot water works too.
Vanilla Extract: Rounds out the chocolate flavor. I recommend using vanilla bean extract.
Kosher Salt: Balances the sweetness and brings out the chocolate.
Baking Powder and Baking Soda: Leaveners that give the cake a light, even rise.
The chocolate cream cheese frosting
Butter: Unsalted and softened to room temperature so it whips up smooth. If using salted butter, remove the salt from the recipe.
Cream Cheese: Full-fat block cream cheese at room temperature for a smooth, lump-free frosting. Avoid the spreadable tub kind.
Cocoa Powder: Dutch-processed cocoa gives the frosting a deep chocolate flavor.
Powdered Sugar: Sweetens the frosting and keeps it silky. Sift it to avoid lumps.
Vanilla Extract and Salt: Balance the sweetness and round out the chocolate flavor.
Step by Step Instructions
Make the chocolate cake
1. Prep: Preheat your oven to 180°C (350°F) and line two 8-inch cake pans with parchment paper.
2. Wet Ingredients: In a large mixing bowl, add the eggs, oil, vanilla extract, sour cream, salt, buttermilk, and sugar, then sift in the cocoa powder. Whisk until well combined.

3. Dry Ingredients: Add the flour, baking powder, and baking soda and whisk until almost combined.

4. Coffee: Add the hot coffee and whisk until just combined and smooth. The batter will be thin, which is normal.

5. Bake: Divide the batter evenly between the pans, weighing it for even layers and using cake strips if you have them. Bake for about 30 minutes, until a toothpick comes out clean.
6. Cool and Release: Let the layers cool completely. Run a thin spatula around the edges, place a wire rack over each pan, and flip to release the cake.

Make the chocolate cream cheese frosting
7. Beat: Beat the softened butter and cream cheese with an electric hand mixer until smooth and creamy.
8. Add the Cocoa: Sift in the cocoa powder and mix until fully combined.
9. Finish: Gradually add the powdered sugar, then the vanilla extract and a pinch of salt, and beat until fluffy. If the frosting is too thick, add a splash of milk or cream.

Assemble the cake
10. Anchor: Pipe a small dollop of frosting onto your cake board and place the first cake layer on top.
11. Fill: Spread about ⅓ of the frosting evenly over the first layer.
12. Stack and Frost: Top with the second layer, then cover the cake with the remaining frosting and make a wave pattern with an offset spatula.

Expert Tips
- Room Temperature Ingredients: Eggs, sour cream, and buttermilk mix into a smoother batter when they aren't cold.
- Don't Overmix: Whisk the flour in just until combined for a tender crumb.
- Cool Completely: Frost only fully cooled layers, or the frosting will melt.
- Soft Butter and Cream Cheese: Both must be at room temperature for a smooth frosting.
- Serve at Room Temperature: Let the cake sit out for 30 minutes before serving for the softest texture.
Troubleshooting
Why is my frosting lumpy or gritty?
The cream cheese was too cold or the powdered sugar wasn't sifted. Beat the butter and cream cheese together until completely smooth before adding the sugar.
Why is my frosting runny?
The butter or cream cheese was too warm, or tub-style cream cheese was used. Chill the frosting for 15 minutes, then beat it again.
Why did my cake sink in the middle?
It was underbaked or the oven door was opened too early. Bake until a toothpick comes out clean, and wait at least 20 minutes before checking.

Frequently Asked Questions
The hot coffee makes the batter very thin and pourable. That is normal, and it is what keeps the layers so moist.
Dutch-processed cocoa is less acidic, with a darker color and smoother chocolate flavor. Natural cocoa also works here, but the cake will be a little lighter in color and slightly tangier.
Weigh the batter so both pans get the same amount, and wrap the pans with damp cake strips. The layers bake evenly without a dome, so there is no need to trim them.
Storing
Because of the cream cheese frosting, store the cake covered in the fridge for up to 4 days. Let slices sit at room temperature for 30 minutes before serving.
Freezing
Whole cake: Freeze uncovered for 1 to 2 hours until the frosting is firm. Wrap in plastic wrap and foil, and freeze for up to 2 months. Thaw overnight in the fridge.
Cake slices: Wrap each slice in plastic wrap and freeze in an airtight container for up to 2 months. Thaw in the fridge for a few hours.
Make It Ahead Of Time
Bake the Layers Early
Bake the chocolate layers up to 1 day ahead. Once completely cool, wrap them tightly and keep them at room temperature, or freeze them for up to 3 months.
Make the Frosting in Advance
Make the frosting up to 3 days ahead and keep it covered in the fridge. Let it soften at room temperature and beat it again before using.

Substitutions
Gluten-free: Use a 1:1 gluten-free flour blend.
Dairy-free: For the cake, use a dairy-free yogurt and almond or oat milk mixed with lemon juice instead of buttermilk. For the frosting, use plant-based butter and a dairy-free cream cheese.
Variations
Raspberry Filling: Spread raspberry jam between the layers.
Mocha: Add 1 teaspoon of instant espresso powder to the frosting.
Chocolate Chip: Fold mini chocolate chips into the batter.
Classic Cream Cheese Frosting: Leave the cocoa out of the frosting for a plain cream cheese frosting.
How to Scale This Recipe for Different Pans
Multiply all the cake and frosting ingredients by the amount below.
- Two 9 Inch Pans: As written, for thinner layers. Bake for 25 to 30 minutes.
- Three 6 Inch Pans: As written. Bake for 25 to 30 minutes.
- Three 8 Inch Pans: 1.5x. Bake for 25 to 30 minutes.
- 9x13 Inch Sheet Cake: As written. Bake for 35 to 40 minutes.
- Cupcakes: As written, for about 24 cupcakes. Bake for 18 to 20 minutes.
Equipment
- Mixing bowl (set of 3)
- Whisk Set (pack of 3) to whisk the ingredients together
- 8-inch cake pans.
- Rubber spatula
- Pastry bag
- Cake strips
- Electric hand mixer
- Kitchen scale
More Cake Recipes
Looking for more layer cakes? Try my strawberry whipped cream cake, vanilla cake with chocolate frosting, and banoffee cake!
Connect With Us
Review: Leave a rating and comment below if you enjoyed this recipe. Socials: Follow on Facebook, Instagram, and Pinterest. Save: Pin this recipe to Pinterest for later.
📖 Recipe

Chocolate Cake With Chocolate Cream Cheese Frosting
Ingredients
For the cake
- 1 ¾ cups Granulated sugar
- 2 teaspoon Vanilla extract
- ½ teaspoon Kosher salt
- 3 Eggs
- ½ cup Sour cream
- ¾ cup Buttermilk
- ⅔ cup Vegetable oil
- ⅔ cup Cocoa powder Dutch processed
- 2 cups Flour
- ½ teaspoon Baking soda
- 2 teaspoon Baking powder
- ¾ cup Coffee hot
For the frosting
- ½ cup Butter room temperature, unsalted
- 8 oz Cream cheese room temperature , full fat
- ⅓ teaspoon Kosher salt
- 1 teaspoon Vanilla extract
- ½ cup Cocoa powder Dutch processed
- 3 ½ cups Powdered sugar
Instructions
Make the chocolate cake
- Prep: Preheat your oven to 180°C (350°F) and line two 8-inch cake pans with parchment paper.
- Wet Ingredients: In a large mixing bowl, add the eggs, oil, vanilla extract, sour cream, salt, buttermilk, and sugar, then sift in the cocoa powder. Whisk until well combined.
- Dry Ingredients: Add the flour, baking powder, and baking soda and whisk until almost combined.
- Coffee: Add the hot coffee and whisk until just combined and smooth. The batter will be thin, which is normal.
- Bake: Divide the batter evenly between the pans, weighing it for even layers and using cake strips if you have them. Bake for about 30 minutes, until a toothpick comes out clean.
- Cool and Release: Let the layers cool completely. Run a thin spatula around the edges, place a wire rack over each pan, and flip to release the cake.
Make the chocolate cream cheese frosting
- Beat: Beat the softened butter and cream cheese with an electric hand mixer until smooth and creamy.
- Add the Cocoa: Sift in the cocoa powder and mix until fully combined.
- Finish: Gradually add the powdered sugar, then the vanilla extract and a pinch of salt, and beat until fluffy. If the frosting is too thick, add a splash of milk or cream.
Assemble the cake
- Anchor: Pipe a small dollop of frosting onto your cake board and place the first cake layer on top.
- Fill: Spread about ⅓ of the frosting evenly over the first layer.
- Stack and Frost: Top with the second layer, then cover the cake with the remaining frosting and make a wave pattern with an offset spatula.
Notes
- Room Temperature Ingredients: Use room temperature eggs, sour cream, and buttermilk for a smooth batter.
- Measure the Flour: Spoon and level the flour, or weigh it on a kitchen scale.
- Thin Batter: The batter is very thin because of the coffee. That is normal.
- Even Layers: Weigh the batter and use cake strips for flat layers.
- Cool Completely: Frost only fully cooled layers.
- Smooth Frosting: Use soft butter and full-fat block cream cheese at room temperature, and sift the powdered sugar.
- Salted Butter: If using salted butter, remove the salt from the frosting.
- Coffee: Hot water works if you prefer no coffee.
- Other Pans: Bake in two 9-inch pans for 25 to 30 minutes, or a 9x13-inch pan for 35 to 40 minutes.
- Storage: Keep covered in the fridge for up to 4 days. Freeze the whole cake or slices for up to 2 months.






Jessica says
This cake is so tender and moist SO delicate.