• 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
    • Sheet Cakes
    • 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

salted caramel apple cake

Salted Caramel Apple Cake Recipe

cranberry orange cake by sugar and sparrow

Cranberry Orange Cake Recipe

why did my cake sink in the middle

Common Reasons Why Cakes Sink

Search

Archives

Follow Along

@sugarandsparrowco

You butter believe I made myself the Halloween cos You butter believe I made myself the Halloween costume of my dreams!! 🧈 

#diyhalloweencostume
#foodcostume #halloweencostume #handmadecostume #bakerlife
MELTED CANDLE CUPCAKES 🖤🕯give me a few cupcakes, s MELTED CANDLE CUPCAKES 🖤🕯give me a few cupcakes, some dye-free black buttercream, and black chocolate ganache and watch me transform them into the spookiest edible centerpiece! 

Full tutorial is linked in my bio + at https://sugarandsparrow.com/melting-candle-cupcakes/ but I have a condensed version below: 
 
SUPPLIES: ⁣ 
-9 cupcakes⁣  (made these with my small batch black velvet cake recipe!) 
-1 batch of dye-free black buttercream 
-boba straws or skewers (for stabilizing the taller candles) ⁣ 
-icing smoother + turntable ⁣ 
-black ganache for dripping⁣ 
-3 birthday cake candles⁣ 
-matches ⁣ to light them
⁣ 
INSTRUCTIONS: ⁣ 
1. Fill and stack the cupcakes: one stack of 2 cupcakes, one stack of 3 cupcakes, and one stack of 4 cupcakes. For the two taller cupcakes I inserted a boba straw through the middle to stabilize the stack for frosting. ⁣ 
2. Frost the stacked cupcakes with smooth buttercream and keep the top edge raw. Refrigerate for 20 minutes to let the frosting firm up. ⁣ 
3. Transfer the frosted cupcake candles  onto a small plate and pipe ganache around the edges and tops to look like melted wax. ⁣ 
4. Insert a birthday cake candle into each cake candle (keep the wick about 1/4 inch from the cake surface) and light! ⁣ 
⁣ 
#candlecake #halloweencake #cupcakes #blackvelvetcake #blackbuttercream
BISCOFF COOKIE BUTTERCREAM 🤎 this delicious frosti BISCOFF COOKIE BUTTERCREAM 🤎 this delicious frosting is flavored with Biscoff cookie butter and goes with literally ANY Fall cake recipe 🙌🏼 So far my favorite cake flavors to pair it with are pumpkin cake, banana cake, chocolate cake, coffee cake, and spice cake, but I am also testing a full-on Biscoff cake this week!! 

Full recipe + my favorite cake pairing suggestions are at https://sugarandsparrow.com/biscoff-buttercream/ 
⁣⁣ 
INGREDIENTS⁣⁣ 
1 Cups (226g) unsalted butter, room temperature⁣⁣ 
1/2 Cup (94g) Biscoff cookie butter⁣⁣ or spread
3 Cups (360g) powdered sugar⁣⁣ 
1 tsp pure vanilla extract⁣⁣ 
2 Tbsp whole milk, room temperature⁣⁣ 
1/4 tsp salt, or to taste⁣⁣ 
⁣⁣ 
INSTRUCTIONS⁣⁣ 
1. Cream the butter and Biscoff cookie butter together in the bowl of a stand mixer fitted with the paddle attachment (or you can use a hand mixer and large bowl). Mix on medium-high until creamy and well combined, about 5 minutes, scraping down the bowl and paddle as needed.⁣⁣ 
2. 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, milk, and salt and continue mixing on low speed until smooth and combined, 1-2 minutes.⁣ 
⁣⁣ 
#biscoffcake #biscoff #buttercream #frosting #cakedecorating
DYE-FREE BLACK VELVET CUPCAKES 🖤 These all black c DYE-FREE BLACK VELVET CUPCAKES 🖤 These all black cupcakes use black cocoa powder (and NO food coloring!) to achieve that rich black color for the cupcakes + black buttercream. That means they won’t turn anyone’s mouth black AND they taste like Oreo cookies in deliciously moist cupcake form 👻

✨Full recipe (with dye-free black buttercream) is linked in my bio + at https://sugarandsparrow.com/black-velvet-cupcakes/ 

BLACK VELVET CUPCAKES
Yield: 14 cupcakes

1 Cup (132g) all purpose flour
3/4 Cup (150g) granulated sugar
1/3 Cup (38g) black cocoa powder
1 tsp baking soda
1/2 tsp baking powder
1/4 tsp salt
1/4 Cup (60ml) vegetable oil
1 large egg, room temperature
1/2 tsp pure vanilla extract
1/2 Cup (120ml) full-fat buttermilk*
1/2 Cup (120ml) hot coffee or hot water

INSTRUCTIONS:
1. Preheat the oven to 350°F (177°C). Line a muffin pan with cupcake liners and set aside.
2. Place all of the dry ingredients into a large bowl and whisk together to combine. Add the vegetable oil, eggs, vanilla, and buttermilk and whisk until combined. With the mixer still on low, add the hot coffee (or hot water) and whisk until smooth, about 2 minutes. The batter will be very thin. 
3. Pour the batter into the prepared cupcake liners (no more than ⅔ full) and bake for 15-18 minutes, until a toothpick inserted comes out with just a few moist crumbs on it. Cool completely before frosting with dye-free black buttercream (full recipe linked in my bio).

*If you don’t have buttermilk on hand (I rarely do!), use 1/2 Cup whole milk mixed with 1 1/2 tsp vinegar or lemon juice. 

#blackcupcakes #blackbuttercream #blackcocoapowder #halloweencupcakes #halloweenbaking
EASY MUMMY CUPCAKES 👀 this classic Halloween cupca EASY MUMMY CUPCAKES 👀 this classic Halloween cupcake design is so easy to make with chocolate cupcakes, googly eye sprinkles, vanilla buttercream, and one piping tip! Here’s how:

Full tutorial (with recipes for the cupcakes and buttercream!) is linked in my bio + at https://sugarandsparrow.com/mummy-cupcakes/

MUMMY CUPCAKES SUPPLIES: 
-Baked chocolate cupcakes
-Vanilla buttercream
-Googly eye sprinkles
-Piping bag
-Small flat piping tip or basket weave tip

INSTRUCTIONS: 
1. Press two googly eye sprinkles on top of the chocolate cupcake.
2. Starting on the edge of the cupcake, pipe a straight line to the opposite edge, avoiding the googly eye sprinkles. If you’re using a basket weave tip, make sure the grooved edge is face down.
3. Continue piping lines that connect the edges, overlapping the lines until the surface of the cupcake is covered (aside from the googly eyes) and the piping looks like mummy cloths.

#halloweencupcakes #halloweenbaking #chocolatecupcakes #cupcakedecorating #cupcakes

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow