Food safety
Is Raw Cookie Dough Safe to Eat? It's Not Just the Eggs
By Fede5 min read
In short
Tasting raw dough isn't risky just because of the eggs: flour is a raw food too. Wheat grows outdoors, can carry Salmonella or E. coli, and grinding it doesn't kill them. A 2016 outbreak sickened 63 people, a study found bacteria still alive in flour after a year, and the FDA advises against heat-treating it at home. Cooking is the only safe option.
Lu was baking cookies with her daughter and, as always happens, the spoonful of dough ended up in her mouth. "This one has no eggs, it's fine," she said. It was the three-ingredient recipe: butter, sugar and flour. It sounds logical: if the danger in raw dough is the egg, no egg should mean no problem. But the egg isn't the only raw thing in that dough. The flour is raw too.
Flour is a raw food
The FDA, the U.S. food and drug agency, puts it this way: flour is a raw food. It may not look like it, but it usually is, just like fresh tomatoes or carrots.
Wheat grows in fields and, like everything grown outdoors, it can be exposed to harmful bacteria such as Salmonella and some disease-causing strains of E. coli. The flours most used at home are made directly from those raw grains, and grinding them doesn't kill the bacteria.
So a dough without eggs is still a raw dough. And if it does have eggs, you add the other risk: according to the FDA, raw eggs can carry bacteria too. An egg can carry Salmonella even when the shell is clean.
What happened in 2016
In 2016, the CDC (the U.S. public health agency) investigated an outbreak of Shiga toxin-producing E. coli. Sixty-three people in 24 states got sick, 17 were hospitalized and one developed hemolytic uremic syndrome, a type of kidney failure. No one died.
The source was flour from a General Mills plant in Kansas City, produced during the same week in November 2015. The people who got sick were between 1 and 95 years old, and half of those who answered (19 of 38) said they had eaten or tasted raw homemade dough or batter.
The CDC's conclusion was blunt: it isn't safe to taste or eat raw dough or batter, whether it's made with the recalled flour or any other flour. And it wasn't a one-off. The FDA says that since 2009 there have been several outbreaks linked to raw flour or products that contain it, like cake mixes and cookie dough, with 168 known illnesses and 20 hospitalizations.
Flour keeps for a long time, and so do the bacteria
You might think bacteria can't last in such a dry powder. A study from the University of Georgia's Center for Food Safety measured it: researchers deliberately added Salmonella and E. coli to regular store-bought flour and kept it at room temperature, 23 °C (73 °F).
They could still count them for 84 days in the case of E. coli and 112 days for Salmonella. And they could still detect them at the end of the test: after 168 days for E. coli and after a year for Salmonella.
That's why, after the 2016 outbreak, the CDC warned that more people could get sick even though the investigation was over: flour has a long shelf life and could still be sitting in people's kitchens.
What if you toast the flour first?
Some "edible cookie dough" recipes tell you to heat the flour in the oven or the microwave. The FDA advises against doing it at home: those home treatments may not kill all the bacteria and don't make the flour safe to eat raw.
The Georgia study shows why it isn't that easy. In dry flour at 70 °C (158 °F), it took about 17 minutes just to bring Salmonella down to a tenth. At 55 °C (131 °F), more than two and a half hours.
The only thing that makes it safe
According to the FDA, cooking is the only way to be sure that foods made with flour and raw eggs are safe. With store-bought mixes, that means following the temperature and time on the package.
In my recipes:
- My 3-ingredient cookies have no eggs: butter, sugar and self-rising flour. They still go in the oven at 180 °C (356 °F) for 20 minutes, and the dough doesn't get tasted first.
- The oatmeal chocolate chip cookies have eggs and flour, and bake at 180 °C (356 °F) for 15 to 20 minutes.
- What matters is that it gets cooked, even if it's not in the oven. My no-oven chocolate cookies cook in a pot on the stove until they start to toast. Their raw dough doesn't get tasted either.
While you bake
The FDA adds a few precautions for when you're working with raw flour:
- Don't let kids eat raw dough. Don't let them use it for crafts or as play clay either.
- Keep flour and raw eggs away from ready-to-eat foods. Flour is a powder and spreads easily.
- Wash your hands well with soap and water when you're done, and wash the bowl, utensils, baking pans, cutting board and countertop with warm, soapy water.
- Don't use raw dough in things that won't be cooked, like ice cream with bits of cookie dough, and don't put cake mix in a milkshake.
Frequently asked questions
Is raw cookie dough safe to eat if it has no eggs?
No. Flour is a raw food too: wheat grows outdoors and can carry bacteria like Salmonella or E. coli, and grinding it into flour doesn't kill them. According to the FDA, cooking is the only way to make it safe.
Why can raw flour have bacteria?
Because it's made from raw grains grown in fields and, like everything grown outdoors, they can be exposed to harmful bacteria. Milling doesn't remove them, so they can end up in the bag.
Has anyone gotten sick from eating raw dough?
Yes. In 2016, flour contaminated with E. coli sickened 63 people in 24 U.S. states, and 17 were hospitalized. Half of those who answered investigators had eaten or tasted raw homemade dough. According to the FDA, outbreaks linked to raw flour since 2009 have caused 168 known illnesses.
How long can bacteria survive in flour?
A long time. In a University of Georgia study, with flour kept at room temperature, E. coli could still be detected after 168 days and Salmonella after a year.
Can I heat-treat flour at home to eat raw dough?
The FDA advises against it: home treatments may not kill all the bacteria and don't make flour safe to eat raw. Salmonella is hard to kill in dry flour: at 70 °C (158 °F) it took about 17 minutes just to bring it down to a tenth.
Related recipes
Sources
The facts in this post come from these sources (checked when it was written).
- Handling Flour Safely: What You Need to Know — U.S. Food and Drug Administration (FDA) (2025)
- Multistate Outbreak of Shiga toxin-producing Escherichia coli O121 Infections Linked to Flour (Final Update) — Centers for Disease Control and Prevention (CDC) (2016)
- Salmonella and Enterohemorrhagic Escherichia coli Serogroups O45, O121, O145 in Wheat Flour: Effects of Long-Term Storage and Thermal Treatments — Frontiers in Microbiology (Forghani y otros, Universidad de Georgia) (2019)



