Cake Batter Lava Cake
5.0 from 11 reviewsThis is the cake I want when I want something completely over the top and all I can think about is the nostalgic taste of cake batter.
The filling thickens as it cools, then loosens into that dramatic lava moment when the first slice is removed. A tall buttercream dam keeps every layer supported until you are ready to cut it.

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

The Cake Batter Detour I Always Took
I made this cake selfishly because cake batter is undeniably my favorite artificial flavor. In college, I could smell it coming from Cold Stone on my way home. I tried to walk past, but nine times out of ten I found a reason why I deserved a sweet treat.
Now, anytime I smell cake batter, I think of those stops. This cake takes that same nostalgic flavor and turns it into the ultimate celebration cake, with funfetti layers, molten filling, cookie dough pieces, and more sprinkles than strictly necessary.
Ingredient notes
Key ingredients
Cake batter extract
Cake batter extract creates the familiar bakery flavor at the center of this recipe.
Rainbow sprinkles
Rainbow sprinkles run through the cake, cookie dough, and decoration.
Cake flour and cornstarch
This combination keeps the funfetti layers soft and tender while giving them enough structure to support the lava filling.
Vanilla bean paste
Vanilla bean paste rounds out the cake batter extract and gives the cake, filling, cookie dough, and buttercream one consistent vanilla base.

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.

LorAnn Cake Batter Flavor
I use LorAnn and have not tested another brand in this recipe. It is highly concentrated, so begin with the listed amounts and add more only after tasting.

Forager Unsweetened Plain Yogurt
For a non-dairy version, I test the cake layers with Forager Unsweetened Plain Yogurt. Plain unsweetened dairy yogurt can be used at the same listed amount and temperature.

Country Crock Plant Butter Sticks
For a non-dairy version, I use Country Crock Plant Butter Sticks. They are dependable in the lava, cookie dough, and buttercream, and they are usually easier to find in conventional grocery stores than at Sprouts or Whole Foods. Dairy butter can be used at the same listed amounts and temperatures.

Country Crock Heavy Plant Cream
If you are replacing dairy heavy cream, I highly recommend Country Crock Heavy Plant Cream. It has no aftertaste, behaves more like dairy cream than any alternative I have used, keeps these lava fillings smooth, and makes the buttercream incredibly fluffy. I usually find it at Kroger or Fry's and wish every grocery store carried it. Dairy heavy cream can be used at the same listed amounts and temperatures.

King Arthur Unbleached Cake Flour
The cake flour I use in recipes that call for cake flour.

Rising Star Baking Supply Vanilla Bean Paste
The vanilla bean paste I use, linked to the 4-ounce Walmart bottle.
From this recipe
Tested notes
Grams are the source of truth for this recipe.
The filling must cool completely before you judge its final consistency or assemble the cake.
The cake layers should be chilled before stacking, and the cookie dough needs its full 30-minute chill before it is broken into pieces.
If you want sprinkles in the buttercream, fold them in only after the buttercream is already light and fluffy.
Testing notes
Why this works
Add the sprinkles last
Gently fold the sprinkles into the finished cake batter to reduce color bleeding.
Cool the lava before adjusting it
The filling thickens considerably as it cools. Wait until it reaches room temperature before deciding whether it needs a little milk to reach the consistency you want.
Build a tall buttercream dam
Pipe a complete, sturdy ring around each layer. Keep both the lava and cookie dough pieces below the top of the dam so the next cake layer rests securely on buttercream.

Step by step
How It All Comes Together
Step 1
Bake and chill the funfetti layers
Fold the sprinkles into the finished batter, divide it evenly among the pans, and bake until a tester comes out with a few moist crumbs. Chill the wrapped cake layers before assembly.

Divide the batter evenly among the pans. A few extra sprinkles on top are optional. Step 2
Prepare the cookie dough pieces
Give the cookie dough its full 30-minute chill, then break it into small pieces. Keep the pieces cold so they stay distinct when added between the cake layers.

Chill the cookie dough, then break it into small pieces for layering and decorating. Step 3
Build a sturdy buttercream dam
Spread a thin layer of vanilla buttercream over the cold cake, then pipe a tall, continuous dam around the edge. The next layer should rest on buttercream, not on the filling.

Start each filling layer with a thin, even coat of buttercream. 
Pipe a tall, continuous dam before adding any lava. Step 4
Add the lava and cookie dough
Spread the completely cooled cake batter lava inside the dam, stopping below the top edge. Press in the chilled cookie-dough pieces without piling them above the dam, then repeat with the second cake layer.

Spread the cooled lava inside the dam, keeping it below the top edge. 
Add cookie dough pieces and sprinkles without overfilling the layer. Step 5
Crumb coat and finish the cake
Apply a thin crumb coat and chill the stacked cake before adding the final buttercream. Decorate with the reserved lava, cookie dough pieces, buttercream, and sprinkles, then slice to reveal the center.

Chill the crumb-coated cake before applying the final buttercream layer. 
Finish the cake with reserved lava, buttercream, cookie dough pieces, and sprinkles. 
The first slice reveals the molten center and colorful funfetti layers. 
The cut cake shows the cookie dough pieces tucked into the filling.

From Instagram
Watch the reel
Watch the funfetti cake, cake batter lava, sprinkle cookie dough pieces, and vanilla buttercream come together.
Open the reelSmall things that matter
Tips for the best cake
Chill the cake layers and cookie dough before assembly so every layer stays steady while you build the cake.
Apply a thin crumb coat and chill the stacked cake before adding the final buttercream layer.
Reserve some lava, cookie dough pieces, buttercream, and sprinkles for the top of the cake.

Troubleshooting
If This Happens
The cake batter lava looks too thin
Let it cool completely before changing anything. It thickens considerably at room temperature, so judge the consistency only after it has cooled.
The cake batter lava is too thick
Stir in room-temperature milk a little at a time until the filling becomes glossy and slowly spreadable. Add only what it needs.
The filling is pushing through the buttercream
Use chilled cake layers, pipe a tall and continuous buttercream dam, and keep both the lava and cookie dough pieces below the top edge.
Why is the lava grainy?
A little texture is expected once the lava is completely chilled. If it feels very grainy, the sugar may not have dissolved or may have crystallized, especially if the heat was too high. Some organic sugars have larger crystals that take longer to dissolve. You can try gently warming the filling over low heat, stirring without letting it boil hard. Let it cool again before checking the texture. This may help with undissolved sugar, but it is not a guaranteed fix. If it stays coarse and crystallized, remake the filling rather than keep cooking it. If it smells burnt or tastes bitter, discard it and start over.
Before you slice
Texture and serving notes
The cake is best the day it is assembled, when the filling has its softest lava effect.
Warm an individual slice for about 10 seconds if you want the filling to flow more freely.
Keep it good
Storage
Counter
Keep the assembled cake covered at room temperature for up to 8 hours.
Fridge
Store the cake in the refrigerator for up to 3 days and let slices soften at room temperature before serving.
Freezer
Freeze unassembled cake layers and cookie dough separately for up to 1 month.
Freezer
Freeze assembled slices, then thaw them overnight in the refrigerator.
Recipe FAQ
Questions that come up
How do I keep the Cake Batter Lava Cake from sliding?
Use completely cooled cake layers, room-temperature lava that has thickened, chilled cookie dough, and a tall, continuous buttercream dam. Keep the filling below the top of the dam and chill the crumb-coated cake before the final coat.
Can I make the cake batter lava ahead?
Yes. Make it ahead and refrigerate it in an airtight container. Bring it toward room temperature and stir until smooth before assembly, adding milk only if needed to restore a slowly spreadable consistency.
Can I use vanilla extract instead of vanilla bean paste?
Yes. Vanilla extract can replace the vanilla bean paste at the same listed amount, although I prefer vanilla bean paste for its fuller flavor.
Which sprinkles work best in funfetti cake?
Use rainbow jimmies rather than tiny nonpareils. Fold them in quickly at the very end so the colors stay distinct instead of bleeding through the batter.
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 a separate gluten-free version with its own ingredients and method. Follow that recipe rather than swapping the flour in this one. Gluten-Free Cake Batter Lava Cake
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
- 1 hr
- Bake
- 22-25 min
- Total
- About 3 hr, including cooling and chilling
- Yield
- One three-layer 8-inch 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
Funfetti Cake Layers
- 300 g cake flour300 g (about 2 1/2 cups) cake flour
- 25 g cornstarch25 g (about 3 tablespoons + 1 1/2 teaspoons) cornstarch
- 2¼ tsp baking powder2¼ tsp baking powder
- ½ tsp baking soda½ tsp baking soda
- ¾ tsp fine sea salt¾ tsp fine sea salt
- 300 g granulated sugar300 g (about 1 1/2 cups) granulated sugar
- 120 g neutral oil120 g (about 1/2 cup + 2 teaspoons) neutral oil
- 200 g plain unsweetened yogurt200 g (about 3/4 cup + 1 tablespoon) plain unsweetened yogurt
- 240 g milk240 g (about 1 cup) milk
- 1 tbsp apple cider vinegar1 tbsp apple cider vinegar
- 1 tbsp vanilla bean paste1 tbsp vanilla bean paste
- ½ tsp cake batter extract½ tsp cake batter extract
- 90 g rainbow sprinkles, plus more for the pan tops (optional)90 g (about 7 tablespoons + 1 1/2 teaspoons) rainbow sprinkles, plus more for the pan tops (optional)
Molten Funfetti Filling
- 200 g granulated sugar200 g (about 1 cup) granulated sugar
- 113 g butter (1 stick)113 g (about 1/2 cup) butter (1 stick)
- 60 g cream60 g (about 1/4 cup) cream
- 15 g cake flour15 g (about 2 tablespoons) cake flour
- 1 tsp vanilla bean paste1 tsp vanilla bean paste
- ¼ tsp cake batter extract¼ tsp cake batter extract
- ½ tsp fine sea salt½ tsp fine sea salt
- Milk, room temperature, as neededMilk, room temperature, as needed
Funfetti Cookie Dough
- 180 g all-purpose flour, treated for no-bake use180 g (about 1 1/2 cups) all-purpose flour, treated for no-bake use
- 85 g butter, softened85 g (about 6 tablespoons) butter, softened
- 100 g granulated sugar100 g (about 1/2 cup) granulated sugar
- ½ tsp vanilla bean paste½ tsp vanilla bean paste
- ¼ tsp cake batter extract¼ tsp cake batter extract
- ½ tsp fine sea salt½ tsp fine sea salt
- 60 g rainbow sprinkles60 g (about 5 tablespoons) rainbow sprinkles
- 50 g white chocolate chips50 g (about 1/4 cup + 2 teaspoons) white chocolate chips
Vanilla Sprinkle Buttercream
- 452 g (4 sticks) butter, softened but cool452 g (about 2 cups) (4 sticks) butter, softened but cool
- 680 g powdered sugar, sifted680 g (about 5 2/3 cups) powdered sugar, sifted
- 2 tsp vanilla bean paste2 tsp vanilla bean paste
- ⅛ tsp cake batter extract⅛ tsp cake batter extract
- ½ tsp fine sea salt½ tsp fine sea salt
- 60-90 g cream, room temperature60-90 g (about 1/4 cup to 6 tablespoons) cream, room temperature
- 60 g rainbow sprinkles60 g (about 5 tablespoons) rainbow sprinkles
Pan used
I use Fat Daddio's 8-inch anodized aluminum round cake pans for this recipe.
Instructions
- 1Make the cake layers. Preheat the oven to 350°F. Grease three 8-inch round cake pans and line the bottoms with parchment paper.
- 2In a medium bowl, whisk together the cake flour, cornstarch, baking powder, baking soda, and salt until evenly combined.
- 3In a large bowl, whisk together the granulated sugar, milk, apple cider vinegar, yogurt, neutral oil, vanilla bean paste, and cake batter extract until smooth and emulsified.
- 4Sift the dry ingredients over the wet ingredients and whisk gently just until combined. Do not overmix.
- 5Gently fold the sprinkles into the finished cake batter to reduce color bleeding.
- 6Divide the batter evenly among the prepared pans. If you like, sprinkle a few additional rainbow sprinkles over the batter in each pan before baking.
- 7Bake for 22-25 minutes, checking at 22 minutes. The centers should spring back and a tester should come out with a few moist crumbs.
- 8Cool the cakes in the pans for 8-10 minutes, then turn them out onto wire racks. Wrap the layers while slightly warm and refrigerate or freeze until chilled.
- 9Make the molten filling. Combine the granulated sugar, butter, and cream in a saucepan over medium heat. Whisk until melted and smooth.
- 10Whisk in the cake flour and salt. Simmer for 2-3 minutes, whisking, until glossy and slightly thickened.
- 11Remove from the heat and whisk in the vanilla bean paste and cake batter extract. Cool completely to room temperature before assembly.
- 12Judge the filling only after it has cooled. If needed, stir in room-temperature milk a little at a time until it reaches your desired slowly spreadable consistency.
- 13Make the cookie dough. Beat the butter and granulated sugar until light and fluffy. Add the vanilla bean paste, cake batter extract, and salt.
- 14Mix in the all-purpose flour until a dough forms, then fold in the rainbow sprinkles and white chocolate chips. Refrigerate for 30 minutes.
- 15Make the buttercream. Beat the butter for 2-3 minutes, until smooth and light.
- 16Add the powdered sugar, vanilla bean paste, cake batter extract, and salt. Mix on low until combined.
- 17Add the cream gradually and beat until the buttercream is fluffy and spreadable. Fold in the sprinkles at the end if you want a speckled finish.
- 18Assemble the cake. Place the first chilled cake layer on a cake board. Spread a thin layer of buttercream over the cake, then pipe a tall, continuous buttercream dam around the outer edge.
- 19Spread some of the room-temperature funfetti filling inside the dam, keeping it below the top edge. Press small chilled cookie dough pieces into the filling.
- 20Add the second cake layer and repeat with buttercream, a sturdy dam, filling, and cookie dough pieces. Top with the final cake layer.
- 21Apply a thin crumb coat and refrigerate the cake for 15 minutes.
- 22Frost the cake with the vanilla sprinkle buttercream. Decorate with the remaining filling, cookie dough pieces, buttercream, and sprinkles.
Helpful notes
- Grams are the source of truth for this recipe.
- The filling must cool completely before you judge its final consistency or assemble the cake.
- The cake layers should be chilled before stacking, and the cookie dough needs its full 30-minute chill before it is broken into pieces.
- If you want sprinkles in the buttercream, fold them in only after the buttercream is already light and fluffy.

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
The cake turned out amazing!!🤩 it was my first time EVER making a layered cake and at that, one that had molten lava. All the steps were so easy to follow and I loved how there is a “what if this happens” section that I could refer whenever I had a question or thought things were going south 🤣 … but it turned out tasty and perfect for a classic cake batter & sprinkle flavor I was looking for!!
It was gorgeous, Apryl!! I'm so glad you enjoyed it and thank you so much for sharing!
Made this as a 2 layer 8-inch cake with a smaller 4 inch cake and they turned out great! Directions were pretty easy to follow (well written and laid out) and I was able to make it in a day. it looked lovely and I got great feedback from those who tried it. Only note is that the recipe made a lot more cookie dough than I needed - currently resisting the temptation to have the rest of the cookie dough in some ice cream as a midnight snack!
Awe, I'm so glad you all enjoyed it!! Yes, if there is any extra cookie dough, I load it on top of ice cream!! :) Thank you for sharing, Yinka :)
I made this for my toddler’s birthday and everyone loved it! My toddler has a severe egg allergy so this recipe was great! The recipe is so easy to follow
Happy birthday to your lil guy, Alyssa!! So glad this cake was a good solution for the celebration and thrilled to hear you loved it!! :) Thank you for sharing.
When I saw this recipe I thought, this is my dream cake. So I made it and I tried it and I will indeed say it is my dream cake. It’s a lot of work and a lot of steps but it’s so worth it and I might have to make this for myself every year now
Thank you so much for sharing, Ashley! And, Happy Birthday!! :)
Loved the recipe! The cake was soo good! The flavor was super intense but hit all the right spots. I would definitely make this again.
I’m so glad you liked it, Alexis! 😍
This cake was so fun to make. My sister is *obsessed* with sprinkles and all things birthday cake so I knew I had to make this for her. She LOVED IT. The steps are easy to follow and it turned out great.
Yay!!! Okay, then she will love the white chocolate blondie sprinkle cake that I just filmed! You'll have to keep an eye out for it!
genuinely the best cake i’ve ever made. surprisingly easy despite all the aspects.
I’m so glad, Kylee! Thank you for sharing ☺️
This recipe turned out amazing! I love funfetti and cookie dough and everything combined was just so perfect. This is the best birthday cake to make for yourself or for someone else!!! I will def be making this again!
Thanks so much for sharing, Haley! I’m thrilled to hear you enjoyed it! It really is the ultimate birthday cake ☺️
Love this recipe! It was a fan favorite at our birthday party. Will definitely be making more of her recipes!
Yay! So happy to hear, Kadyn ☺️ thank you for sharing!
I have made this cake three or four times, the cake batter cake is one of my very favorites. I love the cake batter cookie dough bites, I usually save some to snack on later because I’m a glutton :) 10/10, would recommend to all the homies who love cake batter
Ah!! Love this, I'm so glad you love it!! I always keep some left over too and put it in ice cream:).
This cake is amazing & everyone loved it! It is definitely worth the extra steps to make the cookie dough and molten funfetti filling. Great recipe!
Yay, Carson! I'm thrilled to hear it was a success! I agree on the steps ;) and I hope the celebration was equally as good! Thank you so much for sharing :) -Angela
Questions from readers
Recipe questions and answers
I made this and have a few thoughts. Why do you use yogurt in all of your cake recipes? Why do you not use eggs in your recipes? (am thinking that maybe your recipes are for a certain group of people with food restrictions?)
Hi Lori! I don’t consume eggs so I use non-dairy yogurt as the binding agent in my desserts. People can use whatever dairy ingredients they have on hand, though.
Did you make this?
Share your bake on Instagram - tag @obsessedwithcashews and use #obsessedcakes.

