The Feast

Home cooking recipes for everyday dinners and easy entertaining

Dark Chocolate Espresso Cake Recipe

· 5 min read · Baking and Desserts

This dark chocolate espresso cake is a rich, moist, and intensely flavored layer cake that pairs the deep bitterness of dark chocolate with the bold, roasty notes of espresso. The coffee doesn't make it taste like a coffee cake—it simply amplifies the chocolate's complexity, making each bite more decadent. It works because the hot espresso helps bloom the cocoa powder and melts the chocolate, creating a silky, tender crumb that stays moist for days.

Ingredients

  • 1 and 3/4 cups (220g) all-purpose flour
  • 3/4 cup (65g) unsweetened dark cocoa powder (like Dutch-processed)
  • 2 cups (400g) granulated sugar
  • 1 and 1/2 teaspoons baking powder
  • 1 and 1/2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 large eggs, at room temperature
  • 1 cup (240ml) whole milk, at room temperature
  • 1/2 cup (120ml) vegetable oil
  • 2 teaspoons vanilla extract
  • 1 cup (240ml) hot brewed espresso (or strong coffee)
  • For the frosting: 1 cup (226g) unsalted butter, softened
  • For the frosting: 3 cups (360g) powdered sugar, sifted
  • For the frosting: 1/2 cup (50g) dark cocoa powder
  • For the frosting: 1/4 cup (60ml) heavy cream
  • For the frosting: 2 teaspoons instant espresso powder dissolved in 1 tablespoon hot water
  • For the frosting: 1 teaspoon vanilla extract
  • For the frosting: pinch of salt

Instructions

  1. Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, then line the bottoms with parchment paper.
  2. In a large mixing bowl, whisk together the flour, dark cocoa powder, sugar, baking powder, baking soda, and salt. Make sure there are no lumps; sift if needed.
  3. Add the eggs, milk, oil, and vanilla extract to the dry ingredients. Beat on medium speed for 2 minutes until the batter is smooth and well combined. The batter will be thick.
  4. Carefully pour in the hot espresso and mix on low speed until just incorporated. The batter will become very thin—that's correct. Scrape the sides and bottom to ensure everything is mixed.
  5. Divide the batter evenly between the prepared pans. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs. The cakes should pull away from the edges slightly.
  6. Let the cakes cool in the pans for 15 minutes, then turn them out onto a wire rack to cool completely. Do not frost until fully cool.
  7. To make the frosting: In a large bowl, beat the softened butter until creamy (about 2 minutes). Add the powdered sugar and dark cocoa powder, mixing on low until crumbly.
  8. Add the heavy cream, dissolved espresso, vanilla, and salt. Beat on medium-high for 2–3 minutes until light and fluffy. If too thick, add a teaspoon more cream; if too thin, add a little more powdered sugar.
  9. Place one cake layer on a serving plate. Spread about 1 cup of frosting on top. Place the second layer on top. Frost the top and sides with the remaining frosting. Slice and serve.

Tips

  • Use hot espresso, not cold. The heat is essential for blooming the cocoa powder and activating the baking soda, which gives the cake its rise. If you don't have espresso, strong brewed coffee works perfectly.
  • Don't overmix after adding the hot liquid. Mix just until the streaks disappear—overmixing can make the cake tough.
  • Room temperature ingredients matter. Cold eggs and milk can seize the batter and create a denser crumb. Set them out 30 minutes before starting.
  • For a cleaner slice, chill the frosted cake for 30 minutes before cutting. Use a long, serrated knife and wipe it clean between cuts.

Serving Suggestions

Serve this cake at room temperature with a dollop of lightly sweetened whipped cream or a scoop of vanilla bean ice cream. A dusting of cocoa powder or shaved dark chocolate on top adds elegance. It pairs beautifully with a small glass of cold milk or a traditional cappuccino. For a dinner party, serve with fresh raspberries, which cut through the richness.

Variations

  • Mocha Ganache: Instead of the buttercream, pour a warm ganache (1 cup heavy cream + 8 oz chopped dark chocolate + 1 tsp instant espresso) over the cooled cake for a glossy, fudgy finish.
  • Gluten-Free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more tender, but it works well.
  • Add a layer of raspberry jam: Spread a thin layer of seedless raspberry jam on the bottom cake layer before frosting for a fruity contrast.
  • Make it a sheet cake: Pour the batter into a 9x13-inch pan and bake for 35–40 minutes. Use the same frosting, or simply dust with powdered sugar.

Storage and Reheating

Store the unfrosted cake (or frosted cake) in an airtight container at room temperature for up to 3 days. The frosting contains dairy, so if your kitchen is warm, refrigerate the frosted cake for up to 5 days—let it sit at room temperature for 30 minutes before serving. You can freeze unfrosted cake layers, wrapped tightly in plastic wrap and foil, for up to 3 months. Thaw in the refrigerator overnight. For a warm treat, microwave a slice for 10–15 seconds—it won't ruin the frosting, but it will soften it.

Frequently Asked Questions

Can I use instant coffee instead of espresso?

Yes. Dissolve 2 teaspoons of instant coffee granules in 1 cup of boiling water. It won't have the exact same depth as espresso, but it will still add the needed coffee flavor and acidity.

Why did my cake sink in the middle?

This usually happens if the oven door is opened too early (before 25 minutes) or if the baking soda is old. Also, ensure you measure the hot liquid correctly—too much liquid can make the cake collapse.

Can I make this cake without the coffee?

You can replace the hot espresso with hot water, but the cake will be less flavorful and slightly less tender. The coffee doesn't make it taste like coffee; it enhances the chocolate. If you want to omit it, add an extra teaspoon of vanilla extract.

How do I know when the cake is done?

Insert a toothpick into the center—it should come out with a few moist crumbs, not wet batter. The edges will also pull away from the pan. Start checking at 28 minutes.

Can I use a different frosting?

Absolutely. A simple whipped ganache (2 parts chocolate, 1 part cream) or even a classic cream cheese frosting would work. If using cream cheese, reduce the sugar slightly to avoid overpowering the cake.

Why is my frosting grainy?

Grainy frosting usually means the powdered sugar wasn't sifted, or the butter was too cold. Make sure your butter is truly softened and beat the frosting for at least 2 minutes after adding the sugar.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions