• 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

geode cupcake toppers by sugar and sparrow

Mini Geode Cupcake Toppers Tutorial

perfect swiss meringue buttercream recipe

Swiss Meringue Buttercream Recipe (with Detailed Instructions for Perfect Results!)

chocolate cake recipe with chocolate frosting

The Perfect One-Bowl Chocolate Cake Recipe

Search

Archives

Follow Along

@sugarandsparrowco

SALTED CARAMEL BUTTERCREAM ✨I could eat this salty SALTED CARAMEL BUTTERCREAM ✨I could eat this salty-sweet caramel frosting by the spoonful but it’s absolutely delicious on cakes, cupcakes, macarons, and more 🙌🏽 I use my homemade EASY salted caramel recipe here but you can use any salted caramel sauce that you love.⁣

✨Full recipe (including homemade salted caramel) + cake pairing suggestions are on my blog at https://sugarandsparrow.com/salted-caramel-buttercream-recipe/ 
⁣
SALTED CARAMEL BUTTERCREAM⁣
Yield: 2.5 Cups ⁣
⁣
INGREDIENTS⁣
1 Cup (226g) unsalted butter, room temperature⁣
3 1/2 Cups (420g) powdered sugar⁣
2 tsp vanilla extract⁣
1/2 Cup (120ml) salted caramel sauce, room temperature⁣
Pinch of salt⁣
⁣
INSTRUCTIONS:⁣
1. In a stand mixer fitted with the paddle attachment, whip the butter on high until it’s creamy and light in color, 5-6 minutes. ⁣
2. Turn the mixer to low and add the powdered sugar a few cups at a time, scraping down the bowl and paddle after each interval.⁣
3. With the mixer still on low, mix in the vanilla extract, salted caramel, and a pinch of salt. Continue mixing on low speed until fully combined. ⁣
⁣
#saltedcaramel #caramel #cakedecorating #frosting #buttercream
NO-CHURN BERRY CRISP ICE CREAM✨you don’t need any NO-CHURN BERRY CRISP ICE CREAM✨you don’t need any fancy equipment to whip up this delicious ice cream that tastes JUST like berry crisp a la mode! I layered my favorite 3-ingredient no-churn vanilla ice cream base with ribbons of homemade berry filling + buttery oat streusel in every bite. Even if you’ve never made ice cream from scratch before, I promise you can master this recipe!! 
 
🍦Full recipe linked in my bio or find it at https://sugarandsparrow.com/no-churn-berry-crisp-ice-cream/

#nochurnicecream #icecream #icecreamlover #berries #summerdessert
STRAWBERRY SHEET CAKE 🍓based on my favorite strawb STRAWBERRY SHEET CAKE 🍓based on my favorite strawberry layer cake recipe, this sheet cake version is so fun to decorate + such a crowd pleaser! I love using a combination of fresh and freeze-dried strawberries to create the most powerful authentic flavor ✨
 
🍓Full recipe (with strawberry buttercream) at https://sugarandsparrow.com/strawberry-sheet-cake-recipe/
⁣ 
STRAWBERRY SHEET CAKE⁣ 
Serves 24
⁣ 
INGREDIENTS⁣ 
1 Cup (12oz) fresh strawberries, pureed ⁣ 
3/4 Cup (180ml) whole milk, room temp⁣ 
2 1/2 Cups (265g) sifted cake flour⁣ 
2 tsp baking powder⁣ 
1/4 tsp baking soda⁣ 
1/2 tsp salt⁣ 
3/4 Cup (170g) unsalted butter, room temp⁣ 
1 2/3 Cups (350g) granulated sugar⁣ 
3 large eggs, room temp⁣ 
1/3 Cup (75g) sour cream, room temp⁣ 
2 tsp pure vanilla extract⁣ 
1-2 drops pink food coloring (optional)⁣ 
⁣ 
INSTRUCTIONS⁣ 
1. Simmer the strawberry puree in a saucepan over medium-low heat for 30-35 minutes, stirring occasionally. At this point the puree should have reduced from 1 Cup to 1/2 Cup (if you have more, keep cooking!). Refrigerate until room temp, then whisk together with the whole milk and set aside.⁣ 
2. Preheat the oven to 350ºF. Grease and line a 13×9 inch baking pan. 
3. In a medium bowl, whisk together the sifted cake flour, baking powder, baking soda, and salt. Set aside. ⁣ 
4. In the bowl of a stand mixer with the paddle attachment, whip the butter on high until creamy, 2 min. Add the sugar and beat with the butter until light and fluffy, 2 min. Turn the mixer to low and add the eggs one at a time. Add the vanilla and sour cream, then turn the mixer to high and beat for 1 minute.⁣ 
5. With the mixer on low, add all of the dry ingredients at once until just combined, then add the strawberry milk mixture and pink food coloring (if using) until just combined. Give the batter a few stirs by hand to make sure everything is incorporated without over-mixing. ⁣ 
6. Pour batter into the prepared cake pan and bake for 35-40 minutes. ⁣ Cool completely to room temperature before topping with strawberry buttercream (full recipe at the li
COOKIES & CREAM ICE CREAM CAKE 🤎 If you’re an Oreo COOKIES & CREAM ICE CREAM CAKE 🤎 If you’re an Oreo lover, this is your sign to make an ice cream cake this summer: no-churn cookies & cream ice cream set on an Oreo cookie crust, topped with hot fudge and whipped cream frosting. The perfect amount of Oreos in EVERY BITE! 

Full recipe link in my bio + at https://sugarandsparrow.com/cookies-and-cream-ice-cream-cake/ 

OREO CRUST
22 Oreo cookies
5 Tbsp melted butter

ICE CREAM LAYER
2 Cups (480ml) heavy whipping cream, cold
2 tsp pure vanilla extract
14 Oz sweetened condensed milk
15 Oreo cookies, roughly chopped

TOPPINGS
12.8 Oz jar of hot fudge
Whipped cream frosting (see full recipe link)
4 Oreo cookies, chopped

INSTRUCTIONS
1. Mix together the Oreo crust ingredients and pack tightly into the bottom of a 9-inch springform pan. Freeze while you make the ice cream.
2. In a chilled bowl, whip the heavy cream and vanilla to stiff peaks. Fold in the sweetened condensed milk until uniform, then fold in the chopped Oreos. Pile the ice cream on top of the Oreo crust, smooth it down, cover and freeze overnight.
3. When the ice cream layer is set, top with the hot fudge, whipped cream frosting, and more chopped Oreos. Store in the freezer until ready to serve! 

#oreocake #icecreamcake #nochurnicecream #birthdaycake #cookiesandcream
EASY OREO ICEBOX CAKE (recipe below) 🤎 You only ne EASY OREO ICEBOX CAKE (recipe below) 🤎 You only need 4 ingredients for this recipe and it sets into the perfect summer dessert in the refrigerator overnight! It’s 7 alternating layers of Oreos and homemade whipped cream + every bite tastes like a perfect milk-dunked Oreo in the very best way ✨
 
Full recipe at https://sugarandsparrow.com/oreo-icebox-cake/ 
 
INGREDIENTS: 
2 Cups (480ml) cold heavy whipping cream 
1/4 Cup (30g) powdered sugar 
1 tsp pure vanilla extract 
36 Oreo cookies 
 
INSTRUCTIONS: 
1. Add the heavy whipping cream, powdered sugar, and vanilla extract into a chilled mixing bowl. Using the whisk attachment on your stand mixer or a hand mixer, beat the ingredients until stiff peaks form. 
2. Line a loaf pan with plastic wrap, then add a thin layer of the whipped cream onto the bottom of the pan. Add a layer of Oreo cookies on top (cut some of the Oreos to fit as needed). 
3. Add 1/3 of the remaining whipped cream on top of the Oreo layer, followed by a second layer of Oreos. Repeat until you have seven total layers, ending with whipped cream. 
4. Cover the cake and refrigerate overnight, then enjoy!  
 
#oreocake #vintagecake #nobakecake #oreo #nobake

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow