The Best Matilda Chocolate Cake Recipe
The cake Bruce Bogtrotter eats in Matilda is not described in any detail in the book or the film. What we see is a slab of something extremely dark, extremely dense, and covered in more frosting than seems structurally sensible, and that is enough to have launched a hundred recipes trying to recreate it.
This is one of them: an oil-based chocolate cake with hot coffee in the batter and a fudge frosting that goes on far thicker than good taste suggests.
The technical part worth knowing before you shop is the cocoa. Natural cocoa powder is acidic and reacts with baking soda, which is where most of this cake’s lift comes from.
Dutch-process cocoa has had that acidity removed during processing, so it does very little with soda at all. Most recipes for this cake recommend Dutch because it is darker, and then use a leavening system built for natural cocoa, which is how you end up with a cake that tastes faintly metallic.
| Prep Time | 25 minutes |
| Bake Time | 33 minutes |
| Cooling Time | 1 hour 30 minutes |
| Total Time | 2 hours 30 minutes |
Why You Will Love This Recipe

If you’ve been stuck in a rut of baking light, airy cakes that lack that true chocolate punch, you are going to fall in love with this method. This Matilda chocolate cake is:
- Texturally perfect: Using oil instead of butter in the batter makes it incredibly moist and soft, while the fudgy frosting provides maximum richness without being overly stiff.
- Highly customizable: You can easily load the batter with dark chocolate chips, a splash of espresso powder, or a pinch of flaky sea salt on top.
- Made with basic staples: You only need flour, quality cocoa powder, eggs, buttermilk, sugar, and some hot coffee.
- Visually gorgeous: The thick, swooping layers of glossy dark chocolate frosting look like they came straight out of a high-end bakery.
Equipment You Will Need
Two 8-inch round cake pans. Nine-inch pans work too and give you flatter, wider layers that bake about five minutes faster. Eight-inch gives the taller cake in the photos. Either way, you want two of the same size, since baking one after the other means the second batch of batter sits waiting and loses some of its lift.
Parchment paper. Cut a circle for the base of each pan. This batter is very wet and very sticky, and greasing alone is not enough to guarantee a clean release.
A hand mixer. The batter needs two minutes of proper beating, and the frosting needs several more. Doing either by hand is a long job.
A wire cooling rack. Air has to reach the underside of the layers or the bases stay damp while the tops cool, and damp bases slide apart when you stack them.
An offset spatula. For the frosting. The look in the photos comes from swooping rather than smoothing, and an offset spatula does that where a knife drags.
Ingredients You Will Need
The beauty of this recipe lies in its incredibly rich foundation. To get that perfect, nostalgic chocolate flavor, you will need:
For the Cake:
2 cups all-purpose flour
2 cups granulated sugar
3/4 cup natural unsweetened cocoa powder
1 1/2 tsp baking soda
1 tsp baking powder
1 tsp salt
1 cup buttermilk, room temperature
1/2 cup neutral oil
2 large eggs, room temperature
2 tsp vanilla extract
1 cup hot brewed coffee
For the Fudge Frosting:
1 1/4 cups unsalted butter, softened
4 cups powdered sugar, sifted
3/4 cup unsweetened cocoa powder, sifted
1/2 cup heavy cream
2 tsp vanilla extract
1/2 tsp salt
Step-by-Step Instructions for the Best Matilda Chocolate Cake
Step 1: Prep the Pans and Oven. Preheat the oven to 350°F (175°C). Grease two 8-inch round cake pans, line the bases with parchment circles, and grease the parchment as well. Brew the coffee now so it is hot when you need it, and take the eggs and buttermilk out of the fridge.

Step 2: Whisk the Dry Ingredients. In a large bowl, whisk the flour, sugar, cocoa, baking soda, baking powder, and salt together for a good twenty seconds. Cocoa and baking soda both clump badly, and a clump of soda that survives into the batter leaves a bitter spot in the finished cake.

Step 3: Add the Wet Ingredients. Add the buttermilk, oil, eggs, and vanilla and beat on medium speed for 2 minutes. Scrape down the sides once. Then pour in the hot coffee and stir gently until just combined. The batter will be very thin, closer to a pourable liquid than a cake batter, and that is correct. Do not add more flour to thicken it.

Step 4: Bake. Divide the batter evenly between the pans and bake for 30 to 35 minutes. They are done when the tops spring back under a light press and a toothpick comes out with a few moist crumbs clinging to it, not completely clean. A clean toothpick means the cake is already drying out, and this batter is wet enough that it carries on setting for several minutes out of the oven.

Step 5: Cool Completely. Let the layers sit in the pans for 10 minutes, then turn them out onto a wire rack, peel off the parchment, and leave them for at least 90 minutes. Press the back of your hand to the underside of a layer: if there is any warmth at all, it is not ready. Butter frosting on a warm cake slides straight off the sides.

Step 6: Make the Frosting and Assemble. Beat the softened butter on its own for 2 minutes until pale. Add the sifted powdered sugar and cocoa in three additions, beating on low first so it does not fly out of the bowl. Add the cream, vanilla, and salt and beat for a final 3 minutes until light and spreadable. Spread a thick layer between the cooled cakes, then pile the rest over the top and sides, swooping it with an offset spatula rather than smoothing it flat.

Pro Tips for the Ultimate Cake
Small adjustments can take your chocolate cake from good to absolute perfection.
- Use hot coffee: The hot liquid blooms the cocoa powder, releasing a much deeper, more intense chocolate flavor. You will not taste the coffee in the final cake; it simply enhances the chocolate!
- Check the cocoa tin before you start. Natural or Dutch-process changes how much baking soda this cake needs. Natural is the default here. If yours says Dutch or alkalised, drop the soda to half a teaspoon and raise the baking powder to two and a half.
- Sift the cocoa as well as the powdered sugar. Cocoa clumps harder than sugar does, and the lumps do not break down in a mixer. Both go through a sieve or the frosting comes out gritty.
- Weigh the layers if you want them even. Pour batter into one pan, put it on a scale, and match the second. This batter is thin enough to pour accurately, and even layers stack without leaning.
Common Mistakes to Avoid
Using Dutch cocoa with the soda quantity written for natural. The most common mistake in every version of this recipe, including most of the ones online. Dutch cocoa has no acid; two teaspoons of baking soda need acid to react with, and unreacted soda tastes faintly soapy and turns the crumb almost black. Check the tin, and adjust if it says Dutch.
Swapping buttermilk for plain milk. The acidity in buttermilk is part of the leavening, not just a flavour choice. Plain milk leaves the soda with less to work with. A tablespoon of vinegar stirred into milk substitutes perfectly well.
Adding flour because the batter looks too thin. It is meant to be thin, closer to a pourable liquid than a cake batter. That is the hot coffee doing its job, and thickening it gives you a dense, dry cake.
Bake until the toothpick is clean. This batter is wet, and the cake keeps setting for several minutes after it leaves the oven. Moist crumbs on the toothpick are the target; clean means you are past it.
Variations to Try
As a sheet cake. All the batter into a greased 9×13 pan, baked for 35 to 40 minutes. Easier to transport, easier to slice, and you can still pile the frosting on as thickly as you like. This is the practical version for a party.
Three thin layers. Divide between three 8-inch pans and bake for 22 to 25 minutes. More frosting per bite, which is arguably the point of this cake, and it looks considerably taller.
With espresso. A tablespoon of instant espresso powder whisked into the dry ingredients, on top of the hot coffee. It does not taste of coffee; it makes the chocolate taste more like chocolate.
Chocolate chips in the batter. A cup of dark chocolate chips tossed in a tablespoon of the flour mixture before folding in. The flour coating stops most of them from sinking through a batter this thin.
What to Serve with Matilda Chocolate Cake
This versatile, heavy dessert pairs beautifully with simple, creamy contrasts.
- As a classic dessert: Serve a massive slice alongside a steaming cup of dark roast coffee or a tall glass of ice-cold whole milk.
- With a creamy topping: Pair it with a generous scoop of vanilla bean ice cream or a dollop of fresh, unsweetened whipped cream to cut through the intense chocolate.
- Loaded style: During the final frosting step, press a handful of mini chocolate chips or chocolate shavings directly into the sides of the cake for extra crunch.
How to Store Matilda Chocolate Cake

This is one of the few cakes that is genuinely better on day two than on day one.
- On the Counter: Store the fully frosted cake under a cake dome or in an airtight container at room temperature for up to 3 days.
- How to Re-mix: Please skip eating it freezing cold from the fridge! Instead, give a single slice a quick 15-second zap in the microwave to bring that perfectly warm, melt-in-your-mouth fudgy texture right back.
- In the Freezer: You can freeze the baked, unfrosted cake layers tightly wrapped in plastic wrap and foil for up to 2 months. Thaw them overnight on the counter before making your fresh frosting.
- Do not refrigerate it unless your kitchen is warm. The fridge dries cake out faster than the counter does, and it turns this frosting hard enough to drag when you cut it.
Frequently Asked Questions
- Can I make this in a 9×13 rectangular pan? Absolutely. Pour all the batter into a greased 9×13 inch baking dish and bake for about 35 to 40 minutes.
- What is the best cocoa powder to use? Dutch-processed cocoa powder is the absolute best choice because it has a smoother, darker, and less acidic flavor profile than natural cocoa powder, giving you that true bakery taste.
- Can I prep this ahead of time? Yes! You can bake the cake layers a day in advance, wrap them tightly in plastic wrap once completely cooled, and leave them at room temperature until you are ready to frost and serve.
Final Thoughts
One decision matters more than the rest of this recipe combined, and it happens at the shop rather than in the kitchen. Natural cocoa, not Dutch. The baking soda in this cake has nothing else acidic to work with, and unreacted soda is why so many versions of this cake taste faintly of something that is not chocolate.
After that, it is forgiving. The batter is meant to look too thin, the layers need ninety minutes rather than twenty, and the frosting is meant to look like too much. All three feel wrong at the time, and all three are right.
If you make it, leave a note in the comments and tell me how it went. And if a previous attempt at this cake tasted slightly soapy, it was the cocoa.








