Mocha Chocolate Cake
A deeply moist chocolate layer cake with subtle coffee undertones that amplify the cocoa, frosted in silky mocha buttercream and finished with dark chocolate shavings. It doesn't taste like coffee — it tastes like the richest chocolate cake you've ever had.
By Hanan · Salt & Hearth
Published July 22, 2026 · Updated July 27, 2026
Full quantities, times and temperatures · How we make this site

Prep
25 min
Cook
35 min
Total
60 min
Serves
12
Be the first to rate this recipe
Tap a star to rate
This is the cake to make when you want people to ask for the recipe before they've even finished their slice. The hot coffee bloomed into the batter does something almost magic to the cocoa — it doesn't add coffee flavor so much as it deepens and darkens the chocolate until it tastes borderline fudgy, even though the crumb stays light and tender. Layer that with a silky mocha buttercream (butter, cocoa, and just a hint of espresso dissolved in cream) and a shower of dark chocolate shavings, and you've got a cake that looks bakery-bought but comes together with a whisk, a mixer, and two cake pans. It's the kind of dessert that's right for a birthday, a potluck, or just a Tuesday when chocolate cake feels non-negotiable. Give yourself about 20 extra minutes to chill it before slicing — it's worth it for the clean layers.
Why you'll love this recipe
- Tastes like intense chocolate, not coffee
- Stays moist for days thanks to oil and buttermilk
- Silky mocha buttercream, not gritty or too sweet
- Two-layer bake fits standard 9-inch pans
- Make-ahead friendly — layers freeze beautifully
Ingredients

Cake
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 3/4 cup unsweetened cocoa powder (Dutch-processed preferred)
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1 tsp salt
- 2 tsp espresso powder or instant coffee granules
- 1 cup buttermilk, room temperature
- 1/2 cup vegetable oil
- 2 large eggs, room temperature
- 2 tsp vanilla extract
- 1 cup strong hot brewed coffee
Mocha frosting
- 1 cup (2 sticks) unsalted butter, softened
- 3/4 cup unsweetened cocoa powder
- 4 cups powdered sugar, sifted
- 1 tsp espresso powder
- 1/4 cup heavy cream, plus more if needed
- 1 tsp vanilla extract
Ingredient notes & substitutions
- Cocoa powder:
- Dutch-processed gives a darker color and smoother, less acidic flavor, but natural cocoa works fine in both the cake and frosting if that's what you have.
- Espresso powder:
- This is the secret weapon that deepens the chocolate flavor without making the cake taste like coffee; instant coffee granules work as a substitute, just crush them fine.
- Hot brewed coffee:
- The heat helps bloom the cocoa and thins the batter to the right pourable consistency, so don't skip letting it get properly hot before adding.
- Buttermilk:
- Its acidity reacts with the baking soda for lift and keeps the crumb tender; if you're out, stir 1 tablespoon lemon juice or vinegar into 1 cup milk and let it sit 5 minutes.
- Vegetable oil:
- Oil (rather than butter) is what keeps this cake so moist even after a day or two in the fridge; a neutral oil like canola or avocado works the same way.
- Heavy cream:
- Used to dissolve the espresso powder and loosen the buttercream to a spreadable consistency; whole milk can sub in a pinch, though the frosting will be slightly less rich.
Method
- 1
Preheat the oven to 350°F (175°C). Grease two 9-inch round pans, line the bottoms with parchment and dust with cocoa. Whisk the flour, sugar, cocoa, baking powder, baking soda, salt and espresso powder until no lumps remain.
- 2
Add the buttermilk, oil, eggs and vanilla and beat on medium 2 minutes until smooth — the batter will be thick.
- 3
On low speed, slowly pour in the hot coffee. The batter turns thin and soupy — that's correct. Beat just until combined, about 30 seconds, then divide between the pans.

- 4
Bake 30–35 minutes, until a toothpick comes out with a few moist crumbs and the cakes spring back. Cool in the pans 10 minutes, then turn out onto racks to cool completely.
- 5
For the frosting, beat the softened butter and cocoa until creamy, about 3 minutes. Gradually add the powdered sugar a cup at a time, beating well. Dissolve the espresso powder in the cream, add with the vanilla, and beat on medium-high 3 minutes until fluffy, loosening with more cream if needed.

- 6
Place one layer on a plate, spread with 1 cup frosting, add the second layer and frost the top and sides. Chill 20 minutes before slicing for clean edges.

- 7
Bon appetit..

Tips
- The coffee amplifies the chocolate, not the coffee flavor — bump the espresso powder to 1 tablespoon in the cake for a more pronounced mocha.
- Cake layers freeze up to 2 months wrapped; thaw fully before frosting.
- Dip your knife in hot water and wipe dry between slices for clean cuts.
Variations to try
- Bump the espresso powder in the cake to 1 tablespoon for a more pronounced mocha edge, as noted in the tips.
- Swap the chocolate shavings for a dusting of cocoa powder or chopped toasted hazelnuts for a Nutella-adjacent finish.
- Turn it into a layered sheet cake by baking in a 9x13 pan for 35-40 minutes and frosting straight in the pan.
- Add a shot of coffee liqueur (like Kahlúa) to the frosting in place of an equal amount of cream for a boozy grown-up version.
Storage & make-ahead
Store the frosted cake covered at room temperature for up to 2 days, or in the fridge for up to 5 days — just let slices sit out 20-30 minutes before serving so the buttercream softens. Unfrosted cake layers freeze well wrapped tightly in plastic for up to 2 months; thaw completely on the counter before frosting so the buttercream doesn't slide or seize. You can also make the buttercream up to 3 days ahead and store it covered in the fridge, then bring to room temperature and rewhip briefly before using.
Frequently asked questions
- Why does the batter turn so thin and soupy after adding the coffee?
- That's completely normal — the hot coffee loosens the thick batter into a pourable consistency, which helps the cake bake up moist rather than dense. Don't try to thicken it back up; just pour it straight into the pans.
- Will the cake actually taste like coffee?
- No — the espresso powder and brewed coffee are there to deepen and intensify the chocolate flavor, not to add a coffee taste. If you want it more noticeable, increase the espresso powder in the batter to 1 tablespoon.
- My frosting looks stiff or grainy — what went wrong?
- It just needs more moisture and more mixing time. Add the extra heavy cream a tablespoon at a time and beat on medium-high for another minute or two until it turns light and fluffy.
- Can I make this cake ahead of time for a party?
- Yes — bake the layers up to 2 days ahead and keep them wrapped tightly at room temperature, or freeze them up to 2 months. You can also frost the finished cake a day ahead and refrigerate it, then let it sit out before serving.
Get the recipes first
New comfort food recipes in your inbox — no spam, unsubscribe any time.