This 5-Minute Easy Edible Cookie Dough Is Safe to Eat Raw—and It's Delicious

Not up for baking? This easy edible cookie dough recipe is for you.

By
Leah Colins
A studio portrait of editor Leah Colins.
Senior Culinary Editor

Leah is the Senior Culinary Editor at Serious Eats, and was previously a recipe developer and editor with America's Test Kitchen for almost 9 years. She has developed recipes for and edited over 20 cookbooks ranging in topic from bread baking to plant-based eating to outdoor grilling and so much more. While there, she also developed recipes and articles for Cooks Illustrated Magazine, Cooks Country Magazine, and ATK's digital platform.Before her life as a recipe developer, she cooked in 5-star and Michelin-starred fine dining establishments from coast to coast such as The Herbfarm and Aubergine Restaurant at L'Auberge Carmel; she also treasures her time flipping burgers on flattops in her teenage years, and baking and boxing cookies and pies at a wonderful family-owned German bakery in her early professional life.

Learn about Serious Eats' Editorial Process
Published February 11, 2025
Overhead view of edible cookie dough

Serious Eats / Amanda Suarez

Why It Works

  • Microwaving the flour kills any harmful bacteria that might be present and eliminates the raw flour flavor.
  • Skipping eggs in the dough eliminates the risks of eating raw eggs.
  • Adding milk to the dough adds moisture for a smooth texture.

Who among us hasn’t been tempted to sneak a spoonful of homemade or store-bought chocolate chip cookie dough batter? As enticing as that bowl (or tube) of raw cookie dough may look, it's really not a good idea to dig in—both the raw eggs and uncooked flour in traditional cookie dough carry risks of foodborne illness, including Salmonella and listeria. Fortunately, there's a way to satiate a bout of childhood nostalgia for raw cookie dough—without succumbing to a bout of food poisoning. 

This recipe for a delicious—and safe—dough studded with chocolate chips comes together in five minutes from just a handful of ingredients you probably already have in your pantry. It makes enough for one or two servings, so you can share it with a friend or keep it all for yourself—I won’t judge.

How to Make Raw Cookie Dough Safe to Eat

Making raw cookie dough safe to eat requires more than just nixing the raw eggs: Raw flour is technically unsafe to eat, according to the CDC. Flour doesn't look like a raw food, but most all-purpose flour is raw. That means it hasn't been treated to kill pathogens that cause food poisoning, such as Escherichia coli (E. coli) and Salmonella. These harmful bacteria can contaminate the grain while it's still in the field or flour while it's being made. Steps like grinding grain and bleaching flour don't kill the harmful germs—and there is a chance that pathogens can end up in flour or baking mixes you buy at the store. 

These bacteria are killed once they reach 160℉, so baking or cooking with flour makes it safe to consume. Fortunately it's easy to make unbaked flour safe, and it takes less than a minute: Briefly zap the flour on a heat-saft plate in the microwave to ensure the flour reaches at least 160℉. This brief cooking is sufficient to kill any harmful bacteria that might be present in the flour. The short time in the microwave also cooks off the raw flour flavor, resulting in a more deeply flavored, much better tasting dough.

Look inside edible cookie dough ball

Serious Eats / Amanda Suarez

The Best Substitute for the Raw Egg

One of the key ingredients in standard chocolate chip cookies is egg. While sugar and flour are the stars in most traditional cookie dough recipes, eggs are the workhorse— they show up to get the job done by providing plenty of water to hydrate the dough, lecithin (a powerful emulsifier) to bind the batter, fat to enrich the dough, and protein to ensure the cookies retain their structure once baked.

So when omitting eggs from a raw batter, ingredient adjustments are needed to ensure the batter is still as rich and moist as a cookie dough that’s made with eggs. The first adjustment is scaling up the amount of butter in the recipe to make up for the fat lost from the missing egg yolk. This cookie dough has almost equal parts by weight of flour to butter (32g to 28g), which is a much higher percentage of butter than most traditional cookie recipes. This guarantees you won’t miss the richness from eggs.

