This edible cookie dough recipe has the BEST flavor and texture, with options for every diet! Here’s how to make this ultimate treat.

Edible Cookie Dough

Calling all cookie dough lovers! We present…the ultimate edible cookie dough recipe. Yes, this tasty mixture has the best cookie dough flavor and texture. Even better, we’ve done all the hard work for you: we’ve tested options for different diets, how to heat treat flour, and found out what makes the absolute best flavor. This recipe came about after trying to recreate a mound of cookie dough we had for dessert at a restaurant several years back. Come along as we teach you the ins and outs of how to make edible cookie dough…our ultimate treat!

Cookie dough fans likely already know this. The difference between cookie dough and edible cookie dough is this: edible cookie dough has heat treated flour (to kill bacteria) and no eggs. This makes it safe to enjoy as dough instead of baked into cookies.

Edible cookie dough is a total treat! We like it best with flour and butter, but we’ve tried every variation and have options that work for all diets below. The key to working any version of this recipe into a healthy diet is to treat it as the treat that it is: keep serving sizes small and freeze leftovers for later! Ready to get started?

Edible cookie dough

Edible cookie dough is very easy to make. In fact, you don’t even need to whip out a stand mixer! We tested this recipe with a mixer and just a bowl and spoon, and our research found there’s no need for special equipment. Here are the basic steps:

  • Step 1: If you’re using all purpose flour, heat treat it (see the section below). If using almond or oat flour, skip this step.
  • Step 2: Soften the butter in a microwave, then mix it with brown sugar with a spoon. Brown sugar is key to the robust flavor: we tested with granulated sugar and it’s not nearly as delicious.
  • Step 3: Mix in the flour, vanilla, salt, milk and chocolate chips! Store refrigerated or frozen rolled into balls.

Why and how to heat treat flour

Edible cookie dough requires an if you’re using all purpose flour you’ll have to heat treat the flour. We know, it’s annoying to add this extra step of turning on your oven when you’re not even baking! But here’s why:

  • Flour is sold as a raw ingredient intended to be cooked, so there’s not a regulated process to remove bacteria in flour manufacturing.
  • To heat treat flour, spread it on a baking sheet and bake at 300 degrees Fahrenheit until the temperature reaches 165 degrees. This should take about 5 minutes.
  • Cool the flour completely before using. Do not attempt to use the hot flour in cookie dough! The texture of the dough will be off. Be patient (it’s worth it).
Edible cookie dough recipe

Other flour options: almond flour or oat flour!

Don’t want to heat treat your flour? No problem! You can use a few alternate flours and skip the heat treating step. Here are two options and the pros and cons of each:

  • Almond flour: Almond flour is gluten free and easy to find at most grocery stores. It makes a fluffy texture for gluten free cookie dough and doesn’t require heat treating. This is our preferred gluten free flour for edible cookie dough!
  • Oat flour: Oat flour is nut free and gluten free and also works here. Edible cookie dough with oat flour can have a stiffer texture, so we recommend starting with ¾ cup oat flour and adding more until it comes to the desired texture.

Small serving sizes are key

Most of the recipes on this website are healthy: but we always make room for the occasional treat in our lives. This edible cookie dough is a treat food for us: here’s how to integrate into a healthy diet:

  • The serving size is 1 tablespoon. That’s right! All you need is a few bites. Really!
  • This recipe makes 20 servings, so cut it in half if desired. If you’re worried about having lots around, make a half recipe!
  • Freeze rolled into balls. This way, you don’t see it every time you open the fridge! This dough freezes very well.
How to make edible cookie dough

A few tweaks to this edible cookie dough recipe and it becomes a vegan cookie dough or gluten free cookie dough! Here’s what to do:

  • Gluten free cookie dough: Use almond flour (preferred) or oat flour
  • Vegan cookie dough: Use coconut oil, almond milk or oat milk, and dairy-free chocolate chips. You also may want to add another pinch of salt to mimic the savory flavor of butter.

There’s one more variation on cookie dough…Chickpea Cookie Dough! This is an internet sensation that uses food processed chickpeas to stand in for some of the flour and sugar. Here’s what to know about this variety of cookie dough:

  • Does chickpea cookie dough taste good? Honestly, many recipes don’t. Which is why we developed our chickpea cookie dough recipe! But the edible cookie dough is the absolute best.
  • Is chickpea cookie dough healthy? It’s not a health food, because it has lots of sugar and chocolate. But our chickpea cookie dough recipe does have half the sugar, butter and flour than the standard recipe below. So it’s a less caloric version — and you’re also getting a bit of garbanzo beans.
  • What’s the best chickpea cookie dough recipe? We made a spin that’s healthy-ish but tastes better than the competitors. Go to Chickpea Cookie Dough.
Edible cookie dough recipe

Storage info: refrigerate or roll into balls and freeze

How long does edible cookie dough last? Here’s the storage info:

  • Refrigerator: You can keep it up to 1 week in the refrigerator.
  • Freezer: This is our preferred method! Roll it into balls and place them on a cookie sheet, then freeze until solid (about 30 minutes). Transfer to a container and they last about 2 to 3 months.

And that’s our dissertation: how to make edible cookie dough! Questions? Comments? Tell us in the comments below.

Vegetarian, vegan, plant-based, dairy-free and gluten-free.

clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

*Best* Edible Cookie Dough

  • Author: Sonja Overhiser
  • Prep Time: 5 minutes
  • Cook Time: 0 minutes
  • Total Time: 5 minutes
  • Yield: 20 servings or 1 ¼ cups 1x


This edible cookie dough recipe has the BEST flavor and texture, with options for every diet! Here’s how to make this ultimate treat. Or, try our healthier Chickpea Cookie Dough variation.


  • 1 cup white all-purpose flour, almond flour, or oat flour (see the notes below)*
  • ½ cup brown sugar (do not substitute granulated)
  • ½ cup softened unsalted butter (or coconut oil for vegan)
  • 1 teaspoon vanilla extract
  • ¼ teaspoon kosher salt
  • 2 to 4 tablespoons milk of choice
  • ⅓ cup dark chocolate chips


  1. Heat treat the all purpose flour (skip if using almond or oat flour): If using all purpose flour, heat treat it to prevent bacteria growth. Preheat the oven to 300 degrees Fahrenheit. Place the flour on a baking sheet and bake for 4 to 6 minutes until the temperature reaches 165 degrees Fahrenheit, checking every few minutes with a food thermometer. Cool completely before using (be patient: if the flour is warm the texture of the cookie dough will suffer).
  2. Mix the butter and sugar: Soften the butter in the microwave for about 10 seconds until just soft. Mash it with a fork with the brown sugar until fully incorporated. 
  3. Make the cookie dough: Mix in all the other ingredients, using as much milk as you’d like to bring it together into a thick or smoother texture. Eat immediately, or store refrigerated for 1 week or roll into balls and store frozen for 3 months. 


*The flavor and texture is best with all purpose flour (see above). For gluten-free, almond flour has the best texture and you don’t have to heat treat it. You can also use oat flour which is nut free and doesn’t need to be heat treated. Oat flour makes the texture of the dough a bit stiffer, so try adding about ¾ cup to 1 cup until you get the desired texture. 

  • Category: Dessert
  • Method: Stirred
  • Cuisine: American
  • Diet: Vegetarian

Keywords: Edible cookie dough

About the authors

Sonja & Alex

Meet Sonja and Alex Overhiser: Husband and wife. Expert home cooks. Authors of recipes you'll want to make again and again.

Leave a Comment

Recipe rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. sorry, I accidentally clicked on the stars and gave it a 2-star rating. I can’t figure out how to change it but it really is a great recipe.

  2. I’m VERY picky when it comes to cookie dough. I’ve tried all kinds and haven’t found anything that satisfies me like the kind with raw eggs in it. But this one! This one is really good! Thanks so much! I made it exactly as it is written and it is so good I could easily make myself sick on it. Lol. But I won’t because I know I have willpower in there somewhere. Maybe….