Gluten-Free Cake Batter Lava Cake
5.0 from 1 reviewThis gluten-free cake batter lava cake has soft vanilla sprinkle layers, creamy cake batter filling, and fluffy cake batter buttercream. Little pieces of funfetti cookie dough are tucked between the layers, with white chocolate chips and even more sprinkles. It is a full three-layer birthday cake, baked in 8-inch pans.
The filling is made with butter, cream, and powdered sugar. It thickens as it chills, then spreads inside a buttercream border so you get filling in every slice. The gluten-free flour blend and short batter rest are important here, so keep those parts of the recipe as written.

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

Cake Batter, Made Gluten-Free
Cake batter is easily my favorite artificial flavor. So many of my ideas begin there, and then I start thinking about which childhood favorite I can combine it with. Cake batter is perfect on its own, but cake batter and strawberry might be the best combination of all.
After my Cake Batter Lava Cake went viral, making a gluten-free version felt like an easy decision. I had just developed a gluten-free vanilla cake I loved, and I could not wait to build this cake around it. Sometimes I take a bite and honestly wonder whether I like it even more than my regular vanilla cake.
The soft vanilla layers, cake batter lava, and fluffy cake batter buttercream make this one especially memorable. It has everything I want in a birthday cake - playful, nostalgic, and made so more people at the party can enjoy a slice.
Ingredient notes
Key ingredients
Gluten-free flour blend with xanthan gum
Use a gluten-free 1:1 blend that contains xanthan gum. The blend affects how much liquid the batter absorbs and how well the layers hold together. The flour I use is linked in the brands section below.
Cornstarch
Cornstarch softens the gluten-free flour blend and helps keep the cake layers light. Weigh it for the most consistent crumb.
Cake batter extract
Cake batter extract is concentrated. Begin with the smaller amount in the lava and buttercream, taste, and add more only if needed.
Sprinkles
Use sprinkles or a soft sprinkle blend that is labeled gluten-free. Fold them into the batter gently and briefly so the colors stay distinct.
Light corn syrup or glucose
A small amount keeps the cake batter lava glossy, cohesive, and smooth after it cools.
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
Smooth, mild, and dependable in cake batters and loaf batters.

Silk Original Unsweet
Creamy, neutral, and consistent in batters, fillings, and frostings.

Country Crock Plant Butter Sticks
Reliable for baking and sturdy buttercream.

Country Crock Heavy Plant Cream
Silky, creamy, and dependable in buttercream and fillings.

King Arthur Gluten-Free Measure for Measure Flour
The gluten-free 1:1 flour I use in recipes that call for this blend.

Rising Star Baking Supply Vanilla Bean Paste
The vanilla bean paste I use, linked to the 4-ounce Walmart bottle.
Testing notes
Why this works
Why the batter rests for 5 minutes
The short rest gives the gluten-free flour and cornstarch time to absorb the liquid. A final brief whisk smooths the hydrated batter before the sprinkles are folded in.
Why the lava must chill
The filling is thin and fluid while warm, then thickens as it cools. Refrigerate it until completely chilled before assembly so it cannot soften the buttercream dam or weaken the cake's structure.
Choose the filling consistency before stacking
The chilled lava should be thick, glossy, and slowly spreadable. A thicker filling is easier to contain and is my recommendation for beginning layer-cake bakers.
Why the buttercream dam matters
A tall, continuous border contains the lava between the layers. Keep the filling below halfway up the dam so the next cake layer does not press it out.
Inside the recipe
How It All Comes Together








From Instagram
Watch the reel
Watch the gluten-free sprinkle layers, cake batter lava, and fluffy buttercream come together into a celebration cake.
Open the reelTroubleshooting
If This Happens
The batter looks thicker after resting
That is expected. The gluten-free flour and cornstarch absorb liquid during the 5-minute rest. Whisk for only 10-15 seconds to smooth the batter, then fold in the sprinkles.
The sprinkles are streaking through the batter
Stop folding as soon as they are evenly distributed. Extra mixing pulls color from the sprinkles and can muddy the cake batter.
The chilled lava is too firm to spread
Let it sit briefly at room temperature, then whisk until smooth. It should spread slowly without running before you fill the cake.
The filling is escaping between the layers
Use completely cooled cake layers and completely chilled lava. Pipe a tall, unbroken buttercream dam and keep the filling below halfway up that border.
Before you slice
Texture and serving notes
For clean slices, cut the cake while it is slightly cool, then let each slice soften at room temperature.
Serve extra cake batter lava alongside the cake for anyone who wants an additional spoonful.
Keep it good
Storage
Fridge
Store the assembled cake covered in the refrigerator for up to 3 days.
Fridge
Store extra lava in an airtight container in the refrigerator and whisk it smooth before serving.
Serve
Bring slices toward room temperature before eating for the softest cake and buttercream.
Recipe FAQ
Questions that come up
How do I keep the Gluten-Free Cake Batter Lava Cake from collapsing?
Use completely cooled cake layers, completely chilled lava, and a tall, unbroken buttercream dam. Keep the filling below halfway up the dam and chill the stacked cake before applying the final coat.
Which gluten-free flour works best?
I recommend King Arthur Gluten-Free Measure for Measure Flour. If you use another 1:1 blend, make sure it already contains xanthan gum.
Can I make the lava ahead?
Yes. Make it up to 3 days ahead and refrigerate it in an airtight container. Whisk it until smooth before assembly and use it while completely chilled.
Can I use dairy ingredients?
Yes. Use the ingredient options you have on hand, keeping the listed temperatures and textures the same.
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.
- Prep
- 55 min
- Bake
- 24–27 min
- Total
- About 2 hr 45 min, including cooling and chilling
- Yield
- One 3-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
Gluten-Free Cake Layers
- 300 g gluten-free flour blend with xanthan gum300 g (about 2 1/2 cups) gluten-free flour blend with xanthan gum
- 35 g cornstarch35 g (about 5 tablespoons) cornstarch
- 11 g baking powder (weigh for accuracy)2¼ tsp baking powder
- 2 g baking soda (weigh for accuracy)½ tsp baking soda
- 3 g fine sea salt (weigh for accuracy)3 g fine sea salt (weigh for accuracy)
- 330 g granulated sugar330 g (about 1 2/3 cups) granulated sugar
- 300 g milk, room temperature300 g (about 1 1/4 cups) milk, room temperature
- 15 g apple cider vinegar15 g (about 1 tablespoon) apple cider vinegar
- 155 g neutral oil155 g (about 2/3 cup + 1 teaspoon) neutral oil
- 200 g plain unsweetened yogurt, room temperature200 g (about 3/4 cup + 1 tablespoon) plain unsweetened yogurt, room temperature
- 12 g vanilla bean paste (weigh for accuracy)12 g vanilla bean paste (weigh for accuracy)
- ¼ tsp cake batter extract¼ tsp cake batter extract
- 60 g gluten-free sprinkles60 g (about 5 tablespoons) gluten-free sprinkles
Cake Batter Frosting-Style Lava Filling
- 120 g butter120 g (about 1/2 cup + 1 teaspoon) butter
- 60 g cream60 g (about 1/4 cup) cream
- 120 g powdered sugar, sifted120 g (about 1 cup) powdered sugar, sifted
- 20 g light corn syrup or glucose20 g (about 1 tablespoon + 1/8 teaspoon) light corn syrup or glucose
- 1 tbsp vanilla bean paste1 tbsp vanilla bean paste
- ⅛ tsp fine sea salt⅛ tsp fine sea salt
- ⅛–¼ tsp cake batter extract⅛–¼ tsp cake batter extract
Funfetti Cookie Dough
- 180 g King Arthur Gluten-Free Measure for Measure Flour, treated for no-bake use180 g (about 1 1/2 cups) King Arthur Gluten-Free Measure for Measure 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
Cake Batter Buttercream
- 340 g butter, softened (3 sticks)340 g (about 1 1/2 cups) butter, softened (3 sticks)
- 520 g powdered sugar, sifted520 g (about 4 1/3 cups) powdered sugar, sifted
- 1 tbsp vanilla bean paste1 tbsp vanilla bean paste
- ¼ tsp fine sea salt¼ tsp fine sea salt
- ⅛–¼ tsp cake batter extract⅛–¼ tsp cake batter extract
- 40 g cream, room temperature40 g (about 2 tablespoons + 2 teaspoons) cream, room temperature
For Assembly
- Additional gluten-free sprinkles, as neededAdditional gluten-free sprinkles, as needed
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 325°F (165°C). Grease three 8-inch round cake pans and line the bottoms with parchment paper.
- 2In a medium bowl, whisk together the gluten-free flour, cornstarch, baking powder, baking soda, and salt until completely uniform.
- 3In a large bowl, whisk together the sugar, milk, apple cider vinegar, neutral oil, yogurt, vanilla bean paste, and cake batter extract until smooth and fully emulsified.
- 4Add the dry ingredients to the wet ingredients in two additions, whisking gently after each addition until the batter is completely smooth. Do not overmix.
- 5Let the batter rest for 5 minutes so the gluten-free flour can hydrate. Whisk again for 10–15 seconds, just until smooth.
- 6Fold in the sprinkles gently with a flexible spatula, stopping as soon as they are evenly distributed.
- 7Divide the batter evenly among the prepared pans, preferably by weight. Smooth the tops and tap each pan lightly on the counter to release large air bubbles.
- 8Bake for 24–27 minutes, or until the centers are set and the internal temperature reaches 202–205°F (94–96°C). A tester inserted in the center should come out clean or with a few moist crumbs.
- 9Cool the cakes in the pans for 10–15 minutes. Turn them out onto wire racks, remove the parchment, and cool completely before assembling.
- 10Make the cake batter lava. In a medium saucepan over low heat, warm the butter and cream, whisking frequently, until fully melted and smooth. Remove from the heat.
- 11Add the sifted powdered sugar and whisk until completely smooth and glossy.
- 12Whisk in the corn syrup or glucose, vanilla bean paste, salt, and ⅛ teaspoon cake batter extract until fully emulsified. Taste once cool and add more extract only if needed.
- 13Transfer the lava to a heatproof container. It will be quite thin when it first comes off the stovetop and will thicken as it cools. Refrigerate until completely chilled before assembly.
- 14Make the cookie dough. Beat the butter and granulated sugar until light and fluffy. Add the vanilla bean paste, cake batter extract, and salt.
- 15Mix in the King Arthur Gluten-Free Measure for Measure Flour until a dough forms, then fold in the rainbow sprinkles and white chocolate chips. Refrigerate for 30 minutes.
- 16Make the cake batter buttercream. Beat the butter on medium-high speed for 3–5 minutes, scraping down the bowl as needed, until very light and fluffy.
- 17Add the powdered sugar gradually, mixing on low after each addition. Once incorporated, mix on medium speed until smooth and airy.
- 18Add the vanilla bean paste, salt, and ⅛ teaspoon cake batter extract. Mix until fully combined, taste, and add more extract only if needed.
- 19With the mixer running on low, slowly stream in the room-temperature cream. Mix just until the buttercream is silky and fully incorporated.
- 20Assemble the cake. Level the completely cooled cake layers if needed. Place the first layer on a cake board or serving plate.
- 21Spread a thin, even layer of cake batter buttercream over the cake. Pipe a tall, continuous buttercream dam around the outer edge.
- 22Spoon the completely chilled cake batter lava inside the dam and spread it gently into an even layer. Keep the lava below halfway up the height of the dam, then scatter small chilled cookie dough pieces and a light layer of sprinkles over the filling.
- 23Place the second cake layer on top and repeat with another thin layer of buttercream, a sturdy dam, chilled lava, cookie dough pieces, and sprinkles. Top with the final cake layer.
- 24Apply a thin crumb coat over the top and sides. Refrigerate for 15–20 minutes, or until the buttercream feels firm.
- 25Frost the cake with the remaining buttercream and decorate with the remaining cookie dough pieces and sprinkles as desired. Chill for another 20–30 minutes to set the structure before slicing.

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
Highly impressed by this recipe. I made it gluten and dairy free. I cannot tell that this a gluten/dairy free cake. The whole family has been impressed! I’m so glad I found your site
Oh my goodness, yay! I'm so glad everyone enjoyed - always a big win when it's also GF :) thank you for sharing
Did you make this?
Share your bake on Instagram - tag @obsessedwithcashews and use #obsessedcakes.




