Posted on — Leave a comment

German Chocolate Cake Recipe: Moist, Rich & From Scratch with Coconut-Pecan Frosting

Three-layer chocolate cake on a brass stand with two coconut-pecan filling layers, coconut-pecan frosting on top, and exposed chocolate cake sides.

A good slice of German chocolate cake gives you soft chocolate layers, glossy coconut-pecan filling, toasted nuts and a top that looks generously covered rather than plastered smooth. The filling holds its place when you cut the cake, then stays creamy once the fork goes through it.

For plenty of people, this is also the cake somebody asks for by name, especially for a birthday. They already know the exposed chocolate layers and coconut-pecan top they are hoping to see, which makes getting both the cake and the filling right matter even more.

This German chocolate cake recipe makes both parts from scratch: three chocolate layers and a cooked coconut-pecan frosting, with no cake mix or canned frosting. German’s Sweet Chocolate supplies the familiar sweet-chocolate flavor, while a little natural cocoa adds more chocolate depth.

Pay closest attention to the frosting. A timer can tell you when to start looking; the saucepan tells you when to stop.

Three things matter most:

  1. Keep the chocolate balanced. German chocolate cake has a gentler chocolate profile than devil’s food, but the layers still need enough depth to stand beside the filling.
  2. Pull the frosting from the heat while it still looks a little soft. It thickens considerably as it cools, so waiting for it to look fully set in the saucepan can take it too far.
  3. Cool everything before stacking. Warm cake and warm custard are a recipe for sliding layers.

German Chocolate Cake Recipe

Three chocolate layers made with German’s Sweet Chocolate, natural cocoa and buttermilk, finished with a cooked coconut-pecan frosting.

Yield
1 three-layer 9-inch cake

Serves
14–16

Oven
350°F / 177°C

Cake bake
Begin checking around 26 minutes

Final chill
45–60 minutes

Plan on
About 4 hours including cooling

Equipment

  • Three 9-inch / 23-cm round cake pans, ideally about 2 inches / 5 cm deep
  • Electric hand mixer or stand mixer
  • Medium heavy-based saucepan
  • Digital kitchen scale, strongly recommended
  • Instant-read thermometer for checking the frosting’s egg-safety temperature

Chocolate Cake

  • 4 oz / 113 g German’s Sweet Chocolate, finely chopped
  • ½ cup / 120 ml hot brewed coffee, or hot water
  • 2¼ cups / 270 g all-purpose flour
  • ⅓ cup / 30 g natural unsweetened cocoa powder
  • 1 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon fine salt
  • ¾ cup / 170 g unsalted butter, softened but not greasy
  • 1¾ cups / 350 g granulated sugar
  • ¼ cup / 60 ml neutral oil
  • 4 large eggs, at room temperature
  • 2 teaspoons / 10 ml vanilla extract
  • 1 cup / 240 ml buttermilk, at room temperature

Coconut-Pecan Frosting

  • 4 large egg yolks
  • 1 can (12 fl oz / about 355 ml) evaporated milk
  • 250 g packed light brown sugar, approximately 1 cup plus 3 tablespoons
  • ¾ cup / 170 g unsalted butter, cut into pieces
  • ½ teaspoon fine salt
  • 1½ teaspoons / 7.5 ml vanilla extract
  • 2¼ cups / about 180 g sweetened shredded coconut, preferably a moist baking-style shred
  • 170 g pecan halves, toasted before chopping; approximately 1½ cups once chopped

Before You Start

  • Chocolate: the familiar BAKER’S German’s Sweet Chocolate bar is around 48% cacao. When it is unavailable, a sweet or semisweet baking bar around 45–55% cacao is the closest fallback suggested here. A very dark bar will give the cake a more intense, bitter chocolate character.
  • Cocoa: use natural unsweetened cocoa powder. Dutch-process cocoa changes the acidity and the way the leavening behaves.
  • Coconut: choose sweetened shredded coconut with some moisture left in it. Very fine, dry desiccated coconut absorbs liquid differently and can make the filling firmer.

Method

1. Prepare the Pans

Heat the oven to 350°F / 177°C. Grease three 9-inch / 23-cm round cake pans, line the bottoms with parchment, then lightly grease the parchment.

Light-colored metal pans give the most predictable bake. Dark pans can set and brown the edges sooner.

Arrange the pans with enough space for air to circulate around them. If you need two racks, stagger the pans so one is not directly above another.

2. Melt the Chocolate

Put the chopped German’s Sweet Chocolate in a heatproof bowl. Pour over the hot coffee and leave it for about 2 minutes, then stir until smooth.

Hot coffee being poured over chopped sweet baking chocolate in a bowl as the chocolate begins to melt.
After pouring in the hot coffee, give the chopped sweet baking chocolate a brief moment to absorb the heat before stirring. That short rest does some of the melting for you, making it easier to reach a smooth mixture without unnecessarily working it.

Let the chocolate mixture cool until warm rather than hot before adding it to the butter mixture. Coffee deepens the chocolate flavor without making the finished cake taste noticeably of coffee. Hot water works too.

3. Mix the Dry Ingredients

Whisk together the flour, cocoa powder, baking powder, baking soda and salt until the cocoa is evenly dispersed.

4. Build the Batter

Beat the softened butter and sugar for about 2–3 minutes, until creamy and slightly lighter. Beat in the oil.

Add the eggs one at a time, mixing well after each addition. Beat in the vanilla and scrape the bottom and sides of the bowl.

With the mixer on low, slowly add the warm chocolate-coffee mixture and mix until the color is even.

5. Add the Flour and Buttermilk

Add the dry mixture in three additions, alternating with the buttermilk in two additions. Begin and end with the dry ingredients. Keep the mixer on low and stop when the last streaks of flour are almost gone.

Finish with a few folds by hand, scraping the bottom of the bowl so no pockets of flour remain.

What you are looking for: a smooth, glossy batter that is softer than a traditional butter-cake batter. Resist the urge to add more flour just because it looks loose.

Thick, glossy chocolate cake batter falling in a ribbon from a spatula into a mixing bowl.
Watch how the batter falls from the spatula: it should form a smooth ribbon that settles back into the bowl rather than dropping in stiff clumps. That flowing texture is the useful visual cue here.

6. Divide and Bake

Divide the batter evenly among the three pans. A scale makes even layers easier: weigh the finished batter and divide the total by three.

Chocolate cake batter divided in similar amounts among three round metal cake pans.
Equal batter depth does more than produce prettier layers. It helps all three 9-inch cakes reach doneness in roughly the same window, reducing the chance that a shallow layer dries out while a deeper one is still baking through.

Begin checking around 26 minutes. The centers should no longer wobble, the tops should spring back lightly when touched, and a toothpick inserted near the center should come out without wet batter. A few moist crumbs are fine.

Cool the cakes in their pans for about 10 minutes, then turn them onto racks, remove the parchment and let them cool completely.

Three round baked chocolate cake layers cooling separately on wire racks.
A wire rack cools more than the tops: air can circulate beneath the chocolate cake layers instead of trapping heat and steam against their bases. That airflow helps the crumb finish cooling without leaving the undersides unnecessarily damp.

7. Toast the Pecans

While the layers cool, spread the pecans on a baking sheet and toast at 350°F / 177°C for about 6–8 minutes. They are ready when the nutty aroma becomes obvious; there is no need to wait for them to turn dramatically darker. Cool briefly, then chop them into small but distinct pieces.

Raw pale pecans and darker toasted pecans shown side by side for comparison.
Side by side, the toasted pecans should look slightly deeper and warmer in color rather than dramatically browned. Toast them as halves, then chop after cooling so the nuts keep more distinct, crisp pieces in the frosting.

8. Cook the Coconut-Pecan Frosting

Whisk the egg yolks, evaporated milk, brown sugar and salt together in a medium heavy-based saucepan. Add the butter and set the pan over medium to medium-low heat.

Smooth golden custard base for German chocolate frosting being stirred in a saucepan before coconut and pecans are added.
Before coconut and pecans obscure the mixture, use this stage to inspect the German chocolate frosting custard itself. It should look smooth and unified; visible graininess, curdling or oily separation is easier to diagnose now than after the chunky ingredients are folded in.

Stir continuously, scraping the bottom and corners. From the time the pan goes over the heat, this batch may take roughly 10–15 minutes, depending on the pan and burner. Treat that as a guide for when to watch closely, not a guaranteed finish time.

Keep stirring until the mixture reaches 160°F / 71°C and has thickened enough to coat the back of a spoon. Draw the edge of a spatula through the coating; the track should remain visible instead of immediately closing. The mixture should look glossy and thicker, but it will still be softer than the finished filling.

Spatula drawn through thick golden custard in a saucepan, leaving a visible track across the bottom of the pan.
Draw the spatula firmly across the bottom and watch the path immediately. At the useful stage, the custard leaves a clean track that stays visible instead of flooding closed at once. Keep stirring between checks so the base cooks evenly.

Temperature and texture are separate checks: the thermometer confirms that the egg mixture has reached the safety threshold, while the spoon test helps you judge consistency. For more on safe cooking and handling, see the USDA food-safety guidance.

Want a side-by-side visual check? Compare your custard with the three frosting states.

9. Finish and Cool the Frosting

Remove the pan from the heat and stir in the vanilla, coconut and toasted pecans until evenly coated. The coconut and nuts should be distributed throughout the custard rather than sitting in a separate layer.

Spatula folding shredded coconut and toasted pecan pieces into thick golden custard in a metal bowl.
Expect an immediate jump in apparent thickness when the shredded coconut and toasted pecans are folded into the finished custard. Those solids add body without additional cooking, which is why the custard’s doneness should be established before they go in.

Transfer the frosting to a wide bowl or shallow dish and stir occasionally as it cools. Depending on room temperature and the dish, cooling may take roughly 45–60 minutes. The texture is the better guide: it is ready for stacking when it no longer feels warm and a spoonful holds its mound instead of slowly flowing outward.

Cooled coconut-pecan frosting holding a thick, soft mound on a metal spatula above a bowl.
Look for soft structure rather than buttercream stiffness. Cooled coconut-pecan frosting should mound on the spatula and hold briefly while its edges remain relaxed enough to spread without tugging at the chocolate cake underneath.

10. Assemble the Cake

Before stacking, mentally divide the cooled frosting into three portions, making the top portion slightly larger. That helps prevent using too much between the first two layers and running short at the end.

Set the first cake layer on a serving plate or cake board. Spread one portion of frosting over the top, making a clear coconut-pecan seam without pushing the filling into a heavy bulge at the edge.

Offset spatula spreading coconut-pecan filling evenly across the top of a round chocolate cake layer.
An offset spatula lets you move chunky coconut-pecan filling with broad, light passes instead of pressing repeatedly into the tender crumb. Near the exposed edge, lighten the pressure further so you spread the filling without tearing up the cake underneath.

Add the second layer and repeat. Set the third on top and use the larger remaining portion for the crown.

Labeled cross-section of German chocolate cake showing top frosting, three chocolate cake layers and two coconut-pecan filling layers.
Treat the two interior filling seams as structural layers as well as flavor. Keeping them reasonably level gives the cake above a flatter base, while the top can carry a more generous share of coconut-pecan frosting because it doesn’t have another chocolate layer to support.

Leave the sides exposed for the classic look. Once the third layer is on and those coconut-pecan seams are showing, it finally looks like German chocolate cake.

If the stack starts shifting as you build it, see how to keep the layers from sliding.

11. Chill Before Slicing

Refrigerate the assembled cake for about 45–60 minutes. This gives the filling time to settle and makes the layers easier to slice cleanly.

For serving, let the cake lose some of its refrigerator chill so the crumb softens and the chocolate, butter and toasted nuts become more aromatic.

Back to Recipe ↑  ·  Explore the Cake & Frosting Guide ↓

If the cake is already chilling, you are done for today. Keep the guide below for the questions that tend to come up when choosing chocolate, judging the frosting, building a stable cake or planning ahead.

What Makes German Chocolate Cake Different?

German chocolate cake is an American chocolate layer cake known for its cooked coconut-pecan filling and frosting; its name comes from German’s Sweet Chocolate, not Germany.

The chocolate was developed by Samuel German for Baker’s Chocolate in the nineteenth century. An early published version of the cake appeared in the Irving News Record in May 1956 as “Summer German Chocolate Cake.” A 1957 recipe in the Dallas Morning News helped popularize the cake nationally. Read more in this history of German chocolate cake.

Classic German Chocolate Cake vs This Version

The classic BAKER’S German’s Sweet Chocolate Cake uses a 4-ounce bar of German’s Sweet Chocolate, butter, buttermilk and separated eggs. The egg whites are beaten separately and folded into the batter for lift.

That gentler chocolate flavor is part of what longtime fans recognize as German chocolate cake. This version keeps German’s Sweet Chocolate, buttermilk, three exposed layers and the familiar cooked coconut-pecan finish.

The batter takes a more streamlined route: the whole eggs are added one at a time, natural cocoa adds another layer of chocolate flavor, and a little oil is used alongside the butter.

Our frosting is adapted too. The classic BAKER’S version uses 1½ cups granulated sugar and 2⅔ cups coconut. This version uses 250 g light brown sugar and 2¼ cups sweetened shredded coconut. It retains the cooked egg-yolk, evaporated-milk, butter and pecan base while changing the sugar and coconut proportions rather than reproducing the original formula.

For a dark, fudgy cake covered in glossy chocolate instead of coconut-pecan filling, our Matilda Cake is a much better match.

Choosing the Chocolate

German’s Sweet Chocolate is sweeter and less intense than the very dark bars now common in baking aisles. The familiar BAKER’S bar is around 48% cacao.

Pieces of medium-brown sweet baking chocolate beside bowls of natural cocoa powder on a burgundy surface.
Here, German’s Sweet Chocolate and natural cocoa do different jobs: sweet baking chocolate establishes the mellow chocolate profile, while cocoa adds darker roasted depth. Using both gives this German chocolate cake more chocolate intensity without replacing the ingredient that gives it its distinctive foundation.

Choose it when you can find it. A sweet or semisweet baking bar around 45–55% cacao is the closest fallback suggested here. An 80% or 90% bar pushes the cake in a noticeably darker and more bitter direction.

Cacao percentages, cocoa and chocolate labels can get confusing quickly; our cacao vs chocolate guide explains what those terms actually mean.

Ready to bake? Back to the recipe ↑

Keeping the Chocolate Layers Moist

Butter brings flavor, oil stays fluid when chilled, buttermilk adds moisture and acidity, and coffee helps the chocolate taste fuller. Careful baking keeps that moisture in the cake instead of driving it off in the oven.

Flour measurement matters just as much. Use the gram weight when possible. Measuring by cups? Spoon the flour into the cup and level it instead of packing it down.

The target is a soft, tender layer with enough structure to sit beside the creamy coconut-pecan filling. A wet, brownie-like crumb would pull the cake in a different direction.

Slice of German chocolate cake showing three chocolate cake layers, two coconut-pecan filling layers and coconut-pecan frosting on top.
This cut slice shows why filling proportion matters. Two moderate coconut-pecan seams between three chocolate cake layers give each forkful cake, custard, coconut and pecan without letting the sweet filling overwhelm the chocolate crumb.

Getting the Coconut-Pecan Frosting Right

German chocolate frosting is naturally softer while hot, which makes it easy to keep cooking longer than necessary. Judge it again after cooling: if it still pours then, it was probably undercooked.

The filling begins like a cooked custard. Egg yolks, evaporated milk, brown sugar and butter thicken together before the coconut and pecans go in. Once cooled, you want a soft caramel-like layer with coconut and pecans suspended through it, supple enough for a fork but firm enough to stay between the layers.

Evaporated Milk vs Sweetened Condensed Milk

Sweetened condensed milk is not a 1:1 substitute for evaporated milk in this German chocolate frosting.

Evaporated milk is concentrated milk without the large amount of added sugar found in sweetened condensed milk. The two cans may sit beside each other at the store, but they behave very differently in a cooked filling.

Measure the full 12 fl oz / about 355 ml evaporated milk rather than relying on the phrase “one can,” since package sizes vary.

Condensed-milk German chocolate frostings do exist, but they are built around that ingredient from the beginning. Already have sweetened condensed milk? Our Magic Cookie Bars use it with chocolate, coconut and pecans.

Coconut and Pecans

Choose moist, sweetened shredded coconut here. It absorbs part of the custard and gives the filling much of its body. Very dry desiccated coconut can make the mixture tighten faster than expected.

Long coconut strands are easier to spread and slice after a few rough chops. Keep enough length for the coconut to remain visible.

Toast the pecans before chopping them. Their aroma deepens before the color changes dramatically, so smell is the better cue.

Removing the coconut changes both the body and texture of the filling because the shreds absorb part of the custard. A coconut-free version would need a different filling, not simply the same custard with one ingredient missing.

Walnuts are the easiest nut swap. Toasted walnuts provide similar bulk and crunch, although the flavor is distinctly different.

The Three Frosting States

Three-panel comparison labeled Too Early, Ready and Too Far, showing golden frosting custard from thin and flowing to properly thickened and then overly thick.
Read the movement around the track, not merely the color. Too early, the custard flows back together quickly; ready, it remains glossy while holding a defined path; too far, it moves heavily and begins losing the fluid character needed for an easy-spreading coconut-pecan frosting.
What You SeeWhat to Do
Too early: thin, runs quickly from the spoon and a track through the coating closes almost immediatelyKeep cooking and stirring until the mixture reaches the egg-safety temperature and continues to thicken.
Ready: glossy and visibly thicker, coats the spoon and holds a track drawn through the coating; the mixture has reached 160°F / 71°CRemove it from the heat promptly. It will thicken further as it cools.
Too far: heavy or pasty while still hot, difficult to stir or already beginning to setRemove it from the heat if it has reached the safety threshold. It has gone beyond the ideal spreading stage.

For egg safety, the custard needs to reach 160°F / 71°C. Temperature and spreading consistency are separate checks: use a thermometer for the safety threshold and the spoon test for texture. The USDA food-safety guidance explains safe cooking and handling temperatures.

What Went Wrong with the Frosting?

Still pourable once cool? It may have been undercooked. Return it to gentle heat, stir constantly and monitor both the temperature and the consistency. Do not rely on the spoon test alone to establish egg safety.

Already stiff while warm? The custard may have cooked too far, or the coconut may be especially dry. It can firm further as it cools, so avoid adding more cooking time just to make it resemble a cold filling.

Greasy or separated? Excess heat can disrupt the mixture. Stop cooking and let it cool before assessing the texture. There is no guaranteed fix for a badly separated batch; moderate heat and constant stirring are the best prevention.

Frosting sorted? Return to cake assembly ↑

Keeping the Layers from Sliding

Coconut-pecan filling stays softer than a structural buttercream. Cool cake and cool filling do most of the work here; keep each filling layer thick enough to see clearly without loading it so heavily that it is already pushing toward the edge.

Lower each cake layer straight down instead of sliding it into position. A shifting stack needs a short chill. Pressing harder usually makes the filling squeeze out faster.

For Birthdays and Transport

A narrow ring of firm buttercream around the first two layers can act as a dam when the cake has to travel or spend time in a warm room. Spoon the coconut-pecan filling inside that ring.

For piped decorations, writing or smooth chocolate-covered sides, use buttercream or ganache for those jobs and leave plenty of coconut-pecan frosting visible on top.

Our buttercream frosting guide covers the consistency needed for piping and structural work.

Chill the assembled cake thoroughly before transport and keep it level in a fitted box or carrier. For a longer drive or hot weather, place the boxed cake in an insulated cooler with frozen gel packs to keep it cold in transit. Count transport and serving time together: return the cake to refrigeration within 2 hours out of the cold, or within 1 hour when temperatures exceed 90°F / 32°C.

9×13 German Chocolate Cake

A 9×13-inch cake is easier to carry and portion, and it skips the layer-stacking altogether. Use a metal pan at least 2 inches deep.

Rectangular chocolate cake in a 9-by-13-inch pan topped with coconut-pecan frosting, with portions removed to reveal the chocolate crumb.
A 9×13 German chocolate cake changes the ratio as well as the presentation: all the coconut-pecan frosting sits over one deeper chocolate layer instead of appearing in seams throughout a stacked slice. That gives each serving a more distinct topping-to-cake contrast.

Spread the batter into the greased, parchment-lined pan and bake at 350°F / 177°C. Begin checking around 35 minutes; this is a starting point, and the center’s doneness cues determine when to remove the cake.

The center is ready when it no longer wobbles, the surface springs back lightly and a tester shows moist crumbs rather than wet batter. Cool the cake completely in the pan before frosting it.

Spread the cooled frosting over the cake in a generous, even layer. Once the topping has the depth you want, stop there; every last spoonful does not have to go onto the surface.

Planning ahead? Continue to make-ahead, storage and serving, or return to the recipe ↑.

Make Ahead, Storage & Serving

This cake is easier when the work is split over two days.

Three individually plastic-wrapped chocolate cake layers beside a glass container of prepared coconut-pecan frosting with its red lid nearby.
Storing the components separately preserves control on assembly day. Individually wrapped cake layers protect their exposed surfaces, while separately stored coconut-pecan frosting can be brought back to spreading consistency without repeatedly handling the cakes.

The Day Before

  • Bake the layers and let them cool completely.
  • Once completely cool, wrap each cake layer individually. If your kitchen is cool and dry, keep the wrapped layers at room temperature overnight; if the room is hot, freeze them instead.
  • Cook and cool the coconut-pecan frosting, then cover and refrigerate it separately.

On Serving Day

  • Take the refrigerated frosting out early enough to soften to a spreadable consistency. It should spread without requiring substantial heating.
  • Assemble while the layers are still cool and easy to handle.
  • Chill the finished cake for 45–60 minutes before slicing.

Freezing the layers: for a conservative quality window, freeze completely cooled, well-wrapped unfrosted layers for up to 1 month. Let them thaw at room temperature while still wrapped, then unwrap once fully thawed. Nine-inch layers will often need roughly 2–3 hours to thaw through the center.

Refrigerator storage: keep the assembled cake and leftovers covered in the refrigerator at 40°F / 4°C or below. For the best texture and freshness, eat within about 3 days; use refrigerated leftovers within 4 days.

Once the cake is out for serving, count all time spent out of refrigeration, including transport and serving. Return it to the refrigerator within 2 hours, or within 1 hour if the temperature exceeds 90°F / 32°C. Do not rely on appearance or smell to determine whether perishable food has been stored safely.

For the best texture, let a refrigerated slice sit out for roughly 20–30 minutes before eating, depending on room temperature. Keep the total time out of refrigeration within the limits above.

Back to Guide ↑  ·  Back to Top ↑

German Chocolate Cake Troubleshooting

ProblemWhat to Check
Cake is dryToo much flour, too long in the oven or an oven running hot. Weigh the flour and stop baking while the tester still carries a few moist crumbs.
Batter looks softer than expectedDo not add flour just to make it look like a traditional butter-cake batter. A smooth batter with the correct measurements can still look quite soft.
Edges look done before the centerKeep the oven temperature steady and give the middle more time. Dark pans and hot spots can set the outside first.
Layers slideThe cake or filling is probably too warm, or there is too much filling between layers. Give the stack a brief chill.
Filling squeezes out when slicedChill the assembled cake before slicing and use a sharp knife, wiping the blade between slices.

Give the finished cake a little time out of the refrigerator before cutting. When the first slice comes away cleanly and the filling stays creamy instead of running or turning firm, the work has paid off—and the cake is ready for the table.

Fork lifting a bite from a slice of German chocolate cake with three chocolate layers, two coconut-pecan filling layers and frosting on top.
A forkful reveals the texture better than a pristine whole cake can. The chocolate crumb should compress softly, then break cleanly rather than smear like a brownie, while the coconut-pecan filling stays supple enough to come away naturally with the bite.

Back to Recipe ↑  ·  Back to Top ↑

Posted on — Leave a comment

Matilda Cake Recipe: Rich, Fudgy Chocolate Cake with Glossy Ganache

Two-layer dark chocolate Matilda cake completely covered with glossy chocolate ganache in broad hand-spread swirls on a pedestal against a burgundy background.

This Matilda cake recipe recreates the chocolate cake from Matilda in all its Bruce Bogtrotter excess: very dark chocolate layers, a deeply moist crumb, a generous chocolate ganache seam through the middle, and glossy chocolate ganache frosting swept generously over the top and sides. The finished cake is intensely chocolatey, with enough structure to stack and slice cleanly.

The batter comes together in one bowl with a whisk; the ganache frosting is the only other component. Oil keeps the crumb soft, buttermilk and sour cream bring richness and body, and hot coffee deepens the cocoa. It is dramatic enough for a birthday or celebration and still manageable in an ordinary home kitchen.

The crumb is close, dark, and almost fudgy, while the ganache stays soft enough to give beneath the fork instead of setting into a hard chocolate shell.

Matilda Cake Recipe

A dark, deeply chocolatey layer cake with a soft, moist crumb and a generous glossy chocolate ganache frosting. The cake stays tender without a soak, and the thick chocolate coating delivers the extravagant Bruce Bogtrotter finish.

Yield
12 generous or 14–16 smaller slices

Hands-on
About 55 minutes

Bake
32–38 minutes

Cooling & setting
About 2 hours, mostly passive

Same-day total
About 3½–4 hours; some cooling overlaps

Pan
2 × 8-inch / 20cm rounds

Equipment

  • Two 8-inch × 2-inch / 20cm × 5cm round metal cake pans
  • Parchment paper
  • Large mixing bowl
  • Balloon whisk and rubber spatula
  • Digital kitchen scale, strongly recommended
  • Wire cooling rack
  • Heatproof bowl and small saucepan
  • Offset spatula or broad butter knife
  • Electric hand mixer, optional; use briefly on low speed

You do not need a stand mixer. For the most consistent cake, use the gram weights where given; the cup measurements are rounded US-volume equivalents.

Chocolate Cake Ingredients

  • 1¾ cups + 1 tablespoon (220g) all-purpose flour
  • ¾ cup + 1 tablespoon (70g) Dutch-process cocoa powder
  • 1½ teaspoons (6g) baking powder
  • 1 teaspoon (5g) baking soda
  • 1 teaspoon (5g) fine salt
  • 1⅓ cups (270g) granulated sugar
  • ⅓ cup packed (70g) light or dark brown sugar
  • 3 large eggs, about 150g without shells, room temperature
  • ½ cup (120ml) neutral oil, such as canola, vegetable, sunflower, or grapeseed
  • ⅔ cup (160ml) buttermilk, room temperature
  • ½ cup (120g) full-fat sour cream, room temperature
  • 2 teaspoons (10ml) vanilla extract
  • ¾ cup (180ml) strong hot coffee, hot decaf coffee, or hot water

Glossy Chocolate Ganache Frosting Ingredients

  • 14.1 oz (400g) 55–60% semisweet or dark chocolate, finely chopped
  • 1 cup + 2 tablespoons (270ml) heavy cream or heavy whipping cream, ideally 35–36%+ milk fat
  • ⅞ cup (100g) powdered sugar (icing sugar), sifted
  • 6 tablespoons / 3 oz (85g) unsalted butter, very soft but not greasy
  • 1 tablespoon (20g) light corn syrup, optional; omit without replacing
  • ¼ teaspoon fine salt
  • 1 teaspoon (5ml) vanilla extract

Instructions

Bake the Cake

  1. Prepare the oven and pans. Heat the oven to 350°F / 175°C conventional or about 320°F / 160°C fan. Grease two 8-inch × 2-inch / 20cm × 5cm round metal pans and line the bottoms with parchment.
  2. Mix the dry ingredients. Whisk the flour, Dutch-process cocoa, baking powder, baking soda, and salt in a large bowl until the cocoa is evenly dispersed.
  3. Add the sugars and wet ingredients. Whisk in both sugars. Add the eggs, oil, buttermilk, sour cream, and vanilla, then whisk just until the batter is smooth.
  4. Add the hot coffee. Pour it in gradually while whisking gently. Expect a loose, pourable batter—much thinner than a traditional butter-cake batter. Adding extra flour here will make the finished cake drier.
Thin dark chocolate cake batter pouring in a narrow stream into a stainless-steel bowl; overlay reads “Batter should be loose + pourable.”
Watch where the stream lands: loose chocolate cake batter should sink back into itself rather than pile into a standing rope. That quick leveling is a useful visual check that the hot-coffee batter has the intended consistency.
  1. Divide the batter. Aim for roughly 685–690g per pan. Weighing each pan is quicker and more reliable than judging two pans of dark batter by eye.
  2. Bake. Bake for about 32–38 minutes. Start checking at 32 minutes. The cake is ready when the center springs back gently, the edges just begin to release from the pan, and a tester inserted into the middle carries a few moist crumbs but no liquid batter.
Cake tester held above a baked chocolate cake with a few small moist crumbs attached and no liquid batter; overlay reads “Done = moist crumbs, not wet batter.”
Soft crumbs are more useful than chasing a spotless tester. A glossy smear means the center is still unset; waiting for a completely dry tester can push the cake farther than necessary.
  1. Start cooling the layers. Leave the cakes in their pans for 10 minutes, then turn them onto a wire rack and remove the parchment. Let them cool uncovered until completely cool.

Make the Ganache Frosting

  1. Make the ganache base while the cakes cool. Put the chopped chocolate in a heatproof bowl. Heat the cream, optional corn syrup, and salt until steaming with small bubbles around the edge. Avoid a hard boil.
  2. Bring the ganache together. Pour the hot cream over the chocolate and leave it untouched for 3 minutes. Stir slowly in the center until a smooth pool of chocolate forms, then widen the circles until everything comes together. Stir in the vanilla.
  3. Let the cake and ganache cool together. Leave the ganache at room temperature while the layers finish cooling. It should lose its warmth and begin to thicken while remaining easy to stir. A cool kitchen will move this along faster than a warm one. If it becomes quite firm before the cakes are ready, warm it very gently until easily stirrable again.
  4. Finish the frosting. Whisk the sifted powdered sugar into the ganache, then add the soft butter a little at a time. Stop when the frosting is dark, smooth, and able to hold a broad swoop. If using an electric mixer, keep it on low; prolonged whipping will make the frosting paler and fluffier.
  5. Check the consistency. Ready frosting falls from the spatula in a thick ribbon and leaves a soft ridge behind. If it still flows, give it more time. If it has become stiff enough to drag, warm it for only a few seconds and stir again.

Assemble, Finish, and Serve

  1. Prepare the layers. If either cake has a pronounced dome, trim only enough to give the upper layer a steady, level surface.
  2. Fill the cake. Place the first layer on a serving plate or cake board. Spread about 200–225g frosting over the top, taking it almost to the edge. Add the second layer without pressing down hard.
  3. Set the stack. Chill for 15–20 minutes. In a warm kitchen, this short pause can be the difference between easy frosting and chasing the top layer around the plate.
  4. Finish generously. Spread the remaining frosting over the top and sides. Make broad, imperfect chocolate swoops with the back of an offset spatula. This is not a cake that needs perfectly straight edges.
  5. Serve. If the cake has been refrigerated, give it about 30–45 minutes at room temperature before slicing. The ganache should soften and the crumb should feel tender again.

Before You Swap Anything

  • Cocoa: Stick with Dutch-process cocoa here. Natural cocoa is lighter and more acidic, so a straight swap can change both the color and the rise.
  • Coffee: Hot decaf coffee or hot water works at the same volume.
  • Chocolate: 55–60% cacao gives deep flavor and softens nicely again once the chilled cake has had time to temper.
  • Milk chocolate: It is sweeter and softer. A 1:1 swap will usually give you a sweeter, looser frosting.
  • Egg-free or dairy-free: Eggs, buttermilk, and sour cream all contribute to this particular crumb. If you need to remove them, start with one of MasalaMonk’s vegan chocolate cake recipes rather than rebuilding all three parts of this batter at once.

What Makes It Matilda Cake?

Matilda cake, also called Bruce Bogtrotter cake, is the dark, extravagant chocolate cake inspired by Bruce’s famous cake scene in the 1996 film Matilda, usually recreated with moist chocolate layers and a thick ganache or fudge-style frosting.

Roald Dahl’s Revolting Recipes includes its own Bruce Bogtrotter chocolate cake, although it differs from the towering screen versions people tend to picture today. For the 2022 Matilda the Musical film, Juliet Sear created the Bruce Bogtrotter cake, and her published home version uses two 8-inch chocolate layers with a ganache-based frosting. That two-layer approach gives us plenty of drama without making the finished cake needlessly difficult to handle.

You may also have seen the name attached to Parker’s Matilda Cake in Dubai, served with chocolate sponge, crunchy chocolate flakes, and chocolate sauce. Here, we’re staying with the Bruce Bogtrotter-style layer cake.

How Matilda Cake Stays Moist Without Turning Gummy

Oil, buttermilk, and sour cream work together to keep the crumb soft and rich. Dividing that moist batter between two relatively shallow pans lets the centers set before the edges have time to dry out.

Slice of two-layer Matilda chocolate cake with dark close crumb, one chocolate ganache filling seam, and glossy ganache frosting.
A good slice should hold its shape without crumbling, yet yield easily under a fork. That balance of structure and tenderness tells you more about a moist chocolate cake than judging the crumb by darkness alone.

Dutch-process cocoa brings the dark color and deep chocolate flavor. Hot coffee intensifies the cocoa; in the finished cake, it should read as chocolate rather than distinctly of coffee.

Cocoa choice also affects how the batter rises, which is why the recipe specifies Dutch-process rather than treating every cocoa as interchangeable. King Arthur has a useful explanation of Dutch-process versus natural cocoa if you want a deeper look at the difference.

Pan Depth Matters More Than Another Timer

This recipe is designed for two 8-inch × 2-inch / 20cm × 5cm round pans. Pouring all of this high-moisture batter into one very deep pan makes dry edges and an underdone center much more likely because heat has farther to travel before the middle sets.

Does Matilda cake need a soak? No. This cake stays moist without one. Some modern and viral versions soak their layers with chocolate milk, coffee syrup, or another sweet liquid; they are taking a different route to an especially lush cake.

Two-layer Matilda chocolate cake with a wedge removed, showing an evenly moist dark crumb and one ganache filling seam; overlay reads “Moist without a soak.”
A no-soak cake should show an even crumb from top to bottom, without a darker syrup band or wet patches around the filling. The clean cut face also shows that the layers are holding their structure.

If what you want is a cake built around soaking, Tres Leches Cake is designed for exactly that.

Read the Cake at Three Stages

The timer gets you close. The batter and cake tell you when you are actually there.

Stage What success looks like
Batter Smooth, glossy, loose, and pourable after the hot coffee goes in. It should be much thinner than a butter-cake batter.
Baked layer The center springs back gently and a tester carries a few moist crumbs, with no shiny liquid batter.
Cooled layer Soft under your fingers, yet sturdy enough to lift and stack without sagging or tearing.

A fudgy crumb still has to be baked through. A genuinely liquid center belongs to a different dessert, like Chocolate Lava Cake. Here, a few damp crumbs are fine; shiny wet batter is not.

A dense, gluey strip near the bottom is different again. Too much leavener, inaccurate measurements, or uneven mixing can leave part of the crumb compressed and gummy. Extra oven time will not necessarily fix that; it may simply dry out the cake around it.

Chocolate cake texture comparison showing porous moist crumb beside a darker compressed gummy band near the bottom; overlay reads “FUDGY IS NOT GUMMY.”
In this cake, a properly fudgy crumb still keeps visible pores. A gummy band, by contrast, looks darker, smoother, and compressed near the base rather than simply “extra moist.”

Bake Today, Finish Tomorrow

Day 1 — bake, cool, and wrap. Let the layers cool completely, then wrap them well. Keep the wrapped layers at cool room temperature overnight. If your kitchen is very warm, refrigerate them instead; let them lose the hard refrigerator chill, still wrapped, before assembly.

Exactly two cooled round chocolate cake layers wrapped tightly for overnight storage; overlay reads “BAKE TODAY. FROST TOMORROW.”
Wrap the layers only after their centers are completely cool. Otherwise, trapped warmth can turn into condensation against the wrapping, while fully cooled layers stay drier and easier to handle the next day.

Day 2 — frost and assemble. Make the ganache frosting, wait until it reaches the thick spreadable stage, fill the cake, give the stack its short chill, then finish the outside.

If everything has to happen in one day, make the ganache while the cake layers cool. The part not to rush is the cake itself. A layer that still feels warm in the center is not ready for chocolate frosting, no matter how late the afternoon is getting.

The Ganache Frosting Has a Working Window

Chocolate and cream form the base. Powdered sugar gives the frosting a little more body; soft butter makes it plush and easy to sweep over the cake.

Ready frosting holds a soft ridge on the spatula. Watch the texture rather than the clock. Once you know what that consistency looks like, the frosting is much less fussy than a fixed cooling time would make it seem. A warm kitchen slows the thickening; a cool one speeds it up.

Thick glossy chocolate ganache falling slowly from a spatula and leaving a soft ridge in the bowl; overlay reads “Ready ganache holds a soft ridge.”
The working window sits between flow and drag. Here, the ganache still glides from the spatula, yet the surface keeps a soft track long enough to hold broad chocolate swoops.
Frosting state What it means
Too warm It flows and quickly loses its shape. Leave it a little longer and stir occasionally.
Ready It falls in a thick ribbon, holds a soft mound, and keeps a broad swoop. Use it now.
Too cold It drags through the bowl or starts pulling crumbs from the cake. Warm it for a few seconds and stir again.
Broken The ganache base looks oily or separated rather than uniformly glossy. Use the split-ganache rescue in the troubleshooting section.

Chocolate around 55–60% cacao gives plenty of depth and softens nicely again after refrigeration. Finely chopped bars or couverture also melt more predictably than many baking chips, which are made to retain more of their shape.

The frosting is shiniest when freshly mixed and spread. As the chocolate settles, that gloss naturally softens toward a rich satin sheen. The optional corn syrup adds a little extra gloss and helps the ganache stay supple after chilling; you can leave it out without replacing it.

Stack the Cake While Both Parts Are Ready

If either cake has a pronounced dome, trim it first. An uneven layer is much simpler to fix before 200g of soft chocolate is sitting on top of it.

About 200–225g frosting in the middle gives you a generous filling and keeps the upper layer stable. Once the second layer is in place, chill the stack for 15–20 minutes so the center has time to settle.

Dark chocolate cake layer spread evenly with glossy ganache while a second layer is positioned above it; overlay reads “200–225g filling.”
Keep the ganache level from edge to edge rather than mounded in the center. An even layer gives the upper cake a flatter landing surface and a more consistent seam.

Then cover the cake generously. Broad, loose chocolate swoops suit it far better than razor-straight buttercream walls or delicate piping. The Bruce Bogtrotter effect comes from abundance, not precision.

Offset spatula shaping broad glossy chocolate ganache swirls over the side of a chocolate cake.
Once the spatula leaves broad ridges, stop chasing smoothness. Repeated passes flatten the texture, whereas a few confident strokes preserve the intentionally abundant Bruce Bogtrotter finish.

This is one cake worth bringing to the table whole. When you cut the first wedge, the frosting should pull slightly against the knife before giving way to a dark, close crumb and that generous chocolate seam through the middle.

Fork pressing into a slice of two-layer Matilda chocolate cake with one ganache seam as the crumb compresses and glossy frosting yields.
Under the fork, the crumb should compress slightly while the ganache bends instead of snapping. That small amount of give is the texture to aim for.

When the Matilda Cake Goes Sideways

Start with what you can see. Most problems point back to temperature, measurements, pan depth, or timing.

Problem Likely cause + fix
Batter looks watery That is expected once the hot coffee is mixed in. Keep going; adding flour now will leave the finished cake drier.
Cake is dry or crumbly Too much flour, too much oven time, or an oven running hot are the usual causes. Weigh the flour and begin checking sooner.
Center is visibly wet The middle has not finished baking. Continue in short increments and judge the actual center rather than the edges.
Dense gummy strip near the bottom Recheck the measurements, mixing, and leaveners. Too much leavener or uneven mixing can create a gummy band, as can an underbaked center.
Center sank The middle may not have been fully set, or the oven may have been opened too early. Look for gentle springback, slight edge release, and moist crumbs before removing the pans.
Frosting is runny It is usually still too warm. Give it more time and stir occasionally before changing anything. If it remains unusually loose once cool, recheck the chocolate and cream amounts.
Frosting is too firm or starts dragging It has cooled too far, the cake is ice-cold, or the chocolate is much darker than specified. Warm the frosting briefly and let very cold layers lose some chill.
Ganache base is greasy or split If the ganache stays greasy or separated, use the split-ganache rescue below.
Layers slide The cake or filling is too warm, a layer is badly domed, or there is too much soft filling. Level if needed and chill the stack before continuing; see Stack the Cake for the assembly cues.

How to Fix Split Chocolate Ganache

A split ganache is usually fixable. Warm it gently and stir from the center. A teaspoon of warm cream can help a stubborn split come back together; an immersion blender can also help if you keep the head submerged and avoid beating in air.

Separated chocolate ganache with visible oily patches and thicker chocolate being stirred from the center; overlay reads “Split ganache? Warm gently + stir from the center.”
Broken ganache often shows two textures at once: thick uneven chocolate beside a slick of separated fat. That oily separation distinguishes a broken emulsion from ganache that has simply become too cool and firm.

Storage, Freezing, and Serving Matilda Cake

Matilda cake is best served after it has lost the hard refrigerator chill. Give a whole cake or large portion about 30–45 minutes before slicing, until the ganache feels supple and the crumb feels tender again. Individual slices usually soften faster.

Overhead view of a two-layer Matilda chocolate cake with one wedge removed and lifted on a cake server beside a plate and fork.
A properly tempered slice should lift cleanly, with the filling staying put and the ganache flexing rather than chipping or cracking.

Refrigerator: Keep the assembled cake covered and use it within about 5 days for the best texture and flavor.

For clean slices: Warm a long sharp knife under hot water, wipe it completely dry, then cut. Rewarm and wipe the blade between portions when you want especially neat layers.

Sharp dry knife cutting through a two-layer Matilda chocolate cake and revealing two dark cake layers with one even center ganache seam.
Aim for one clean pass through each portion. A warm, dry blade softens the ganache where it touches, while wiping between cuts keeps chocolate from the previous slice from smearing through the next one.

Freeze unfrosted layers: Cool them completely, wrap tightly, and freeze for up to 3 months. Thaw while still wrapped so most condensation collects on the wrapping rather than directly on the cake.

Freeze finished slices: Wrap individual portions well and use within about 2 months for the best quality. Thaw in the refrigerator, then let the chocolate soften closer to room temperature before eating.


The finished cake should look a little excessive and eat much softer than it looks: tender dark chocolate cake under a generous coat of ganache that gives softly beneath the fork. That is the sweet spot here—all the Bruce Bogtrotter drama, with a cake that stays moist, slices cleanly, and tastes every bit as rich as it looks.

Posted on — Leave a comment

Magic Cookie Bars Recipe: Easy 7 Layer Bars with Chocolate, Coconut & Pecans

Three Magic Cookie Bars on a glossy deep-red surface, with golden graham crusts beneath toppings of coconut, pecans, chocolate chips and butterscotch chips.
Side view of a Magic Cookie Bar with a compact golden graham base beneath a thick chewy layer containing chocolate, butterscotch, coconut and pecans.
The cut edge should show structure without looking rigid. A compact graham base supports a chewy topping where chocolate, coconut, pecans, and butterscotch still remain easy to distinguish.

This version keeps the familiar character of the bars while pulling back on some of the extra sweetness. Part of their charm is that families remember the same dessert differently anyway—under another name, with another nut, or with the condensed milk poured in a different place.

For all those layers, the method itself stays simple: press the crust, scatter the toppings, bake, and give the bars enough time to cool.

Get These Three Things Right

Crust

The crumbs should clump when squeezed and form an even, cohesive base when pressed, with no loose dry patches or butter pooling underneath.

Bake

Look for bubbling golden edges, toasted patches of coconut, and a center that has set but still looks soft.

Set

Give the bars 1½–2 hours before cutting. A batch that looks almost too soft while hot can become perfectly chewy as it cools.

Classic 7 Layer Bars with a buttery graham crust, chewy center, and caramelized edges, balanced with semisweet chocolate, less butterscotch, and unsweetened coconut so they stay rich without becoming candy-sweet.

Pan
9×13 in / 23×33 cm

Prep
15 min

Bake
25–30 min

Cool / Set
1½–2 hr

Yield
24 regular bars

Total time: 2 hours 10 minutes to 2 hours 45 minutes, plus an optional 20–30 minute chill for very clean cuts.

  • 9×13-inch / 23×33 cm light-colored metal baking pan
  • Parchment paper
  • Mixing bowl
  • Flat-bottom measuring cup or drinking glass for pressing the crust

Using a glass baking dish? The timing below is written for a light-colored metal pan. Follow your bakeware manufacturer’s temperature guidance and use the visual doneness cues instead of expecting the timing to transfer exactly.

  • 2 cups / 200 g finely ground graham cracker crumbs
  • ½ cup / 113 g unsalted butter, melted
  • ¼ teaspoon fine sea salt
  • 1 can sweetened condensed milk, 14 oz / 397 g, roughly 300 ml
  • 1 cup / about 170 g semisweet chocolate chips
  • ⅔ cup / about 110 g butterscotch chips
  • 1¼ cups / about 105 g unsweetened desiccated coconut, fine shred
  • 1 cup / about 105–110 g unsalted pecans, roughly chopped

Heat the oven to 350°F (175°C) with a rack in the middle. Line the pan with parchment, leaving enough overhang to lift out the cooled bars.

Mix the graham crumbs, butter, and salt until evenly moistened and able to clump when squeezed. Scatter the mixture across the pan, then press gently with a flat-bottom cup until the crust is level, cohesive, and no longer shifts.

Reserve about one-quarter of the can, roughly 100 g. Pour the rest over the crust in thin ribbons. If the condensed milk is very thick, transfer it to a microwave-safe bowl or measuring jug and warm it for 10–15 seconds so it flows without dragging up crumbs.

Scatter the chocolate chips, butterscotch chips, coconut, and pecans evenly over the surface, including the corners.

Drizzle the reserved condensed milk across the toppings and press very lightly so the loose pieces make contact with the sticky layers beneath.

Before baking: the bars should look generous and slightly unruly, with the toppings evenly scattered and lightly anchored by ribbons of condensed milk.

Start checking at 20–22 minutes. Most batches will take 25–30 minutes. Pull the bars when the perimeter is visibly bubbling and golden-brown, the coconut has toasted in patches, and the center looks set but still soft.

If the coconut darkens before the center is ready, lay a loose sheet of foil over the top and let the middle finish baking.

Rectangular metal pan of baked Magic Cookie Bars with browned edges, toasted coconut, pecans, chocolate and butterscotch chips, and a softer-looking center.
Use the whole pan as the checkpoint. The edges should look more advanced than the center, with scattered toasted coconut and a middle that has set without looking dry.

Let the bars cool for 1½–2 hours. Lift the slab out with the parchment and cut it into 24 bars. If you want especially neat edges, use the optional chilling and cutting method in the guide below.

The recipe above gets you to the finished bars; the guide below explains why the layers behave the way they do, how to read the bake, and how to fix the problems that most often show up.

What Are the Seven Layers, Really?

Magic Cookie Bars, Seven Layer Bars, and Hello Dolly Bars are essentially the same dessert family. Their formulas have moved through recipe boxes, community cookbooks, holiday trays, and condensed-milk labels for decades, so two households can remember the “same” bar a little differently.

By the late 1960s, Borden was already promoting Magic Cookie Bars made with Eagle Brand sweetened condensed milk, helping cement the name in American home baking. That familiar combination still appears in Eagle Brand’s Seven Layer Magic Cookie Bars.

You can see the “magic” in the method: ordinary pantry ingredients are layered straight into the pan and bake into one cohesive bar without making a conventional cookie dough.

  1. Butter
  2. Graham cracker crumbs
  3. Sweetened condensed milk
  4. Chocolate chips
  5. Butterscotch chips
  6. Coconut
  7. Pecans or walnuts

Butter and crumbs become one crust, of course, so you should not expect seven perfect stripes when you cut the bars.

Ingredient diagram for Magic Cookie Bars showing butter, graham crumbs, sweetened condensed milk, chocolate, butterscotch, coconut and pecans around a finished bar.
Think of 7 Layer Bars by function, not by seven visible stripes: butter and crumbs form the foundation, condensed milk binds, chips add sweet pockets, coconut adds chew, and pecans add crunch.

Ingredients That Matter Most

Graham Crust

Hand squeezing buttered graham cracker crumbs into a cohesive clump above loose crumbs. Text reads “Clumps when squeezed.”
The goal is cohesion without compression. Once the crumbs hold together in your hand, pressing should make them level and stable rather than dense and hard.

Do you need to pre-bake the crust? Not for this method. The base bakes with the toppings; press it just until level and cohesive.

Sweetened Condensed Milk

Side-by-side comparison of thick sweetened condensed milk and thinner evaporated milk, with condensed milk identified as the ingredient to use.
Use the pour as a quick check: sweetened condensed milk falls in a slow, heavy ribbon, while evaporated milk is much thinner and moves more like cream.

Chocolate, Butterscotch, Coconut & Pecans

Semisweet chocolate and unsweetened coconut keep the filling from becoming one-note sweet. Butterscotch stays for its familiar caramel flavor, just in a smaller amount than many old-school formulas use. Pecans bring toasted crunch, while a little salt keeps the richer layers from tasting flat.

That balance matters in the finished bar: toasted coconut and pecan crunch should still register against the chocolate instead of disappearing into one flat sweetness. Sweetened coconut works too if that is the version you remember; expect a sweeter result and keep an eye on the exposed strands as they brown.

Changing the coconut, nuts, or chips? Jump to the substitutions that make sense before you start swapping.

Condensed Milk First or Last?

Classic Magic Cookie Bar recipes disagree about where the condensed milk belongs. Some pour it directly over the crust; others drizzle it over the toppings.

Three-step assembly graphic showing condensed milk poured over graham crust, chocolate, butterscotch, coconut and pecans added, then more condensed milk drizzled on top. Text reads “¾ below • ¼ above.”
The split keeps both surfaces working for you. Most of the milk stays close to the crust, while the finishing ribbons catch loose coconut and nuts without burying the toppings.

Building the bars now? Return to the recipe method.

Keep the Sweetness in Balance

The easiest way to make Magic Cookie Bars less sweet is to keep the full can of condensed milk, then use semisweet chocolate, less butterscotch, and unsweetened coconut.

Keeping the condensed milk matters because it also helps hold the layers together. Meanwhile, pecans and salt add contrast, and smaller pieces help too. This is one of those desserts where a modest square often tastes better than a heroic one.

Close-up of the browned outer edge of a Magic Cookie Bar showing graham crust, chewy filling, coconut, pecans, chocolate and butterscotch chips.
The edge shows why balance matters in such a rich bar. Deep caramelization, toasted coconut, and pecans add contrast, while chocolate and butterscotch remain distinct instead of collapsing into one flat sweetness.

Don’t Judge These Bars by the Clock

The clock gives you a window; the surface tells you when the bars are ready. Start checking at 20–22 minutes, with most metal pans finishing around 25–30 minutes.

Close-up of a baked Magic Cookie Bar with browned edges and a softer center. Text reads “Ready while the center is still soft.”
“Soft” and “liquid” are the distinction that matters. A soft-set middle can finish firming as it cools; visible fluidity is the cue that the center still needs oven time.

The center is supposed to make you hesitate a little. Waiting until it looks dry or rigid risks taking the bars beyond the soft, chewy texture they develop as they cool.

The Bar Isn’t Finished When It Leaves the Oven

Fresh from the oven, the chocolate is melted, the condensed-milk layer is very soft, and the graham base is still fragile. The kitchen may already smell as though dessert is finished, but the texture is not there yet.

Comparison of a firm cooled Magic Cookie Bar and a hot bar with noticeably softer filling. Labels read “Cooled” and “Hot.”
The contrast here is the point: the hot bar can slump at the cut edge, while the cooled bar holds a cleaner layer structure without turning dry.

How to Cut Clean Magic Cookie Bar Squares

Hand pressing a long knife straight down through a cooled slab of Magic Cookie Bars on parchment. Text reads “Press down • don’t saw.”
A clean vertical edge is a useful clue that the slab was ready to cut. Ragged or dragged layers usually mean the bars were still too warm or the blade needed wiping.
  • 24 pieces: regular dessert bars
  • 30–36 pieces: potlucks, bake sales, and parties
  • 40–48 pieces: small cookie-tray bites

Troubleshooting Magic Cookie Bars

Why are my Magic Cookie Bars falling apart or still gooey?

Warm bars are naturally much softer than cooled ones. If the center had begun to set before the batch came out, let the bars cool fully before deciding they are underbaked. A center that was still visibly fluid usually needed more oven time.

Loose toppings can also make a square fall apart. The finishing drizzle and gentle press before baking help the upper layers settle together.

Why is the crust crumbly—or too hard?

Magic Cookie Bar with its graham cracker base breaking into loose crumbs. Text reads “Crumbly crust?”
Look at the type of break, not just the crumbs on the plate. A weak, sandy base suggests poor cohesion; a dense, brittle base points more toward overpacking.

Use finely ground crumbs and mix until evenly moistened. Once the base is level and stops shifting beneath the measuring cup, stop pressing.

Why is the crust greasy?

Hand adding graham cracker crumbs to a bowl of wet crumb mixture with visible melted butter. Text reads “Butter pooling? Add a little more crumbs.”
Stop adjusting once the mixture looks evenly damp rather than shiny. It should clump cleanly without leaving visible free butter around the crumbs.

Why is the coconut dark before the center is ready?

Pan of Magic Cookie Bars with browned coconut on top and a loose sheet of foil being positioned over the pan. Text asks “Top dark, center still soft?”
Watch the exposed coconut, especially near the perimeter. Uneven browning is normal; intervene only when the top is clearly getting ahead of the still-soft center.

Quick fixes for a few other problems

  • Condensed milk pulls crumbs from the crust: warm it briefly and pour it in ribbons instead of repeatedly spreading it.
  • Toppings fall off: use the reserved finishing drizzle and press the surface lightly before baking.
  • Bars stick to the pan: line the baking pan with a parchment sling before building the layers.

Substitutions That Make Sense

Leaving out either coconut or nuts is straightforward; leaving out both removes a large share of the topping. When one ingredient disappears, replace texture only if you miss it instead of automatically filling the space with more sweet chips.

ChangeWhat to do
No coconutOmit it. If the top feels sparse, add some extra pecan or coarsely crushed pretzel for texture.
No nutsLeave them out for a softer bar, or use some crushed pretzel for crunch.
No coconut and no nutsRemoving both takes away a large amount of solid topping, so use a recipe specifically balanced for both omissions instead of treating them as a simple swap.
No butterscotch chipsOmit them for a more chocolate-forward bar, or replace only part of the amount with another chip or some toffee to keep the sweetness in balance.
Walnuts instead of pecansSwap directly.
Less-sweet chocolateReplace part of the semisweet chocolate with dark or bittersweet chips.
Sweetened coconutUse the same general amount, but expect a sweeter result and potentially faster browning.
No graham crackersUse plain digestive biscuits by weight. Brands vary in fat and crumb texture, so use the same clump test and adjust the butter slightly if the crumbs seem unusually dry or greasy.

Brownie batter, blondie dough, and chocolate-chip-cookie dough are different kinds of bases, not simple graham-crust swaps. If a thick cookie-dough base is what you actually want, Cookie Pie is built around that deeper center and its longer bake.

Make Ahead, Store & Freeze

Cooled Magic Cookie Bars stacked in glass storage containers with parchment between the layers, with one separately wrapped bar nearby. Text reads “Cool completely before packing.”
Parchment does more than keep the container tidy. It separates sticky tops when the bars are stacked, while a snug airtight container helps protect the texture during storage.

Room temperature: Keep completely cooled bars airtight for 3 days. Put parchment between stacked layers.

Refrigerator: Store airtight for up to 1 week. Let the bars sit briefly at room temperature when you want a softer, chewier texture.

Freezer: Freeze completely cooled bars airtight for up to 3 months, with parchment between layers or individual pieces wrapped separately.

Do not package or freeze the bars while they are warm. Trapped steam can soften the crust and leave condensation on the sticky surface.

Serving tray filled with small Magic Cookie Bars topped with coconut and pecans on a warm holiday-style table setting.
Smaller squares work especially well on a mixed dessert tray. They still carry the full crust-to-topping balance, but leave room for people to sample more than one thing.

Whatever your family calls them, give the bars their full cooling time before deciding whether you got them right. By then, the messy-looking layers should have settled into what you wanted: a buttery graham base, chewy middle, toasted coconut, pockets of chocolate and butterscotch, and pecan crunch in every square.

Posted on — Leave a comment

Chocolate Lava Cake Recipe: Easy Molten Chocolate Cakes with Gooey Centers

Individual chocolate lava cake on a glossy black plate as a silver spoon breaks the shell and molten chocolate begins to flow out, with vanilla ice cream and raspberries behind it.

Break into one while it is still warm and the spoon should meet a little resistance from the tender outer cake, then almost none as it reaches the molten chocolate middle. Add cold vanilla ice cream beside it and the first spoonful gives you warm cake, flowing chocolate and melting ice cream all at once.

This chocolate lava cake recipe uses the classic method: real chocolate, butter, two whole eggs plus two extra yolks, and just enough flour to help the outside hold together. There is no hidden square of chocolate or separate ganache filling. The batter itself creates the molten center.

Mixing is straightforward; the bake deserves your attention. Ramekin shape, batter depth and even another 30–60 seconds in the oven can change what happens when you cut into the cake.

You’re looking for the moment when the cake can stand on the plate while the middle is still soft enough to flow.

Extreme close-up of a broken chocolate lava cake showing baked crumb surrounding a glossy, fluid chocolate center.
Look at the transition, not just the pool of chocolate. The crumb becomes progressively softer as it approaches the molten center, so a properly baked cake has distinct textures rather than one uniformly fudgy interior.

Chocolate Lava Cake Recipe

Yield
4 cakes

Prep
About 15 minutes

Bake
About 10–12 minutes

First check
9 minutes

Ramekins
6 oz / 180 ml

Total
About 25–30 minutes

Oven: 425°F / 220°C, conventional. Best served: immediately.

Ingredients

  • 6 oz / 170 g semisweet or 60–70% bittersweet chocolate, preferably a bar suitable for melting, finely chopped
  • ½ cup / 4 oz / 113 g unsalted butter, plus more for the ramekins
  • 2 large eggs, ideally not refrigerator-cold
  • 2 additional large egg yolks, ideally not refrigerator-cold
  • ¼ cup / 50 g granulated sugar
  • 1 teaspoon vanilla extract
  • ¼ teaspoon fine salt
  • 3 tablespoons / 24 g all-purpose flour
  • Unsweetened cocoa powder, for coating the ramekins
Chocolate lava cake ingredients arranged on a stainless-steel surface, including chopped chocolate, butter, two whole eggs, two extra yolks, sugar, vanilla, salt, a small amount of flour and cocoa powder.
Chocolate, eggs and butter dominate this formula, while the flour stays deliberately low. That helps explain why this dessert can behave like a cake at the edge and something much softer in the middle.

Equipment

  • 4 oven-safe 6 oz / 180 ml ramekins
  • Baking sheet
  • 2 mixing bowls, including one heatproof bowl
  • Electric hand mixer or stand mixer
  • Silicone spatula
  • Digital kitchen scale, if available

Method

1. Heat the oven and prepare the ramekins

Heat a conventional oven to 425°F / 220°C. Butter the bottom and sides of four ramekins thoroughly, including the corner where the base meets the wall.

Add a little unsweetened cocoa powder and turn each ramekin until the butter has a thin coating. Tip out the loose excess. A light film is enough.

Set the ramekins on a baking sheet so all four can go into the oven together.

Hands holding a white ramekin with a thin cocoa coating over the bottom, sides and lower corner where the base meets the wall.
Think of the butter-and-cocoa coating as one continuous release layer. Excess powder on an already-covered wall cannot compensate for a bare patch where the base meets the side.

2. Melt the chocolate and butter

Put the chopped chocolate and butter in a heatproof bowl. Microwave in short bursts, stirring well between each one, until almost completely melted. Stop while a few small pieces remain and let the residual heat take care of them.

You can also melt them gently over barely simmering water. Once smooth, leave the mixture for 2–3 minutes. It should still be warm and fluid when it meets the eggs, but it shouldn’t be steaming.

Glass bowl of mostly melted chocolate and butter with a few small solid chocolate pieces still visible in the glossy mixture.
Complete smoothness does not have to come from more heat. Once most of the chocolate is fluid, stirring can finish the last pieces while keeping the mixture warm rather than excessively hot before it meets the eggs.

3. Beat the eggs, yolks and sugar

Combine the 2 whole eggs, 2 extra yolks and sugar in a second bowl. Beat with an electric mixer for about 2–3 minutes, until the mixture looks noticeably paler and slightly thicker.

You don’t need the volume of a sponge-cake batter. Beat in the vanilla and salt.

If the eggs are straight from the refrigerator, give them a little time to lose the hard chill before mixing. Very cold eggs can make the warm chocolate mixture thicken more quickly as the two come together.

Before-and-after comparison of an egg, yolk and sugar mixture, changing from deep golden and fluid to paler and slightly thicker with a short ribbon falling from a whisk.
Judge this stage by how the mixture moves, not by how tall it becomes. The ready mixture falls from the whisk with more cohesion than the starting eggs while remaining fluid rather than foamy.

4. Fold the batter together

Pour the warm chocolate-butter mixture into the eggs in two additions, folding gently with a flexible spatula after each. The batter will turn darker and glossy as the chocolate goes in.

Sprinkle the flour over the surface and fold until the dry streaks disappear. Scrape along the bottom once or twice in case any flour is hiding there, then stop.

The finished batter should be thick and smooth but still pour easily.

Three stages of chocolate lava cake batter, ending with thick, smooth, glossy batter flowing from a spatula into a glass bowl.
Finished chocolate lava cake batter should move as a broad, glossy ribbon and begin settling back into itself.

5. Portion the batter

Divide the glossy batter among the four ramekins. If you’re weighing the portions, aim for about 120 g in each. Don’t worry about chasing the last gram left on the bowl or spatula; equal portions matter more than an exact number.

Four matching white ramekins filled with chocolate batter to similar depths, with one ramekin sitting on a digital scale at about 120 grams.
The scale provides a useful starting number, but the matching fill line is what you can keep checking at a glance. Similar batter depths reduce one source of variation when four cakes bake side by side.

6. Bake

Put the baking sheet in the oven. At 9 minutes, look before you touch anything. Nine minutes is the first check, not the finish line.

With 6-ounce ramekins, expect the cakes to reach the right stage around 10–12 minutes. Watch the surface as much as the clock: the edge should look set and less glossy while a smaller area in the middle still moves when you gently nudge the baking sheet.

Don’t wait for the entire top to become firm.

7. Rest, invert and serve

Take the cakes from the oven and leave them in their ramekins for about 1 minute. Put a serving plate over one ramekin, hold both securely with oven mitts and turn them over together.

Leave the ramekin upside down for about 10 seconds, then lift it straight up. If the cake stays standing, the most uncertain part is over. Serve it while the center is still at its softest.

Those last few minutes are what separate a cake that collapses from one that flows and one that has already turned fudgy. Fortunately, the change isn’t invisible. You can watch it happen.

The Lava Window: How to Tell When Chocolate Lava Cake Is Done

The top doesn’t finish all at once. At the edge, the wet shine disappears first and the surface begins to look more matte. Meanwhile, the middle catches up later. That short gap between the two is the window you’re trying to catch.

Three identical ramekins viewed from above showing chocolate lava cakes at too-early, lava-window and later stages with progressively firmer top surfaces.
Read these surfaces by where the softness remains. As lava cake doneness advances, the unsettled area contracts toward the center until eventually there is very little visual difference between edge and middle.
What you seeWhat it meansLikely result
The edge still looks weak and most of the top ripples when nudgedThe cake needs more timeIt may collapse when inverted
The outer ring is set, most of the wet shine is gone and only a smaller central area givesThe cake can support the softer middleMolten or very soft center
The surface is firm almost all the way acrossThe middle has cooked furtherThicker, fudgy center with little visible flow

Watch Where the Cake Still Moves

Pull the cake toward the earlier side of that window and the center will be looser, although the cake will also be more delicate. Another minute can turn flowing chocolate into something much thicker.

Overhead chocolate lava cake in a white ramekin with annotations marking the set outer area and the smaller softer center where movement remains.
A little movement is not the problem; movement across too much of the cake is. The useful cue is a small softer center surrounded by enough set cake to support it after inversion.

If you cut into one and find a rich, fudgy middle instead of a dramatic flow, dessert isn’t ruined. You simply baked it a little past the flowing stage. Start checking the next batch 30–60 seconds sooner.

Three opened chocolate lava cakes showing looser, flowing and fudgier centers, with the ideal flowing center shown most prominently.
The oven may show only a subtle change, while the cut cake reveals a dramatic one. Therefore, adjust future batches relative to the center you actually got rather than treating somebody else’s minute mark as absolute.

With an unfamiliar oven or ramekin, one tester cake can tell you more than another paragraph of timing advice. Cut into it, see where the center landed, then adjust the remaining cakes in small increments.

Your Ramekin Changes the Clock

Two ramekins can both hold 6 ounces and still bake differently. A wide, shallow dish and a narrow, deep one put the same amount of batter into different shapes. The deeper fill will generally take longer for heat to reach the middle.

Not sure what your ramekin holds? Fill it to the rim with water, pour that water into a measuring jug and check the volume. Then notice how deeply the batter sits once the ramekin is filled. Capacity is useful; batter depth often tells you more about how that particular cake is likely to bake.

Wide shallow and narrow deep white ramekins holding equal amounts of chocolate batter, plus a small sequence showing ramekin capacity measured with water and a measuring jug.
Equal capacity does not mean heat travels the same distance to the center. A wider ramekin spreads the batter out; a narrower one stacks it deeper, which is why ramekin shape matters for lava cake baking time.
VesselHow to portionWhat to expect
6 oz / 180 ml ceramic ramekinAbout 120 g batterMain method; first check at 9 minutes
Smaller ramekinKeep some headroom rather than filling to the rimA shallower or smaller portion may reach the molten stage sooner
Standard metal muffin wellDivide the batch evenly among 6 wells without filling to the rimMetal and shallower portions can change the bake considerably; begin checking earlier
Larger or deeper ramekinJudge by batter depth, not capacity aloneA deeper cake generally needs more time

No ramekins? Use a muffin pan

Butter and lightly cocoa-coat six standard metal muffin wells, then divide the batter evenly among them without filling to the rim. Skip paper liners.

Muffin pans vary in both metal thickness and well size, so don’t give them the 9-minute ramekin clock. Start checking earlier and use the same visual cue: set edges with movement still confined to the middle.

Dark 12-cup muffin pan with chocolate lava cake batter divided evenly among six unlined wells while the remaining six wells are empty.
Switching to a muffin pan changes two things at once: the batter becomes shallower and the baking vessel becomes conductive metal. That combination matters more than the simple fact that the cakes are no longer in ramekins.

When the cakes are ready, put a flat baking sheet or board over the pan and invert the whole thing at once. Lift the pan away rather than trying to pry six delicate cakes from their wells one by one.

Getting the Lava Cake Out Is Part of the Recipe

The flip is the moment that makes many people hesitate, because it immediately reveals whether the cake has enough structure. The shell has to earn the flip.

Four-step sequence showing a plate placed over a ramekin, both flipped together, the inverted ramekin resting briefly, and the ramekin lifted straight up to reveal the cake.
The safest flip keeps the cake supported through the entire change of orientation. Once inverted, the short pause lets gravity assist the release before the ramekin is lifted away.

If the cake stays behind in the ramekin, look first at the butter-and-cocoa coating. When the ramekin lifts cleanly but the cake immediately slumps, it probably needed a little more time in the oven.

For a cake that sticks, turn the ramekin upright rather than shaking it. Run a thin knife gently around the top edge, replace the plate and invert again.

After flipping, leave the ramekin in place for about 10 seconds. Lift it straight up and let the cake be.

No Lava? Chocolate Lava Cake Troubleshooting

If something went wrong, start with the cake you actually got. Its center, shape and release usually tell you where to look next.

Chocolate lava cake troubleshooting graphic showing a non-flowing fudgy center, a collapsed cake, a cake torn because part remained stuck inside a ramekin, and a dark exterior with an excessively loose center.
Start by identifying which part of the cake failed: the center, the outer structure or the release. That distinction usually points you toward timing, batter depth or ramekin preparation faster than simply adding or subtracting minutes.
What happenedLikely place to lookNext time
No flowing centerBake time or batter depthBegin checking earlier
Soft and fudgy, but not flowingJust beyond the molten windowPull the cakes 30–60 seconds earlier
Cake releases but slumps or collapsesNot enough of the cake has setBake slightly longer
Outside gets very dark while the middle stays extremely looseOven heat or a particularly deep vesselCheck oven accuracy and batter depth
Cake stays in the ramekinButter-and-cocoa coatingCoat the base, walls and bottom corner thoroughly
Muffin-pan cakes bake throughSmaller, shallower portions in conductive metalStart checking earlier

Why This Lava Cake Batter Works

The proportions give the cake enough structure to hold together while keeping the middle exceptionally soft. Whole eggs help the cake hold together, while the extra yolks keep it rich and tender. Briefly beating the eggs with the sugar adds a little air before the chocolate and butter go in.

The entire batch contains only 24 g of flour. Weigh it if you can; an extra spoonful matters more here than it would in a forgiving everyday cake. You can see the same sensitivity to flour and bake time in a fudgy brownie recipe.

Real chocolate also gives the batter body as well as flavor. Semisweet and bittersweet bars contain cocoa solids, cocoa butter and sugar, which is why cocoa powder can’t simply replace them gram for gram. This guide to cacao, chocolate and dark chocolate explains what those labels mean.

Make Them Ahead, Bake Them at the Last Minute

Lava cakes are easiest to make ahead as unbaked batter. For make-ahead planning, keep the filled ramekins covered and refrigerated and use within 2 days.

Four white ramekins filled with chocolate lava cake batter, covered with clear wrap and stored on a glass shelf inside a stainless-steel refrigerator.
Chilling changes the batter’s starting temperature, but it does not change the visual definition of ready. A make-ahead lava cake still needs the same relationship between a set perimeter and a softer center before it comes out.

Bake them directly from the refrigerator when dessert is getting close. Cold batter will generally need longer than the fresh-batter 10–12 minute range, so use the same visual cues rather than automatically adding a fixed number of minutes. Look for a set, less-glossy edge with movement still confined to the middle.

The mixing bowls can already be washed and put away; only the short bake, the flip and the ice cream are left when everyone is ready for dessert.

Choosing the Chocolate

Semisweet chocolate is the easiest all-round choice. A bar around 60–70% cacao gives you a darker, less sweet cake. Both work with the same basic method, although the sweetness and flavor of the center will change with the chocolate you use.

Semisweet, 60–70 percent dark and milk chocolate arranged on a garnet surface, with semisweet most prominent and cocoa powder shown as a separate non-equivalent ingredient.
Chocolate choice changes the character of the center before you change anything about the method. Semisweet keeps sweetness and cacao intensity balanced, while darker chocolate pushes intensity upward and milk chocolate pushes sweetness much further.

Chopped bar chocolate is the most predictable choice for melting. Chocolate chips can work, but many are formulated to hold their shape during baking and may not melt as fluidly. Milk chocolate makes the cake considerably sweeter and changes the balance of cocoa solids, sugar and fat.

Can you use cocoa powder instead of chocolate?

Not in the same amount and with the same formula. Unsweetened cocoa powder doesn’t bring the cocoa butter and sugar contained in a chocolate bar, so swapping one for the other changes more than the chocolate flavor.

For this style of inverted lava cake, keep real chocolate in the batter. A cocoa-based version needs its own formula.

A filled-center lava cake behaves differently because some of the flow comes from a separate filling rather than the point at which you stop baking. Our S’mores Lava Cake uses a separate chilled chocolate center along with marshmallow, so its molten middle doesn’t depend on the cake batter alone.

Chocolate Lava Cake FAQs

Are lava cake and molten chocolate cake the same thing?

Usually. The names are commonly used for the same general dessert: an individual chocolate cake with a set exterior and a much softer center. Exact recipes and techniques vary.

Is chocolate lava cake supposed to be raw in the middle?

The goal here is a very soft, molten center, but that isn’t the same thing as deliberately eating raw cake batter. Standard flour is a raw food, and raw or undercooked eggs can also carry food-safety risk. The FDA advises against eating raw flour, dough or batter.

Pasteurized shell eggs or pasteurized egg products can reduce the egg-related risk in recipes served with undercooked egg, but they do not make raw flour safe. People at higher risk from foodborne illness—including young children, older adults, pregnant people and people with weakened immune systems—should avoid raw or undercooked egg and raw-flour preparations.

Can I make one large lava cake instead of individual cakes?

Not by simply moving this batter to a large pan and keeping the same timing. A larger cake heats differently, so use a recipe developed for a large-format molten cake.

Why doesn’t chocolate lava cake need baking powder?

The eggs, brief aeration and small amount of flour provide the structure this cake needs. The goal isn’t a tall, airy crumb; it is enough cake around the outside to hold a much softer middle.

Get the Ice Cream Ready Before the Cakes Come Out

Vanilla ice cream is hard to beat here. It starts melting as soon as it touches the warm cake, while raspberries or strawberries bring a little acidity against all that chocolate. A small pinch of flaky salt works too.

Four chocolate lava cakes on glossy black plates over an oxblood surface at different serving stages, including intact and opened cakes, a spoonful of cake, vanilla ice cream and raspberries.
The cakes keep setting after they leave the oven, so the serving window is part of the recipe too. By the time the cold accompaniments begin melting, the warm center should still be fluid enough to create the contrast the dessert was built around.

If you want to make the ice cream as well, this KitchenAid vanilla ice cream guide gives you a base you can finish well before the cakes go into the oven.

Leftover cakes can be cooled, covered and refrigerated. Reheat them gently if you like, but expect the center to be soft and fudgy rather than flowing again. These are at their best the first time they leave the oven.

Have the plates, ice cream and berries ready before the cakes come out. Invert them and eat while the cake is still warm and the middle is still doing exactly what you baked it to do.

Posted on — Leave a comment

S’mores Lava Cake Recipe: Gooey Chocolate & Marshmallow Center

S’mores lava cake split open on a dark plate, with glossy chocolate and marshmallow flowing from the center, toasted marshmallow on top, and graham crumbs scattered around the cake.

The spoon breaks through the warm chocolate cake and the middle gives. Glossy chocolate slips onto the plate, a streak of marshmallow follows, and toasted graham gives the soft cake a little crackle.

That reveal is half the fun of this S’mores Lava Cake. For it to actually taste like a s’more, the chocolate, marshmallow and graham need to stay recognizable instead of disappearing into one very sweet chocolate dessert.

If Domino’s S’mores Lava Cakes sent you looking, think of this as a homemade take rather than an exact copycat. Here, the center is molten chocolate, the marshmallow gets properly toasted, and some of the graham stays crisp.

Once the cakes reach the oven, remember one thing: set outside, moving inside.


S’mores Lava Cake Recipe

This recipe makes 4 individual cakes in 6-ounce / 175–180 ml ramekins. Bake at 425°F / 218°C. Start checking at 11 minutes; most should be ready somewhere around 11–13 minutes. Let the cake, not the clock, decide that final minute.

The separate chocolate center earns its extra step. It lets the outside become cake while melted chocolate waits in the middle instead of asking barely baked batter to provide all the lava.

Yield4 individual cakes
Ramekins4 × 6 oz / 175–180 ml
GanacheChill until thick enough to portion and shape
BakeAbout 11–13 minutes; start checking at 11
Rest1–2 minutes before unmolding
Best servedImmediately

You need 220 g / about 8 oz semisweet or bittersweet chocolate altogether, ideally around 60–65% cacao. Chop it all at once, set aside 50 g for the ganache, and use the remaining 170 g in the cake.

Chocolate choices for lava cake shown side by side: a 60–65% cacao chocolate bar marked as the balanced choice, milk chocolate marked sweeter, and chocolate chips shown as less fluid when melted.
If you’re choosing one chocolate for the whole recipe, 60–65% semisweet or bittersweet chocolate is the useful middle ground: dark enough to balance the marshmallow while still working smoothly in both the cake and ganache. Chopped bar chocolate also melts more freely than chips.

For the molten chocolate centers

  • 50 g (1¾ oz) of the chopped semisweet or bittersweet chocolate
  • 30 ml (2 tablespoons) heavy cream
  • Small pinch of fine salt

For the graham cracker layer and crunch

  • 45 g (about ½ cup) graham cracker crumbs
  • 18 g (about 1¼ tablespoons) unsalted butter, melted
  • 5 g (about 1¼ teaspoons) granulated sugar
  • Small pinch of fine salt

For the chocolate cake

  • 170 g (6 oz) of the chopped chocolate
  • 113 g (½ cup / 4 oz) unsalted butter, plus more for the ramekins
  • 2 large eggs
  • 2 large egg yolks
  • 55 g (about ¼ cup plus 1 teaspoon) granulated sugar
  • 24 g (about 3 tablespoons) all-purpose flour
  • 1 teaspoon (5 ml) vanilla extract
  • ¼ teaspoon fine salt
  • 26 g marshmallow creme or fluff, divided among the 4 cakes; if you are not weighing it, divide into 4 small, roughly equal spoonfuls
  • Unsweetened cocoa powder, for the ramekins

For finishing

  • 4 large marshmallows, or enough mini marshmallows or marshmallow creme to top 4 cakes
  • Reserved toasted graham cracker crumbs
  • Dark or semisweet chocolate shavings, or a light chocolate drizzle
  • Optional tiny pinch of flaky salt

What you need

Use four 6-ounce / 175–180 ml ceramic ramekins, a baking sheet, heatproof bowl, whisk and silicone spatula. A kitchen scale gives the most even results, but the cakes can still be divided carefully by eye. A thin knife or small offset spatula helps with unmolding, and you will want an oven mitt or folded dry kitchen towel for the hot ramekins.

If your oven tends to run hot or cool, an oven thermometer is worth using. In a bake this short, a minute can change the center noticeably.

Not sure how large your ramekins are? Fill one to the rim with water, then pour that water into a measuring jug.

Using an unfamiliar dish? See why ramekin shape changes the bake as well as capacity.

1. Make the chocolate centers

Put the reserved 50 g chopped chocolate in a small heatproof bowl.

Heat the cream until steaming. Pour it over the chocolate, wait about a minute, then stir slowly from the middle until smooth and glossy. Add a small pinch of salt.

Let the ganache cool for a few minutes, then refrigerate it until thick enough to scoop and hold a shape. How quickly that happens depends on the bowl, the chocolate and the refrigerator, so judge the texture rather than the clock.

Divide the thickened ganache into 4 roughly equal portions and flatten each into a small, low disc.

They don’t need to be perfect circles. Small and flat matters more.

Chocolate ganache shown in a bowl and on a spoon, with a small flat ganache disc presented as the preferred shape and a thick round portion marked as the shape to avoid.
For a lava cake ganache center, that low shape is about heat rather than neatness. A flat disc gives the oven less cold thickness to warm through than a round ball, so the surrounding cake can set while the middle melts.

If shaping softens them, return the discs to the refrigerator until they are firm enough to lift cleanly.

2. Toast the graham cracker crumbs

Mix the graham cracker crumbs with the melted butter, sugar and salt. Toast over medium-low heat for a few minutes, stirring often, until the crumbs smell nutty and deepen slightly in color.

Reserve roughly half for serving. The other half will be divided among the four ramekins in thin layers.

3. Prepare the oven and ramekins

Place an oven rack in the middle of the oven and heat to 425°F / 218°C. The timing here assumes a conventional oven. With fan or convection, use your oven’s usual adjustment and start looking sooner.

Set the ramekins on a baking sheet. Butter the interiors thoroughly, including around the upper edge, then dust lightly with cocoa and tap out the excess.

Divide the graham mixture meant for baking among the four ramekins and press it into thin layers across the bottoms. Once the cakes are inverted, the graham ends up on top beneath the marshmallow.

This is lava cake, not a miniature pie crust, so don’t build the layer up thickly.

Blue ramekin with a thin graham cracker crumb layer labeled as flavor inside the cake, beside reserved toasted crumbs labeled for added crunch at serving.
Graham has two different jobs in this recipe. The thin baked layer carries graham flavor into the cake; meanwhile, the crumbs saved for serving restore the crisp texture that warm chocolate and marshmallow quickly soften.

4. Make the chocolate batter

Melt the remaining 170 g chocolate with the 113 g butter, either over barely simmering water or in short microwave bursts. Stir until smooth and let it cool for a few minutes.

In another bowl, whisk the whole eggs, yolks and sugar until the mixture looks smooth, slightly paler and a little thicker than when you started. Whisk in the vanilla and salt, then the warm chocolate mixture.

Two metal bowls compare the egg-and-sugar mixture before whisking and when ready; the finished mixture is visibly paler and slightly thicker and falls from the whisk in a broader ribbon.
The side-by-side comparison is the checkpoint for this chocolate lava cake batter. Judge the eggs by the change from the starting bowl—not a fixed whisking time—and move on once they have reached the slightly paler, thicker stage the recipe calls for.

Add the flour and fold just until the last dry streak disappears.

Twenty-four grams looks like very little flour. It is. A heavy scoop can make a real difference in a cake this small, so weigh it if you can.

5. Fill the ramekins

For the most even cakes, weigh the finished batter and divide it into 4 equal portions. No scale? Divide the batter as evenly as you can by eye.

