• 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
merry and bright cakeMerry & Bright Christmas 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

chocolate orange cake recipe by sugar and sparrow

Chocolate Orange Cake Recipe

pumpkin layer cake recipe by sugar and sparrow

Perfect Pumpkin Layer Cake Recipe

sugar and sparrow apple spice cake

Apple Spice Cake with Cinnamon-Vanilla Buttercream

Search

Archives

Follow Along

@sugarandsparrowco

April in my kitchen 🌸 I published 5 NEW recipes April in my kitchen 🌸 I published 5 NEW recipes on my site, baked my Oreo cupcake recipe for a fundraiser and found it was just as delicious as I remember, and filmed/photographed 3 recipes that will be on my blog in May (Lemon Cupcakes, Lemon Cream Cheese Buttercream, and No-Bake Marbled Strawberry Cheesecake) 🥰 

Comment “APRIL” to get all the available recipes and stay tuned for more! 

#bakersofinstagram #springbaking #cakedecorating #cupcakes #bakinglove
SHEET PAN COOKIE CAKE 🍪 slice it warm for a fud SHEET PAN COOKIE CAKE 🍪 slice it warm for a fudgy chocolate chip cookie OR let it settle into a moist and chewy cookie cake that’s perfect for decorating! My fave vanilla buttercream + sprinkles turn this giant chocolate chip cookie into the perfect birthday cake alternative at the end 🥳
⁣
Full recipe + decorating ideas at https://sugarandsparrow.com/sheet-pan-chocolate-chip-cookie-cake/
⁣
INGREDIENTS⁣
1 Cup (226g) unsalted butter, melted⁣
1 1/3 Cups (267g) packed light or dark brown sugar⁣
1/2 Cup (100g) granulated sugar⁣
3 large eggs⁣
1 Tbsp pure vanilla extract⁣
1 tsp baking soda⁣
1 tsp cornstarch⁣
1/2 tsp salt⁣
3 Cups (398g) all purpose flour⁣
2 Cups (350g) semi-sweet chocolate chips⁣
⁣
INSTRUCTIONS⁣
1. Preheat the oven to 350ºF (177ºC). Grease and line a 13×18 inch sheet pan.⁣
2. In a large bowl, add the brown sugar and granulated sugar. Melt the butter in the microwave and pour it over the top of the sugars. Whisk together until uniform. Add the eggs and vanilla, then continue whisking until uniform. Whisk in the baking soda, cornstarch, and salt.⁣
3. Add the flour and use a silicone spatula to fold it in until smooth cookie dough forms. Reserve 1/2 Cup of the chocolate chips and set them aside, then fold the remaining 1 1/2 Cups of chocolate chips into the cookie dough.⁣
4. Place the chocolate chip cookie dough onto the prepared sheet pan and use an offset spatula to spread it all the way to the edges in an even layer.⁣
5. Bake the cookie cake for 14-16 minutes, until it looks golden brown on the edges and set. 
6. Enjoy warm or let it cool and decorate with vanilla buttercream and sprinkles! ⁣
⁣
#cookiecake #chocolatechipcookies #sheetcake #birthdaycake #cakedecorating
STRAWBERRY CUPCAKES 🍓based on my beloved strawb STRAWBERRY CUPCAKES 🍓based on my beloved strawberry layer cake recipe, this cupcake version is just as moist yet fluffy and bursting with natural strawberry flavor! Between the mix of fresh strawberries in the cupcakes + freeze-dried strawberries in the frosting, the flavor is out of this world 🚀

Full recipe link in my bio (with strawberry buttercream) + at https://sugarandsparrow.com/strawberry-cupcakes/

STRAWBERRY CUPCAKES
Yield: 14 cupcakes

INGREDIENTS:
5 oz (143g) fresh or frozen strawberries
1/3 Cup (80ml) whole milk, room temp
1 1/2 Cups (158g) sifted cake flour
1 tsp baking powder
1/4 tsp baking soda
1/2 tsp salt
6 Tbsp (85g) unsalted butter, room temp
1 Cup (200g) granulated sugar
2 large eggs, room temp
3 Tbsp (45g) sour cream, room temp
1 tsp vanilla extract
1 drop pink food coloring (optional)

INSTRUCTIONS: 
1. Puree the strawberries using a food processor (you’ll have about 1/2 cup of puree), then place into a saucepan over medium-low heat. Bring to a simmer, then cook for 10-15 min, stirring occasionally, until you have 1/4 cup. Refrigerate until room temp.
2. Preheat oven to 350ºF (177ºC) and line a standard cupcake pan with liners.
3. Whisk together the sifted cake flour, baking powder, baking soda, and salt and set aside.
4. In a stand mixer w/ paddle attachment (or hand mixer + large bowl), whip the butter on high for 2 min. Add sugar and beat for 2 min, until light and fluffy. Turn the mixer to low and add the eggs one at a time, then add the vanilla and sour cream, turn the mixer to high and beat for 1 min. Meanwhile, whisk together the strawberry puree, whole milk, and food coloring (if using).
5. Turn the mixer off and add all of the dry ingredients at once. Mix on low until just combined, then add the strawberry milk mixture until just combined, about 30 seconds.
6. Fill the cupcake liners 2/3 full and bake for 14-18 minutes. Cool completely before topping with strawberry buttercream (full recipe linked above). 

#strawberrycupcakes #strawberrycake #pinkcupcakes #strawberry #cupcakes
COFFEE BUTTERCREAM (recipe below)☕️ this frost COFFEE BUTTERCREAM (recipe below)☕️ this frosting has AMAZING coffee flavor, is so easy to decorate cakes with, and pairs beautifully with so many flavors (chocolate, vanilla, or any cake flavor you’d want to turn into a latte). 

All my cake pairing suggestions are linked in my bio or at https://sugarandsparrow.com/coffee-buttercream-recipe/ 

COFFEE BUTTERCREAM⁣
Yield: 2.5 Cups⁣

INGREDIENTS⁣
1 1/2 tsp instant coffee or espresso powder⁣
1 1/2 Tbsp whole milk, room temperature⁣
1 Cup (226g) unsalted butter, room temperature⁣
3 1/2 Cups (420g) powdered sugar⁣
2 tsp pure vanilla extract⁣
Pinch of salt⁣

INSTRUCTIONS⁣
1. Combine the instant espresso/coffee with the whole milk and set aside. In the bowl of a stand mixer, beat the butter on high until creamy and smooth (about 5 minutes), scraping down the bowl and paddle a few times in between.⁣
2. Turn the mixer to low and add the powdered sugar a few cups at a time, scraping down the bowl and paddle between intervals. Add the vanilla, the coffee/espresso milk mixture, and salt. Mix on low until fully incorporated, about one minute.⁣

#coffeebuttercream #buttercream #frosting #coffeecake
HUMMINGBIRD CAKE 🤎 after weeks of testing this HUMMINGBIRD CAKE 🤎 after weeks of testing this recipe I found that the KEY to taking this already delicious cake to the next level is: roasting the bananas!! It’s an optional step in this recipe BUT it adds unparalleled caramel notes and noticeable richness to the flavor 🙌🏼 Along with the crushed pineapple, toasted pecans, and tangy cream cheese buttercream, this cake is NEXT LEVEL delicious, ultra-moist, melts in your mouth, and will have everyone asking for the recipe. 

Full recipe (with cream cheese frosting) linked in my bio + at https://sugarandsparrow.com/hummingbird-cake-recipe/ 

#hummingbirdcake #creamcheesefrosting #bananacake #cakedecorating #cakerecipe

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow