This Matilda chocolate cake has tender chocolate cake layers filled, frosted, and topped with the same rich fudge frosting as in the movie!

If you want an intense chocolate cake inspired by the iconic 1996 film, this is the recipe for you.
Rich dark chocolate fudge frosting creates a decadent center filling and sets with a signature sleek, glossy finish on top.
The oil-based cake layers stay incredibly plush and moist, perfectly balancing the rich fudge coating.
Because the frosting relies on real heavy cream, butter, and dark chocolate bars, the flavor is deeply chocolatey rather than overly sweet. It is my go-to cake for birthdays, celebrations, or any crowd of chocolate lovers.
One reader, Laura, commented: “This is hands down the best chocolate cake I’ve ever had! ★★★★★”
One reader, Madeline, commented: “EXCELLENT cake. So good and a huge hit to everyone who has tried it! ★★★★★”
One reader, Saryabieh, commented: “I’ve made this cake twice for birthdays. Absolutely delish! ★★★★★”
For more chocolate cakes, check out my chocolate sour cream pound cake, small chocolate cake, Ferrero Rocher cake, and fudgy flourless chocolate cake.
Jump to:
Why this recipe works
- Signature Movie Look: The rich dark chocolate fudge frosting sets with a sleek, glossy finish straight from the film.
- No Stand Mixer Required: Whisking the batter together entirely by hand in one bowl keeps prep stress free with minimal cleanup.
- The Perfect Crumb: Blooming Dutch process cocoa in hot brewed coffee unlocks a deep, rich chocolate flavor with zero bitterness.
- Ultra Moist Sponge: Using vegetable oil instead of butter keeps the cake layers exceptionally soft, tender, and plush for days.
- Make Ahead Friendly: The cake layers and frosting can both be prepared a day early without losing fresh texture or shine.

Ingredients
Before starting, measure and prepare your ingredients so the baking process goes smoothly. You can find the exact measurements in the recipe card at the bottom of this post.
The chocolate cake layers
All-Purpose Flour: Provides core structure while maintaining a light, tender crumb.
Granulated Sugar: Sweetens the cake and retains moisture for a soft texture.
Dutch Process Cocoa Powder: Sifted into the dry ingredients for a deep, dark color and smooth chocolate flavor.
Baking Soda & Baking Powder: Leaveners that react with acidic buttermilk to help the cake rise evenly.
Fine Sea Salt: Enhances the cocoa flavor and balances the sweetness.
Eggs: Large and at room temperature so they emulsify smoothly into the batter.
Buttermilk: Provides acidity and moisture to create a melt in your mouth crumb.
Vegetable Oil: Keeps the cake layers perfectly moist and soft, even when chilled. Canola oil works as well.
Vanilla Extract: Deepens and enhances the natural chocolate flavor.
Hot Brewed Coffee: Blooms the cocoa powder to maximize the chocolate flavor without leaving a coffee taste.
The chocolate fudge frosting
Dark Chocolate Bars (60% to 70% Cacao): High quality chopped chocolate bars for the richest flavor and smoothest melt. Avoid chocolate chips, which contain stabilizers that prevent a silky shine.
Heavy Cream: Creates a silky, pourable base for the fudge frosting.
Unsalted Butter: Adds richness and structure to help the frosting set cleanly around the entire cake.
Powdered Sugar: Sifted to ensure the frosting remains smooth, glossy, and never grainy.
Step by Step Instructions
Bake the Cake Layers
Prep: Preheat your oven to 175°C (350°F). Grease two 8-inch round cake pans and line the bottoms with parchment paper.
Dry Ingredients: In a large bowl, sift together the flour, sugar, cocoa powder, baking soda, baking powder, and salt. Whisk to combine.

Wet Ingredients: Whisk in the eggs, buttermilk, vegetable oil, and vanilla extract until smooth.

Bloom: Pour the hot brewed coffee directly into the batter. Whisk gently until smooth and uniform. Note: The batter will be very thin.

Bake: Divide the batter evenly between the two pans. Bake for 30 to 35 minutes, until a toothpick inserted into the center comes out clean. Cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely.

Make the chocolate fudge frosting
Make the Fudge Frosting: Combine chopped chocolate, butter, heavy cream, and sifted powdered sugar in a medium saucepan over the lowest heat setting. Whisk constantly until smooth, melted, and glossy.


Strain through a fine mesh sieve into a shallow dish to remove any air bubbles.
Chill: Place the frosting in the fridge until it thickens to a spreadable, fudgy consistency.


Assembly
Place the first cooled cake layer on a serving plate or turntable. Spread a generous layer of the fudge frosting evenly over the bottom layer using an offset spatula. Top with the second cake layer.
Spread the remaining fudge frosting smoothly over the top and sides of the entire cake, smoothing the top with your spatula for a sleek, glossy finish.
Let the cake sit at room temperature for 15 minutes before slicing to allow the frosting to settle.


Expert Tips
- Bloom the Cocoa: Always use hot brewed coffee or boiling water. The heat dissolves the cocoa solids instantly, releasing their full flavor.
- Keep Heat Low for Maximum Shine: Melt your frosting on the absolute lowest heat setting while whisking constantly. Gentle heat melts the fats smoothly without overheating, ensuring a mirror like shine across the whole cake.
- Use a Kitchen Scale: Weighing dry ingredients like flour and cocoa powder with a digital scale guarantees a consistent, moist crumb instead of a dense cake.
- Do Not Overmix: Whisk the batter just until the flour streaks disappear. Overmixing develops gluten, turning a tender cake dense.
- Room Temp Wet Ingredients: Ensure your eggs and buttermilk are at room temperature so the oil-based mixture emulsifies evenly without seizing.
Troubleshooting
Why is my fudge frosting dull or separated?
This occurs if the chocolate gets too hot during melting. To fix a broken frosting, vigorously whisk in a teaspoon of room temperature heavy cream to re emulsify the fats and bring back the glossy finish.
Why did my cake sink in the middle?
The oven door was likely opened too early, or the cake was underbaked. Ensure your oven is fully preheated and use a toothpick or digital thermometer (205°F / 96°C) to confirm doneness before removing.
Is the cake batter supposed to be thin?
Yes! This is a high hydration batter. The thin, liquid consistency is what creates the ultra moist, melt in your mouth crumb.

Frequently Asked Questions
Run a sharp knife under hot water, wipe it completely dry, and slice. Clean and rewarm the blade between every cut.
Serve at room temperature. Remove it from the fridge 20 to 30 minutes before serving so the frosting softens and the sponge reaches maximum tenderness.
Replace the hot coffee with boiling water or hot decaf coffee in equal measure. The heat of the liquid blooms the cocoa powder without adding caffeine.
Storing
Because the frosting is made with dairy, this cake must be kept in the refrigerator. Store it in an airtight container or a covered cake dome for up to 4 days.
Freezing
You can freeze the assembled cake (or individual slices) in an airtight container for up to 3 months.
If freezing individual slices, wrap them tightly in plastic wrap before placing them in a freezer bag. Thaw in the fridge overnight before serving.
Make It Ahead Of Time
Bake the Cake Layers Early
Bake the chocolate layers up to 1 day in advance. Once completely cool, wrap them tightly in plastic wrap and store them at room temperature (or freeze for up to 1 month).
Prep the Frosting in Advance
You can make the fudge frosting 1 day ahead and keep it covered in the fridge. Before assembly, let it sit on the counter or set the bowl over a pot of warm water for 1 to 2 minutes to soften it back to a spreadable consistency.

