• Cake
  • Frosting
  • YouTube
  • My Favorite Tools
  • Nav Social Icons

  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Recipes
    • Cake
    • Cupcakes
    • Frosting
    • Ice Cream
    • Vegan
  • Cake Basics
  • Tutorials
  • Blog
  • About
  • Mobile Menu Widgets

    Connect

    Search

Sugar & Sparrow logo in script font

Sugar & Sparrow

Lifestyle and Cake from Portland Oregon

  • Cake Basics
  • Recipes
    • Cake
    • Cupcakes
    • Sheet Cakes
    • Cookies & Bars
    • Filling
    • Frosting
    • Ice Cream
    • No-Bake
    • Small Batch
    • Vegan
  • Tutorials
  • Book
  • Blog
  • About

Edible Chocolate Chip Cookie Dough

January 22, 2025 · In: Featured, Filling, Recipes

Jump to Recipe

I’m definitely the girl sneaking spoonfuls of cookie dough every time I make them (and simultaneously feeling nervous about the bacteria). This edible chocolate chip cookie dough is just as delicious as the kind you would bake, but totally safe to eat since the flour is heat treated and there are no eggs involved! It’s easy to make and perfect for using as cookie dough cake filling, adding into an ice cream recipe (can’t wait to try that next!), and for enjoying all on its own. If you’re a cookie dough person, you’ll love this recipe! 

edible chocolate chip cookie dough recipe
easy edible cookie dough recipe

What Makes this Cookie Dough Recipe Safe to Eat? 

There are two main reasons why it’s not usually safe to eat cookie dough: 1) salmonella from the raw eggs and 2) bacteria found in raw flour. And you might be thinking what kind of bacteria could be in raw flour? Being a raw agricultural product, it may come in contact with all kinds of things like dirt, bugs, and general farm substances in the milling process. I’ll let you use your imagination there. 

To make this cookie dough recipe safe to eat, there aren’t any eggs in it + the flour is heat treated to kill any potential bacteria. This means baking the flour at a high heat to burn off any germs while keeping the integrity of the flour intact. I heat treat mine by spreading it onto a parchment lined baking sheet in an even layer, then baking at 350ºF (177ºC) for 5 minutes, or until the flour reaches 160ºF (71ºC) when probed with a thermometer. 

chocolate chip cookie dough thats safe to eat

Ways to Use Edible Cookie Dough

There are a few ways I love to use this edible cookie dough:

  1. As a cake filling. You can either crumble the edible cookie dough between cake layers or form it into discs like I did in this sugar cookie dough cake recipe. You can add each disc of cookie dough between your cake layers and have the perfect portion of cookie dough cake filling in every bite. 
  2. As a dessert topping. Crumble the edible cookie dough on top of ice cream, cakes, cupcakes, cheesecakes, doughnuts, and whatever dessert you feel would benefit (surprise: most do). It has main character energy in this cookie dough ice cream cake recipe as a topping AND mix-in.
  3. As a dessert mix-in. This edible cookie dough can easily be mixed into other desserts like an ice cream recipe or cheesecake filling. Yum! 
  4. Eat it by the spoonful. Simply store it in a tupperware container in your refrigerator and dip into it when you feel like it! The dough will last up to two weeks in the refrigerator, so enjoy. 
chocolate chip cookie dough recipe that's safe to eat

Edible Cookie Dough Ingredients and Substitutions

This edible chocolate chip cookie dough is made with simple ingredients you probably already have in your pantry. Here are the main ingredients and any substitutions you can make:

  • Heat treated all-purpose flour. The heat treating is what makes this flour safe to consume. I recommend sticking with all-purpose flour (or plain flour), but you could substitute this with a gluten-free all-purpose flour if you need a gf option. 
  • Unsalted butter. If you only have salted butter, that’s okay to use! Just omit the salt in the recipe. And if you’d like to make a vegan version, sub in vegan butter and use a non-dairy milk alternative. 
  • Granulated sugar + light brown sugar. The combination of these two sugars gives the perfect gritty texture that is reminiscent of actual cookie dough. You could also substitute dark brown sugar if you want more of a rich molasses flavor. 
  • Whole milk. This helps add moisture and bring the dough together, like the eggs in a real chocolate chip cookie dough recipe would. You can substitute the whole milk for heavy whipping cream or any other kind of milk, non-dairy options included. 
  • Vanilla extract. I like to add a little more than usual just for richer flavor. 
  • Mini chocolate chips. I like the size of these in edible cookie dough. You can substitute them for regular sized chocolate chips (or any kind of chocolate), sprinkles, nuts, or any combination of those things. Just be sure you don’t add more than 1 Cup of mix-ins to this recipe or the dough will be too crumbly. 
cookie dough cake filling recipe

I hope you love this chocolate chip cookie dough as much as I do! I have plans to use it in a cake recipe this week and cannot wait to see how you use it!

edible cookie dough recipe

Edible Chocolate Chip Cookie Dough

An easy chocolate chip cookie dough that's safe to eat by the spoonful and perfect for using as a cake filling, dessert topping, and more!
Print Recipe Pin Recipe
Prep Time:15 minutes mins
Cook Time:5 minutes mins
Cooling Time:20 minutes mins
Course: Dessert
Cuisine: American
Servings: 3 Cups

Ingredients

  • 2 Cups (265g) all-purpose flour heat treating instructions below
  • 1/2 Cup (113g) unsalted butter, room temperature
  • 1/2 Cup (100g) granulated sugar
  • 2/3 Cup (133g) light brown sugar, packed
  • 2 tsp pure vanilla extract
  • 1/4 Cup (60ml) whole milk
  • 1/2 tsp salt
  • 1 Cup (180g) mini chocolate chips

Instructions

  • Heat treat the flour: Preheat the oven to 350ºF (177ºC) and line a cookie sheet with parchment paper. Add the flour on top of the parchment in an even layer, then bake for 5 minutes. Using a digital food thermometer, check to see that the temperature of the flour has reached 160ºF (71ºC). If it hasn't, stir the flour around and continue baking in one minute intervals until it reaches this temperature.
  • Transfer the heat treated flour into a medium bowl and set it aside to cool to room temperature, about 20 minutes.
  • In the bowl of your stand mixer fitted with the paddle attachment (or a large bowl with a hand mixer), add the butter, granulated sugar, and brown sugar. Cream these ingredients together on medium-high speed until uniform and fluffy, about 3 minutes. Scrape down the bowl and paddle and add the vanilla, milk, and salt. Continue mixing on medium speed until combined.
  • Add the (cooled) heat treated flour, then mix on low speed until combined. Then, mix in the mini chocolate chips.
  • Enjoy immediately or store the edible chocolate chip cookie dough in an airtight container in the refrigerator for up to two weeks (or up to 1 month in the freezer).

Notes

Make Ahead Tips: This cookie dough cake filling can be stored in an airtight container in the refrigerator for up to 2 weeks, or in the freezer for up to 1 month. I like to shape the dough before freezing it if making discs or balls. 
Substitutions: see the blog post above for common substitutions.
Yield: This recipe makes 3 Cups of edible chocolate chip cookie dough, which is enough to fill a 3 layer 6-inch cake or 2 layer 8-inch cake when shaping the dough into a disc. You can also shape it into 1-inch balls and use it to fill 24-30 cupcakes.

By: Whitney · In: Featured, Filling, Recipes · Tagged: chocolate chip cookie dough, cookie dough, cookie dough cake filling, edible cookie dough

you’ll also love

no churn cookie dough ice cream recipeNo-Churn Cookie Dough Ice Cream
no-churn cookie dough ice cream cake recipe by sugar and sparrowThe BEST Cookie Dough Ice Cream Cake
chocolate chip cookie dough cake recipe with edible cookie doughChocolate Chip Cookie Dough Cake

Join the List

Stay up to date & receive the latest posts in your inbox.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Next Post >

Small Batch Strawberry Cake

Primary Sidebar

Welcome to Sugar & Sparrow

Welcome to Sugar & Sparrow

Helping you whip up pretty desserts with confidence and creativity. And hopefully sharing a few laughs with you along the way!

Learn More

Connect

let’s bake!

Get my very best recipes, baking tips, and decorating tutorials sent to your inbox

Featured Posts

ruby chocolate cake recipe by sugar and sparrow

Ruby Chocolate Cake Recipe

pumpkin chocolate chip cake by sugar and sparrow

Pumpkin Chocolate Chip Cake with Spiced Cream Cheese Frosting

chocolate chip cookie cake recipe with vanilla buttercream border and sprinkles

Chocolate Chip Cookie Cake

Search

Archives

Follow Along

@sugarandsparrowco

DYE-FREE BLACK VELVET SHEET CAKE 🖤👀 if you’re look DYE-FREE BLACK VELVET SHEET CAKE 🖤👀 if you’re looking for a black cake that won’t stain your teeth, look no further! This sheet cake version of my favorite black velvet cake recipe uses black cocoa powder to create the dark black color for this whole cake without ANY food coloring, and it tastes just like Oreo cookies (but in deliciously moist cake form). Top that black buttercream with googly eyes for the perfect easy Halloween cake 👻

Comment RECIPE and I’ll send it to you or find it linked in my bio + at https://sugarandsparrow.com/black-velvet-sheet-cake/

You can also use the same ingredients and amounts for my black velvet layer cake recipe from a few Reels back! Just lower the oven temp to 325F and bake in a 9x13 pan for 30-35 min 🖤

#blackbuttercream #blackcake #blackvelvetcake #halloweencake #sheetcake
SNICKERS CAKE 🤎🥜 this truly tastes like a sweet an SNICKERS CAKE 🤎🥜 this truly tastes like a sweet and salty Snickers bar, but in cake form: decadent chocolate cake layers filled with soft chocolate peanut butter nougat and thick, gooey peanut caramel, all wrapped up in chocolate buttercream. Make this for the Snickers lover in your life!! 
⁣ 
Comment ‘RECIPE’ and I’ll send it right to you, or find it linked in my bio + at https://sugarandsparrow.com/snickers-cake-recipe/ 
⁣ 
#snickerscake #chocolatecake #caramel #birthdaycake #cakedecorating
BLACK VELVET CAKE 🖤 can you believe that this deli BLACK VELVET CAKE 🖤 can you believe that this deliciously moist all-black cake is made with ZERO FOOD COLORING?! The magic of black cocoa powder creates the perfect black cake + dye-free black buttercream for the ultimate Halloween party cake that won’t turn anyone’s mouth black 👻 plus it tastes like Oreo cookies so I’m obsessed!!

Full recipe (with black buttercream + my fave black cocoa powder) linked in my bio or at https://sugarandsparrow.com/black-velvet-cake-recipe/
 
You’ll also find recipes for a cupcake version, a vegan version, and a small batch version if you search “black velvet” at https://sugarandsparrow.com 
 
BLACK VELVET CAKE  
2 Cups (265g) all purpose flour 
1 2/3 Cups (340g) granulated sugar 
2/3 Cup (80g) black cocoa powder 
2 tsp baking soda 
1 tsp baking powder 
1/2 tsp salt 
1/2 Cup (120ml) vegetable oil 
2 large eggs, room temperature 
1 1/2 tsp pure vanilla extract 
1 Cup (240ml) full-fat buttermilk, room temp
1 Cup (240ml) hot coffee or hot water 
 
INSTRUCTIONS 
1. Preheat the oven to 350ºF. Grease and line three 6-inch or two 8-inch cake pans. 
2. In a large bowl, whisk together all of the dry ingredients. Add the vegetable oil, eggs, vanilla, and buttermilk and whisk together. Slowly pour in the hot coffee (or hot water) and whisk until combined. 
3. Pour into prepared cake pans and bake for 32-36 minutes, until a toothpick inserted comes out clean. Cool before frosting with black buttercream. Full recipe (with frosting!) linked in my bio✨⁣⁣⁣ 
⁣ 
*If you can’t find buttermilk, mix together 1 Cup (240ml) whole milk + 1 Tbsp white vinegar as a substitute. ⁣ 
⁣⁣⁣ 
#blackcake #blackbuttercream #blackvelvetcake #cakedecorating #halloweencake
SALTED CARAMEL APPLE CAKE 🍏🍯 layers of deliciously SALTED CARAMEL APPLE CAKE 🍏🍯 layers of deliciously moist apple spice cake and salted caramel buttercream drizzled with homemade salted caramel sauce (which is also used to drip the cake and coat the apple on top). Such a classic Fall cake that is so fun to decorate with that dripping caramel apple! 

Comment RECIPE to get the full recipe + decorating tutorial sent to you! Or find it at https://sugarandsparrow.com/caramel-apple-cake-recipe/ 

Here’s what readers have said about this cake:

“This cake is one of the most delicious cakes I have ever had in my life! My husband also said he wants this for his birthday from now on! Fantastic recipe!” ⭐️⭐️⭐️⭐️⭐️

“I just baked this cake with intentions to sell by the slice but once I posted it someone wanted to buy the whole thing… RIGHT NOW!!! Thanks for the recipe.” ⭐️⭐️⭐️⭐️⭐️

“I just made this cake for Thanksgiving and it was a hit! The salted caramel buttercream perfectly offset the spiciness of the apple cake. If you’re looking for a cake that celebrates fall flavors, I highly recommend it.” ⭐️⭐️⭐️⭐️⭐️

“I made this for Thanksgiving and wow! Everyone wants me to make it at Christmas too! Even my husband, who doesn’t usually like sweets had two pieces and said I nailed it. It was a big hit with my family.” ⭐️⭐️⭐️⭐️⭐️
 
#saltedcaramel #applecake #caramelcake #cakedecorating #fallbaking
MONSTER HALLOWEEN CAKE 👀 🥳 give me a handful of pi MONSTER HALLOWEEN CAKE 👀 🥳 give me a handful of piping tips and some googly eyes sprinkles and this is what happens 😆 I love this cake design so much because you can truly go with the flow with your buttercream piping. The googly eyes will make that piping come alive! 
⁣
The full tutorial is linked in my bio + at https://sugarandsparrow.com/buttercream-monster-cake-tutorial/
⁣
👩🏽‍🍳 buttercream recipe: my vanilla buttercream at https://sugarandsparrow.com/vanilla-buttercream-recipe/
🎨 frosting colors: @americolor Electric Green, Electric Purple, Orange, and Deep Pink + added black cocoa powder for the black piping⁣
✨piping tips: @wiltoncakes 1M, 104, 4B, 233, 10, and 16 ⁣
👀 eye sprinkles: @michaelsstores
⁣
#monstercake #halloweencake #cakedecorating #halloweenparty
#buttercream

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow