• 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 and milk. 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

chocolate chip cookie dough cake recipe with edible cookie doughChocolate Chip Cookie Dough Cake
christmas sugar cookie dough cake recipeChristmas Sugar Cookie Dough Cake
no churn strawberry shortcake ice cream recipe with shortcake crumblesNo-Churn Strawberry Shortcake Ice Cream

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

easy pumpkin cake with cream cheese frosting

Easy Pumpkin Sheet Cake

goodie girl cookies

Goodie Girl Cookie Cupcakes + Giveaway!

oreo cookies and cream cake

Oreo Layer Cake Recipe

Search

Archives

Follow Along

@sugarandsparrowco

WHIPPED MASCARPONE FROSTING ✨silky smooth, delicio WHIPPED MASCARPONE FROSTING ✨silky smooth, deliciously light, and the perfect consistency for cake decorating (including filling layer cakes + piping)! Imagine a whipped cream frosting with notes of rich mascarpone cheese and that’s what this frosting tastes like. It’s a DREAM on my orange poppyseed cake and I can’t stop thinking of other Spring/Summer cake flavors I want to try it with! 

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

INGREDIENTS:
1 Cup (8oz, 227g) mascarpone cheese, cold
2 tsp pure vanilla extract
1/8 tsp salt
1 Cup (240ml) heavy whipping cream, cold
2 Cups (240g) powdered sugar

INSTRUCTIONS:
1. With the whisk attachment on a stand mixer (or hand mixer with a large bowl), beat the mascarpone, vanilla, and salt together at medium speed until creamy, 1-2 min
2. Turn the mixer to low and add the heavy whipping cream slowly, then turn the mixer to medium speed and beat until soft peaks form, which could take less than 1 min (keep an eye on it!). You should be able to dip a spatula into the mixture and see a peak that slightly droops when held upright. 
3. Add the powdered sugar all at once and mix on low speed until incorporated, then turn the mixer to medium speed and whip for about 30 seconds longer, until the frosting is thick and silky. Use right away or refrigerate for up to 4 days.

#mascarpone #mascarponecream #whippedcreamfrosting #whippedcreamcake #cakedecorating
BERRY CHANTILLY CAKE 🍓🫐fully inspired by the iconi BERRY CHANTILLY CAKE 🍓🫐fully inspired by the iconic Whole Foods Chantilly cake (iykyk 🙌🏼) and every bit as delicious! My homemade version is layers of extra soft and fluffy vanilla cake, berry jam, Chantilly cream frosting with rich notes of mascarpone and a hint of almond, and fresh berries throughout. It’s the idealideal berries and cream cake and ALWAYS a hit!! 
⁣
Full recipe is linked in my bio (or at https://sugarandsparrow.com/berry-chantilly-cake-recipe/)

PS: I also have a sheet cake version of this recipe! Google “sugar and sparrow berry Chantilly sheet cake” to find it! 

#chantillycake #whippedcreamcake #berrycake #cakedecorating #vanillacake
STRAWBERRY SHORTCAKE SHEET CAKE 🍓aka classic straw STRAWBERRY SHORTCAKE SHEET CAKE 🍓aka classic strawberry shortcake toppings on a fluffy vanilla sheet cake and ideal for a crowd! It’s my favorite bakery-style white cake that’s so soft and moist, topped with silky whipped cream cheese frosting and thick homemade strawberry sauce. So easy to throw together with simple ingredients + a total showstopper ✨

Grab the recipe link in my bio or find it at https://sugarandsparrow.com/strawberry-shortcake-sheet-cake/ 

#strawberrycake #strawberryshortcake #sheetcake #whippedcreamfrosting #cakedecorating
ORANGE POPPYSEED CAKE 🍊this cake is unbelievably d ORANGE POPPYSEED CAKE 🍊this cake is unbelievably delicious with whipped mascarpone frosting!! The cake layers are soft and moist, packed with fresh citrus flavor, and has the satisfying crunch of poppy seeds in every bite. The mascarpone frosting keeps it light and refreshing and I love that it comes together in just about 5 minutes with minimal effort. A fancy cake that’s secretly simple!

Grab the recipe link in my bio or find it at https://sugarandsparrow.com/orange-poppyseed-cake-with-mascarpone-frosting/

#poppyseedcake #layercake #mascarpone #whippedcreamfrosting #cakedecorating
VANILLA SHEET CAKE (recipe below) 🥳 this cake is p VANILLA SHEET CAKE (recipe below) 🥳 this cake is packed with vanilla flavor, SO soft and fluffy, fun to decorate, and ideal for feeding a crowd. It makes me so nostalgic for my childhood birthday cakes!! 
 
Full recipe (w/ frosting!) at https://sugarandsparrow.com/vanilla-sheet-cake-recipe/
 
INGREDIENTS: 
2 1/2 Cups (265g) sifted cake flour
2 tsp baking powder 
1/2 tsp baking soda 
1 tsp salt 
3/4 Cup (170g) unsalted butter, room temp 
1 3/4 Cup (340g) granulated sugar 
3 large eggs, room temp 
1/2 Cup (120g) sour cream, room temp
1 Tbsp pure vanilla extract 
1 Cup (240ml) whole milk, room temp
 
INSTRUCTIONS: 
1. Preheat the oven to 325°F. Grease and line a 9×13 baking dish. 
2. Add the sifted cake flour, baking powder, baking soda, and salt into a medium bowl and whisk to combine. Set aside. 
3. In the bowl of your stand mixer fitted with the paddle attachment (or with a hand mixer and large bowl), beat the butter on high speed for two minutes until creamy. Add the sugar and continue to beat on high speed until light and fluffy, about 2 minutes. Scrape down the bowl and paddle as needed. Add the eggs one at a time, mixing for about 10-15 seconds after each addition. Add the vanilla and sour cream and mix for one minute on high speed. 
4. Turn the mixer off and add the dry ingredients all at once. Mix on low speed until just combined, then add the milk in a steady stream and mix until just incorporated. 
5. Pour the batter into the prepared baking dish and bake for 30-35 minutes, or until the cake springs back to the touch and a toothpick inserted into the middle comes out clean. Let the cake cool in the baking dish until room temperature, then frost with vanilla buttercream. 
 
#vanillacake #sheetcake #birthdaycake #vanilla #cakedecorating

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow