• 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
    • 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). 
  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 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
christmas sugar cookie dough cake recipeChristmas Sugar 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

cream cheese buttercream recipe thats pipeable

Cream Cheese Buttercream Recipe

easy dulce de leche recipe by sugar and sparrow

Easy Homemade Dulce de Leche Recipe

black buttercream recipe with minimal food coloring

Black Buttercream Recipe with Minimal Food Coloring

Search

Archives

Follow Along

@sugarandsparrowco

Everything I baked in June☀️I was so motivated to Everything I baked in June☀️I was so motivated to bake this month (summer flavors had me INSPIRED!) and could barely keep up with myself but I ended up publishing 7 new recipes on my website + finalized 5 more that will be up ASAP! 

Comment “JUNE” to get all the recipes that are available now:

-Cookie Dough Ice Cream Cake
-Rocky Road Cupcakes (w/ homemade marshmallow creme filling!)
-Blackberry Lavender Cake
-Homemade Blackberry Filling
-Whipped Cream Cheese Frosting
-Strawberry Shortcake Cookie Bars
-Berries & Cream Sheet Cake

https://sugarandsparrow.com/everything-i-baked-in-june
 
#cake #bakersofinstagram #baking #bakinglove #cakedecorating
WHIPPED CREAM CHEESE FROSTING ☁️ this easy 4-ingre WHIPPED CREAM CHEESE FROSTING ☁️ this easy 4-ingredient whipped cream frosting is deliciously light, comes together SO easily, and is stabilized with cream cheese to make it the perfect thick consistency for filling and frosting cakes and cupcakes!! It’s so good with my strawberry shortcake sheet cake and berries & cream cake and I have a feeling I’m going to be whipping it up for many more summer cakes😍

Full recipe with cake pairing suggestions at https://sugarandsparrow.com/whipped-cream-cheese-frosting/ 

INGREDIENTS 
1 Cup (8oz, 226g) full-fat brick-style cream cheese, cold
1 Cup (120g) powdered sugar
1 tsp pure vanilla extract
2 1/2 Cups (600ml) heavy whipping cream, cold

INSTRUCTIONS
1. Chill the bowl of your stand mixer (or the large bowl you’ll be using with your hand mixer) into the refrigerator for 20 minutes.
2. Into the cold mixing bowl, add the cream cheese and beat on medium speed with the whisk attachment until creamy, 2 min. Add the powdered sugar and mix on low speed until mostly incorporated, then turn the mixer to medium-high speed and mix for 1 min.
3. Add the vanilla extract, then turn the mixer to medium-high speed and slowly pour in the heavy whipping cream (down the side of the bowl so it doesn’t fly everywhere). Once all the cream is added, continue mixing on medium-high for just about 30 seconds longer, keeping a close eye on the mixing bowl to watch it thicken. It should come together into a thick, silky frosting consistency at this point, where you can dip the whisk into the frosting and it holds a slight peak when you hold it upright.
4. Use the frosting immediately to decorate cakes and/or cupcakes for best results!

#whippedcreamfrosting #creamcheesefrosting #cakedecorating #whippedcream #frosting
TOP 10 4TH OF JULY DESSERTS 🎆 These are just a few TOP 10 4TH OF JULY DESSERTS 🎆 These are just a few of my favorite summer dessert recipes that will disappear at any Fourth of July celebration.

Comment “JULY” and I’ll send you all 20+ of my favorite 4th of July dessert ideas – naturally red white and blue desserts like my berries and cream cake, easy no-bake desserts, no-churn ice cream, strawberry shortcake inspired recipes, and all the treats that will go FAST at any barbecue.

https://sugarandsparrow.com/4th-of-july-desserts/

#fourthofjuly #4thofjuly #summerdessert #partycake #dessertideas
STRAWBERRY SHORTCAKE COOKIE BARS 🍓my hot take: str STRAWBERRY SHORTCAKE COOKIE BARS 🍓my hot take: strawberry shortcake toppings on a buttery, soft sugar cookie base is WAY BETTER than traditional strawberry shortcake. I topped my favorite sugar cookie bar recipe with silky whipped cream cheese frosting + homemade strawberry sauce and now I’m ruined 😵

Full recipe is linked in my bio + at https://sugarandsparrow.com/strawberry-shortcake-cookie-bars/ 

SOFT SUGAR COOKIE BARS
2 Cups + 2 Tbsp (283g) all purpose flour
1 tsp baking powder
1/2 tsp baking soda
1/2 tsp salt
3/4 Cup (170g) unsalted butter, room temp
1 Cup (200g) granulated sugar
1 large egg
1 large egg yolk
1 1/2 tsp pure vanilla extract

1. Preheat the oven to 350ºF (177ºC). Grease and line an 8-inch square baking pan with parchment paper, leaving a slight overhang for easy release.
2. Whisk together the flour, baking powder, baking soda, and salt. Set aside.
3. Using a stand mixer with the paddle attachment (or hand mixer) cream together the butter and sugar on high speed until pale and fluffy, 2-3 min.
4. Turn the mixer to medium and add the egg, egg yolk, and vanilla. Mix until combined, then add the flour mixture and mix on low speed until a uniform cookie dough forms.
5. Press the cookie dough into the prepared pan in an even layer, all the way to the edges. Bake for 18-20 minutes, until the edges are just starting to brown. 
6. Cool the sugar cookie bars in the pan for 30 minutes, then transfer to a wire rack to cool completely. Top with whipped cream cheese frosting and strawberry sauce (full recipe linked in my bio!)

#strawberryshortcake #strawberries #whippedcreamfrosting #cookiebars #sugarcookies
BLACK FOREST CAKE 🍒 this is my favorite thing to m BLACK FOREST CAKE 🍒 this is my favorite thing to make during cherry season! My version is decadent chocolate cake soaked with homemade cherry syrup, fresh cherry filling, and whipped cream frosting. Top it with a chocolate ganache drip if you want to go the extra mile! 

Full recipe + decorating tutorial is linked in my bio + at https://sugarandsparrow.com/black-forest-cake-recipe/

PS I’m working on a sheet cake version of this recipe that’s even easier! Stay tuned.

#blackforestcake #cherrycake #chocolatecake #cherries #cakedecorating

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow