Cookie Dough

title 1
Cookie Dough
⏱️ cook time 40 minutes
🍽️ servings 6
⚡ Difficulty easy

intro

Creamy, egg-free, chocolate chip-studded edible cookie dough, treated to be safe to eat raw. This sweet, nostalgic no-bake treat needs no oven time to enjoy.

Ingredients

All-purpose flour 220g (1 ¾ cups)
Unsalted butter, softened to room temperature 113g (½ cup / 1 stick)
Packed light brown sugar 150g (¾ cup)
Granulated white sugar 50g (¼ cup)
Pure vanilla extract 10ml (2 teaspoons)
Fine table salt 1.25g (¼ teaspoon)
Whole milk 30ml (2 tablespoons)
Semi-sweet chocolate chips 170g (1 cup)

Steps

1

Heat-treat raw flour

Preheat your oven to 175°C (350°F). Spread 220g all-purpose flour in a thin, even layer on a parchment-lined rimmed baking sheet. Bake for 7 minutes, then remove from the oven and set aside to cool completely to room temperature (about 15 minutes) to eliminate harmful bacteria present in raw flour.

Step 1
step1:Heat-treat raw flour
2

Cream butter and sugars

In a large mixing bowl, combine 113g room-temperature softened unsalted butter, 150g packed light brown sugar, and 50g granulated white sugar. Use an electric hand mixer on medium speed to beat the mixture for 2 full minutes until it turns light, fluffy, and pale caramel in color, with no visible butter lumps.

Step 2
step2:Cream butter and sugars
3

Mix wet base ingredients

Add 10ml (2 teaspoons) pure vanilla extract and 1.25g (¼ teaspoon) fine table salt to the creamed butter mixture. Beat on low speed for 30 seconds to combine, then add 30ml (2 tablespoons) whole milk one tablespoon at a time, mixing for 20 seconds on low after each addition until the base is smooth and spreadable.

Step 3
step3:Mix wet base ingredients
4

Fold in cooled flour

Sift the fully cooled heat-treated flour into the wet mixture in 3 equal portions, using a flexible silicone spatula to fold gently after each addition. Stop folding as soon as no dry white flour streaks remain, about 45 seconds total mixing time, to avoid overworking the dough into a tough texture.

Step 4
step4:Fold in cooled flour
5

Stir in chocolate chips

Add 170g (1 cup) semi-sweet chocolate chips to the dough, folding gently with the spatula for 30 seconds until the chips are evenly distributed throughout, with no dense clumps of chips gathered at the bottom of the bowl.

Step 5
step5:Stir in chocolate chips
6

Chill and serve dough

Cover the bowl tightly with plastic wrap and refrigerate the dough for 10 minutes to firm it to a classic scoopable texture. Serve in ½-cup portions in small bowls, or use as an ice cream topping; no baking is required to enjoy this treat.

Step 6
step6:Chill and serve dough

Tips

1.Never skip heat-treating flour or add raw eggs to edible cookie dough, as both ingredients can carry harmful foodborne bacteria that cause illness, even if they look fresh.
2.If your dough feels too thick and crumbly after folding in flour, stir in 5ml (1 teaspoon) of extra whole milk at a time until it reaches a soft, scoopable consistency; add 1 extra tablespoon of sifted heat-treated flour if it is too sticky.
3.Customize your dough by swapping ⅓ of the chocolate chips for add-ins like chopped toasted walnuts, rainbow sprinkles, mini candy-coated chocolates, or crushed pretzel bits for extra crunch and flavor.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

Cookie Dough:Frequently Asked Questions

1.Why is regular raw cookie dough unsafe to eat? ▾
Regular raw cookie dough carries two key food safety risks: raw eggs that may harbor Salmonella, and uncooked all-purpose flour that can be contaminated with E. coli from field processing. This recipe skips eggs entirely and includes a simple heat treatment for flour to eliminate those risks, so you can enjoy it raw with zero worry.
2.How do I safely heat-treat the all-purpose flour for this recipe? ▾
The easiest, most reliable method is to spread flour in an even ¼-inch layer on a lined baking sheet, bake it at 350°F for 5 to 7 minutes, then let it cool completely before using. It needs to reach 165°F internally to kill potential pathogens, and cooling it fully prevents it from melting your butter when you mix the dough.
3.Can I skip heat-treating flour if I use a different type of flour? ▾
Most raw grain-based flours carry the same E. coli risk, including whole wheat, white whole wheat, and spelt, so you’ll still need to heat-treat those if you substitute. The only exceptions are commercially heat-treated flour sold specifically for raw use, or heat-pasteurized oat flour, which is processed to be safe without extra baking.
4.My dough turned out crumbly and dry—what went wrong? ▾
Dry, crumbly dough almost always comes down to two culprits: you used butter that wasn’t fully softened to room temperature, or you mixed in flour that was still warm from heat-treating, which melted small bits of butter and threw off the ratio. Fix it by kneading in 1 teaspoon of whole milk at a time until it’s smooth and scoopable.
5.Can I use salted butter instead of unsalted butter here? ▾
Absolutely! Salted butter works perfectly as a swap, just cut any added fine salt you planned to mix in by ¼ teaspoon per stick of butter you use. This keeps the dough from tasting overly salty, since salted butter typically has around ¼ teaspoon of added salt per stick to extend shelf life and boost flavor.
6.How long does this edible cookie dough stay fresh in the fridge? ▾
Stored in an airtight container in the refrigerator, this dough will stay fresh and creamy for 5 to 7 days. Let it sit out at room temperature for 10 to 15 minutes before serving if it gets too firm to scoop straight from the fridge, as the butter will harden when chilled for long periods.
7.Can I freeze this edible cookie dough for later? ▾
Yes, it freezes beautifully! Portion it into 1-tablespoon scoops, set them on a baking sheet to freeze solid, then transfer to a labeled zip-top freezer bag for up to 3 months. You can eat scoops straight from the freezer for a fudgy, truffle-like treat, or thaw them for 10 minutes for that classic soft dough texture.
8.Do I really need both light brown sugar and white granulated sugar? ▾
Using both sugars gives you the best classic cookie dough flavor and texture: light brown sugar adds warm, caramelized, nostalgic notes and keeps the dough extra moist, while granulated sugar adds clean sweetness and prevents the dough from being too dense. You can use all brown sugar for a chewier result if you don’t have white sugar on hand.
9.What kind of chocolate works best for this recipe? ▾
Semi-sweet chocolate chips are the classic, nostalgic pick, but you can use any chocolate you prefer: dark chocolate chunks for a richer, less sweet bite, milk chocolate chips for extra creaminess, or mini white chocolate chips for a sweeter twist. Chop a favorite chocolate bar instead of pre-made chips for indulgent, uneven melty pockets.
10.Can I make this recipe vegan or dairy-free? ▾
Absolutely! Swap the unsalted butter for your favorite stick-style vegan butter (make sure it’s softened to room temp, just like dairy butter) and use dairy-free chocolate chips. All the other core ingredients—heat-treated flour, both sugars, and vanilla—are naturally vegan, so no other adjustments are needed for a great result.
11.Why does my heat-treated flour have clumps after baking? ▾
Clumping is totally normal when you heat-treat flour, because the small amount of moisture in the flour cooks and sticks particles together as it bakes. Once the flour is fully cooled, just sift it through a fine-mesh sieve or break up clumps with a whisk before mixing, so you don’t end up with dry flour lumps in your finished dough.
12.Can I bake this dough into regular cookies if I want? ▾
You can, but it won’t bake exactly like traditional cookie dough! Since there are no eggs or leavening (like baking soda or baking powder) in the recipe, the dough won’t spread or rise the way regular cookie dough does, and will turn into dense, firm bites rather than chewy cookies. It’s truly designed to be enjoyed raw for the best experience.
13.What mix-ins work well besides chocolate chips? ▾
The base dough is super versatile! Try stirring in chopped walnuts or pecans for crunch, rainbow sprinkles for a fun birthday-style twist, crushed pretzels for a sweet-salty kick, mini candy-coated chocolates, a swirl of peanut butter, or crushed graham crackers for a s’mores-inspired version. Stick to ½ cup total mix-ins per batch so the dough stays cohesive.
14.Is this dough safe for kids, pregnant people, or immunocompromised folks? ▾
Yes, as long as you properly heat-treat your flour to 165°F and use fresh, unexpired ingredients, this dough is completely safe for all those groups. Unlike traditional raw dough, it has no raw egg and no uncooked grain carrying foodborne pathogens, so it carries none of the raw dough safety risks vulnerable groups are warned to avoid.

Comments (16)

2 days ago

OMG this is such a game changer! I’ve been scared to eat raw cookie dough my whole life because of the salmonella warnings, and this tastes EXACTLY like the real stuff. My kids devoured half the batch after school yesterday, I’m already making a second one for our neighborhood potluck this weekend. SO good.

30 minutes ago

Wait, do I really need to heat treat the flour? I’m lazy and want to skip that step if I can, does anyone notice a difference?

5 minutes ago

Great question! Heat treating the flour is what kills potentially harmful bacteria in raw flour, which is key to making this dough 100% safe to eat raw. It only takes 1-2 minutes in the microwave or 5 minutes in the oven, super quick! I don’t recommend skipping that step for safety.

1 week ago

Made this for my movie night with the girls last night and it was a HIT! We added extra mini chocolate chips and a sprinkle of sea salt on top, *chef’s kiss*. Way better than that store bought edible dough that tastes like weird chemicals.

5 days ago

The sea salt addition is genius! I’m definitely doing that next time I make this, I bet it cuts the sweetness perfectly.

3 days ago

Love that sea salt hack! I’ve been adding flaky Maldon salt to my batches lately too, it elevates the whole thing so much. So glad you and your friends enjoyed it!

yesterday

Super easy recipe even for someone who can barely bake like me! My 7 year old helped me stir everything together and we ate it while we watched our Friday night movie. Only thing is I accidentally used salted butter instead of unsalted, it was a tiny bit salty but still tasty.

2 hours ago

So glad you and your kiddo had fun making this! If you use salted butter next time, just cut the added salt in half and it’ll turn out perfect. Love that this is a kid-friendly recipe for little helpers!

2 weeks ago

I portion this out into little 2 oz containers for my weekly meal prep sweet treat! It stays good in the fridge for a whole week, which is perfect for when I get that 3pm sugar craving at work. No weird processed ingredients, 10/10.

3 days ago

Wait, can I make this with gluten free all purpose flour? I have Celiac and have been missing edible cookie dough so bad!

2 days ago

I made this with my go-to GF 1:1 flour last week and it tasted exactly the same! Just make sure you heat treat the GF flour the same way you would regular flour, it still can have bacteria.

yesterday

Absolutely! A 1:1 gluten free all purpose flour works perfectly here, just don’t skip the heat treating step regardless of what flour you use. So glad you asked, this works for so many dietary needs!

5 days ago

Brought this to our college football tailgate last weekend and people were begging for the recipe! I mixed in some broken pretzel pieces for a salty crunch and it was chef’s kiss. So easy to make ahead and toss in a cooler too.

3 days ago

The pretzel addition sounds incredible! I’m totally stealing that for my next tailgate. So happy this was a hit with your crew!

2 hours ago

I was skeptical because so many edible cookie dough recipes have that weird raw flour aftertaste, but this one doesn’t at all! Tastes exactly like the dough I used to sneak from the bowl when my mom baked cookies as a kid, minus the food poisoning risk. 10/10 will make again.

1 week ago

Has anyone tried making this vegan? I’m thinking swap the butter for vegan butter and use dairy free chocolate chips, would that work?

5 days ago

I did exactly that last month! Used my favorite vegan stick butter and dairy free semi sweet chips, it was perfect. Just let the vegan butter soften to room temp first so it creams right with the sugar.

3 days ago

That swap works perfectly! I tested a vegan version a few months ago with vegan butter and dairy free chips, and it’s just as delicious as the original. Thanks for sharing your experience!

5 minutes ago

How long can I keep this in the fridge? I made a huge batch and don’t want it to go bad before I finish it lol.

just now

Great question! This will stay fresh in an airtight container in the fridge for up to 1 week, or you can freeze it for up to 3 months for longer storage. Perfect for making big batches ahead!

3 days ago

Made this for my office potluck yesterday and every last bite was gone before I even got a second helping! People kept asking if I bought it from that fancy cookie dough shop downtown, little do they know it took me 40 minutes total to make at home. Total win.

2 weeks ago

Is it crazy that I used three different kinds of chocolate chips in this? Milk chocolate, semi sweet, and dark chocolate chunks, and it was life changing. No regrets whatsoever.

1 week ago

That’s not crazy at all, that’s genius! I did the same thing last time I made it, plus a handful of mini white chocolate chips too. More chocolate = better, duh.

5 days ago

There is no such thing as too much chocolate in my book! That mix of chocolate flavors sounds absolutely dreamy, I’m trying that on my next batch for sure.

yesterday

Made this for my husband as a little date night treat and he said it’s better than the actual baked cookies I make! Rude, but also fair, this stuff is addictive. I might have eaten half the batch while he was in the shower oops.

30 minutes ago

Haha, that’s too funny! I won’t tell if you don’t about sneaking that extra dough. So glad you two enjoyed it for date night, that’s such a fun sweet treat to share!

2 days ago

Perfect dorm room recipe! I don’t even have an oven, I just heat treated the flour in my dorm microwave, mixed everything up in a big bowl, and had amazing cookie dough in no time. Way cheaper than buying the pre-made stuff from the campus convenience store too.

30 minutes ago

My super picky 8 year old who turns his nose up at literally everything ate three servings of this after school today! I added a little extra vanilla because he loves vanilla, and he said it’s his new favorite snack. Win for mom!

5 minutes ago

That’s the biggest win of all! Getting a stamp of approval from a picky kid is the best testimonial a recipe can get. So happy this worked for your family!

2 hours ago

Wait, my dough came out super crumbly? Did I do something wrong? I followed the measurements exactly I think, but it’s not sticking together like the pictures show.

30 minutes ago

Did you soften your butter all the way? I made that mistake my first time, I used cold butter instead of room temp and it was super crumbly. I popped it in the microwave for 5 seconds to warm it up a little and mixed again, and it came together perfectly!

5 minutes ago

Oh no, sorry to hear it came out crumbly! 9 times out of 10 that happens if the butter is too cold, like the commenter above said. If it’s still crumbly after mixing, try adding 1 teaspoon of milk at a time until it reaches that soft, doughy consistency you want. Hope that helps for next time!