Cake with a Melting Core: Chocolate Lava Cakes

Updated November 3, 2026

Total time
1 hr 50 min
prep 30 min · cook 18 min
Serves
4
portions as written
Safe temperature (USDA)
160°F / 71°C
check the thickest piece

Jump to recipe

Cake with a Melting Core: Chocolate Lava Cakes

Cake with a melting core, often called chocolate lava cake, is a small chocolate cake with a warm, flowing center. This version hides a chilled chocolate ganache center inside an egg-based batter, so the cake can bake through while the middle stays soft and molten.

Ingredients

  • 3 oz (85 g) semisweet or bittersweet chocolate, finely chopped, for the centers
  • 1/4 cup (60 ml) heavy cream, for the centers
  • 1 tablespoon (14 g) unsalted butter, softened, for the ramekins
  • 1 tablespoon (5 g) unsweetened cocoa powder, for dusting the ramekins
  • 4 oz (115 g) semisweet or bittersweet chocolate, finely chopped, for the cake batter
  • 1/2 cup (113 g) unsalted butter, cut into pieces
  • 2 large eggs (about 100 g without shells), at room temperature
  • 2 large egg yolks (about 36 g), at room temperature
  • 1/3 cup (67 g) granulated sugar
  • 1/4 cup (32 g) all-purpose flour, spooned into the cup and leveled
  • 1/8 teaspoon (0.75 g) fine salt
  • 1 teaspoon (5 ml) vanilla extract
  • 1 tablespoon (8 g) powdered sugar, optional, for serving

Instructions

  1. Make the ganache centers. Put the 3 oz (85 g) chopped chocolate in a heatproof bowl. Warm the cream in a small saucepan until steaming but not boiling, then pour it over the chocolate. Let it stand for 2 minutes and stir until smooth. If a few pieces remain, microwave the mixture in 10-second bursts, stirring each time. The finished ganache should be glossy and thick enough to hold a soft mound.
  2. Portion and freeze the centers. Line a small plate or tray with parchment. Spoon the ganache into four equal portions, about 1 tablespoon each, leaving space between them. Freeze for 1 hour, or until firm enough to lift without smearing. These compact centers melt in the oven but remain distinct from the cake batter, which is what creates the flowing middle.
  3. Prepare the oven and ramekins. Set a rack in the center of the oven and heat it to 425°F (220°C). Use four oven-safe ramekins with a capacity of about 6 oz (180 ml) each. Brush the inside and rims with softened butter, then dust with cocoa powder; turn each ramekin to coat and tap out the excess. Proper greasing matters because the cakes need to release cleanly after baking.
  4. Melt the batter chocolate and butter. Place the remaining 4 oz (115 g) chocolate and the 1/2 cup (113 g) butter in a heatproof bowl. Set it over a saucepan containing a little barely simmering water, making sure the bottom of the bowl does not touch the water. Stir until melted and smooth, then remove the bowl and let the mixture cool for about 5 minutes. It should feel warm, not hot, so it does not scramble the eggs when combined.
  5. Whisk the eggs and sugar. In a separate bowl, whisk the 2 eggs, 2 yolks, and granulated sugar for about 2 minutes, until the mixture looks paler and slightly thickened. Whisk in the vanilla and salt. Pour in the warm chocolate mixture in a steady stream, whisking gently until evenly combined. Avoid beating aggressively at this point; too much air can make the cakes puff and then collapse unevenly.
  6. Fold in the flour and fill the ramekins. Sift or sprinkle the flour over the chocolate mixture and fold it in with a flexible spatula just until no dry streaks remain. Divide about half the batter among the ramekins. Put one frozen ganache portion in the center of each, keeping it away from the sides. Divide the remaining batter over the centers and smooth the tops so the ganache is covered. Leave a little room at the top for the cakes to rise.
  7. Bake the cakes. Set the ramekins on a baking sheet and bake for 18 minutes. The edges should look set and the tops should be puffed, while the cakes may still have a slight softness at the center. Because the cake batter contains eggs, USDA FSIS guidance sets 160°F (71°C) as the safe minimum temperature for egg dishes. Check the cake portion with an instant-read thermometer, inserting the probe into the cake beside the ganache rather than into the molten filling. If needed, continue baking in 1-minute increments until the cake portion reaches 160°F (71°C). The ganache center itself is not the egg-containing cake batter.
  8. Rest briefly and serve. Take the ramekins out of the oven and let them stand for 2 minutes. Run a thin knife around the inside edge, place a small serving plate over each ramekin, and carefully invert. Use an oven mitt because the ramekins are very hot. Lift each ramekin slowly; if a cake sticks, set it upright and loosen the edge again rather than pulling hard. Dust with powdered sugar if desired and serve immediately.

Tips

  • Choose chocolate you enjoy eating. Semisweet chocolate gives a balanced, familiar flavor, while bittersweet chocolate makes the cakes more intense and less sweet. Chocolate chips can work in the ganache, but some contain stabilizers and may melt less smoothly; finely chopped bar chocolate is the most predictable choice.
  • Keep the ganache portions cold. If they soften while you assemble the cakes, return them to the freezer for 10 minutes. A firm center is easier to position and less likely to streak into the batter. Make sure each portion is fully covered so it does not leak against a ramekin wall.
  • Measure flour lightly. Scooping directly with a measuring cup can pack in too much flour and produce a dry, bready cake rather than a tender one. Spoon flour into the cup and level it, or weigh 32 g. Fold only until combined; a few extra strokes can make the crumb tougher.
  • Use a thermometer carefully. The visible look of a lava cake can be misleading, especially with a ganache insert. Put the probe into the surrounding cake, not the chocolate center, to check the egg-containing portion. Ramekins, ovens, and chocolate brands vary, so temperature is more useful than relying on a perfectly timed visual cue.

Serving Suggestions

Serve these cakes as soon as they are unmolded, while the contrast between the tender cake and warm ganache is at its best. A small scoop of vanilla ice cream or a spoonful of softly whipped cream is a classic pairing; the cool, mild dairy balances the concentrated chocolate. Fresh raspberries, sliced strawberries, or a few orange segments add tartness and make the plate feel lighter without requiring another dessert sauce.

For a simple dinner-party finish, sift a little powdered sugar over each cake and add berries on the side. A light dusting is enough; a thick layer can obscure the cake’s surface. If you want a sauce, use a few spoonfuls of warm berry compote or salted caramel around the plate rather than pouring it over the cake, so the molten center remains the main feature. Plan on one cake per person, since the rich chocolate portion is satisfying on its own.

Variations

Use a different center: Replace the ganache with four small pieces of dark chocolate, about 1/2 oz (14 g) each. This is quicker, though the center may be less creamy and more sharply chocolate-flavored. For a nutty version, put about 1 teaspoon (5 g) of smooth hazelnut spread in each portion and freeze it until firm; the filling will be sweeter and softer than the ganache.

Add a flavor note: Stir 1/2 teaspoon (2.5 ml) of espresso powder into the melted batter chocolate to deepen its roasted flavor without making the cakes taste strongly of coffee. Alternatively, add 1/2 teaspoon (2.5 ml) of finely grated orange zest to the egg-and-sugar mixture. Keep additions modest so the batter still sets around the center.

Adjust the chocolate intensity: Use all semisweet chocolate for a sweeter result, or choose a bar labeled around 60–70% cacao for a more bittersweet cake. Very high-percentage chocolate can make the batter firm and less sweet, so avoid changing both the chocolate and sugar substantially at once. The ganache and cake use separate chocolate quantities, letting you make the center slightly darker than the outer cake if you prefer.

Storage and Reheating

These cakes are best eaten immediately because the center is designed to flow after baking. If you have leftovers, refrigerate them within 2 hours of baking in a covered container and use them within 3–4 days. The ganache will firm up as it chills, so a stored cake will not have quite the same molten texture as a freshly baked one. Do not leave the cakes at room temperature for an extended period.

To reheat one refrigerated cake, remove it from its ramekin if possible and place it on a microwave-safe plate. Heat in short 10-second bursts, checking between bursts; a typical cake may take 20–30 seconds, depending on its size and your microwave. For food safety, USDA FSIS recommends reheating leftovers to 165°F (74°C); check the cake portion with a thermometer and take care not to mistake warm ganache for the cake’s temperature. Reheating to that temperature can make the center less fluid, and the outer cake may become firmer, so freshly baked portions give the best texture.

You can prepare the ganache portions ahead and keep them frozen in a sealed container for up to 1 month. The assembled, unbaked cakes can also be covered and refrigerated for up to 24 hours, though a cold ramekin may need an extra minute or two in the oven. Check the egg-containing cake portion for 160°F (71°C) rather than relying on the extra time alone. Do not put a very cold ceramic ramekin straight onto a hot surface, since sudden temperature changes can crack it.

Frequently Asked Questions

Can I make cake with a melting core without ramekins?

Yes. Use a muffin tin with four generously buttered and cocoa-dusted wells, preferably in a standard-size tin. The cakes will be smaller and may bake faster, so begin checking after about 11 minutes and use the thermometer to confirm the cake portion reaches 160°F (71°C). Let them rest briefly, then loosen the edges carefully. A muffin tin can be harder to invert neatly than individual ramekins, so handle it with a stable tray and oven mitts.

Can I prepare the cakes ahead of time?

Yes. Make and fill the ramekins, cover them, and refrigerate for up to 24 hours before baking. Since the batter will be cold, expect the bake to take a little longer than 18 minutes; check the cake portion’s temperature and add time in short increments. The ganache centers can be made and frozen well in advance, which is a useful way to break the work into stages.

Why did my center not melt?

The cakes may have baked too long, the ganache portions may have been unusually large, or the center may not have been positioned in the middle. Check the oven temperature with an oven thermometer if this happens repeatedly, since a hotter-than-indicated oven can overbake the cake quickly. Follow the thermometer guidance for the egg-containing cake portion, and avoid extending the bake well past the point it reaches 160°F (71°C).

Can I use milk chocolate?

You can, but the cakes will be sweeter and milder, and milk chocolate can melt differently because it contains more milk solids and sugar. For a more balanced result, use semisweet chocolate in the batter and milk chocolate only for the ganache center. If using milk chocolate for both, keep the listed sugar amount at first and taste the chocolate before deciding whether a small reduction suits your preference.

Can I bake these in one large dish?

Individual cakes are more reliable because their size makes it easier to keep a distinct soft center while the surrounding batter sets. A large shared cake would need a different amount of batter, a different baking time, and a way to place the ganache in the middle without leaving raw egg batter around it. For this recipe, use four individual ramekins or muffin wells rather than combining everything in one pan.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).