Preheat your oven to 425°F. Spray a six-count muffin tin or four to six individual ramekins with non-stick cooking spray, then dust them with cocoa powder. Place the chocolate chips and butter together in a microwave-safe bowl. Microwave in 30-second bursts, stirring well between each interval, until the mixture is completely melted and smooth. Set the bowl aside and allow it to cool to room temperature — this step is important because adding hot chocolate to the eggs will scramble them.
While the chocolate cools, whisk together the flour, powdered sugar, and salt in a small bowl. In a separate bowl, whisk together the whole eggs and egg yolks until combined. Once the chocolate mixture has cooled slightly, add both the dry ingredients and the egg mixture to it. Whisk everything together until the batter is smooth and well combined.
Pour the batter evenly into your prepared baking dishes, filling each about three-quarters of the way. If using ramekins, place them on a baking sheet. If using a muffin tin, place it directly on the middle oven rack. Bake for approximately 14 minutes, until the tops are set and just beginning to crack.
Remove the cakes from the oven and let them cool for about 5 minutes. Run a butter knife gently around the edges of each cake to release any spots that may have stuck.
Place a plate or serving dish on top of the pan, then carefully and quickly flip it over to invert the cakes. Use oven mitts — the pans will still be very hot! Dust with a little cocoa powder or powdered sugar and serve immediately.
Notes
Don't overbake. The biggest mistake people make with lava cakes is leaving them in the oven too long. The tops should look just set with slight cracking — if the surface looks completely dry and firm, the center has likely cooked through.
Cool the chocolate before adding eggs. If the melted chocolate is too hot when you add the eggs, you'll end up with scrambled egg bits in your batter. Let it cool until it's just barely warm to the touch.
Prep your pans well. The cocoa powder coating is non-negotiable for clean release. Make sure every inch of the inside of your pan or ramekin is coated before pouring in the batter.
Make the batter ahead. You can prep the batter up to 24 hours in advance, pour it into the greased and cocoa-dusted pans, cover tightly with plastic wrap, and refrigerate until you're ready to bake. Add 1–2 minutes to the baking time if baking straight from the fridge.
Test with one cake first if you're trying this recipe for the first time in a new oven. Ovens vary, so one test run helps you dial in the perfect timing.
Serve immediately. Lava cakes are at their absolute best the moment they're plated. The longer they sit, the more the molten center continues to cook from residual heat.