• 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

Rustic cake tutorial

How to Frost a Cake with Rustic Texture

Christmas colored funfetti cake recipe by sugar and sparrow

Christmas Funfetti Cake

Bakery-Style White Cake

Search

Archives

Follow Along

@sugarandsparrowco

OATMEAL CREME PIE CAKE 🙌🏼 I’m always thinking abou OATMEAL CREME PIE CAKE 🙌🏼 I’m always thinking about this cake during back-to-school season because Oatmeal Creme Pies take me right back to my elementary school days! It’s layers of tender brown sugar oatmeal cake with the gooiest homemade marshmallow filling and tastes just like the real deal in cake form – perfect party cake for an Oatmeal Creme Pie lover! 

Full recipe linked in my bio + at https://sugarandsparrow.com/oatmeal-creme-pie-cake/ 
 
#oatmealcremepie #vintagecake #layercake #partycake #cakedecorating
NO-BAKE BISCOFF CHEESECAKE ✨this is the perfect EA NO-BAKE BISCOFF CHEESECAKE ✨this is the perfect EASY no-bake dessert for Fall and I cannot get over the incredible spiced caramel flavor!! I added Biscoff cookie butter to my favorite no-bake cheesecake base, piled it onto a Biscoff cookie crust, then topped it with a melted cookie butter drip + tons of crunchy cookie crumbs.  
 
🤎Full recipe linked in my bio + at https://sugarandsparrow.com/no-bake-biscoff-cheesecake/ 
 
BISCOFF CRUST: 
1 8.8oz package Biscoff cookies (250g) 
1/3 Cup (75g) unsalted butter, melted 
 
FILLING: 
16 Oz (452g) full-fat brick-style cream cheese, room temp 
1/4 Cup (50g) powdered sugar 
3/4 Cup (210g) creamy Biscoff cookie butter 
1 tsp ground cinnamon 
1 tsp pure vanilla extract 
1 Cup (240ml) heavy whipping cream, cold 
 
INSTRUCTIONS: 
1. Combine the Biscoff crust ingredients until the mixture resembles wet sand, then press firmly into the bottom of a 9-inch springform pan.  
2. In a large bowl, whip the cream cheese until smooth, then add the powdered sugar, cookie butter, cinnamon, and vanilla and mix until smooth.  
3. In a separate medium bowl, whip the heavy whipping cream to stiff peaks, then fold into the cream cheese mixture until no streaks remain. 
4. Add the filling on top of the Biscoff crust, cover, and refrigerate for at least 8 hours. 
5. Once set, top with melted cookie butter and crushed Biscoff cookies. 
 
#biscoff #biscoffcheesecake #nobakecheesecake #biscoffcake #nobake 
A mini pumpkin spice latte cake to celebrate my SI A mini pumpkin spice latte cake to celebrate my SIL 🥳 two 6-inch layers of spiced pumpkin cake with the most delicious coffee buttercream + a little vintage piping for good measure ☕️ making a birthday cake for my family and friends will always be my favorite love language!!

👩🏽‍🍳 Recipes: perfect pumpkin layer cake + coffee buttercream (both found at sugarandsparrow.com) or you can find a dedicated PSL cake recipe in my book! 
✨ Piping Tips: @wiltoncakes tip 3 for the writing + tip 4B for the borders
☕️ Garnish: chocolate covered espresso beans

#pumpkincake #birthdaycake #pumpkinspicelatte #minicake #cakedecorating
BROWN BUTTER CREAM CHEESE FROSTING 🤎🧈 brown butter BROWN BUTTER CREAM CHEESE FROSTING 🤎🧈 brown butter is the KEY to making cream cheese frosting even better! You get the tang of cream cheese but with rich, nutty caramelized notes of brown butter and it’s HEAVENLY on any Fall cake 🙌🏼 I paired with my carrot cake recipe here but it’s also incredible with spice cake, pumpkin cake, chocolate cake, and more! 

Full recipe + all my favorite cake pairing suggestions in my bio and here: https://sugarandsparrow.com/brown-butter-cream-cheese-frosting/

BROWN BUTTER CREAM CHEESE FROSTING 
YIELD: 3.5 Cups  
 
INGREDIENTS 
1/2 Cup (113g) unsalted butter 
8 Oz (226g) full-fat brick-style cream cheese, room temperature NOT the spread 
4 Cups (480g) powdered sugar 
1 tsp pure vanilla extract 
pinch of salt, or to taste 
 
INSTRUCTIONS 
1. Brown the butter: Add the butter into a large frying pan and cook over medium heat until the butter melts, stirring occasionally. Continue cooking for 3-5 minutes while stirring constantly. First it will foam, then bubble as little white particles of milk solids separate, then the white specks will caramelize and turn medium-brown and smell deliciously nutty. Remove from heat, transfer to a glass container, and cool until it re-solidifies and is the consistency of softened butter (about 45 minutes in fridge).  
2. Add the cooled brown butter into the bowl of your stand mixer fitted with a paddle attachment and add the cream cheese. Mix on medium-high until fluffy and light in color, 5 min, scraping down the bowl and paddle as needed. 
3. Turn the mixer to low speed and add the powdered sugar a few cups at a time, scraping down the bowl and paddle after mixing in each addition. Add the vanilla and salt and continue mixing on low speed until smooth and uniform. 
 
#brownbutter #creamcheesefrosting #creamcheese #buttercream #cakedecorating
MILKY WAY CAKE 🍫✨this tastes JUST like a Milky Way MILKY WAY CAKE 🍫✨this tastes JUST like a Milky Way candy bar, but in cake form! It’s layers of decadent chocolate cake filled with homemade chocolate nougat and gooey caramel, then topped with chocolate buttercream. A MUST try if you love Milky Way 😍
 
Comment RECIPE and I’ll send it straight to your inbox or find it at https://sugarandsparrow.com/milky-way-cake-recipe/ 
⁣ 
#milkywaycake #caramel #chocolatecake #chocolatecaramelcake #cakesofinstagram

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow