Some people bake cookies for the cookies. I bake them for the dough. I’ve been making this Edible Cookie Dough recipe for years, tweaking it until it was exactly right, because my boys deserved cookie dough they could eat without me hovering nervously. After 50-plus years in the kitchen, this is the version I landed on, and I haven’t changed it since.
⭐️⭐️⭐️⭐️⭐️ Caitlin raved, “Cold weather + soccer practice cancelled (yay!) = opportunity to make this yummy treat. I doubled the recipe and used half oat flour because we love the nuttier flavor. Hard to not eat this by the spoonful directly out of the mixer!!”

The Cookie Dough Secret Most People Get Wrong
When my boys were little, they didn’t care so much about the cookies. They cared about the dough. Every time I’d mix up a batch, they’d hover around the bowl waiting for that scoop, and when their friends were over too, I’d hold my breath a little. So I figured I should just make them something I could hand over without a second thought. I’ve been sneaking cookie dough for 50-plus years (thanks for that habit, Mom), and this version is the one I keep coming back to.

Here’s what most people get wrong: they think it’s the eggs you have to worry about. And yes, raw eggs can be a concern, but with today’s pasteurization standards, they’re rarely the actual culprit. The real troublemaker is the flour. Raw flour can harbor the same harmful bacteria as raw eggs, and most people have no idea. Heat-treating it first, whether in the oven or microwave, is what actually makes this dough safe to eat straight from the bowl. Combine that with skipping the eggs entirely, and you’ve got a safe match made in cookie dough heaven.

Why You’ll Love Homemade Edible Cookie Dough
Only 6 simple ingredients, most are probably in your pantry already!
- This edible cookie dough is made for treats or to keep in a jar in the fridge for cookie dough emergencies. What? You do not have cookie dough emergencies!? I sure do. Sometimes, I really make a batch of cookies just so I can enjoy a little bit of cookie dough.
- Chocolate Chip Cookies are an all-American cookie, but the dough, yes we have taken Chocolate Chip Cookie Dough to new levels! We eat it plain, put it in our ice cream, shakes, truffles, cake pops and more. If you haven’t tried it, now is the time to whip up a batch!

Ingredients for Homemade Edible Cookie Dough Recipe
- Butter | I prefer salted butter in this recipe, but unsalted works fine too. Room temperature is best, but not too soft.
- Brown Sugar | I prefer packed light brown sugar here; dark brown sugar works as well and gives a slightly deeper, more molasses-forward flavor.
- Granulated Sugar | I like all-natural cane sugar, but regular white sugar works just as well.
- Salt | Adjust this based on whether you’re using salted or unsalted butter. Both measurements are in the recipe card below.
- All-Purpose Flour | Your flour needs to be heat-treated before using. See the oven and microwave methods below.
- Milk | I use whole milk here and recommend it for the richest, creamiest texture. For a dairy-free option, full-fat coconut milk is my top swap; it keeps the dough creamy without thinning it out. Other plant-based milks will work in a pinch but may give you a slightly different texture and lighter flavor.
- Vanilla Extract | A quality vanilla makes all the difference. I love Rodelle Vanilla! Or use homemade vanilla extract if you have some! Or vanilla bean paste works great too.
- Add-Ins | Mini chocolate chips are usually my go-to, but there are so many possibilities. See the variations section below.
Get the full recipe in the recipe card below.

How to Heat Treat Your Flour
Raw flour can carry harmful bacteria, so heat-treating it is a must before making edible cookie dough. You have two easy options:
Oven method: Spread several cups of all-purpose flour in an even layer on a baking sheet (line it with parchment for easier cleanup) and bake at 350°F for 5 to 7 minutes, until it reaches an internal temperature of 165°F on an instant-read thermometer. Let it cool completely before using. Store any extra in an airtight container.
Microwave method: Spread your flour in a microwave-safe bowl and heat in 30-second intervals, stirring between each, until it reaches 165°F on an instant-read thermometer. This usually takes 1 to 2 minutes total depending on your microwave. Let it cool completely before mixing into the dough.
Pro tip: I keep all my flours in the fridge or freezer, which keeps them fresher longer and less prone to bacteria. If you do the same, you’re already a step ahead.

Best Edible Cookie Dough Recipe Step By Step Instructions
Step 1: Cream Butter & Sugar
Make sure your flour is heat-treated and fully cooled before you start. In a large mixing bowl using a hand mixer or stand mixer, beat the softened butter, brown sugar, granulated sugar, and salt together on medium-high until light and fluffy, about 3 to 4 minutes. Scrape down the sides of the bowl once or twice.
In a small measuring cup or bowl, stir your vanilla into the milk.


Step 2: Finish Cookie Dough
With the mixer on low, alternate adding the flour and the vanilla milk mixture, mixing just until combined after each addition. Don’t overmix; once it comes together, stop.
Fold in your mix-ins of choice. Or keep the mix-ins out and set out little bowls for people to roll their dough bites in desired toppings.
Taste, adjust for sweetness or salt, and try to stop eating it straight from the bowl. No promises.




Recipe for Edible Cookie Dough Variations
The base recipe is just the starting point. Here are some of our favorite mix-in combinations:
- Mini chocolate chips (the classic)
- Milk chocolate chips
- Dark chocolate chunks
- White chocolate chips
- Butterscotch chips
- Mini M&Ms
- Sprinkles (especially fun for holidays or parties)
- Reese’s Pieces or peanut butter chips
- Mini Rolos or mini Reese’s Peanut Butter Cups
- A swirl of peanut butter or Nutella stirred in before the mix-ins
- Salted caramel sauce drizzled in, finished with a pinch of flaky sea salt
- Crushed, chopped nuts, your favorite ones!
- Mix and match to your heart’s content. The dough is forgiving and plays well with just about anything.

Gluten-Free Edible Cookie Dough
Good news for my gluten-free friends, this one adapts beautifully. Replace half the all-purpose flour with a good gluten-free all-purpose flour blend and the other half with oat flour. Make sure to heat-treat both flours before using. The oat flour adds a slightly nutty flavor that honestly makes it even better, and reader Caitlin figured that out before I did!
One note: make sure your oat flour is certified gluten-free if you are baking for someone with celiac disease or a serious gluten sensitivity, as oats can be cross-contaminated during processing.
Dairy-Free Edible Cookie Dough
This one is easy to make dairy-free without sacrificing the creamy texture. Two simple swaps:
- Replace the whole milk with full-fat coconut milk. It’s the closest thing to whole milk in terms of richness and fat content, and it keeps the dough from getting watery or thin. Other plant-based milks can work in a pinch but may give you a looser, less creamy result.
- Replace the butter with a good quality plant-based butter. I recommend Earth Balance or Miyoko’s; both cream up well and give you that rich, buttery flavor without the dairy.
How Can I Serve Homemade Edible Cookie Dough?
Serving ideas:
- Use a small or medium cookie scoop to portion into bite-size balls
- Scoop into small cups, roll the tops in seasonal sprinkles, add a tiny spoon, and serve at parties, I would often pick up our boys from soccer practice with these little cups of goodness!
- Scoop a small amount onto an ice cream cone
- Roll into balls and dip in melted chocolate for a simple cookie dough truffle
- Toss small scooped balls into homemade ice cream or swirl into a softened store-bought pint, or take it one step further and make these Cookie Dough Ice Cream Sandwiches.
- Press into the bottom of a jar and layer with whipped cream and toppings for a cookie dough parfait

Storage and Make-Ahead Tips
This dough is great to make ahead. Store it in a sealed airtight container in the fridge for up to 5 days. It will firm up as it chills; just let it sit at room temperature for 10 to 20 minutes before serving to bring back that soft, scoopable texture.
To freeze, scoop the dough into individual portions on a parchment-lined sheet pan and flash freeze until solid, about 1 hour. Transfer to a freezer-safe zip bag or container and freeze for up to 3 months. Pull out as many as you need and let them thaw at room temperature for 15 to 20 minutes. Great for popping in lunch boxes!

Best Edible Cookie Dough Recipe FAQs
Technically yes, but I don’t recommend it. The resulting cookie will be dense, flat, and crispy because this dough has no eggs and no leavening agents. It’s designed for eating, not baking. If you want a cookie, make cookies!
This usually happens when the butter was too warm when you mixed it, or when there’s not enough flour to absorb the fat. No need to toss it though. Chill the dough in the fridge for 20 to 30 minutes, then mix in a small amount of additional heat-treated flour until it comes together.
Two likely culprits: the ingredient ratio is off (too much flour, not enough butter or milk), or the dough was overmixed. Overmixing develops the gluten in the flour, which makes the dough stiff and dry. Add a teaspoon of milk at a time and gently stir until it loosens up.
This is totally normal. The butter solidifies as the dough chills, so it will be quite firm straight from the fridge. Just let it sit at room temperature for 10 to 20 minutes and it will come right back to that soft, scoopable consistency. If it’s hard, dry, and crumbly after storing, that’s usually a sealing issue; always store in an airtight container to prevent the circulating fridge air from drying it out.
If the dough contains raw eggs or flour that hasn’t been heat-treated, it’s not safe to eat without baking. Raw flour and raw eggs can both harbor harmful bacteria, including Salmonella and E. coli. This is especially true for farm-fresh or backyard eggs, which unlike commercial eggs are not required to go through the same pasteurization process. That’s exactly why this recipe works the way it does: no eggs, heat-treated flour, safe from the first spoonful.
Yes! Heat-treat the flour first, then either remove the eggs and replace the moisture with a splash of milk, or use carton pasteurized eggs. Both methods work.
Try these other amazing cookie-inspired recipes!
Related No-Bake Recipes You Might Like
This recipe was originally adapted from Cooking Classy and has been updated and expanded over the years.
Like this recipe?
Don’t forget to give it a ⭐️⭐️⭐️⭐️⭐️ star rating and leave a comment below the recipe!
This recipe was originally published in 2018 and has been updated in 2026 with new photos, expanded tips, and more detailed information to make it even better.

Video
Ingredients
- ½ cup salted butter room temperature, if using unsalted, use higher amount of salt
- ½ cup light brown sugar packed
- 3 tablespoons granulated sugar I use all natural cane sugar
- ⅛ – ¼ teaspoon kosher salt If using unsalted butter, use ¼ teaspoon
- 1 cup unbleached all-purpose flour heat treated in oven or microwave (see instructions)
- 1 ½ tablespoons whole milk room temperature, more if needed
- 1 teaspoon vanilla extract or vanilla bean paste
- ½ cup mini chocolate chips semi-sweet or milk chocolate
Instructions
Heat Treat Flour (use about 1 ½ cups to account for any burnt flour)
- Oven: Evenly spread all-purpose flour onto a half sheet pan (for easier clean up, line with parchment paper) and bake in 300°F oven, stirring every 2-3 minutes for a total of about 4-6 minutes, temperature should be 165°F.1 cup unbleached all-purpose flour
- Microwave: Add flour to a microwave-safe bowl and microwave in 30-second bursts, Stirring between heatings, this helps to avoid clumping or burning. Check the temperature after each heating, it's done when it reaches 165°F.
- Discard any browned or "burned" edges. Cool completely and store in airtight container.
For the Cookie Dough
- In a mixing bowl, using either a hand held mixer or stand mixer, add softened butter, brown sugar, granulated sugar and salt; with mixer on medium-high whip until light and fluffy, about 3-4 minutes. Scrape down sides of bowl once or twice.½ cup salted butter, ½ cup light brown sugar, 3 tablespoons granulated sugar, ⅛ – ¼ teaspoon kosher salt
- Add vanilla to milk. Scoop cooled flour into measuring cup, discarding any clumps or burnt flour. Alternate flour and milk, mixing only until combined.
- Pour in chocolate chips (see note) and mix in by hand½ cup mini chocolate chips
- Using a small or medium scoop, scoop into cookie sized bites or keep in a jar for scooping.

















Lynn Spencer
ARE YOU KIDDING ME? Since raw cookie dough is the best part of baking cookies, now I can eat it without having to dodge salmonella! SCORE!
LOL! SCORE is right my friend!
Caitlin Quattromani
Cold weather + soccer practice canceled (yay!) = opportunity to make this yummy treat. I doubled the recipe and used half oat flour because we love the nuttier flavor. Hard to not eat this by the spoonful directly out of the mixer!!
I love this Caitlin!! I love oat flour too. I’ll have to try it. And yay for the chill and cancel.
Eliza from Happy Simple Living
Yum! What a sweet treat! I appreciate the tips to make safe, edible cookie dough. The teens in my life are going to love this! (Oh, who am I kidding? I’ll probably eat most of it!) Thank you, Kathleen!
Thank you Eliza, it’s so very yummy!!!
Eliza from Happy Simple Living
Yum! What a sweet treat! I appreciate the tips to make safe, edible cookie dough. The teens in my life are going to love this! (Oh, who am I kidding? I’ll probably eat most of it!) Thank you, Kathleen!