FOR THE LOVE OF HOMEMADE ✦ Not sure what to bake? Take the 5-question quiz
Get started
Baking techniques

Can You Eat Raw Cookie Dough? What the FDA Says

The FDA says never eat raw dough or batter: raw flour can carry E. coli and raw eggs can carry Salmonella. Why, what about heat-treating flour, and safer swaps.

AI illustration: Can You Eat Raw Cookie Dough? What the FDA Says
AI illustration of the topic. Real results can look different.

No. The U.S. Food and Drug Administration says never to eat or taste raw flour, dough or batter, and that includes cookie dough. Flour is a raw ingredient that can carry harmful bacteria such as Salmonella and pathogenic E. coli, and most cookie doughs also contain raw eggs. The FDA says cooking is the only way to be sure foods made with flour and raw eggs are safe.

That can feel like a loss when the dough is the best part, but the soft, fudgy texture you love can come from the oven. Pull cookies when the edges are golden and the centers still look soft, and brown sugar and a chilled dough keep them chewy. This guide covers why raw dough is risky, why heat-treating flour at home is not recommended, and how to keep a batch ready to bake whenever the craving hits.

Key points

  • The FDA says never eat or taste raw flour, dough or batter, including cookie dough.
  • Raw flour can carry Salmonella and pathogenic E. coli; raw eggs can carry harmful bacteria too.
  • Egg-free dough is still raw flour, so it is not safe to eat raw either.
  • The FDA advises against heat-treating flour at home, because home methods may not kill all bacteria.
  • Freeze scooped dough and bake a few cookies at a time when you want something warm.

What about egg-free or vegan dough?

Leaving out the eggs removes one risk, not both. Egg-free and vegan cookie doughs still contain raw flour, and the FDA's advice covers any raw flour, dough or batter. Treat them exactly like regular dough: bake before eating, and keep little fingers out of the bowl.

Can you heat-treat flour at home?

Recipes online often suggest microwaving or oven-toasting flour to make edible dough. The FDA says not to try to heat-treat flour at home, because home treatments may not kill all bacteria and do not make flour safe to eat raw.

Products sold as edible cookie dough are a different thing from homemade bake-only dough: they are made to be eaten as sold. Follow their label, and do not use regular cookie dough, raw cake mix or baking mixes to make ready-to-eat treats such as ice cream mix-ins or milkshakes, which the FDA also warns against.

Safe habits while you bake

Holiday baking often means a crowded kitchen and many helpers. A few habits from the FDA keep raw dough where it belongs.

  • Do not taste the dough or lick the beaters or spatula
  • Do not let children eat raw dough or use it as play clay for crafts
  • Keep raw dough away from foods that are ready to eat
  • Wash bowls, utensils, baking pans and countertops with warm, soapy water
  • Wash hands after handling flour, raw dough or eggs

Get the dough texture from the oven

If you love the dense, soft middle of raw dough, aim for a chewy cookie instead. Brown sugar holds moisture, chilling the dough keeps cookies thick, and pulling the tray when the edges are golden but the centers still look soft gives a fudgy center once the cookies cool and set on the sheet. Our guide to chewy vs crispy cookies explains which change does what.

Store baked cookies airtight at room temperature, and keep chewy and crisp kinds in separate containers so the soft ones do not turn the crisp ones limp.

Keep dough ready to bake

The best answer to a cookie craving is dough in the freezer. Scoop it into balls, freeze them on a tray until firm, then move them to a labeled freezer bag. Bake a few at a time straight from frozen, adding 1 to 3 minutes, and you get warm cookies without eating raw dough. See our guide to freezing cookie dough for the details.

Common questions

Is it safe to eat raw cookie dough?
No. The FDA says never eat or taste raw flour, dough or batter. Raw flour can carry Salmonella and pathogenic E. coli, and raw eggs can carry harmful bacteria. Baking is the only way to be sure.
Is cookie dough without eggs safe to eat raw?
No. Egg-free dough removes the egg risk but still contains raw flour, which can carry harmful bacteria. The FDA's advice covers all raw flour, dough and batter.
Can I microwave flour to make it safe for cookie dough?
The FDA says not to try to heat-treat flour at home. Home methods may not kill all bacteria and do not make flour safe to eat raw.
Can kids play with raw cookie dough?
The FDA advises against it. Do not let children eat raw dough or use it for crafts or play clay. Wash their hands and the work surfaces after baking.
About this page

Written and reviewed by Rosa, Editor, BakedAI. Last reviewed . This is general educational guidance, not professional or medical advice.

Sources for the ingredients, methods and storage advice: