A mocha cake is a chocolate cake with real coffee in the batter and a coffee-chocolate frosting on top. The coffee does not make it taste like coffee; it deepens the chocolate, and the cake stays moist for days because the batter is oil-based and liquid-heavy. It suits birthdays, potlucks and bake sales, and it is a one-bowl cake that comes together in about 30 minutes of work.
Hot Coffee in the Batter Is the Whole Trick
The one technique that separates a good mocha cake from a flat one is adding hot, strongly brewed coffee to the batter last. The heat blooms the cocoa, releasing its flavor and color, and the extra liquid keeps the crumb soft. Use coffee at full strength, not diluted, or the chocolate note fades. Instant espresso powder dissolved in 1 cup (240 ml) hot water works just as well as brewed coffee.
Equipment and Pans for This Cake
You need two 8-inch (20 cm) round cake pans, a large mixing bowl, a whisk and a rubber spatula. No stand mixer is required; the batter is thin and mixes by hand. If you only have 9-inch (23 cm) pans, use them and cut the bake time to about 25-30 minutes; the layers will be thinner. Line the pan bottoms with parchment and grease the sides so the layers release cleanly.
Ingredients
Cake
- 2 cups (250 g) all-purpose flour
- 1 3/4 cups (350 g) granulated sugar
- 3/4 cup (75 g) unsweetened cocoa powder
- 2 tsp baking soda
- 1 tsp salt
- 2 large eggs
- 1 cup (240 ml) buttermilk
- 1/2 cup (120 ml) vegetable oil
- 2 tsp vanilla extract
- 1 cup (240 ml) hot strong coffee
Mocha Frosting
- 1 cup (225 g) unsalted butter, softened
- 3 1/2 cups (420 g) powdered sugar
- 1/2 cup (50 g) unsweetened cocoa powder
- 2 tbsp instant espresso powder
- 3-4 tbsp (45-60 ml) whole milk
- 1 tsp vanilla extract
Instructions
- Preheat the oven to 350°F/175°C. Grease two 8-inch (20 cm) round cake pans and line the bottoms with parchment paper.
- In a large bowl, whisk together the flour, sugar, cocoa powder, baking soda and salt until no lumps of cocoa remain.
- Add the eggs, buttermilk, oil and vanilla. Whisk until smooth, about 1 minute. The batter will be thick at this stage.
- Whisk in the hot coffee in a slow stream. The batter will become thin; this is correct. Pour it evenly between the two pans.
- Bake at 350°F/175°C for 30-35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs and the cake springs back when pressed. The eggs and batter are fully cooked at this point; egg dishes are done at 160°F/71°C, the USDA FSIS safe minimum, and this cake bakes well past it.
- Cool the layers in their pans for 10 minutes, then turn them out onto a wire rack and cool completely, about 1 hour. Frosting a warm cake makes it slide off.
- For the frosting, beat the softened butter for 2 minutes until pale. Add the powdered sugar, cocoa, espresso powder and vanilla and beat on low until combined, then on medium for 2 minutes.
- Add the milk 1 tablespoon (15 ml) at a time until the frosting is spreadable but holds a ridge when you lift the beater. Spread about one third between the layers and the rest over the top and sides.
What Goes Wrong With Mocha Cake
A dry crumb almost always comes from overbaking; pull the cake at the first sign of a clean-ish toothpick, not after it looks very dark. A sunken center means the oven ran cool or the pan was too small; check with an oven thermometer and do not open the door before 25 minutes. A frosting that breaks or looks grainy means the butter was too cold or too warm; it should hold a fingerprint without being shiny. Bland chocolate usually means weak coffee; use 2 tablespoons of espresso powder per cup of water if brewed coffee tastes thin.
Substitutions and What They Change
- Buttermilk: swap 1 cup (240 ml) whole milk plus 1 tbsp (15 ml) lemon juice or vinegar, rested 5 minutes. Same rise, slightly less tang.
- Brewed coffee: swap 1 cup (240 ml) hot water plus 2 tbsp instant espresso powder. Same result, and you control the strength.
- Vegetable oil: swap melted and cooled coconut oil or mild olive oil in equal volume. Coconut oil adds a faint flavor.
- Dairy-free: use oat milk in the frosting and a plant-based butter stick; check labels for allergens.
- Espresso powder in the frosting: swap finely ground dark roast coffee at the same amount; the frosting will have a slightly coarser texture.
Storing Mocha Cake Without Losing the Crumb
Cover the frosted cake and keep it at room temperature for up to 2 days; the butter-based frosting holds at cool room temperature but not above 90°F/32C. Refrigerate after that, where it keeps about 3-4 days; bring slices to room temperature for 20-30 minutes before serving so the frosting softens. To freeze, wrap unfrosted layers tightly in plastic and freeze up to 3 months, or freeze frosted slices in a single layer in a sealed container up to 2 months. Thaw wrapped so condensation stays on the outside. Do not leave the cake out more than 2 hours total in warm conditions.
Related
- Coconut Cream Pie Calories and Recipe
- Chicken Pozole Calories: What to Know
- Apple Cider Vinaigrette Calories and Recipe
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).