• 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). 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

Sky High Cookies & Cream Ice Cream Cake

yellow cake recipe with chocolate frosting and rainbow sprinkles

Yellow Cake with Chocolate Frosting (Classic Birthday Cake)

sugar and sparrow

Nutella Banana Cake with Toasted Meringue

Search

Archives

Follow Along

@sugarandsparrowco

DYE-FREE BLACK BUTTERCREAM 🖤 (recipe below) there DYE-FREE BLACK BUTTERCREAM 🖤 (recipe below) there is ZERO food coloring in this black buttercream recipe which means it won’t turn your mouth black (or anything else 💩) + it tastes like Oreo cookie butter so it’s a win all around!! The key is to use EXTRA dark black cocoa powder, which also comes in handy in my black velvet cake recipe 🙌🏼 ideal secret ingredient for your Halloween cakes! 
⁣
Full recipe (and the black cocoa powder I use!) is linked in my bio and at https://sugarandsparrow.com/dye-free-black-buttercream/
⁣
DYE-FREE BLACK BUTTERCREAM⁣⁣
Yield: 2.5 Cups⁣⁣
⁣⁣
INGREDIENTS:⁣⁣
1 Cup (226g) unsalted butter, room temp
2 1/2 Cups (300g) powdered sugar⁣⁣
1/2 Cup (56g) EXTRA DARK black cocoa powder⁣⁣*
1 tsp pure vanilla extract⁣⁣
2 Tbsp whole milk, room temp
pinch of salt⁣⁣
⁣⁣
INSTRUCTIONS:⁣⁣
1. In a stand mixer fitted with the paddle attachment, whip the butter on medium speed until creamy and light in color, 4 min. Add half of the powdered sugar and mix on low until just combined, then add the rest of the powdered sugar. With the mixer still in the off position, sift in the black cocoa powder and add the vanilla, milk, and salt. Mix on low until all ingredients are thoroughly combined, 2-3 minutes, scraping down the bowl and paddle as needed.⁣⁣
2. Place the buttercream in an airtight container and allow the color to deepen for 24 hours or more. ⁣⁣

*I use a brand called The Cocoa Trader that I get on Amazon. It’s the darkest black cocoa powder I’ve seen so far!!
⁣⁣
#blackbuttercream #naturalfoodcoloring #blackcake #buttercream #blackcocoapowder
SMALL BATCH pumpkin cake with cream cheese frostin SMALL BATCH pumpkin cake with cream cheese frosting 🧡 This mini cake is a scaled down version of my favorite pumpkin cake recipe + makes the perfect amount for 2-4 people! Bake it as a 4-inch mini layer cake or a single layer 6-inch cake, either way is absolutely delicious and the perfect for date night, a small gathering, or any time you’re craving pumpkin cake without having to make a huge dessert 🙌🏽

Comment RECIPE and I’ll send you the full recipe (with thick and stable cream cheese frosting!) or find it linked in my bio + at https://sugarandsparrow.com/small-batch-pumpkin-cake/ 

INGREDIENTS 
2/3 Cup (88g) all-purpose flour
1 tsp baking powder
1/4 tsp baking soda
1/4 tsp salt
1 tsp ground cinnamon
1/2 tsp allspice
1/4 tsp nutmeg
1/8 tsp ground ginger
1/3 Cup (67g) packed brown sugar
2 Tbsp (25g) granulated sugar
1/3 Cup (80ml) vegetable oil or melted butter
1 large egg, room temp
1/2 Cup (125g) canned pumpkin puree
1/2 tsp pure vanilla extract

INSTRUCTIONS
1. Preheat the oven to 350ºF (177ºC). Grease and line three 4-inch cake pans or one 6-inch cake pan.
2. In a medium bowl, whisk together the all-purpose flour, baking powder, baking soda, salt, cinnamon, allspice, nutmeg, and ground ginger. Set aside.
3. In a separate medium bowl, add the brown sugar, granulated sugar, vegetable oil (if using melted butter in place of the oil, cool it for 5-10 minutes prior to adding here), egg, pumpkin puree, and vanilla extract. Whisk together until uniform, then add the flour mixture and whisk until smooth.
4. Pour the batter evenly between the prepared cake pan(s). If using 4-inch cake pans, bake for 22-26 minutes. If using a 6-inch cake pan, bake for 25-30 minutes. Cool completely before frosting (full recipe with cream cheese buttercream is linked in my bio!)

#pumpkincake #smallbatchcake #minicake #creamcheesefrosting #fallbaking
TOP 10 FALL CAKES 🍂 These are not only MY favorite TOP 10 FALL CAKES 🍂 These are not only MY favorite Fall cake recipes, they’re yours too! 🥰

Comment “FALL” and I’ll send you all of the cake recipes shown here and all 36+ of my favorite Fall baking ideas – classic cakes like pumpkin cake with cream cheese frosting, spice cake, and cranberry orange cake, more complex flavor combinations like chocolate pecan pie cake with salted caramel and apple crisp cake, and cozy recipes like no-bake pumpkin cheesecake, homemade salted caramel, and my favorite brown butter chocolate chip cookie bars. 

https://sugarandsparrow.com/fall-baking-recipes/

#pumpkincake #applecake #fallcake #cakeinspiration #cakeideas
The BEST pumpkin cake with cream cheese frosting 🧡 The BEST pumpkin cake with cream cheese frosting 🧡 this pumpkin layer cake is easy to make, perfectly spiced, so moist, irresistible with cream cheese frosting, and uses the ENTIRE 15oz can of pumpkin (no awkward leftovers!). Top it with pretty piped pumpkins to make it extra cute 🥰

Comment RECIPE to get the full recipe (with frosting + cake decorating tutorial) or find it linked in my bio and at https://sugarandsparrow.com/pumpkin-layer-cake-recipe/

INGREDIENTS
2 Cups (265g) all-purpose flour
2 tsp baking powder
1 tsp baking soda
1 tsp salt
2 tsp ground cinnamon
1 tsp allspice
1 tsp nutmeg
1/2 tsp ground ginger
1 Cup (200g) packed brown sugar
1/2 Cup (100g) granulated sugar
1 Cup (240ml) vegetable oil or melted butter
4 large eggs, room temp
15 Oz (425g) canned pumpkin puree
2 tsp pure vanilla extract

INSTRUCTIONS
1. Preheat the oven to 350ºF (177ºC). Grease and line three 6-inch or two 8-inch cake pans.
2. In a medium bowl, whisk together the all-purpose flour, baking powder, baking soda, salt, cinnamon, allspice, nutmeg, and ground ginger. Set aside.
3. In a separate large bowl, add the brown sugar, granulated sugar, oil (if using melted butter in place of the oil, cool it for 5-10 minutes prior to adding here), eggs, pumpkin puree, and vanilla extract. Whisk together until uniform, then add the flour mixture and whisk until smooth.
4. Pour the batter evenly between the prepared cake pans and bake for 32-36 minutes, until a toothpick inserted comes out clean or with just a few moist crumbs. Cool the cakes completely to room temp before frosting!

#pumpkincake #creamcheesefrosting #layercake #cake #fallbaking
EASY HOMEMADE SALTED CARAMEL✨(recipe below) even i EASY HOMEMADE SALTED CARAMEL✨(recipe below) even if you’ve never made salted caramel from scratch before, this recipe is VERY beginner friendly + nearly fail proof! There are only 4 ingredients involved, no candy thermometer required, and takes just 10 minutes to make 👏🏽 this is my go-to caramel for drip cakes, drizzling desserts, flavoring coffee, adding it to buttercream, and so much more! 🍯  
 
Full recipe (with video + detailed instructions) linked in my bio or at https://sugarandsparrow.com/salted-caramel-recipe/
⁣ 
SALTED CARAMEL 
Yield: 1.25 Cup⁣s
⁣⁣ 
Ingredients:⁣⁣ 
1 Cup (200g) white granulated sugar⁣⁣ 
6 Tbsp (85g) unsalted butter, room temperature, cut into cubes⁣⁣ 
1/2 Cup (120ml) heavy whipping cream, room temperature⁣⁣ 
1 1/4 tsp kosher salt⁣⁣ 
⁣⁣ 
Instructions:⁣⁣ 
1. Place the sugar in a medium saucepan over medium-high heat and stir constantly until it melts into an amber-colored liquid and no sugar clumps remain, 5-6 minutes. ⁣⁣ 
2. Reduce the heat to medium. Carefully add the butter (it will bubble up when you do) and use a whisk to combine it with the sugar mixture until the butter is fully melted and incorporated, 2-3 minutes. ⁣⁣ 
3. Add the heavy whipping cream in a steady stream while whisking. As soon as the cream is incorporated, let the caramel boil for a full minute before removing it from the heat and stirring in the salt. ⁣⁣ 
4. Let the caramel cool to room temperature before using it in a cake recipe or as a drip. If you’re using it to drizzle over ice cream or warm baked goods, you only need to cool it slightly (20 minutes or so). It will thicken as it cools. ⁣⁣ 
⁣⁣ 
#caramel #saltedcaramel #bakedfromscratch #caramelcake #caramelsauce

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow