Lava Cakes
Chocolate Cookie Dough Lava Cake
This is the chocolate answer to my Cookie Dough Lava Cake: three fudgy chocolate layers filled with warm cookie dough lava, soft cookie dough pieces, and chocolate buttercream.
The chocolate cake is what keeps the sweetness balanced. You still get the full cookie dough overload, but every bite has enough deep cocoa flavor to pull it back into harmony.

Save this recipe
Want to save this recipe for later?
Enter your email and I’ll send it to your inbox.

Thinking out loud
The Chocolate Version Had to Happen
The idea behind this one was simple: my Cookie Dough Lava Cake went viral, so naturally I wanted to create a chocolate version.
What surprised me was how much I ended up loving the balance. The cookie dough brings brown sugar, vanilla, chocolate chips, and that soft, gooey texture, while the fudgy chocolate cake adds depth and keeps every bite in harmony. Neither one competes with the other - they make each other better.
This is the lava cake for someone who loves cookie dough but always wants a chocolate component. You get all the familiar cookie dough flavor, layered with enough cocoa and chocolate buttercream to make the whole cake feel rich, balanced, and complete.
Ingredient notes
Key ingredients
Dutch-process and natural cocoa powders
Using both creates a fuller chocolate flavor. Dutch-process cocoa brings depth and dark color, while natural cocoa keeps the cake tasting bright and distinctly chocolate. Valrhona is one of my preferred options for natural cocoa powder.
Hot brewed coffee and espresso powder
Coffee strengthens the cocoa flavor without turning the cake into a coffee cake. Dissolving the espresso powder first helps it blend evenly through the batter.
Light brown sugar
Brown sugar gives both the lava and cookie dough their unmistakable cookie dough flavor and soft caramel note.
Mini chocolate chips
Mini chips spread chocolate through the filling and cookie dough without making the finished cake difficult to slice.
Brands I used for this recipe
These are preferences, not requirements. If you choose the non-dairy route, these are the products I test with. Dairy equivalents can be used at the same listed amounts and temperatures.

Forager Unsweetened Plain Yogurt
Plain unsweetened yogurt adds moisture, acidity, and body so the crumb bakes up tender without tasting tangy.

Silk Original Unsweet
Milk affects how smoothly a batter, filling, or frosting comes together. Soy milk and Ripple tend to emulsify well because their protein and fat help create a creamy, cohesive finish.

Country Crock Plant Butter Sticks
Use butter sticks for buttercream and fillings that need to hold their shape.

Majestic Dutch-process cocoa powder
For Dutch-process cocoa, I typically reach for Majestic or Ghirardelli.

Ghirardelli natural cocoa powder
Ghirardelli is my natural cocoa preference. The Valrhona cocoa powder linked here is Dutch processed; use the cocoa type listed in the recipe.

King Arthur Unbleached Cake Flour
I use King Arthur Unbleached Cake Flour for this recipe.

Rising Star Baking Supply Vanilla Bean Paste
I use Rising Star Baking Supply Vanilla Bean Paste for this recipe.
Testing notes
Why this works
Why the coffee goes in last
The hot coffee loosens the batter and blooms the cocoa after the other wet ingredients are mostly incorporated. Stream it in slowly and whisk gently so the batter stays smooth.
Why the lava cools before the chocolate chips go in
If the filling is too hot, the mini chocolate chips will melt into it. Cooling it close to room temperature keeps the chips distinct while the filling stays soft.
Why the lava is adjusted at room temperature
The filling thickens substantially as it cools. Wait until it reaches room temperature, then add milk a little at a time so you can judge the texture it will actually have inside the cake.
Why the buttercream dam matters
A tall, sturdy dam holds the soft lava inside each layer. Keep the filling below the top of the dam before adding the next cake layer.
Inside the recipe
How It All Comes Together










Troubleshooting
If This Happens
The cookie dough lava is too thick
Wait until the filling reaches room temperature, then add milk a little at a time. Stop when it moves slowly but is still thick enough to stay inside the buttercream dam.
The filling is pushing through the buttercream dam
Chill the cake layers, use a tall and continuous buttercream dam, and keep both the lava and cookie dough pieces below its top edge.
The chocolate chips melted into the lava
The filling was still too warm. Let it cool close to room temperature before folding in the mini chocolate chips so they stay distinct.
There are dry cocoa pockets in the cake
Sift both cocoa powders with the cake flour before they go into the wet ingredients. Cocoa clumps are difficult to whisk out once the hot coffee is added.
Before you slice
Texture and serving notes
Serve slightly chilled for the cleanest slices.
Let slices sit at room temperature for 20-30 minutes when you want the filling softer.
For a warmer lava effect, microwave an individual slice very briefly before serving.
Keep it good
Storage
Fridge
Store the assembled cake covered in the refrigerator for up to 4 days.
Serve
Bring individual slices toward room temperature before serving for the softest cake and filling.
Recipe FAQ
Questions that come up
Why does the recipe use two cocoa powders?
Dutch-process cocoa gives the cake dark color and smooth depth, while natural cocoa adds a brighter chocolate note. Together they make the chocolate component strong enough to balance the sweet cookie dough filling.
Can I use vanilla extract instead of vanilla bean paste?
Yes. Vanilla extract can be used at the same listed amount, though vanilla bean paste gives the cookie dough a fuller vanilla flavor.
Should I weigh the ingredients or use volume measurements?
I strongly recommend weighing the ingredients in grams for the most reliable result. Volume measurements are included for convenience, but the amount in a cup can change depending on how an ingredient is filled, packed, or poured. These recipes are easy to follow, but their ratios are precise, so I cannot guarantee the exact same result when volume measurements are used. I still use teaspoons and tablespoons for small amounts like leaveners, salt, spices, and flavorings because those are the most practical measurements.
Can I make this recipe gluten-free?
I have not tested this recipe with gluten-free flour, so I cannot guarantee the same texture, rise, or structure. If you would like to experiment, a cup-for-cup (1:1) gluten-free baking blend intended to replace all-purpose flour is the best place to start. Results may differ from the recipe as written.
Can I use all-purpose flour instead of cake flour?
Yes, of course. Replace the cake flour with the same amount of all-purpose flour by weight. The cake will have a slightly sturdier, less delicate crumb, but it will still be great.
- Prep
- 35 min
- Bake
- 22-25 min
- Total
- 2 hr 45 min
- Yield
- One 8-inch three-layer cake
Measurement note
For the closest match to the recipe I tested, use grams. Volume measurements are included for convenience, but cups can vary, so I cannot guarantee the exact same result when measuring by volume.
Ingredients
Tap each ingredient as you use it.
Volume measurements use US cups and level spoons and are approximate. Spoon flour and powdered sugar into the cup, level, then sift if directed. For cocoa and freeze-dried fruit powders, scoop the unsifted powder and level without packing, then sift if directed. Measure sprinkles loosely and level. Pack brown sugar. For ingredients marked "weigh for accuracy", use the listed grams.
Chocolate Cake
- 240 g cake flour, sifted
- 50 g Dutch-process cocoa powder, sift after measuring
- 25 g natural cocoa powder, sift after measuring
- 10 g baking powder (weigh for accuracy)
- 6 g baking soda (weigh for accuracy)
- 4 g fine sea salt (weigh for accuracy)
- 300 g granulated sugar
- 50 g light brown sugar, packed
- 230 g milk
- 15 g apple cider vinegar
- 140 g neutral oil
- 135 g plain unsweetened yogurt, room temperature
- 10 g vanilla bean paste (weigh for accuracy)
- 130 g hot brewed coffee
- 1 teaspoon espresso powder
Chocolate Chip Cookie Dough Lava
- 120 g light brown sugar, packed
- 40 g granulated sugar
- 70 g butter
- 80 g all-purpose flour
- 60 g cream
- 1 teaspoon vanilla bean paste
- 1/2 teaspoon fine sea salt
- 70 g mini chocolate chips
- Milk, as needed to loosen the cooled filling
Cookie Dough Pieces
- 70 g butter, room temperature
- 75 g light brown sugar, packed
- 35 g granulated sugar
- 120 g all-purpose flour
- 1/2 teaspoon fine sea salt
- 1 teaspoon vanilla bean paste
- 2-3 tablespoons cream, as needed
- 70 g mini chocolate chips
Chocolate Buttercream
- 339 g butter, room temperature
- 508 g powdered sugar, sifted
- 43 g Dutch-process cocoa powder, sift after measuring
- 26 g natural cocoa powder, sift after measuring
- 51 g dark chocolate, melted and cooled (weigh for accuracy)
- 2 1/4 teaspoons vanilla bean paste
- 38-53 g cream, room temperature
Pan used
I use Fat Daddio's 8-inch anodized aluminum round cake pans for this recipe.
Instructions
- 1Preheat the oven to 350°F (175°C). Grease and line three 8-inch round cake pans with parchment paper.
- 2Stir the espresso powder into the hot brewed coffee until completely dissolved. Set aside.
- 3Make the chocolate cake. In a large bowl, whisk together the milk, apple cider vinegar, oil, yogurt, vanilla bean paste, granulated sugar, and brown sugar until smooth.
- 4Sift the cake flour, Dutch-process cocoa powder, natural cocoa powder, baking powder, baking soda, and salt directly into the wet ingredients. Do not skip sifting the cocoa powders - cocoa clumps easily and those dry pockets are difficult to whisk out later.
- 5Whisk gently until the batter is mostly combined and only a few dry streaks remain.
- 6Slowly stream in the hot coffee mixture while whisking gently until the batter is fully smooth.
- 7Divide the batter evenly among the prepared pans.
- 8Bake for 22-25 minutes, until the centers spring back lightly and a toothpick inserted into the center comes out with moist crumbs.
- 9Cool the layers in the pans for 10-15 minutes, then turn them onto cooling racks and cool completely before assembling.
- 10Make the cookie dough lava. Melt the butter with both sugars in a saucepan over medium heat until melted and glossy.
- 11Remove the saucepan from the heat and whisk in the all-purpose flour.
- 12Stream in the cream gradually until the filling is molten but still thick.
- 13Stir in the vanilla bean paste and salt. Cool for 5 minutes, then continue cooling until close to room temperature.
- 14Fold in the mini chocolate chips. Once the lava is at room temperature, add milk a little at a time if needed to reach your desired consistency.
- 15Make the cookie dough pieces. Mix the butter, brown sugar, granulated sugar, flour, salt, vanilla bean paste, and enough cream to form a soft dough. Fold in the mini chocolate chips, then break or cut the dough into small pieces.
- 16Make the chocolate buttercream. Beat the butter until smooth.
- 17Add the powdered sugar and both sifted cocoa powders. Mix on low, then increase the speed until combined.
- 18Stream in the melted and cooled dark chocolate. Mix until smooth and glossy.
- 19Add the vanilla bean paste and mix until combined.
- 20Add the cream gradually on low until the buttercream is silky and light.
- 21Assemble the cake. Place the first cooled cake layer on a cake board or serving plate. Spread a thin layer of buttercream over the top, then pipe a tall buttercream dam around the edge.
- 22Spoon cookie dough lava inside the dam and scatter cookie dough pieces over the filling, keeping everything below the top of the dam.
- 23Repeat with the second cake layer, another thin layer of buttercream, a tall dam, cookie dough lava, and cookie dough pieces.
- 24Add the final cake layer and frost the outside with chocolate buttercream.
- 25Finish the top with more cookie dough lava and cookie dough pieces.

Meet the baker
Angela Heckler
Angela Heckler is the recipe developer, baker, and photographer behind Obsessed Cakes. Her Old-Fashioned Donut Loaf series is a growing collection of cake-donut-inspired loaves with soft, deeply moist crumbs, buttery streusel, and crackly glaze. Angela develops and tests every recipe in her Arizona kitchen. Follow Obsessed Cakes on Instagram, TikTok, and YouTube.
Made it? Tell us.
Ratings and reviews
Be the first to rate this recipe.
No reviews yet.
Make the recipe, leave a rating, and share how it turned out.Did you make this?
Share your bake on Instagram - tag @obsessedwithcashews and use #obsessedcakes.