Cookie Dough Cake
intro
A rich two-layer vanilla cake stuffed with safe-to-eat chocolate chip cookie dough, frosted with fluffy vanilla buttercream, and studded with extra chocolate chips for a decadent, crowd-pleasing treat.
Ingredients
Steps
Bake vanilla cake layers
Preheat your oven to 180°C (350°F), then grease two 9-inch round cake pans and line their bottoms with cut-to-fit parchment paper. In a medium bowl, whisk together 315g all-purpose flour, 1.5 teaspoons baking powder, and 1/2 teaspoon fine salt to combine. In a large mixing bowl, beat 113g softened unsalted butter and 300g granulated sugar on medium mixer speed for 3 minutes until light, pale, and fluffy. Add 3 room-temperature eggs one at a time, beating for 30 seconds after each addition, then stir in 2 teaspoons vanilla extract. Alternate adding the dry flour mixture and 240ml room-temperature whole milk in 3 equal batches, mixing on low speed only until no dry flour streaks remain. Divide the batter evenly between the two prepared pans, then bake for 24-26 minutes, until a toothpick inserted into the center comes out with 1-2 moist crumbs attached. Let cakes cool in the pans for 10 minutes, then turn out onto wire racks to cool completely to room temperature (approximately 1 hour).
Make safe cookie dough filling
While the cake layers cool, heat-treat 200g all-purpose flour for the edible cookie dough to eliminate harmful bacteria: spread the flour in an even thin layer on a rimmed baking sheet, bake at 180°C (350°F) for 7 minutes, then set aside to cool completely to room temperature. In a large bowl, beat 113g softened unsalted butter and 150g packed light brown sugar on medium speed for 2 minutes until smooth and creamy. Stir in 1 teaspoon vanilla extract and 1/4 teaspoon fine salt, then gradually mix in the fully cooled heat-treated flour on low speed. Add 30ml (2 tablespoons) heavy cream 1 tablespoon at a time, mixing until the dough holds together firmly when squeezed, then fold in 170g (1 cup) mini semi-sweet chocolate chips. Set aside 1/4 of the dough to roll into 1-inch chunks for garnish, then press the remaining dough into a 9-inch flat disc matching the size of your cake layers, and chill in the refrigerator for 15 minutes.
Whip vanilla buttercream
In a clean, dry large mixing bowl, beat 226g softened unsalted butter on medium speed for 4 minutes until pale, silky, and nearly white in color, scraping down the sides of the bowl halfway through to ensure even mixing. Reduce mixer speed to low, and gradually add 480g (4 cups) sifted powdered sugar 1 cup at a time, mixing fully to incorporate after each addition. Add 1.5 teaspoons vanilla extract, 1/8 teaspoon fine salt, and 45ml (3 tablespoons) heavy cream, then increase speed to medium-high and beat for 2 minutes until the frosting is light, fluffy, and easily spreadable. Adjust consistency if needed: add 1 teaspoon more heavy cream if frosting is too thick, or 2 extra tablespoons powdered sugar if it is too thin to hold its shape.
Assemble base cake layer
Once cake layers are fully cooled, place one layer on a cake stand or flat serving plate. Use an offset spatula to spread a 120ml (1/2 cup) thick, even layer of buttercream across the entire top surface of the base cake layer. Remove the chilled 9-inch cookie dough disc from the refrigerator, and set it directly on top of the frosted base layer, pressing down very gently to adhere it evenly. Spread a 60ml (1/4 cup) thin layer of buttercream across the top of the cookie dough disc to create a sticky surface for the top cake layer.
Apply crumb coat to cake
Place the second cooled cake layer directly on top of the buttercream-covered cookie dough disc, pressing gently to level the entire cake so it sits evenly. Use 80ml (1/3 cup) of buttercream to spread a thin, even crumb coat across the entire top and sides of the assembled cake, scraping off excess frosting with your spatula to trap any loose cake crumbs against the cake. Transfer the cake to the refrigerator to chill for 15 minutes, until the crumb coat is firm and dry to the touch.
Frost and garnish cake
Once the crumb coat is fully set, use all remaining buttercream to frost the top and sides of the cake in a thick, even layer, smoothing the sides with an offset spatula or bench scraper for a clean, polished finish. Press the reserved 1-inch cookie dough chunks and extra 55g (1/3 cup) mini semi-sweet chocolate chips into the top edge and upper sides of the cake as garnish. Return the cake to the refrigerator to chill for 10 minutes to set the final frosting layer, then slice and serve.
Tips
2.Don’t skip the crumb coat step: this thin base layer of frosting traps loose cake crumbs so they do not mix into your smooth final frosting, resulting in a polished, professional-looking finish.
3.For food safety, keep the edible cookie dough egg-free, and always heat-treat the flour to kill potential bacteria, as raw uncooked flour can carry harmful foodborne pathogens.

OMG, I made this for my kid's 10th birthday party this weekend and every single parent asked for the recipe! The cookie dough layers are so rich and not too sweet, paired perfectly with the vanilla buttercream. Only note is I chilled the dough layers an extra 30 mins because my kitchen runs super hot, no spreading at all.
Game changer. I’m not much of a baker, usually just do box mixes for office potlucks, but this made me look like a total pro. Took me a little over 2.5 hours total because I’m slow at stacking layers, but totally worth the effort. The edible cookie dough bits in between the layers? *Chef’s kiss*.
SO good. I made this for my family’s Sunday dinner last night and even my super picky teen who “hates cake” had two slices. I added a handful of mini chocolate chips to the buttercream for extra chocolate punch, 10/10 will make again.
Okay, I will say this is definitely a medium difficulty bake, don’t go into it thinking it’s a quick weeknight throw together! I messed up the first batch of cookie dough because I forgot to heat treat the flour (oops, rookie move) but the second batch came out perfect. My roommates devoured half the cake before I even got to frost the top, lmao.
This is my new go-to celebration cake! I’ve made it three times in the last month: once for my neighbor’s housewarming, once for my husband’s work picnic, once just because we were craving something sweet. I do wish the recipe noted how much counter space you need for assembling all the layers, I had to clear off my entire dining table the first time.
I was a little skeptical about cookie dough IN a cake, like I thought it would be dry or weird texture? But no, it’s perfectly chewy and pairs so well with the soft cake layers. I used dark brown sugar instead of light for the cookie dough to get that deeper molasses flavor, highly recommend that swap.
Made this for my book club potluck last night and people were literally going back for thirds. I skipped the extra chocolate drizzle on top because I don’t love super sweet frosting, and it was perfectly balanced. Will absolutely be adding this to my regular bake rotation.
Alright, full transparency: I burned the first set of cake layers because I got distracted watching the football game. But the second set? FIRE. My girlfriend said it’s better than the bakery cake we got for our anniversary last year. That’s a W in my book.
Wait, has anyone tried making this with vegan butter and gluten free flour? My niece has celiac and a dairy allergy and I want to make this for her graduation party next month, it looks so good!
The cook time listed is pretty spot on! I’m a pretty experienced baker and got it done in 2 hours 15 minutes, only extra time was waiting for the layers to cool completely before frosting (which you absolutely cannot skip, trust me, I tried rushing it once before with another cake and made a melted mess).
10/10, no notes. I made this for my roommate’s birthday and he said it’s the best thing I’ve ever baked. I even added a layer of crushed pretzels between the cookie dough and buttercream for a salty sweet crunch, insane combo. Don’t skip the flaky sea salt on top, it makes all the difference.
Okay y’all, I was intimidated at first because I usually only do sheet cakes and cookies, but this was so doable! The instructions are super clear, every step is laid out so you don’t miss anything. My grandkids went crazy for the little cookie dough truffles I put on top as decoration, they kept sneaking them before we even cut the cake.
Wait, can I make the layers a day ahead? I have a super busy week next week and want to prep as much as possible for my office potluck on Friday, would the cookie dough layers get weird in the fridge wrapped up?
SO. GOOD. I’m not usually a layer cake person because I think they’re too fussy, but this was worth every minute. The balance of sweet cookie dough, soft vanilla cake, and creamy buttercream is literally perfect. I brought the leftovers into work and my coworkers begged me to make another one next week.