Substitutions
Gluten Free: Swap the all purpose flour for a 1:1 gluten free baking flour blend that contains xanthan gum.
Dairy Free Cake: Substitute the buttermilk with 1 cup of oat milk or almond milk mixed with 1 tablespoon of white vinegar or lemon juice, and use a light vegetable oil.
Dairy Free Frosting: Use dairy free dark chocolate bars and swap the heavy cream and butter for dairy free heavy cream and plant based butter sticks.
Egg Free: Replace the eggs with flax eggs (mix 2 tablespoons of ground flaxseed with 6 tablespoons of water and let sit for 10 minutes to thicken).
Variations
Peanut Butter: Spread a layer of smooth peanut butter over the bottom cake layer before adding the center fudge layer.
Salted Caramel: Drizzle a layer of salted caramel sauce over the fudge center layer before stacking the second cake layer.
Chocolate Raspberry: Spread a thin layer of tart raspberry jam underneath the center fudge layer to cut through the richness.
Mocha: Stir 1 teaspoon of instant espresso powder directly into the dry ingredients for an even deeper chocolate aroma.
Crunchy: Sprinkle toasted chopped hazelnuts, crushed crêpe cookies, or cocoa nibs over the center fudge layer for extra texture.
How to Scale This Recipe for Different Pans
To adjust your ingredients, multiply every single ingredient in the recipe by the percentage listed below for your chosen pan setup:
- Two 6 Inch Pans: Multiply the entire recipe by 60% (or 0.6). Use 2 whole eggs. Bake at 175°C (350°F) for 28 to 32 minutes.
- Three 6 Inch Pans: Keep the ingredients exactly the same (100% of the recipe). Divide the batter evenly between three pans. Bake at 175°C (350°F) for 22 to 26 minutes.
- Two 9 Inch Pans: Multiply the entire recipe by 130% (or 1.3). Use 4 whole eggs. Bake at 175°C (350°F) for 30 to 35 minutes.
- 9x13 Inch Sheet Pan: Keep the ingredients exactly the same (100% of the recipe). Bake at 175°C (350°F) for 35 to 40 minutes.
Equipment
- Two 8 inch round cake pans
- Parchment paper rounds
- Large mixing bowl and whisk
- Fine mesh sieve
- Medium saucepan
- Offset spatula
- Digital kitchen scale
More Chocolate Recipes
If you love rich chocolate desserts, check out my chocolate poke cake, fudge cake, or chocolate rice krispie treats!
Connect With Us
Review: Leave a rating and comment below if you enjoyed this recipe. Socials: Follow on Facebook, Instagram, and Pinterest. Save: Pin this recipe to Pinterest for later.
📖 Recipe

Best Matilda's Chocolate Cake
Ingredients
- 2 ½ cups Flour AP, plain flour
- 1 ¾ cups Granulated sugar
- 2 teaspoon Baking powder
- 1 teaspoon Baking soda
- ½ teaspoon Kosher salt
- ½ cup Cocoa powder Dutch processed cocoa powder
- ⅔ cup Vegetable oil or canola oil
- 1 teaspoon Vanilla extract
- 3 Eggs room temperature large eggs
- ⅔ cup Buttermilk
- 1 cup Coffee hot
Chocolate fudge frosting
- 11 oz Butter unsalted
- 14 oz Dark chocolate about 60%-70%
- ⅓ cup Cocoa powder Dutch processed
- 1 ⅓ cups Heavy cream
- 1 ⅓ cups Powdered sugar
- ½ teaspoon Kosher salt
- 1 teaspoon Vanilla extract
Instructions
Make the chocolate cake
- Prep: Preheat your oven to 175°C (350°F). Grease two 8-inch round cake pans and line the bottoms with parchment paper.
- Dry Ingredients: In a large bowl, sift together the flour, sugar, cocoa powder, baking soda, baking powder, and salt. Whisk to combine.
- Wet Ingredients: Whisk in the eggs, buttermilk, vegetable oil, and vanilla extract until smooth.
- Bloom: Pour the hot brewed coffee directly into the batter. Whisk gently until smooth and uniform. Note: The batter will be very thin.
- Bake: Divide the batter evenly between the two pans. Bake for 30 to 35 minutes, until a toothpick inserted into the center comes out clean. Cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely.
Make the chocolate fudge frosting
- Strain through a fine mesh sieve into a shallow dish to remove any air bubbles.
- Place the frosting in the fridge until it thickens to a spreadable, fudgy consistency.
Assembly
- Place the first cooled cake layer on a serving plate or turntable. Spread a generous layer of the fudge frosting evenly over the bottom layer using an offset spatula. Top with the second cake layer.
- Spread the remaining fudge frosting smoothly over the top and sides of the entire cake, smoothing the top with your spatula for a sleek, glossy finish.
- Let the cake sit at room temperature for 15 minutes before slicing to allow the frosting to settle.
Notes
- Measuring Accuracy: For the best results, measure the flour and cocoa powder with a digital kitchen scale. Scooping directly with measuring cups can pack in extra flour, resulting in a dry sponge.
- Ingredient Temperatures: Use room temperature eggs and buttermilk so the wet ingredients blend smoothly without seizing the vegetable oil.
- Blooming Cocoa: Ensure the brewed coffee is steaming hot when added to the batter. The heat dissolves the cocoa solids instantly to unlock maximum flavor.
- Pan Preparation: Grease the cake pans thoroughly and line the bottoms with parchment paper rounds to guarantee the cake layers release cleanly.
- Gentle Heat for Frosting: Melt the dark chocolate, butter, heavy cream, and powdered sugar on the lowest stove setting while stirring constantly. High heat can break the emulsion and make the fudge dull or separated.
- Frosting Consistency: Stir the frosting every 10 minutes while it chills in the fridge until it reaches a spreadable texture. If it becomes too firm, set the bowl over a pot of warm water for 1 to 2 minutes to soften.
- Serving Temperature: Bring refrigerated cake slices to room temperature 20 to 30 minutes before serving. This softens the fudge frosting and restores the ultra-moist texture of the cake layers.





Monica says
This cake turned out soo good, and it looks exactly like the photos. It was easy to prep and had a soft crumb and the fudge frosting is now my go to!
Sherline says
Hi, I want the measurement for buttermilk. I don’t have store-bought buttermilk. How can I prepare homemade buttermilk for this measurement?
RichandDelish says
Hi! You can mix 1 cup of milk with 1 tbsp of lemon and vinegar, let it sit for a few minutes, and add it to the batter!
Sherline says
Thank you
Laura says
This is hands down the best chocolate cake I’ve ever had
Sherline says
Thank you
Lisa Boffa says
Hi, I’m going to make the Mathilda Cake for my husband for Valentine’s Day. If I make it 3 layer, do I need to increase the frosting recipe?
Thanks
RichandDelish says
Hi, you can make 1/3 more of the frosting.
Marie says
Is the frosting suppose to be thin? Will it thicken when cooled after 2 hours?
RichandDelish says
Hi, the frosting thickens up while it cools, for at least 2 hours.
Arielle says
This recipe is amazing. I used black cocoa powder instead of regular and it made it so rich and delicious. I did make the frosting on too high of heat so I have to retry that, but otherwise fantastic.
Thabzs says
This is the best chocolate cake I have ever had and everyone can't stop raving about it! People have even asked me to bake it them and are willing to pay for it, that's how much of a hit it is!!! Sending love from South Africa 🇿🇦
Uma says
I made yestarday, it was a hit , thanks for this receipe.
Eveline Aponte says
My name is Eveline.
This cake was amazing!. Can this frosting be whipped when is completely cool down?.
RichandDelish says
Hi Eveline, I never tried to whip it. I'm not sure it's going to hold its shape, but if you try it, let me know if it works!
Madeline says
EXCELLENT cake. So good and a huge hit to everyone who has tried it. Is it possible to sub milk chocolate for the dark in the frosting? Looking to make it for my nieces and nephews but I’m not sure how they’ll like dark chocolate.
RichandDelish says
Hi! I'm so happy you liked this cake! I recommend substituting half of the dark chocolate with milk chocolate. It will be more delicate and better suit your niece's palate than just dark chocolate.
Saryabieh says
I’ve made this cake twice for birthdays. Absolutely delish!
Fortune Ogbuehi says
Thanks for finally releasing this Matilda chocolate cake recipe 👍
Kayla says
What does one cup of coffee mean?? black coffee or coffee with milk?? i’m so confused
RichandDelish says
Hi Kayla, it’s one cup of black coffee.
Nomsa says
Perfect 🥰 💞 👌
Mimi says
I made this cake yesterday for my sons 16th b day...he was so happy...he said he couldnt buy a better cake...we all loved it...it was so good and the metric conversions are spot on which i find it usualy isn't the case. So thank you for this amazing recipe it's definatly going into our familys cookbook.
Maureen says
Loved this chocolate cake...Best one I have ever made. Did this for my grandsons 16th Birthday...everyone loved it.
Thank you so much. Lovely and moist full of flavour and the fudge gannash was divine.
Will be trying more of your recipes.
Cynthia says
I just made a quadruple batch for six, nine-inch, cakes for two finished three-tier cakes. Easy recipe for the cake. Frosting was good but because of the cooling and then having to rework it to get the correct consistency to use it, I probably won't make it again. Now I'm a professional baker at a fraternity and timing is a huge factor for me as I do multiple jobs along with the baking. I believe I would make this again at home for sure. Great flavor. Thank you for the recipe!
Sara says
Can you used chocolate chips instead of chocolate bars
RichandDelish says
Yes!
Guy says
Okay. I made and frosted my cake. Here are my observations. I did purchase/use cake strips (the first time using them). They did work, but the baking time needed to be increased. They were not done in 20 minutes. Also don't get the "cheap ones" like I bought. Get Wilton brand. Mine started to "bake" and turn brown. Even though I used a high chocolate bars/cocoa powder + espresso coffee, I still feel it lacked chocolate flavor. The frosting was good, but I would use a lighter/fluffier frosting. If you store this cake in the refrigerator, you need to let the cake sit out for the frosting to be soft/creamy again. I thought this would be the best chocolate cake I've ever eaten, but it wasn't. The cake was "good", but NOT "fantastic". Once the cake is put together (2 layers) and frosted, this is a HEAVY cake (weight-wise). Good Luck & enjoy!
Sara says
I loved the cake & was wondering if the is a white/yellow cake equivalent?
Guy says
I'm about to make this cake tonight. I can't believe it says it will serve 14 people/slices. An 8-inch cake pan is SMALL. I don't see getting 14 slices with a 9-inch pan either. I guess I will double the recipe and bake 4-8 inch pans. This is a pricey cake to make (with the chocolate bars). I'm keeping my fingers crossed this turns out okay.
sara says
she said 2 8 inch pans so its a lot bigger hopes this helps
Leticia Evans says
Yesterday, I baked this cake and it was delicious. The frosting was the perfect combination between sweet and bitter. My husband does not like cakes too much; he loved this one. I wonder can I use this recipe to bake cupcakes? Thanks for your amazing recipe.
Pam says
Can this be done in a 9x13?
RichandDelish says
Yes!
Samina says
Hello Richanddelish..
This cake was a hiitttttt...mind blowing..am a small Baker sold them like crazy in a punnet
Wayne says
Wow wow wow you have to try it
Rutendo says
I made this cake for our son’s 3rd birthday . Used margarine instead of butter because thats what i had. It was so yummy, chocolatey and dense . My husband says its the best cake i have ever made!
Thank you for the recipe
Dahiana says
I’ve made this before and it was just wonderful. But now i want to make mini single layer cakes for my son’s birthday. How long would I bake them for ( round, 6 inch cakes).
RichandDelish says
Hi Dahiana! I'm so glad you liked this recipe! You will need to bake the cake for about 18 minutes.
Marion Marlow says
Hey I love this recipe it looks soo good! If I don’t want to use oil can I use butter ? If I can how much do you suggest I use please ?
Thank you x
RichandDelish says
Hi! I never tried it, but let me know if it works. It should work even though oil is the best for this recipe.
Jeremy says
Hi! This recipe looks amazing! I wanted to know how long I can leave the frosted cake out before serving? Would the frosting get too soft if the cake is left out for around 7 hours? Or should I just refrigerate and take the cake out before serving? Thank you!
RichandDelish says
Hi Jeremy! I recommend storing it in the fridge and taking the cake out 30 minutes before serving since the frosting will melt in a warm climate. Hope this helps!
Violet says
Hi, I substituted 1/2cup olive oil for the canola/ vegetable oil and the cake is delicious!
Maison Lecie says
Thank you for this recipe, I made this for a friend’s birthday. The taste is amazing; just one thing, I made the regular size and I baked it for one hour at 350 F degrees for some reason wasn’t cooked inside in 20 min as you indicated . I think the mixture is to heavy to be cooked in short time.
And the coffee, nobody knows was there.
Thank you
Sandra says
I've made this recipe so many times and it's always a hit! I want to try this in cupcake form, how long would the bake time be for cupcakes?
RichandDelish says
Hi Sandra, I'm glad you loved this recipe! I have a delish recipe for chocolate cupcakes here: https://richanddelish.com/chocolate-cupcake/
Anya says
honestly best chocolate cake recipe out there, the cake was so rich and full of flavour, not at all dry or flaky. just perfect, the frosting was also amazing not too sweet or bitter, with perfect texture and consistency. the recipe is so simple yet the result so wonderful 😀
SHEYLA says
Hello, I am ready to make the cake and I would like you to help me please, telling me what percentage level the whipping cream should have. thank you so much
RichandDelish says
Hi! You will need at least 36% of fat for the whipping cream.
SHEYLA says
Thanks!!!!
Zsuzsanna says
I'm writing this comment as I'm eating the cake. 😊 It's the PERFECT chocolate cake. Going into my recipe book that's for sure. Thank you for sharing it with us.
Steph says
Is there a substitute for the coffee? This looks delicious but we don’t have coffee.
RichandDelish says
Hi Steph! You can skip the coffee and use hot water.
Nico says
Absolutely delicious! Use dutch process cocoa for all things chocolate and you won’t have trouble w the color and depth of flavor. I do wonder, how would you store it? And for how long
Thank you!
Varusha says
Hi, I made this cake and it was so divine. Thank you for the amazing recipe. I need advice regarding the frosting, at room temperature, the frosting gets too runny and the top layer of the cake slid off and broke? Should I rather make an icing , add in melted chocolate and then add the fresh cream to whip it? I did love the glossy look of the frosting. Please advise, bless you.
Danielle B says
I made the frosting and put it in the fridge and all the butter floated to the top and now there is a thin butter layer. I’m going to take it out and try to let it warm up and hopefully it will whip up. But any advice on what I might have done wrong?
RichandDelish says
Hi Danielle, it sounds like you may have cooked your frosting at too high a heat, causing the butter to break and float to the top. Next time, cook it on low heat to prevent this.
Daniela says
I tried this recipe yesterday and it was perfect, everyone wanted another slice, not to mention is super easy to follow. Couldn't recommend it enough. The flavors were deep and rich while the frosting looked exactly like the one in the movie.
Marie says
It was good, but I was expecting more of an intense chocolate flavor to the cake itself. The frosting helped with that. It was moist enough. I will try one of your other chocolate cake recipes
Ash says
I made this and it was amazing. I used Dutch processed cacao powder in both frosting and sponge. The icing was the real winner here. I did brown the butter before continuing with the written instructions. I did need to use a hand mixer for a minute or two for the frosting before it went on the cake. The frosting was so smooth, decadent, and a light mousey consistency. Highly recommend for chocolate lovers.
SHAMA says
Thank you for this delicious recipe. I have made this cake twice and both times it was a huge hit and everyone absolutely loved it. I didn't know what dutch cocoa is and where I could buy it, so I used Hershey's but next time I will do my research and look for Dutch Cocoa so I get the dark chocolate cake look.
Emmy says
Hello… thank you for sharing this amazing recope. Im just a bit confuse regarding the chocolate powder… is it unsweetened chocolate powder or no?
Hope you will answer me please. Thanx💕💕💕💕
RichandDelish says
Hi, its unsweetened cocoa powder. I used Dutch-processed cocoa powder for a richer flavor.
Mia says
I made this cake and frosting. I found the cake to be a much lighter color than the picture. The frosting was delicious. I changed nothing. I found the cake to be rather dry and not full of chocolate flavor.
RichandDelish says
That is ood. Have you used Dutch cocoa powder and not natural cocoa powder? Cause that's a game changer.
Ola says
Hi,
Did you use plain or self raising flour in the recipe?
Olivia says
Hi, I made this recipe yesterday for my boyfriend's birthday and it turned out beautifully! I do have a lot of leftover icing and I was wondering how long it will store for? Thank you! 😊
Maddie says
Hi, if I use espresso instead of coffee, is just one shot enough?
RichandDelish says
Hi! yes, its enought!
Rai says
Hi! How many tbsp of coffee do I need in a cup? Thanks
RichandDelish says
Add 2 tbsp of instant coffee to 1 cup of hot water.
Mymona says
Hi there, I made this frosting recipe and all I can say is there was not a crumb left. My family devoured every morsel. I didn't use the cake recipr because I had baked my cake layers and just wanted to try a different frosting.
Definitely my next go to frosting
Thank you for sharing