The second recipe adjustment is adding milk to the batter. Milk is not a standard chocolate chip cookie ingredient, but a couple of tablespoons of milk in this recipe makes up for moisture lost from the missing egg. This ensures that the flour in the dough is well hydrated and that the dough doesn’t have a sandy, dry texture. I add the milk to the dough after the sugar is whisked and fully dissolved in the warm butter. 

Customize the Dough However You Like

The main recipe below is for a basic chocolate chip cookie dough. I use brown sugar instead of granulated sugar for a richer, deeper toffee-like flavor, and a scant amount of salt livens the flavor of the batter.  But view this recipe as a starting point and be as creative as you choose—you could add a few tablespoons of chopped nuts, crushed salty pretzels, or your favorite sugary cereal in addition to or in place of the chocolate chips, just to list a few options. I’ve also provided three fun flavor variations below the recipe: a funfetti cookie dough, a double chocolate cookie dough, and a peanut butter cookie dough, which are all equally good.

Drape a blanket over my shoulders, place a messy bun on top of my head, and put a spoonful of any one of these raw cookie doughs in my hand, and I’m in my happy place.

Recipe Details

This 5-Minute Easy Edible Cookie Dough Is Safe to Eat Raw—and It's Delicious

Cook 5 mins
Chilling Time 10 mins
Total 15 mins
Serves 1 to 2
Cook Mode (Keep screen awake)

Ingredients

  • 1/4 cup all-purpose flour (1.125 ounces; 32g)

  • 2 tablespoons (28g) unsalted butter, melted

  • 2 tablespoons packed brown sugar

  • 1/8 teaspoon vanilla extract

  • 1/8 teaspoon Diamond Crystal kosher salt; for table salt use half by volume

  • 2 tablespoons (30ml) whole milk

  • 2 tablespoons mini or regular chocolate chips, optional

Directions

  1. On a heat-safe plate, place flour in a flat even layer and microwave for 1 minute on high; set aside to cool, 3 to 5 minutes.

  2. In a medium bowl, whisk melted butter, sugar, vanilla, and salt until combined and sugar is dissolved, then whisk in milk. Using a rubber spatula or back of a soup spoon, stir in the cooled flour until well combined. Stir in the chocolate chips, if using. Cover with a lid or plastic wrap and refrigerate until firm, 10 minutes or up to 1 hour.

    Four image collage of mixing edible cookie dough together

    Serious Eats / Amanda Suarez

  3. Roll into 6 dough balls and serve. Or throw a blanket over your shoulder, grab a spoon, and eat it all right out of the container, because you deserve it!

    Two image collage of forming edible cookie dough balls

    Serious Eats / Amanda Suarez

Variations

Funfetti Cookie Dough: Swap white chocolate chips for the standard chocolate chips and add 1 tablespoon rainbow sprinkles.

Double Chocolate Cookie Dough: Omit chocolate chips from recipe. Add 1 additional tablespoon milk. Stir in 1 tablespoon cocoa powder and 2 crushed Oreos (or your preferred chocolate sandwich cookie) with the flour in step 2.

Peanut Butter Cookie Dough: Whisk in 1 1/2 tablespoons creamy or chunky peanut butter with the melted butter in step 2.

Special Equipment

Heat-safe plate, microwave

Make-Ahead and Storage

While leftover dough can be stored in the refrigerator in an airtight container for up to 1 day, it's really best eaten within the first hour it’s made, as the dough will begin to dry out slightly as it sits in the refrigerator.

Nutrition Facts (per serving)
363Calories
27gFat
31gCarbs
3gProtein
×
Nutrition Facts
Servings: 1 to 2
Amount per serving
Calories363
% Daily Value*
Total Fat 27g34%
Saturated Fat 16g82%
Cholesterol 62mg21%
Sodium 90mg4%
Total Carbohydrate 31g11%
Dietary Fiber 1g4%
Total Sugars 18g
Protein 3g
Vitamin C 0mg0%
Calcium 39mg3%
Iron 1mg7%
Potassium 99mg2%
*The % Daily Value (DV) tells you how much a nutrient in a food serving contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.
(Nutrition information is calculated using an ingredient database and should be considered an estimate.)

More Serious Eats Recipes