Decadent Mocha Cake Recipe with Coffee-Infused Layers
This mocha cake is a rich, moist chocolate layer cake deeply infused with coffee flavor—both in the crumb and in the silky coffee buttercream frosting. The combination of Dutch-process cocoa and freshly brewed strong coffee enhances the chocolate's depth without making the cake taste overly bitter. It's a showstopper for birthdays, dinner parties, or any day you crave a bakery-quality dessert at home.
Ingredients
- For the cake:
- 1 ¾ cups (220g) all-purpose flour
- ¾ cup (65g) Dutch-process cocoa powder
- 2 cups (400g) granulated sugar
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs, at room temperature
- 1 cup (240ml) whole milk, at room temperature
- ½ cup (120ml) vegetable oil
- 2 teaspoons vanilla extract
- 1 cup (240ml) hot strong brewed coffee (espresso or dark roast)
- For the coffee buttercream:
- 1 cup (226g) unsalted butter, softened
- 3 cups (360g) powdered sugar, sifted
- 2 tablespoons instant espresso powder dissolved in 2 tablespoons hot water (cooled)
- 1 teaspoon vanilla extract
- 2–3 tablespoons heavy cream (as needed)
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- In a large bowl, whisk together the flour, cocoa powder, sugar, baking powder, baking soda, and salt until fully combined.
- Add the eggs, milk, oil, and vanilla extract to the dry ingredients. Beat on medium speed for 2 minutes until smooth and well blended.
- Carefully pour in the hot coffee and mix on low speed until just combined. The batter will be thin—that's normal.
- Divide the batter evenly between the prepared pans. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean (a few moist crumbs are fine).
- Let the cakes cool in the pans for 15 minutes, then turn them out onto a wire rack to cool completely. Wrap in plastic wrap and chill for 30 minutes before frosting—this makes them easier to handle.
- While the cakes cool, make the frosting: In a large bowl, beat the softened butter until creamy (about 2 minutes). Add the powdered sugar one cup at a time, beating well after each addition.
- Add the cooled espresso mixture, vanilla, and salt. Beat on high for 2–3 minutes until light and fluffy. If the frosting is too stiff, add heavy cream 1 tablespoon at a time until you reach spreading consistency.
- To assemble: Place one cake layer on a serving plate. Spread a generous amount of frosting on top. Place the second layer on top and frost the top and sides of the cake. Use an offset spatula for a smooth finish, or create swirls if you prefer.
- Chill the frosted cake for at least 30 minutes before slicing to help the frosting set.
Tips
- Use Dutch-process cocoa: It has a deeper, less acidic flavor that pairs beautifully with coffee. If you only have natural cocoa, the cake will still work, but the taste will be slightly different and the rise may be less.
- Don't skip the hot coffee: The hot liquid helps bloom the cocoa and activates the leaveners, giving a tender crumb. If you prefer less caffeine, use decaf coffee or hot water with a teaspoon of instant espresso.
- Room temperature ingredients matter: Cold eggs and milk can make the batter curdle. Set them out 30 minutes before starting.
- For even layers: Weigh the batter in each pan (about 600g each) or use a kitchen scale for accuracy. This ensures flat, even cakes.
- If the cake domes: Use a serrated knife to level the tops before stacking.
Serving Suggestions
Serve this mocha cake slightly chilled or at room temperature. It pairs wonderfully with a scoop of vanilla bean ice cream, a dollop of lightly sweetened whipped cream, or a dusting of cocoa powder. For a truly decadent touch, drizzle each slice with a little warm chocolate ganache or caramel sauce. A cup of espresso or a cold glass of milk on the side balances the richness.
Variations
- Mocha Cupcakes: Divide the batter into 24 cupcake liners and bake for 18–22 minutes. Frost with the same buttercream.
- Mocha Layer Cake with Chocolate Ganache: Replace the coffee buttercream with a simple chocolate ganache (1 cup heavy cream + 8 oz chopped dark chocolate) and add a teaspoon of instant espresso to the cream for extra coffee kick.
- Mocha Bundt Cake: Bake the batter in a greased 10-cup Bundt pan for 45–55 minutes. Dust with powdered sugar instead of frosting.
- Mocha Tiramisu Cake: Brush each layer with a little extra espresso and fold mascarpone into the buttercream for a tiramisu-inspired twist.
Storage and Reheating
Room temperature: The frosted cake can sit at room temperature for up to 2 days, covered with a cake dome or loosely with foil. Refrigerator: Store in an airtight container for up to 5 days. Bring to room temperature before serving for the best texture. Freezer: Unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 3 months. Thaw overnight in the fridge. Frosted cake can also be frozen (unwrapped first, then wrapped after 1 hour) for up to 2 months—thaw in the fridge overnight. Reheating: This cake is best served at room temperature, but if you like it warm, microwave individual slices for 10–15 seconds. Do not reheat the whole cake.
Frequently Asked Questions
Can I make this cake without coffee?
Yes, you can substitute the hot coffee with hot water, but the cake will lose the mocha flavor and the chocolate will taste less intense. To keep the coffee essence without the caffeine, use decaf coffee or a coffee-flavored syrup (reduce sugar slightly).
Why is my cake dry?
Overbaking is the most common cause. Start checking at 28 minutes. Also, make sure you measure flour correctly—spoon it into the cup and level off, don't scoop directly from the bag. And don't skip the oil; it keeps the crumb moist.
Can I use a different frosting?
Absolutely. A simple chocolate buttercream, cream cheese frosting, or even a whipped ganache all work well. If you want a lighter option, a coffee-flavored whipped cream (fold 1 tsp espresso powder into 1 cup cold heavy cream with 2 tbsp sugar) is delicious.
Can I make this cake gluten-free?
Yes, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum. The texture will be slightly more tender, but it will hold together well. Do not use a single flour like almond or coconut without adjusting other ingredients.
How do I prevent the cake from sticking to the pan?
Grease the pans thoroughly with butter or nonstick spray, then dust with cocoa powder (not flour) to avoid white spots on the cake. Parchment paper circles on the bottom are the most reliable method.
Can I make this cake ahead of time?
Yes. Bake the layers up to 2 days ahead, wrap tightly in plastic, and store at room temperature. Or freeze them for up to 3 months. The frosting can be made 3 days ahead and refrigerated; bring to room temperature and re-whip before using.