Edible Cookie Dough
This post may contain affiliate links. Read the full disclosure here.
This edible cookie dough recipe is just what you need when you have a craving for chocolate chip cookie dough! It’s egg free and the flour is heat treated so you can indulge without worry.

Who doesn’t love eating cookie dough? Especially chocolate chip cookie dough. It’s just so GOOD!
A few years ago I made cookie dough truffles. I make those often but I get tired of rolling the dough into balls. Today’s recipe skips that step so you can whip up a batch and enjoy it right away.
You can double or triple the recipe and keep it stored in the refrigerator for your late-night cravings. It actually tastes better after it’s had time to sit.
You may be wondering if it’s safe to eat raw cookie dough. This recipe is perfectly safe to consume. There are no eggs in the dough and the flour is heat-treated. You won’t have to worry about E. coli or Salmonella.
Try this cookie dough in no-churn ice cream for a phenomenal treat.
Why this edible cookie dough recipe works
- There are no raw eggs in this cookie dough so it’s completely safe to eat.
- The all-purpose flour is heat-treated! This alleviates any concerns with contaminated flour.
- You can consume it right away. You don’t need to refrigerate the dough before serving. Just whip up a batch and enjoy!

Edible Cookie Dough Ingredients
There are minimal ingredients and just enough to make a single serving. The ingredients can easily be doubled or tripled for a larger batch. Let’s see what they are:
- Butter: I like to use melted butter for this edible cookie dough because it makes the batter soft. This way you can eat it with a spoon.
- Sugar: A combination of white granulated sugar and light brown sugar taste the best.
- Vanilla extract: Because you can’t have chocolate chip cookies without vanilla.
- Flour: Heat treated flour is used so the dough is safer to eat.
- Salt: Just a pinch is added to balance the flavors.
- Chocolate chips: I switch between milk chocolate chips and semisweet chocolate chips. You can add as many or as little as you like!
How to make edible cookie dough
The process for making edible cookie dough is pretty much the same as if you were making regular cookie dough. The only difference is the flour is heat treated and the eggs are omitted.
The Dough – The dough comes together quickly and doesn’t need to be chilled before you serve it. Leftovers will need to be kept refrigerated, though.
Heat Treated Flour – There are a couple of ways to cook the flour.
- Spread the flour on a baking sheet that’s lined with a silicone mat or parchment paper. Toast it for 5 minutes in a 350°F oven.
- Place the flour in a bowl and microwave it on high for 1 minute.
Let the flour cool completely then run it through a sifter to remove any clumps that may have formed.
Step 1: Combine the butter and sugar
Use melted butter so the dough comes out soft. Whisk the melted butter with granulated white sugar and light brown sugar.
You can play around here and use any sugar you’d like. You can try all brown sugar, all white sugar. Or you can use coconut sugar or another form of sweetener.
Also if you are dairy-free, you can use coconut oil in place of butter. Just make sure it’s melted and not in solid form.

Step 2: Add the flour, salt, and vanilla
To be on the safe side, make sure you’ve heat treated the flour. The instructions for how to do this are listed and I’ll include them in the recipe card down below.
While it is rare for flour to be contaminated, it is possible. This is why we heat it. It’s better to err on the side of caution.
Once the heat treated flour has cooled, you can use it in the recipe.
Mix the salt and vanilla into the butter mixture until well combined. Then add the flour and stir it in with a rubber spatula until it’s fully incorporated.

Step 3: Add the chocolate chips
Add any type of chocolate chip your heart desires and fold them in using a rubber spatula.
You can get creative and add other mix-ins as well. Dried fruit, nuts, chopped candy pieces. Use whatever you like!

Tips for making edible cookie dough
- Properly measure the flour. This is important or the dough won’t be as soft. Lightly spoon it into the measuring cup then level it off with the back of a knife. Or use a scale to weigh the flour.
- When heat treating the flour, it can clump together. If your flour does this, simply run it through a sifter or fine-mesh sieve.
- Dress up your cookie dough any way you’d like. You don’t have to use chocolate chips. Use any mix-in you desire!
How long is edible cookie dough good for?
This cookie dough recipe will keep for up to 7 days stored in the refrigerator or up to 3 months stored in the freezer. Be sure to place it in an airtight container.

If you like this edible cookie dough recipe, try these baked cookies:
- White Chocolate Chip Cookies with Toasted Coconut
- Classic Chocolate Chip Cookies
- Chewy Chocolate Chip Cookies
- Chocolate Chip Salted Caramel Cookies
- Double Chocolate Chip Nutella Cookies
Edible Cookie Dough

Ingredients
- ½ cup (114 g) unsalted butter, melted
- ⅓ cup (67 g) granulated sugar
- ⅓ cup (73 g) light brown sugar
- 2 teaspoons vanilla extract
- ¼ teaspoon salt
- 1 cup (130 g) all-purpose flour
- ¾ cup (135 g) semisweet chocolate chips
Instructions
- In a medium bowl, whisk the butter and both sugars together until well combined.
- Whisk in the vanilla and salt.
- Add the flour and use a rubber spatula to fold it in until fully incorporated.
- Fold in the chocolate chips.
Notes
- Heat treat the flour before you begin. Spread the flour on a baking sheet that’s lined with a silicone mat or parchment paper. Toast it for 5 minutes in a 350°F oven. Or place the flour in a bowl and microwave it on high for 1 minute. Let the flour cool completely then run it through a sifter to remove any clumps that may have formed.
- You don’t have to use chocolate chips! Use any mix-in you like. Dried fruit, nuts, chopped candy pieces, sprinkles, etc. are a few other great options.
- The cookie dough will keep for up to 7 days stored in an airtight container in the refrigerator. Bring to room temperature before serving.
- The cookie dough will keep for up to 3 months stored the freezer. Thaw in the refrigerator overnight. Bring to room temperature before serving.
Nutrition
The nutrition information provided is for convenience and as a courtesy only. It is not guaranteed to be accurate because nutrition information can vary for a variety of reasons. For precise nutritional data use your preferred nutrition calculator and input the exact ingredients and brands you used in the recipe.
Hi there! I tried this & it turned out amazing!! Quick question tho… what is the purpose of heat treating the flour?
Raw flour can be contaminated with E. coli or Salmonella. So it’s best to heat treat it to ensure it’s safe to eat.
The recipe tastes great! The only tip I have is to add a dash of milk or heavy cream to make the dough stick together better!
Jen, Thank you for the recipe & replying! I didn’t realize that I had one bag of light brown sugar. My husband said “this cookie dough is amazing!” I had just mentioned this to someone. They wanted to know “if you can use Gluten – Free Flour, instead of the All – Purpose Flour?” Thanks!!
I haven’t tried it with gluten-free flour but imagine it would be okay. Since the dough isn’t baked, plain oat flour may be a great option.
Hi, Jen. Can you use dark brown sugar? I am about to make this. It looks so smooth. I have only tried one other recipe. It doesn’t use melted butter. Can’t wait to try this recipe! Thanks!
Dark brown sugar should be fine to use.
Thanks! Some recipes say that you shouldn’t use dark brown sugar. Thought I would ask to make sure. Enjoy your weekend!
Dark brown sugar does have more of a molasses flavor but it’s not going to ruin the recipe.
I didn’t heat treat the flour…is it still ok to eat?
I don’t recommend it.
Can you bake these considering they don’t include eggs?
No. This recipe isn’t meant for baking. You might want to try my classic or chewy chocolate chip cookies.
Worked amazingly, however I would use 3/4 cups of flour instead of 1 full cup as it was too crumbly and would not form a dough. If this happens I just added more melted butter.
Since I don’t have to bake it, is okay to use spreadable butter instead of the block one?
I still recommend using real butter. It’s going to taste the best.
I just made this and it’s amazing!
I just made this and it’s amazing!