
This indulgent mocha cake layers moist chocolate sponge with silky espresso buttercream for a café-worthy dessert you can make at home. Perfect for birthdays, celebrations, or any time you need a serious chocolate coffee fix.

If you have ever sat in a cozy café with a rich mocha in one hand and a slice of chocolate cake in front of you, this recipe is basically that moment in dessert form. This mocha cake layers deeply fudgy chocolate sponge with a silky, coffee-forward espresso buttercream that somehow manages to be both bold and elegant at the same time.
This is not a shy cake. The cocoa is deep, the coffee is present, and every single bite reminds you exactly why chocolate and coffee are one of the greatest flavor pairings in existence. It is stunning enough for a birthday centerpiece and weeknight-friendly enough to justify on a random Tuesday.
Here is a question people always ask: why pour hot coffee into cake batter? The answer is simple and delicious. Hot liquid blooms the cocoa powder, drawing out its fullest, most intense chocolate flavor. It also keeps the crumb incredibly moist and tender.
You do not need a fancy espresso machine. A strong pot of drip coffee or a few packets of instant espresso stirred into hot water works beautifully. The key is that it is hot when it hits the batter.
Chef's Tip: Do not panic when you see how thin the batter looks after adding the espresso. That runny consistency is exactly right and it bakes up into the most luscious, dense crumb.
The right tools and a quality espresso powder make a genuine difference in this recipe. A good stand mixer will give your buttercream that impossibly fluffy texture, and Dutch-process cocoa delivers the deep, dark chocolate flavor that makes this cake so special.
Tools & Ingredients We Recommend
The frosting is where the mocha magic really lives. This is a classic American-style buttercream, but elevated. Dissolving espresso powder in a small splash of warm water before adding it to the butter ensures every bite of frosting is infused with smooth, even coffee flavor rather than gritty pockets.
A few things to keep in mind:
If you want to take things over the top, a simple chocolate ganache drip along the edges adds a dramatic, bakery-worthy finish that takes about five extra minutes.
Getting even, flat cake layers is easier than it looks with a couple of small habits. Divide the batter as evenly as possible between the two pans, and give each pan a gentle tap on the counter to release any air bubbles. Once baked, let the layers cool completely before frosting. Warm cake will melt buttercream into a sliding, soggy mess, and patience here is genuinely rewarded.
If your layers baked up with a dome in the center, a serrated knife can level them flat in about 10 seconds. Save the scraps for snacking, obviously.
Chef's Tip: For the cleanest slices, refrigerate the finished cake for at least 30 minutes before cutting. Run your knife under hot water and wipe it dry between each slice.
Ready to bake the best mocha cake of your life? Here is everything you need:

This indulgent mocha cake layers moist chocolate sponge with silky espresso buttercream for a café-worthy dessert you can make at home. Perfect for birthdays, celebrations, or any time you need a serious chocolate coffee fix.
Preheat the oven to 350 degrees F (175 degrees C). Grease and flour two 9-inch round cake pans, then line the bottoms with parchment paper.
In a large bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt until fully combined.
In a separate bowl, whisk together the eggs, buttermilk, vegetable oil, and vanilla extract until smooth.
Pour the wet ingredients into the dry ingredients and stir until just combined. Do not overmix.
Carefully stir in the hot espresso. The batter will be thin, this is normal and creates an incredibly moist crumb.
Divide the batter evenly between the prepared pans. Bake for 32 to 35 minutes, or until a toothpick inserted in the center comes out with just a few moist crumbs.
Let the cakes cool in the pans for 15 minutes, then turn out onto a wire rack and cool completely before frosting.
To make the espresso buttercream, beat the softened butter on medium-high speed for 3 to 4 minutes until light and fluffy.
Reduce the mixer speed to low and gradually add the sifted powdered sugar, mixing until incorporated.
Add the dissolved espresso mixture and heavy cream, then increase speed to medium-high and beat for 2 minutes until the buttercream is silky and spreadable. Add more cream one tablespoon at a time if needed.
Place one cooled cake layer on a cake stand or serving plate. Spread a generous layer of espresso buttercream on top.
Set the second cake layer on top and frost the entire outside of the cake with the remaining buttercream. Smooth with an offset spatula.
Optional: For a ganache drip, heat the heavy cream until steaming, pour over the chopped chocolate, and let sit for 2 minutes before stirring smooth. Drizzle over the top of the frosted cake.
Refrigerate for at least 30 minutes before slicing to set the frosting. Bring to room temperature for 20 minutes before serving.
This cake is best served at room temperature, so pull it from the fridge about 20 minutes before you plan to slice it. The buttercream softens slightly and the chocolate flavor opens up beautifully.
Serving ideas:
Leftovers keep covered in the refrigerator for up to 5 days, and individual slices freeze well for up to a month. This is genuinely one of those cakes that tastes even better on day two once all the flavors have had time to settle together.