Gluten-Free Cookie Dough Cake Recipe with Dairy-Free Option

This cookie dough cake captures classic chocolate chip cookie dough flavor in every bite. Moist brown sugar cake layers sandwich a thick, edible chocolate chip cookie dough center and are finished with a whipped cream cheese cookie dough buttercream and a chocolate ganache drip. The recipe is flexible and can be made gluten-free, dairy-free, vegan, or regular.

A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

The Best Cookie Dough Cake Recipe

Made from simple pantry ingredients, this chocolate chip cookie dough layer cake is straightforward to bake and irresistible to eat. It works as a layered cake, cupcakes, or a sheet cake and delivers real cookie dough flavor without relying on artificial extracts. The recipe is easily adapted to suit a variety of dietary needs.

  • Versatile – Make it as cupcakes, a sheet cake, or a layered cake.
  • Real Flavor – Uses brown sugar and real vanilla for authentic cookie-dough taste.
  • Crowd Favorite – A hit with both kids and adults.
  • Diet-Friendly – Options for gluten-free, dairy-free, vegan, or regular versions.

What’s in a Cookie Dough Cake

  • Brown Sugar Cake Layers: Moist layers with a caramelized, cookie-dough-like note.
  • Cream Cheese Cookie Dough Buttercream: A whipped cream cheese buttercream with brown sugar and mini chocolate chips.
  • Edible Cookie Dough Filling: A thick, heat-treated-flour cookie dough layer and cookie dough balls for decoration.
  • Chocolate Ganache: A glossy drip to finish the cake.
img 15139 2

Ingredients & Substitutions

This recipe was tested with both regular and alternative ingredients so you can tailor it to gluten-free, dairy-free, or vegan diets. Scroll to the recipe card in the ingredients section for exact measurements, but here are the key components and sensible swaps.

Cake Ingredients

Flour: Use a 1:1 gluten-free blend for GF versions or all-purpose flour if gluten isn’t a concern. Measure by cup if using different GF blends, as weights vary.

Brown Sugar: Essential for cookie-dough flavor—light golden brown is ideal; demerara can work too.

Eggs: The recipe uses 4 large eggs. For egg-free or vegan versions, use liquid egg replacer, yogurt, applesauce, mashed banana, or aquafaba, keeping in mind the cake may be slightly denser with substitutes.

Buttermilk: Make a dairy-free version by adding 1 tablespoon apple cider vinegar to plant-based milk. Use regular buttermilk for non-dairy-restricted baking.

Butter: Brick-style plant-based or regular butter works well. Use whatever matches your dietary needs.

Oil: A neutral oil (canola, vegetable, sunflower) keeps the cake moist. Avocado or olive oil will alter flavor slightly.

Buttercream

Butter: Use plant-based or regular butter depending on dietary needs.

Cream Cheese: Full-fat brick-style cream cheese (dairy or plant-based) gives the best texture and flavor.

Powdered Sugar: Provides the silky, sweet structure for the buttercream—sift if needed to avoid lumps.

Vanilla: Real vanilla extract enhances the cookie dough profile.

Mini Chocolate Chips: Use your preferred mini chips, including plant-based varieties.

Cookie Dough

Heat-Treated Flour: To safely enjoy raw cookie dough, heat-treat the flour by spreading it on a baking sheet and baking at 300°F for 5–6 minutes or until it reaches 160°F (71°C).

Mini Chips: Add mini chocolate chips to the cookie dough for texture and flavor.

Ganache

Chocolate: Semi-sweet, dark, milk, or plant-based chocolate chips all work.

Cream: Use heavy cream for a traditional ganache, or coconut cream / plant-based whipping cream for dairy-free versions.

img 15139 3

Step-by-Step Instructions

You will need two mixing bowls, a stand mixer or electric hand mixer, two 8- or 9-inch round pans, and a whisk. Optional helpful tools: a cake leveler, an offset spatula, and a piping bag.

Chocolate Chip Cake

  1. Preheat oven to 350°F. Prepare two parchment-lined 8- or 9-inch pans and spray with baking spray.
  2. Whisk together dry ingredients (flour, baking powder, salt) and set aside.
  3. In a separate bowl, whisk wet ingredients (eggs, buttermilk, vanilla, oil) and set aside.
  4. Cream butter and brown sugar until light and fluffy.
  5. Add half the dry ingredients on low, then the wet ingredients, followed by the remaining dry ingredients. Mix until just combined.
  6. Divide batter between pans, tap out air bubbles, and bake 25–30 minutes until edges pull away and a toothpick shows a few moist crumbs.
  7. Cool in pans 10 minutes, then remove to wire racks to cool completely.

Cookie Dough

  1. Cream butter, brown sugar, and vanilla until light and fluffy.
  2. Add heat-treated flour and salt, mixing until a dough forms.
  3. Fold in mini chocolate chips gently.

Cream Cheese Cookie Dough Buttercream

  1. Cream butter, cream cheese, and brown sugar until light and fluffy, about 5–10 minutes.
  2. Add powdered sugar and salt on low until combined, then beat on high for several minutes for a fluffy texture.
  3. Reserve some buttercream; fold mini chocolate chips into the remainder after crumb-coating and stacking the cake.

Ganache

  1. Heat chocolate chips and cream in short intervals, stirring between, until smooth. Let cool slightly before using for a drip.
A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

Assembling the Cookie Dough Cake

A brief overview of assembly—follow the detailed steps in the instructions when you bake:

  1. Level cooled cake layers with a leveler or knife. Place one layer on a cake board or plate.
  2. Spread about 1 cup of buttercream on the layer, pipe a border, and fill with the edible cookie dough.
  3. Top with the second layer, apply a thin crumb coat of buttercream, and chill 20 minutes to firm up.
  4. Finish with the remaining buttercream (folded with mini chips), smooth the sides, chill briefly, then apply the warmed ganache drip and let set.
  5. Roll any remaining cookie dough into balls to decorate the top, if desired.
A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

Assembly Tips

  • Cool layers completely to prevent slipping. Freezing layers briefly makes stacking easier.
  • Level layers for cleaner stacking and a more professional finish.
  • If frosting or layers soften, chill the cake and frosting until stable before proceeding.
  • Allow the finished cake to come to room temperature for 20–30 minutes before slicing for best texture.
A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

Variations

Customize this cake to suit tastes and occasions:

  • Swap mini chocolate chips for peanut butter chips, butterscotch, white chocolate, toffee, or sprinkles.
  • Add instant espresso powder, cinnamon, or coconut extract to the buttercream instead of vanilla.
  • Use granulated sugar in place of brown sugar in all components for a sugar-cookie-style cake.
A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

Storing and Freezing

Store the cake in an airtight container in the fridge for up to 5 days or freeze for up to 3–6 months depending on components. Cakes dry out over time, so enjoy within the first day or two for best texture.

Make-ahead tip: Bake layers in advance, cool 20–30 minutes, wrap tightly in plastic wrap, and freeze until ready to assemble. Thaw in the fridge the night before or at room temperature about an hour before assembly. For a finished cake, thaw in the fridge overnight to minimize condensation.

A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

FAQs

Can I make cupcakes instead of a layer cake?

Yes. Use lined muffin tins; baking time will be shorter. The recipe yields about 24 cupcakes.

What other pans can I use?

You can bake the batter in a 9×13-inch pan, three 6-inch rounds, or two 9-inch pans. Adjust baking times accordingly—look for golden edges, a springy top, and a toothpick with a few moist crumbs.

Can elements be prepared in advance?

Yes. Cake layers, buttercream, cookie dough, and ganache can all be made ahead. Wrap layers tightly and refrigerate overnight or freeze for longer storage.

How do I remove layers from pans cleanly?

Spray pans well and line with parchment. After cooling slightly, run a knife around the edge, invert onto a plate, and tap gently—cakes should release cleanly.

What brown sugar is best?

Light golden brown sugar is preferred for balanced flavor; demerara is an acceptable alternative.

A cookie dough cake covered in cream cheese cookie dough frosting with dark brown chocolate ganache drip and topped with edible cookie dough balls.

Summary

This cookie dough cake brings all the elements of cookie-dough enjoyment into a showstopping layered cake: brown sugar cake layers, a creamy cookie dough buttercream, an edible cookie dough center, and a glossy chocolate drip. The ingredient list is adaptable so everyone can enjoy a slice, no matter their dietary needs.

If you make this cake, share a photo on social media and tag the recipe author to show your creation.

More Cookie-Inspired Baking

If you love cookie-flavored bakes, try other cookie-inspired recipes for variety and inspiration.

A white frosted cake covered in a golden brown cookie butter drip topped with Biscoff cookies.
Biscoff Cookie Butter Cake
Golden brown cookie dough balls with dark chocolate chips sprinkled with sea salt.
Edible Protein Cookie Dough
A chocolate chip cookie cake with a slice removed.
Chocolate Chip Cookie Cake