• 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

halloween monster cake by sugar and sparrow

Buttercream Monster Cake Tutorial

orange poppyseed cake recipe with mascarpone frosting

Orange Poppyseed Cake with Mascarpone Frosting

vegan vanilla buttercream recipe by sugar and sparrow

Vegan Vanilla Buttercream Recipe

Search

Archives

Follow Along

@sugarandsparrowco

PEACHES AND CREAM CAKE 🍑 I have not been able to s PEACHES AND CREAM CAKE 🍑 I have not been able to stop thinking about how tender this cake is (even when chilled!) + every bite has the most refreshing, creamy peach flavor 🙌🏼 it’s layers of extra soft vanilla cake, homemade peach syrup, brown sugar peach filling, and cloud-like whipped cream frosting. Best use of your late summer peaches imo!

Comment “PEACH CAKE” and I’ll send the recipe straight to you 💌 or find the recipe at https://sugarandsparrow.com/peaches-and-cream-cake/

#peachesandcream #peachcake #whippedcreamcake #peaches #cakedecorating
OREO CAKE 🖤 with black cocoa powder in those moist OREO CAKE 🖤 with black cocoa powder in those moist chocolate cake layers (same main ingredient in Oreo cookie shells!) + cookies and cream buttercream, the flavor profile of this cake is so spot on!! Make this for the Oreo lover in your life 😍
  
Get the recipe at https://sugarandsparrow.com/oreo-cake-recipe/
  
#cookiesandcream #oreocake #oreo #blackvelvet #chocolatecake 
EASY FUDGE BROWNIE ICE CREAM 🤎 (recipe below) the EASY FUDGE BROWNIE ICE CREAM 🤎 (recipe below) the easiest no-churn chocolate ice cream with gooey brownies + ribbons of fudge in every bite!! Even if you’ve never made ice cream before, you’ll be amazed at how easy this is to make without an ice cream maker 

🍦Full recipe at https://sugarandsparrow.com/no-churn-fudge-brownie-ice-cream/ + more no-churn ice cream recipes linked in my bio 

INGREDIENTS
2 cups (480ml) heavy whipping cream, cold
3/4 cup (4oz, 135g) semi-sweet chocolate chips
14 oz sweetened condensed milk
1/3 cup (30g) cocoa powder 
1 tsp vanilla
pinch of salt
2 cups brownie chunks (store bought or homemade) 
6 oz hot fudge sauce

INSTRUCTIONS
1. In a large chilled bowl, beat the heavy whipping cream with a hand mixer (or stand mixer w/ whisk attachment) until stiff peaks form, about 2-4 minutes. Place into refrigerator.
2. Heat the chocolate chips in the microwave in 30-second increments, stirring after each one, until melted and smooth.
3. In a separate medium bowl, whisk together the sweetened condensed milk and melted chocolate, then whisk in the cocoa powder, vanilla, and salt. 
4. Fold 1 cup of the whipped cream into the chocolate condensed milk mixture. Then, pour the chocolate mixture into the remaining whipped cream and fold together until combined. Fold in the brownie chunks. 
5. Scoop large spoonfuls of the brownie ice cream mixture into a loaf pan along with a few smaller spoonfuls of the hot fudge sauce. Use a wooden skewer or butter knife to swirl the hot fudge and create ribbons as you go. Continue adding and swirling until all of it is in the loaf pan.
6. Press the reserved brownies into the top of the ice cream, then cover with plastic wrap or aluminum foil. Freeze for 6-8 hours, after which the ice cream should be semi-firm, scoop-able, and ready to enjoy!

#nochurnicecream #brownieicecream #chocolateicecream #nobake #icecreamlover
KEY LIME PIE CAKE 💚 everything I love about key li KEY LIME PIE CAKE 💚 everything I love about key lime pie, in layer cake form! It’s soft key lime cake filled with homemade key lime curd and buttery graham cracker crumble, frosted with tangy key lime buttercream. The IDEAL summer cake and it honestly might be better than the pie if you ask me 🙃

Get the full recipe link in my bio or at https://sugarandsparrow.com/key-lime-pie-cake/ 

#keylimepie #keylimecake #keylime #cakedecorating #layercake
LEMON RASPBERRY CAKE 🍋♥️ this cake has the dreamie LEMON RASPBERRY CAKE 🍋♥️ this cake has the dreamiest layers: soft and zesty lemon cake with raspberries baked into every bite, thick homemade raspberry filling, and lemon raspberry buttercream with the prettiest natural color 😍 
 
✨recipe linked in my bio or at https://sugarandsparrow.com/lemon-raspberry-layer-cake/
 
#lemonraspberry #lemoncake #raspberrycake #pinkcake #layercake

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow