Go Back
+ servings
Matilda's chocolate cake.

Matilda's Chocolate Cake (Movie Inspired Recipe)

Allie Hagerty
Satisfy your chocolate cravings with Matilda's Chocolate Cake recipe. This fudgy and indulgent cake is inspired by the iconic scene in the movie and is a must-try for any chocolate lover.
5 from 1 vote
Prep Time 25 minutes
Cook Time 35 minutes
Time to Cool 2 hours
Total Time 3 hours
Course Dessert
Cuisine American
Servings 14 servings
Calories 546 kcal

Equipment

  • Two 9-inch round cake pans
  • Parchment paper
  • Whisk
  • Large mixing bowl
  • Measuring cups and spoons
  • Wire rack
  • Offset spatula (for frosting)
  • Medium saucepan
  • Heatproof spatula or wooden spoon
  • Mixing bowl for chilling

Ingredients
  

Ingredients for the Cake:

  • 1 3/4 cups (220g) all-purpose flour
  • 1 1/2 teaspoons baking powder
  • 1 1/2 teaspoons baking soda
  • 3/4 cup (65g) unsweetened cocoa powder
  • 1 1/2 cups (300g) granulated sugar
  • 1/2 cup (110g) packed light brown sugar
  • 1 teaspoon kosher salt
  • 1 cup (170g) chocolate chips (folded into the dry ingredients)
  • 2 large eggs room temperature
  • 1 cup (240ml) buttermilk
  • 1/2 cup (120ml) vegetable oil (or melted butter)
  • 2 teaspoons vanilla extract
  • 1 cup (240ml) hot brewed coffee
  • Flaky sea salt for garnish

Ingredients for the Fudgy Frosting:

  • 1/2 cup (113g) unsalted butter
  • 1/2 cup (120ml) heavy cream
  • 1 1/2 cups (270g) semi-sweet chocolate chips
  • 1/4 cup (25g) unsweetened cocoa powder
  • 1/4 cup (30g) powdered sugar
  • 1 teaspoon vanilla extract
  • 1/4 teaspoon flaky sea salt

Instructions
 

  • Preheat the oven to 350°F (177°C). Grease two 9-inch round cake pans and line the bottoms with parchment paper.

Make the Batter:

  • In a large mixing bowl, whisk together 2 large eggs, 1 cup (240ml) buttermilk, 1/2 cup (120ml) vegetable oil, 2 teaspoons vanilla extract, and 1 cup (240ml) hot brewed coffee until smooth and combined.
  • Into the same bowl, add 1 3/4 cups (220g) all-purpose flour, 1 1/2 teaspoons baking powder, 1 1/2 teaspoons baking soda, 3/4 cup (65g) unsweetened cocoa powder, 1 1/2 cups (300g) granulated sugar, 1/2 cup (110g) packed light brown sugar, and 1 teaspoon kosher salt. Stir until the batter is smooth. Fold in 1 cup (170g) chocolate chips.

Bake the Cake:

  • Divide the batter evenly between the two prepared cake pans. Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean.

Cool the Cake:

  • Let the cakes cool in the pans for about 10 minutes, then transfer them to a wire rack to cool completely.

Make the Frosting:

  • In a medium saucepan, melt 1/2 cup (113g) unsalted butter over medium heat. Add 1/2 cup (120ml) heavy cream and stir until combined. Remove from heat, then stir in 1 1/2 cups (270g) semi-sweet chocolate chips, 1/4 cup (25g) unsweetened cocoa powder, and 1/4 cup (30g) powdered sugar. Stir until smooth. Add 1 teaspoon vanilla extract and 1/4 teaspoon flaky sea salt.
  • Transfer the frosting to a bowl and chill in the fridge for 1-2 hours, stirring occasionally, until it reaches a thick, fudgy consistency.

Frost the Cake:

  • Once the frosting is ready, spread a generous layer on top of one cake layer. Place the second layer on top and frost the top and sides of the cake.
  • Sprinkle flaky sea salt on top for a sweet-salty finish.

Notes

  • Room Temperature Ingredients: Let your eggs and buttermilk come to room temperature for smoother blending and a more even cake texture.
  • Use a Food Scale: For the right ratios, especially with flour, which can vary by measuring cup—this helps prevent a dry cake.
  • Watch Baking Time: Check for doneness with a cake tester or toothpick. A few crumbs are okay; overbaking leads to a dry cake.
Calories: 546kcalCarbohydrates: 66gProtein: 6gFat: 31gSaturated Fat: 15gPolyunsaturated Fat: 5gMonounsaturated Fat: 7gTrans Fat: 0.3gCholesterol: 53mgSodium: 365mgPotassium: 310mgFiber: 4gSugar: 47gVitamin A: 400IUVitamin C: 0.1mgCalcium: 94mgIron: 3mg
Did you bake this recipe?Leave a comment and a review! below and tag @onebowlbakery on socials!