Put roughly half of one batter portion into a ramekin. Set a chilled ganache disc in the middle, then add one-quarter of the marshmallow filling. Cover the center with the remaining batter from that portion, then repeat with the other ramekins.

Before they go into the oven, look around the sides. If chocolate or marshmallow is touching the ramekin wall, nudge it inward and cover the spot with batter.

That border lets the cake survive the flip and still spill warm chocolate when the spoon reaches the middle.

Blue ramekin filled with chocolate batter around centered marshmallow filling, with a clean border of batter around the edge; three assembled ramekins below are ready for baking.
Before baking, treat any s’mores lava cake filling visible at the side or surface as a warning sign. Re-center it and cover it with batter now, because leaks later usually begin where ganache or marshmallow reaches the edge.

Want the filling logic in one place? Jump to Keep the Lava in the Middle.

6. Bake

Start checking at 11 minutes.

The outer edge should look set and most of the wet shine on top should be gone. Movement should be concentrated in the middle rather than running across the entire surface.

Many 6-ounce ramekins will land somewhere around 11–13 minutes, but don’t force the cake to match the clock. A completely firm, motionless top usually means the center is already thickening.

Top view of a baked chocolate lava cake in a blue ramekin, annotated with a set outer edge, a mostly matte top, and remaining movement concentrated in the center.
Use this visual as the endpoint for lava cake doneness, not the 11–13 minute range as a promise. Because ovens and ramekins vary, the appearance of the cake is what tells you whether that final minute belongs in the oven or not.

Still unsure whether the center is molten or simply underbaked? Compare the doneness signs side by side.

7. Rest, flip and finish

Rest the cakes for 1–2 minutes. If one spot is hanging on, loosen it gently with a thin knife.

The flip is the slightly nerve-racking bit. Using an oven mitt or folded dry kitchen towel to protect your hand, put a serving plate over the hot ramekin, hold the two firmly together and turn them in one confident motion. Leave the ramekin upside down for about 10 seconds, then lift it straight up.

If the cake stands cleanly, finish it while the middle is still hot. If it feels too fragile to turn out, do not destroy dessert for the sake of presentation. Leave it in the ramekin and serve it warm there.

Three-step sequence showing a plate placed over a hot ramekin, the plate and ramekin turned over together, and the ramekin lifted straight upward to release the lava cake.
A clean lava cake release starts before the flip. Thorough buttering and cocoa dusting help, while an exterior that is still too soft is more likely to stick—so a difficult unmolding is not always a problem with the flipping motion itself.

Cake stuck, collapsed or leaked? Go straight to the troubleshooting guide.

Toast and finish the s’mores topping

Top with a large marshmallow, a few minis or a spoonful of marshmallow creme and toast until browned in spots. Scatter over the reserved graham crumbs and, if you like, add chocolate shavings or a light drizzle of homemade chocolate syrup.

No kitchen torch? Brown whole or mini marshmallows briefly on lightly greased foil under a hot broiler, watching constantly, then move them onto the cakes.

Two marshmallow-toasting methods: a kitchen torch browning marshmallow directly on a lava cake, and a no-torch method showing marshmallows browned separately under a broiler before being transferred onto the cake.
A torch browns the marshmallow exactly where it sits. No torch? Broil the marshmallows separately and transfer them afterward, so you still get the toasted s’mores finish without exposing an already-baked lava cake to another blast of intense heat.

Add a tiny pinch of flaky salt if the sweetness needs it.

Serve immediately. Put the cakes down whole and let everyone break into their own.


The Moment to Pull Them From the Oven

A lava cake is ready when the outer edge is set, the top has mostly lost its wet shine, and the remaining movement is concentrated in the center.

Molten, Not Raw: Read the Crumb

Don’t wait for the middle to become as still as the edge. The cakes keep cooking while they rest and while you get them onto the plate.

When you break it openWhat happenedNext batch
Glossy melted chocolate flows from the middle, with some marshmallow through it; the cake around it looks bakedRight where you want itKeep the timing
The cake itself looks wet, thin or streaky with uncooked batterIt came out too soonGive the next batch about 1 minute more
The middle is soft and fudgy, but the chocolate barely spreadsA little too long in the ovenCheck about 1 minute earlier
The middle looks much like the outsideThe cake baked throughStart checking earlier and check the oven temperature
Three chocolate lava cakes compared as too soon, ready, and too long; the ready cake has a baked exterior with a flowing center, the too-soon cake looks wet around the center, and the too-long cake has a mostly set middle.
For lava cake doneness, remember one useful rule: flow belongs to the filling, not the crumb. A dramatic molten center is right only when the chocolate cake surrounding it looks baked rather than wet or streaky.

The liquid you want is melted chocolate and marshmallow from the middle. The cake around it should look cooked.

If you have made fudgy brownies, the judgment is similar: soft and chocolatey is not the same thing as wet, uncooked batter.

If you’re using an unfamiliar oven for an important dinner, a trial bake on another day is more useful than sacrificing one of the four cakes at serving time.

↑ Back to the recipe

Keep the Lava in the Middle

A large frozen ball of ganache can still be cold when the cake around it is ready. A small, flat chilled piece warms more readily.

The marshmallow doesn’t need to be generous either. A small portion gives you the sticky streak without crowding the chocolate filling.

Then give both fillings room: batter underneath, batter above, clean batter around the sides.

Cutaway diagram of a s’mores lava cake showing chocolate cake around a chocolate ganache center and marshmallow filling, with a thin graham cracker layer at the base and a clean cake border around the filling.
Think of the center as architecture: chocolate cake forms the shell, ganache creates the molten flow, marshmallow adds the sticky pull, and the thin graham layer keeps the s’mores flavor recognizable instead of letting everything merge into one texture.

Chocolate, Marshmallow & Graham Each Need a Job

Semisweet or bittersweet chocolate around 60–65% cacao is a good middle ground. Milk chocolate can work, but beside marshmallow it pushes the finished cake much sweeter.

Chocolate chips can work in a pinch, though chopped bar chocolate usually melts more freely—especially useful in a molten chocolate cake where you actually want movement in the middle.

Marshmallow creme gives you the sticky pull inside. Browned marshmallow on top gives you something else entirely: caramelized edges and the toasted smell that makes the dessert register as s’mores before the first bite.

Close-up of a cut s’mores lava cake showing baked chocolate crumb surrounding glossy melted chocolate and a white marshmallow streak in the center.
The center works because the chocolate and marshmallow stay distinct: one flows, the other stretches, while the surrounding cake gives the spoon something to break through.

Graham is the awkward one because moisture wins eventually. The thin baked layer carries the graham flavor; the crumbs saved for serving bring back the crunch. Trying to keep buried cracker crumbs crisp inside warm chocolate and marshmallow is a losing argument with physics.

Your Ramekin Changes the Bake

Two 6-ounce ramekins are not necessarily the same bake. A broad, shallow dish spreads the batter thinner; a narrow, deeper one puts more distance between the heat and the middle.

The 11–13 minute range above is meant for the stated 6-ounce capacity, but even within that size the physical cues matter more than hitting one exact minute.

How to measure your ramekin

Fill it to the rim with water, then pour that water into a measuring jug.

  • 4 oz ramekin: roughly 120 ml
  • 6 oz ramekin: roughly 175–180 ml
  • 8 oz ramekin: roughly 235 ml

Use those numbers to identify what you own. The 4-ounce and 8-ounce sizes are not direct substitutes for the timing above; changing the capacity changes the depth of the cake and therefore the bake.

Two 6-ounce ramekins shown side by side: a broad, shallow blue ramekin and a narrower, deeper white ramekin, demonstrating that the same capacity can have different shapes and depths.
Capacity tells you what the dish holds; shape tells you how that capacity is distributed. That is why two 6-ounce lava cake ramekins can reach the same visual doneness cues at different moments even though both pass the water test.

No ramekins? A muffin pan is possible

A metal muffin pan is a possible variation, but this recipe’s timing is written for 6-ounce ceramic ramekins. Standard muffin wells are smaller and metal heats faster.

If you try it, use smaller portions of cake and filling and begin checking several minutes earlier. Treat the first batch as a separate variation rather than borrowing another lava-cake recipe’s timing.

↑ Back to the recipe

Make Them Ahead, Then Move Fast

Most of this dessert can be organized before the moment you want to serve it. The few minutes after baking are the part you can’t pause.

You can assemble the cakes earlier the same day, cover them and refrigerate them. Let them lose some of their refrigerator chill before baking, and expect fully cold cakes to behave differently from freshly assembled ones.

I wouldn’t promise a fixed extra bake time for a fully chilled cake. Use the set edge and movement in the middle to decide when it is ready.

Set out the plates, marshmallow and graham crumbs before the tray goes in. You don’t want to be hunting through a cupboard while four lava cakes quietly become four chocolate cakes.

Fix the Cake in Front of You

No flowing center? The usual culprits are too much oven time, an oven running hot, too much flour, or simply waiting too long to serve.

Six-panel lava cake troubleshooting chart showing examples labeled raw shell, collapsed, stuck, leaked, thick center, and right.
The fastest way to troubleshoot lava cake is to ask where the failure happened: the outer cake, the release, the filling or the center. Each points toward a different adjustment, so simply baking every failed batch longer can create a new problem.
What you seeLikely causeWhat to change
The cake around the filling looks rawIt needed a little longerAdd about 1 minute to the next batch
The cake collapses when flippedThe outside needed longer, or there was too much fillingGive it a little more oven time or reduce the filling next time
The cake sticksThe ramekin was not coated thoroughly, or the outside is very softLoosen the stuck area; serve in the ramekin if necessary
Chocolate or marshmallow leaks during bakingThe filling reached the side or topCenter the filling more carefully next time
The chocolate barely meltsThe ganache piece was too large, thick or very coldMake smaller, flatter chilled pieces

Too sweet? Use bittersweet rather than milk chocolate, measure the marshmallow instead of heaping it in, and skip powdered sugar unless you specifically want it. A little salt usually helps more.

Chocolatey, but not really s’mores? One of the three has probably gone quiet. Brown the marshmallow more deeply, bring back the reserved graham crumbs, or use chocolate with a little more cocoa character.

Graham went soft? Some softening is normal anywhere crumbs touch warm cake or marshmallow. Add the reserved crumbs at the very end for the contrast that matters.

↑ Back to the recipe

Swaps Worth Knowing

Chocolate chips: yes, though chopped bar chocolate generally melts more freely in both the batter and ganache.

Digestive biscuits: yes. Use plain digestives by weight. If yours are already quite sweet and buttery, leave the extra sugar out of the crumb mixture.

Cocoa powder for the melted chocolate: not gram for gram. Melted chocolate contributes cocoa butter as well as cocoa solids, so a direct dry-cocoa swap changes the way the cake sets.

Regular marshmallows inside: possible, but less predictable. They expand and melt unevenly. I would rather put them on top, where those toasted edges are useful.

Eggless, vegan or gluten-free: those versions need their own formula rather than a casual swap. If eggs or dairy are the issue, this vegan chocolate cake collection includes a dedicated vegan chocolate lava cake.

Leftovers & Reheating

These are much better freshly baked. The contrast between set cake and a flowing middle does not last forever.

Refrigerate leftovers once cool. For the best texture, keep it short and eat them within 1–2 days. Reheat gently in short microwave bursts until warm. The middle can become gooey again, but it won’t be quite the same cake.

If you’re planning ahead, assembling and baking later makes more sense than baking the cakes early and trying to rebuild the lava at serving time.


Take the cakes to the table while the centers are still loose. The marshmallow should smell toasted, the graham should crackle here and there, and once the spoon breaks through the cake, the chocolate should not need much introduction.

Partly eaten s’mores lava cake on a light plate with melted chocolate and marshmallow spreading from the center, toasted marshmallow and graham crumbs on top, and a spoon beside it.
The payoff is contrast: a cake that stands long enough to serve, then gives way when the spoon reaches the center.

↑ Back to the recipe · ↑ Back to top