This Chocolate Espresso Cake is what happens when a rich bakery-style chocolate cake meets your favorite cozy coffee shop drink. The crumb is tender and moist, the espresso runs through every bite, and a silky mocha frosting wraps everything up in a not-too-sweet, grown-up kind of decadence.

It’s an impressive dessert that still feels doable on a weeknight if you love to bake. Whether you’re celebrating a birthday, planning a special date-night at home, or just craving a chocolate fix to go with your evening latte, this cake is the kind of showstopper that doesn’t require professional skills—just a mixing bowl and a love for chocolate and coffee.
Why You’ll Love This Chocolate Espresso Cake
Chocolate lovers and coffee lovers both get exactly what they want here. The espresso deepens the chocolate flavor without making the cake taste bitter, so you end up with a cake that’s bold and aromatic but still incredibly balanced.
On top of that, the texture stays soft and moist for days, and the mocha buttercream is fluffy enough to spread easily yet sturdy enough to pipe into pretty swirls. It’s the perfect make-ahead celebration cake because the flavors actually bloom and improve as it rests.
A few reasons this cake will quickly become a favorite:
- Layered flavor: Espresso powder and hot brewed espresso boost the cocoa so the chocolate tastes richer and more complex.
- Bakery-style crumb at home: Simple pantry ingredients and sour cream create a soft, tight crumb that slices beautifully.
- Versatile occasion cake: Dress it up with chocolate curls for birthdays and holidays, or keep it rustic and simple for casual get-togethers.
- Coffee-lover approved: Every slice tastes like a mocha in cake form—perfect with a cappuccino or cold brew on the side.
- Make-ahead friendly: The cake layers and frosting can both be made in advance, so assembly day is calm and easy.
What Kind of Espresso Works Best in This Cake?
The espresso you choose can subtly change the personality of your Chocolate Espresso Cake, so it’s worth a quick thought before you start baking.
Instant espresso powder dissolves quickly and distributes evenly in the batter, giving you consistent mocha flavor without extra liquid. A medium or dark roast works beautifully—choose a blend you already like to drink so the flavor makes sense to your taste buds.
For the hot espresso (or strong coffee) that gets stirred into the batter, you don’t need anything fancy, but a bold, smooth roast really shines here. If you don’t have an espresso machine, strongly brewed coffee or concentrated French press coffee works just as well. Avoid flavored coffee (like hazelnut or vanilla) so the chocolate and pure espresso notes remain the stars of the show.
If you prefer a milder coffee profile, you can dial back the espresso powder slightly and still enjoy the way it deepens the chocolate without overwhelming it.
Ingredients for the Chocolate Espresso Cake

Before you start mixing, it helps to understand what each ingredient is doing for your cake. In this section we’re just talking about the ingredients and why they matter—the exact quantities will be listed later in the printable recipe card.
For the Chocolate Espresso Cake Layers
- All-purpose flour – Provides the structure of the cake while keeping the crumb tender and soft.
- Unsweetened cocoa powder – Gives the cake its deep chocolate flavor and gorgeous dark color.
- Instant espresso powder – Intensifies the chocolate and adds that unmistakable coffee aroma in every bite.
- Baking powder – Helps the cake rise tall and light in the oven.
- Baking soda – Works with the acidic ingredients (like sour cream and cocoa) for an extra lift and soft texture.
- Fine sea salt – Balances the sweetness and sharpens the chocolate and espresso flavors.
- Granulated sugar – Sweetens the cake and helps keep the crumb moist.
- Light brown sugar – Adds a hint of caramel-like depth and extra moisture.
- Large eggs – Bind the batter, add richness, and contribute to a stable, fluffy structure.
- Whole milk – Keeps the cake moist and tender while adding a subtle creaminess.
- Sour cream or Greek yogurt – Adds tang and richness, helping to create a plush, bakery-style crumb.
- Neutral oil (like canola or vegetable) – Ensures the cake stays soft and moist, even after chilling.
- Vanilla extract – Rounds out the chocolate and espresso with a warm, sweet aroma.
- Hot brewed espresso or strong coffee – Blooms the cocoa and espresso powder, deepening the overall flavor and giving the batter a silky consistency.
For the Mocha Buttercream Frosting
- Unsalted butter – Forms the creamy base for the frosting and adds rich flavor.
- Powdered sugar – Sweetens and thickens the frosting while keeping it smooth and cloud-like.
- Unsweetened cocoa powder – Brings chocolate flavor into the frosting so it matches the cake.
- Instant espresso powder – Infuses the buttercream with a subtle coffee kick.
- Heavy cream or milk – Loosens the frosting to a spreadable, pipeable consistency.
- Vanilla extract – Softens any sharp edges from the cocoa and espresso.
- Fine sea salt – Just a pinch makes the chocolate and coffee flavors pop.
Optional Garnishes
- Dark chocolate shavings or curls – Add a café-style finish and extra chocolate texture on top.
- Cocoa powder or espresso powder for dusting – Creates a pretty, bakery-style look and hints at what’s inside.
How To Make the Chocolate Espresso Cake
Once you’ve gathered your ingredients, the process is very straightforward. Think of it as building layers of flavor step by step—from blooming the cocoa with hot espresso to whipping air into the frosting.
Step 1: Prepare the Pans and Oven
Preheat your oven and prepare two round cake pans by greasing them and lining the bottoms with parchment rounds. This simple step helps the layers release cleanly and keeps the edges from tearing when you turn the cakes out to cool.
Step 2: Mix the Dry Ingredients
In a large bowl, whisk together the flour, cocoa powder, instant espresso powder, baking powder, baking soda, and salt. Whisking rather than sifting breaks up any clumps and ensures every bite has the same chocolaty, coffee-kissed flavor.
Step 3: Whisk Together the Wet Ingredients
In a separate bowl, whisk the granulated sugar, brown sugar, and eggs until slightly thickened and combined. Add the milk, sour cream, oil, and vanilla extract, whisking until the mixture looks smooth and glossy.
Step 4: Combine the Batter
Pour the wet ingredients into the bowl of dry ingredients. Stir gently with a spatula until you see just a few streaks of flour remaining. Then pour in the hot brewed espresso or strong coffee and continue mixing until the batter is smooth. The batter will be fairly thin—that’s what gives you a moist, tender crumb.
Step 5: Bake the Cake Layers
Divide the batter evenly between the prepared pans and smooth the tops. Bake until the layers are set, the centers spring back when lightly pressed, and a toothpick inserted in the center comes out mostly clean with just a few moist crumbs.
Let the cakes cool in their pans for a short time, then carefully turn them out onto a wire rack. Peel away the parchment and allow the layers to cool completely before frosting.
Step 6: Make the Mocha Buttercream
While the cake layers cool, beat the softened butter in a mixing bowl until light and creamy. Gradually add powdered sugar, cocoa powder, and espresso powder, mixing on low speed until combined. Pour in a splash of cream or milk and the vanilla extract, then increase the mixer speed and beat until the frosting is fluffy and spreadable. Adjust the consistency as needed with a bit more cream or powdered sugar.
Step 7: Assemble the Cake
Place the first cooled cake layer on your serving plate or cake stand. Spread a generous layer of mocha buttercream over the top, making sure it reaches all the way to the edges. Carefully set the second layer on top, pressing gently to level it.
Use the remaining frosting to coat the sides and top of the cake. You can go for a smooth, elegant finish or a more rustic, swoopy look—both styles suit this cozy, coffeehouse-inspired cake.
Step 8: Decorate and Chill
Finish with chocolate shavings, curls, or a light dusting of cocoa or espresso powder over the top. For the cleanest slices and best flavor, let the frosted cake rest for a bit so the frosting can set and the flavors meld together.
How to Serve This Chocolate Espresso Cake
Chocolate Espresso Cake is rich enough to feel luxurious, but not so heavy that you can’t enjoy a generous slice. This recipe comfortably serves about 12 people, especially if you’re slicing it as part of a dessert spread.
Serve it at room temperature so the crumb stays soft and the frosting feels silky rather than firm. It’s beautiful on its own, but you can absolutely add a scoop of vanilla or coffee ice cream, a dollop of lightly sweetened whipped cream, or a handful of fresh berries on the side.
For a coffee-focused dessert moment, pair each slice with a shot of espresso, a cappuccino, or even an iced latte. The flavors echo each other and make the whole experience feel like dessert at your favorite café.
How to Store Chocolate Espresso Cake
This cake stores very well, which makes it ideal for making ahead or savoring leftovers over a few days.
At cool room temperature, a fully frosted Chocolate Espresso Cake keeps well for about 1 to 2 days. Cover it with a cake dome or wrap it gently in plastic wrap to prevent the frosting from drying out.
For longer storage, place the cake (or individual slices) in an airtight container and refrigerate for up to 4–5 days. The frosting will firm up in the fridge, so let slices sit at room temperature for 20–30 minutes before serving so the texture softens again.
If you want to freeze the cake, it’s best to wrap the unfrosted layers individually in plastic wrap and then foil. Freeze for up to 2 months. Thaw the layers overnight in the refrigerator, bring them to room temperature, and then frost as usual. You can also freeze frosted slices on a tray until solid, then wrap and store them for a quick, ready-to-go dessert.
Frequently Asked Questions
Can I make this cake without espresso?
Yes. If you’re sensitive to caffeine, you can replace the hot espresso with hot water or hot milk and skip the espresso powder. The cake will still be deliciously chocolaty—just with a more classic chocolate flavor instead of a mocha profile.
Can I bake this in a different pan size?
Absolutely. You can bake the batter in a 9×13-inch pan for a single-layer sheet cake or in a bundt pan (just be sure to grease and flour it well). The baking time will change slightly, so start checking for doneness a little earlier and keep an eye on the center.
Can I make the cake ahead of time?
Yes, this cake is great for making ahead. You can bake the layers a day or two in advance, wrap them well once cooled, and store them at room temperature or in the fridge. The frosting can also be made in advance—just bring it back to a spreadable consistency by beating it for a minute or two with a splash of cream before assembling the cake.
How do I get flat, even cake layers?
To help your cake layers bake evenly, make sure your oven temperature is accurate and your batter is divided as evenly as possible between pans. You can also gently tap the filled pans on the counter to release air bubbles. If needed, once the layers are completely cool, you can trim any domed tops with a serrated knife before stacking.
Can I tone down the coffee flavor?
Definitely. For a softer coffee note, reduce the espresso powder in both the cake and frosting, or keep it in the cake only and leave it out of the frosting. You can also swap the hot espresso for hot milk to mellow the overall flavor.
Want More Cake Ideas?
If you love this Chocolate Espresso Cake, you’ll probably enjoy these other cake recipes too:
- Try this cozy Pumpkin Coffee Cake with Cinnamon Streusel Crumble when you’re craving warm spices and a buttery crumb topping.
- For an ultra-decadent option, bake the Salted Caramel Cake That Melts in Your Mouth with ribbons of caramel and a tender crumb.
- Keep things light and summery with the Whipped Cream Juicy Berries Cake that layers fluffy cake with fruit and cream.
- Or go classic and cozy with a slice of Classic Coffee Cake Recipe alongside your morning or afternoon coffee.
Save This Pin For Later
📌 Save this Chocolate Espresso Cake to your dessert or celebration board on Pinterest so you can come back to it any time you’re craving a mocha-inspired treat.
When you make it, I’d love to hear how it turns out for you. Did you go all in on the espresso, or keep the coffee flavor subtle? Did you decorate with chocolate curls, a dusting of cocoa, or keep it simple and smooth?
Share your tweaks and questions in the comments—seeing how you make these recipes your own always inspires new ideas. And if you want even more baking inspiration and everyday meal ideas, you can find plenty of sweets, breakfast bakes, and easy dinners over on my Pinterest at Life With Mira.
Chocolate Espresso Cake
- Total Time: 60
- Yield: 12
Description
This Chocolate Espresso Cake is a rich, moist chocolate layer cake infused with bold espresso flavor and finished with a silky mocha frosting, an easy recipe that fits right into your dessert ideas and special-occasion food ideas. Whether you bake it for a birthday, a dinner party, or a cozy weekend treat, this cake delivers café-style coffee-and-chocolate flavor in every bite.
Ingredients
1 3/4 cups all-purpose flour
3/4 cup unsweetened cocoa powder
2 teaspoons instant espresso powder
1 1/2 teaspoons baking powder
1 teaspoon baking soda
1/2 teaspoon fine sea salt
1 3/4 cups granulated sugar
1/2 cup light brown sugar packed
3 large eggs room temperature
1 cup whole milk room temperature
1/2 cup sour cream or Greek yogurt room temperature
1/2 cup neutral oil such as canola or vegetable
2 teaspoons vanilla extract
3/4 cup hot brewed espresso or strong coffee
1 cup unsalted butter softened
3 1/2 cups powdered sugar
1/3 cup unsweetened cocoa powder
2 teaspoons instant espresso powder for frosting
3 to 4 tablespoons heavy cream or milk
1 teaspoon vanilla extract for frosting
1/4 teaspoon fine sea salt for frosting
1/2 cup dark chocolate shavings or curls for garnish optional
Instructions
1. Preheat the oven to 350°F (180°C). Grease two 8 inch round cake pans, line the bottoms with parchment paper, and lightly flour the sides.
2. In a large bowl whisk together the all purpose flour, cocoa powder, instant espresso powder, baking powder, baking soda, and fine sea salt until well combined and no cocoa lumps remain.
3. In a separate mixing bowl whisk the granulated sugar, light brown sugar, and eggs until the mixture looks slightly thickened and glossy.
4. Add the whole milk, sour cream or Greek yogurt, neutral oil, and vanilla extract to the egg mixture and whisk until smooth and fully combined.
5. Pour the wet ingredients into the dry ingredients and gently stir with a spatula until mostly combined with just a few streaks of flour remaining.
6. Carefully pour in the hot brewed espresso or strong coffee and whisk or stir until the batter is smooth and evenly mixed; the batter will be fairly thin.
7. Divide the batter evenly between the two prepared cake pans and smooth the tops with a spatula to level.
8. Bake the cakes for 28 to 34 minutes or until the centers spring back when lightly pressed and a toothpick inserted in the middle comes out with a few moist crumbs.
9. Allow the cakes to cool in the pans for 10 to 15 minutes, then run a knife around the edges, turn them out onto a wire rack, peel off the parchment, and let the layers cool completely.
10. To make the mocha buttercream, beat the softened unsalted butter in a large bowl with a hand mixer or stand mixer until light and creamy, about 2 to 3 minutes.
11. Add the powdered sugar, cocoa powder, and instant espresso powder to the butter, mixing on low speed until the dry ingredients are mostly incorporated.
12. Pour in 3 tablespoons of heavy cream or milk, the vanilla extract, and fine sea salt, then increase the mixer speed and beat until the frosting is fluffy and spreadable, adding an extra tablespoon of cream if needed.
13. Place one cooled cake layer on a serving plate or cake stand and spread a generous layer of mocha buttercream over the top, pushing the frosting all the way to the edges.
14. Set the second cake layer on top, pressing gently to level, then frost the top and sides of the cake with the remaining buttercream, smoothing or swirling as desired.
15. Garnish the frosted cake with dark chocolate shavings or curls if using, then let the cake rest for at least 20 to 30 minutes before slicing so the frosting can set and the flavors meld.
Notes
Bring the eggs, milk, and sour cream to room temperature before mixing so the batter comes together smoothly and the cake bakes evenly.
Do not overmix once the flour is added; stir just until combined to keep the crumb soft and tender instead of dense.
For a milder coffee flavor, reduce the instant espresso powder by half or replace the hot espresso with hot milk while keeping the rest of the recipe the same.
- Prep Time: 25
- Cook Time: 35
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 slice
- Calories: 460
- Sugar: 44
- Sodium: 260
- Fat: 25
- Saturated Fat: 15
- Unsaturated Fat: 8
- Trans Fat: 0
- Carbohydrates: 54
- Fiber: 3
- Protein: 6
- Cholesterol: 95
Keywords: chocolate espresso cake, mocha cake, coffee dessert, easy cake recipe, dessert ideas, party food ideas, celebration cake, birthday cake, chocolate cake, espresso frosting, layered cake
