You’ve had chocolate cake before. You just haven’t had this chocolate cake.
This one is different. It’s the kind of recipe that makes people go quiet mid-bite. Deep, fudgy, tender layers with a frosting so rich it almost tastes like a truffle. And the secret ingredient? Coffee. Not to make it taste like coffee — but to make the chocolate flavor so intense it’s almost unfair.
Keep reading, because there’s one step most recipes skip that completely changes the final result.
What You’ll Need
For the Cake:
- 2 cups (250g) all-purpose flour
- 2 cups (400g) granulated sugar
- ¾ cup (75g) unsweetened Dutch-process cocoa powder
- 2 tsp baking soda
- 1 tsp baking powder
- 1 tsp fine sea salt
- 2 large eggs, room temperature
- 1 cup (240ml) buttermilk, room temperature
- 1 cup (240ml) strong brewed coffee, room temperature
- ½ cup (120ml) vegetable oil
- 2 tsp pure vanilla extract
For the Chocolate Fudge Frosting:
- 1 cup (225g) unsalted butter, softened
- 3 cups (360g) powdered sugar, sifted
- ½ cup (50g) unsweetened cocoa powder, sifted
- ⅓ cup (80ml) heavy cream
- 2 tsp pure vanilla extract
- Pinch of fine sea salt
Tools You’ll Need
- Two 9-inch round cake pans
- Stand mixer or electric hand mixer
- Two large mixing bowls
- Rubber spatula
- Wire cooling rack
- Offset spatula (for frosting — this is a game changer)
- Fine mesh sieve or sifter
- Measuring cups and spoons
- Cake board or cake stand
- Parchment paper
Pro Tips
A few things I’ve learned that genuinely make a difference:
- Room temperature everything. Cold eggs and buttermilk cause the batter to seize. Pull them out 30 minutes before you start.
- Use Dutch-process cocoa. It’s darker, smoother, and gives the cake that deep chocolate color. Natural cocoa works but the flavor won’t be as intense.
- Don’t skip the coffee. It sounds weird but it doesn’t make your cake taste like coffee at all. It just amplifies the chocolate flavor in a way that nothing else can replicate. Strong instant coffee works perfectly if you don’t have brewed on hand.
- Cool your layers completely before frosting. Even slightly warm cake will melt your frosting and make it slide. Give it at least an hour on the rack, or pop the layers in the fridge for 20 minutes.
- Frost a crumb coat first. Apply a thin layer of frosting all over, refrigerate for 15 minutes, then do your final thick layer. This is how you get those clean, smooth sides.
How to Make It
Step 1: Prep Your Pans
Preheat your oven to 350°F (175°C).
Grease both 9-inch cake pans, line the bottoms with parchment paper, then grease the paper too. This guarantees clean release every single time.
Step 2: Mix the Dry Ingredients
In a large bowl, sift together the flour, sugar, cocoa powder, baking soda, baking powder, and salt.
Whisk them together until combined. Sifting the cocoa is non-negotiable here — lumps in your batter = lumps in your cake.
Step 3: Mix the Wet Ingredients
In a second bowl, whisk together the eggs, buttermilk, coffee, vegetable oil, and vanilla extract until smooth.
Step 4: Combine
Pour the wet ingredients into the dry ingredients. Mix with a rubber spatula or on low speed with your mixer until just combined.
The batter will look thin. That’s completely normal — don’t panic and don’t overmix.
Step 5: Bake
Divide the batter evenly between your two prepared pans.
Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out with just a few moist crumbs (not wet batter).
Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack and cool completely.
Step 6: Make the Frosting
Beat the softened butter in your stand mixer on medium-high speed for 3 to 4 minutes until it’s pale and fluffy.
Add the sifted cocoa powder and mix on low until combined.
Add the powdered sugar one cup at a time, alternating with splashes of heavy cream, mixing on low between additions.
Add the vanilla and salt, then increase speed to medium-high and beat for another 2 minutes until light and creamy.
Taste it. Adjust salt if needed. You deserve to taste the frosting.
Step 7: Assemble
Place one cake layer on your cake board or stand. Add a generous scoop of frosting and spread it evenly.
Place the second layer on top.
Apply a thin crumb coat all over the cake, then refrigerate for 15 minutes.
Finish with your final layer of frosting, smoothing the sides and top with your offset spatula.
That’s it. You just made something seriously impressive.
Substitutions & Variations
No buttermilk? Mix 1 cup of regular milk with 1 tablespoon of white vinegar or lemon juice. Let it sit for 5 minutes before using.
No coffee? Use hot water instead. The flavor won’t be quite as deep but it still works.
Gluten-free? Swap the all-purpose flour 1:1 with a good quality gluten-free flour blend (one with xanthan gum already in it).
Dairy-free? Use oat milk + vinegar for the buttermilk substitute, coconut oil instead of vegetable oil, and vegan butter + coconut cream for the frosting.
Want a ganache frosting instead? Heat 1 cup of heavy cream, pour over 2 cups of chopped dark chocolate, stir until smooth, and let it cool until spreadable. It’s even richer.
Add a filling? A layer of raspberry jam or salted caramel between the cake layers takes this to a completely different level. Highly recommend.
Make Ahead Tips
Cake layers: Bake them up to 2 days ahead. Wrap each cooled layer tightly in plastic wrap and store at room temperature. They actually taste better the next day — the crumb tightens up and the flavor deepens.
Frosting: Make it up to 3 days ahead and refrigerate in an airtight container. Let it come to room temperature, then re-whip before using.
Fully assembled cake: Assemble and frost the night before your event. Cover loosely and refrigerate. Bring to room temperature 30 to 45 minutes before serving.
Nutritional Info & Dietary Notes
| Per Slice (1/12 cake) | |
|---|---|
| Calories | ~480 kcal |
| Fat | 24g |
| Carbohydrates | 66g |
| Protein | 5g |
| Sugar | 48g |
For lower sugar: Reduce the frosting sugar by ½ cup and increase the cream slightly to keep the consistency.
Meal pairings: A scoop of vanilla bean ice cream on the side is the obvious move. A cold glass of whole milk or a strong espresso turns a slice into a full experience.
Leftovers & Storage
Room temperature: Store the covered cake at room temperature for up to 2 days if your kitchen isn’t too warm.
Refrigerator: Covered cake keeps well in the fridge for up to 5 days. Bring individual slices to room temperature before eating — cold cake is noticeably less moist.
Freezer: Wrap individual slices in plastic wrap, then in foil. Freeze for up to 3 months. Thaw overnight in the fridge or on the counter for a couple of hours.
FAQ
Can I make this as a single-layer sheet cake? Yes. Use a 9×13 inch pan and bake for 35 to 40 minutes. Check with a toothpick starting at the 35 minute mark.
Why is my cake sinking in the middle? Usually means it was underbaked or the oven door was opened too early. Wait until the toothpick comes out with just a few moist crumbs, not wet batter.
Can I use salted butter in the frosting? You can, but omit the extra pinch of salt. Salted butter varies by brand, so taste as you go.
My frosting is too thick — what do I do? Add heavy cream a teaspoon at a time until it’s spreadable. Start slow.
My frosting is too thin — what do I do? Add powdered sugar a tablespoon at a time and beat until it comes together.
Can I use cake flour instead of all-purpose? Yes. Cake flour gives you an even more tender crumb. Use the same amount (2 cups).
Does this recipe work for cupcakes? Absolutely. Fill liners ⅔ full and bake at 350°F for 18 to 22 minutes.
Wrapping Up
This recipe is the one. 🍫
The coffee trick alone is worth making it just to experience what it does to the chocolate flavor. And once you nail the crumb coat technique, you’ll feel like an actual pastry chef.
Make it for a birthday, a dinner party, a Tuesday night when you just feel like doing something that makes people happy. It’s the kind of cake that gets requested again.
Give it a go and drop a comment below — I’d love to know how it turned out for you, and if you made any variations that worked really well. Questions are always welcome too.
AI Image Generator Prompt
Prompt for a 9:16 top-down flat lay photo:
Top-down flat lay food photography on white marble counters with subtle gold accents and natural window light, shot with iPhone 15 Pro. Ingredients arranged artfully: 2 cups all-purpose flour in a small bowl, 2 cups granulated sugar in a small bowl, 3/4 cup Dutch-process cocoa powder, 2 teaspoons baking soda, 1 teaspoon baking powder, sea salt in a small pinch bowl, 2 large eggs, 1 cup buttermilk in a small glass pitcher, 1 cup brewed black coffee in a glass mug, 1/2 cup vegetable oil in a small glass jar, pure vanilla extract bottle, 1 cup unsalted butter (softened), 3 cups powdered sugar, 1/3 cup heavy cream in a small glass pitcher. Tools visible: two 9-inch round silver cake pans, stand mixer bowl and whisk attachment, rubber spatula, offset spatula, fine mesh sieve, wire cooling rack, parchment paper cut into rounds, measuring cups and spoons set. Warm natural lighting, slight shadow play, crisp and clean blogger-style editorial aesthetic. 9:16 vertical format.
