Cookie Dough Cake
This post contains affiliate links. Read the full disclosure here.
This cookie dough cake is the best cake for cookie dough lovers! It starts with a delicious chocolate cake with pieces of cookie dough baked into it and it’s then frosted with the best cookie dough frosting.

Based on the name of my blog, you know I had to have a cookie dough cake recipe! The cake combines my two favorite things – cookie dough and chocolate.
The moist chocolate cake is based off of my dairy free chocolate cake and it’s loaded up with cookie dough bits baked inside, then layered and covered in a dreamy cookie dough frosting.
This chocolate cookie dough cake really is perfect for cookie dough lovers!
Why You’ll Love My Cookie Dough Cake
- You get cookie dough in every bite thanks to cookie dough being baked right into the chocolate cake layers.
- The chocolate cake is made with oil instead of butter, giving you an extra light and fluffy cake.
- You can easily make this cookie dough cake dairy free if you have food allergies.
- This makes a 2 layer cake, but I’ve got tips on how to turn the recipe into a 3 layer cake too!
Ingredients Needed

- Flour: I’ve only tested this recipe with all purpose flour, but if you’re gluten-free you could try using gluten-free all purpose 1-1 baking flour.
- Milk: you can use regular milk or a dairy free milk.
- Oil: I’m using canola oil in the cake to make it extra fluffy! You could also use sunflower oil or grapeseed oil, just make sure it is a neutral oil.
- Cocoa Powder: I recommend using dutch processed cocoa powder, but you can use natural if that’s what you have.
- Mini Chocolate Chips: you’ll need mini chocolate chips in both the cookie dough for the cake and in the frosting.
- Light Brown Sugar: adding light brown sugar to the frosting will give us that cookie dough taste.
- Hot Water: adding hot water to the cocoa powder to the cake will help it bloom, giving you a more intense chocolate flavor.
Step By Step Instructions
Note: Full ingredient measurements and instructions can be found in the recipe card at the bottom of this page.
Step 1: Start by making the cookie dough for the chocolate cake. In a large bowl with a handheld mixer, or in a stand mixer, beat room temperature butter with light brown sugar and white sugar until light and fluffy. Add the milk and vanilla extract and mix until everything is combined.
Step 2: Add in the salt and flour and mix until you have a dough. Stir in the chocolate chips. Scoop into 18 small cookie dough balls (about 1 tablespoon sized) and place on a parchment lined plate. Flatten the top of each one just slightly to make them disc-shaped and then place in the fridge.
Step 3: Make the chocolate cake. Start by preheating the oven to 350°Fahrenheit/175°Celsius. Grease and line two 8-inch round cake pans by spraying with non-stick spray and lining with parchment paper. Set aside.
Step 4: In a bowl, whisk together the cocoa powder, flour, sugar, salt, baking powder and baking soda.

Step 5: Add in the vanilla extract, oil, eggs, and milk. Pour in the hot water and mix until the cake batter is smooth.
Step 6: Divide the batter evenly between the two pans and gently push 9 pieces of cookie dough into each cake pan. Make sure the cake batter completely covers the cookie dough pieces and bake for 20-26 minutes. A toothpick inserted in the middle should come out clean. Let the cakes cool in the pans for 20 minutes before removing and letting them cool on a wire cooling rack.
Step 7: While the cake is cooling, make the frosting. Start by heat treating your flour. Microwave the flour for 1-2 minutes or until it reaches 165°Fahrenheit. You can also bake it on a baking sheet in an oven preheated to 350°Fahrenheit for 5 minutes. Let cool.
Step 8:In a large bowl with a handheld mixer or in a stand mixer, combine the room temperature butter with vanilla extract, granulated sugar, light brown sugar and 1 tablespoon of milk.
Step 9: Add the heat treated flour and salt and combine. Add more milk if you feel like it is slightly dry! Finally, stir in the chocolate chips.
Step 10: Place one chocolate cake layer down and cover it with some of the frosting. Place the second layer on top and frost the tops and sides!

Expert Tips
- Make sure the cake layers have completely cooled before assembling the cake, otherwise the cookie dough frosting might melt straight off!
- Make sure you measure your flour properly! Adding too much flour to the cake will cause it to be dry and it will also make the cookie dough frosting dry and not smooth.
- Don’t skip heat treating the flour for the frosting! If you don’t heat treat the frosting it might not be safe to eat since bacteria can grow on raw flour.
- When adding the cookie dough balls to the cake batter, you want to gently push them down into the pan so they get completely covered in cake batter before being baked. You can use a spatula to scoop cake batter and cover them up.
Storage Instructions
You can store this cake at room temperature (if it isn’t too warm in your house), for up to 4 days.
To freeze the cake, cut it into slices, then wrap each individual slice in plastic wrap, then wrap in tinfoil. You can place the tinfoil wrapped slices in a ziploc freezer bag and thaw at room temperature when ready to enjoy!
More Recipes You’ll Love
If you make this recipe, let me know how it went in the comments below, I’d love to hear from you! You can also tag me on Instagram or Facebook so I can check it out!

Cookie Dough Cake
Ingredients
Cookie Dough Pieces
- 6 Tablespoons (79) butter, softened, (regular or dairy free)
- ¼ cup (50 g) light brown sugar
- ¼ cup (50 g) granulated sugar
- ½ Tablespoon vanilla extract
- ¼ teaspoon salt
- ¾ cup +3 Tablespoons (117 g) all-purpose flour
- ½-1 Tablespoon milk of choice, (regular or dairy free)
- ¼ cup (45 g) semisweet mini chocolate chips
Chocolate Cake
- 1½ cups (188 g) all-purpose flour
- 1½ cups (250 g) granulated sugar
- ½ teaspoon salt
- 1½ teaspoon baking soda
- ½ teaspoon baking powder
- ¾ cup (65 g) unsweetened cocoa powder
- 2 eggs
- 1 cup (225 g) water, hot
- ½ cup (107 ml) canola oil, grapeseed oil, or sunflower oil
- ½ cup (125 g) milk of choice, (regular or dairy free)
- 1 teaspoon vanilla extract
Cookie Dough Frosting
- 1¼ cup + 2 Tablespoons (263 g) butter, softened
- ¾ cup (150 g) sugar
- ¾ cup (150 g) light brown sugar
- 1½ Tablespoon vanilla extract
- 1¼ teaspoon salt
- 2¼ cup (281 g) all-purpose flour, heat treated, SEE NOTES
- 1-4 Tablespoons milk of choice (as needed), (regular or dairy free)
- ¾ cup (135 g) mini chocolate chips, (regular or dairy free)
Instructions
Cookie Dough Pieces
- Start by making the cookie dough for the chocolate cake. In a large bowl with a handheld mixer, or in a stand mixer, beat room temperature butter with light brown sugar and white sugar until light and fluffy.
- Add the milk and vanilla extract and mix until everything is combined.
- Add in the salt and flour and mix until you have a dough. Stir in the chocolate chips.
- Scoop into 18 small cookie dough balls (about 1 tablespoon) and place on a parchment lined plate. Flatten the top of each one just slightly and then place in the fridge.
Chocolate Cake
- Make the chocolate cake, start by preheating the oven to 350°Fahrenheit/175°Celsius. Grease and line two 8-inch round cake pans by spraying with non-stick spray and lining with parchment paper. Set aside.
- In a bowl, whisk together the cocoa powder, flour, sugar, salt, baking powder and baking soda.
- Add in the vanilla extract, oil, eggs, and milk. Pour in the hot water and mix until the cake batter is smooth.
- Divide the batter evenly between the two pans and gently push 9 pieces of cookie dough into each cake pan.
- Make sure the cake batter completely covers the cookie dough pieces and bake for 20-26 minutes. A toothpick inserted in the middle should come out clean.
- Let the cakes cool in the pans for 20 minutes before removing and letting them cool on a wire cooling rack.
Cookie Dough Frosting
- While the cake is cooling, make the frosting. Start by heat treating your flour. Microwave the flour for 1-2 minutes or until it reaches 165°Fahrenheit. You can also bake it on a baking sheet in an oven preheated to 350°Fahrenheit for 5 minutes. Let cool.
- In a large bowl with a handheld mixer or in a stand mixer, combine the room temperature butter with vanilla extract, granulated sugar, light brown sugar and 1 tablespoon of milk.
- Add the heat treated flour and salt and combine. Add more milk if needed until the desired consistency is reached. Finally, stir in the chocolate chips.
Assembling The Cake
- Place one chocolate cake layer down and cover it with some of the frosting. Place the second layer on top and frost the top and side if desired! Crumble any remaining cookie dough on top for decoration.
Equipment
Video
Notes
The calorie information provided for this recipe is an estimate. The accuracy of the calories listed is not guaranteed.
I made this and it’s delicious. Worth the effort and I was proud to serve it.
Thank you Colleen!
Is it possible to make this but with a vanilla instead of chocolate cake? I fear the chocolate cake would just be a dense mass of chocolate which I’m not a fan of. Would I just follow the same “pressing the dough into the cake” procedure but with a vanilla cake?
You could absolutely replace the chocolate cake with vanilla cake, yep! Enjoy!
Crowd please for sure! For my son’s 18th birthday I wanted to make a unique cake. He LOVES cookie dough, more so than baked cookies. This recipe did not disappoint. I was short on time for the frosting, so I ran to the local bakery and bought their chocolate buttercream frosting. Then picked up edible cookie dough to place as garnish.
Everyone loved it and my step mother who needs to monitor her blood sugar levels said “I’ll check it tomorrow”.
I will definitely be making this cake again.
So happy to hear everyone enjoyed this cake! Thank you for reviewing it!
hi, how do you think I could adapt this recipe to make a 3 layer 6-inch cake?
To make as a 3 layer cake: The easiest way is to divide the batter between 3 8 inch cake pans (you’ll have thinner cake layers). If you want big layers, you can also multiply the ingredients in the recipe by 0.5.
My daughter found this recipe and requested it for her birthday. Quite possibly the best chocolate cake I’ve ever made! The cookies gave the cake a different texture and it was great. I used a fluff-buttercream frosting because it’s our favorite. Was a perfect birthday cake!
Hi Jayme! Thank you so much for your kind review! I hope your daughter had a great birthday 🩵
This is a wonderful recipe for all of us cookie dough lovers. It is excellent! I made it a year ago for my daughter’s birthday cake and as I was multitasking I forgot to put the cookie dough into the cake batter. So we ate that raw, being true cookie dough lovers! At least it had no raw eggs but we risked it with the flour. The recipe makes a fair amount of icing so we had extra that she enjoyed eating at another time. This year she asked for the same cake And to save me time she said just leave out that cookie dough and double the icing! It’s phenomenal!
So happy you and your daughter enjoyed this cake! Thank you for your review 😊
Do you think that would work with your 4″ vanilla cake recipe? I realize that’s a lot of changes, but basically use the cookie dough in that batter and the cookie dough icing?
You could do that! You won’t need as much frosting and cookie dough though, probably around 1/2 to 2/3 of the amount!
Hi, thanks for the receipe. Can I use 2 x 7 inch cake tins as this is all I have? Thanks 🙂
Hi Claire! That will be fine, the cakes will just be quite thick and take a bit longer to bake.
Can I make the cookie dough a day ahead of time? And if I do, should I just keep it in the fridge? Thanks!
Hi Lauren! Yes you can refrigerate any cookie dough you’re not ready to bake right away 😊 Be sure to bake them within 2-4 days, or you can freeze them if you want to store it for longer.
Hi can I just buy cookie dough
Sure!
OMG Never thought this would be such a hit – my daughter and hubby loved it and so did I. Haven’t had such a good cake in a long time. As we love cookie dough ice cream this was a must try and huge success. Thank you so much for this great recipe. Will definitely do it again, Jenny from Germany ☺️ ps. Thanks for the metric info/conversion 👍👏
Hi Jenny! I am so happy to hear that the cake was such a hit! Cookie dough is my favorite too! Thanks so much for the review 😀
Made this today with King Arthur Measure 4 Measure and plant based butter. This was a huge hit with the kids! Just waiting for hubby to try it!
I’m so happy to hear that Ginna! Thanks for taking the time to leave a review!
Can I buy cookie dough instead of make it
Wondering if I make the cookie dough frosting 2 days before decorating will it still frost the same after being left in the fridge for those 2 days. Im already planning on freezing the 2 tiers the way you suggested but not wanting the frosting to be an issue after refrigeration
You can make the frosting 2 days before but you would just need to make sure to let it soften at room temperature until it is soft enough to re-whip and then work with!
I will be trying this recipe in a few days. And I noticed after clicking on the metric measures tab all of the weights show except for the cake ingredients.
Hi Lauren, thanks for catching that! It’s been updated now. Enjoy!
Do I have to use dairy free milk or is lactaid okay?
Any type of milk will work fine!
The cookie dough pieces and cookie dough frosting take any type of milk, but does the chocolate cake require dairy free milk or are you saying any type of milk will work throughout the recipe? I just want to get it right as I’m going to buy the ingredients tomorrow!
Any milk will work in the cake! Enjoy!
made this for my nephews 8th birthday and i he loved it. Thank you so much for this recipe Gabby!
You’re so welcome Lisa, I’m so glad it was a hit!