November 22, 2021/Digestive

Is It Safe To Eat Raw Cookie Dough or Cake Batter?

WARNING: Bacteria could be present due to raw flour and eggs

Girl eating cookie dough while cooking with mom

Licking the spatula may be tradition in your kitchen after mixing ingredients for cookies or cake, but is it safe to do?


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

The answer is simple: Hold off on tasting until those goodies finish baking.

There’s a danger in eating that unfinished deliciousness, a fact proven by multiple food poisoning outbreaks over the years. Registered dietitian Beth Czerwony, RD, explains why sampling raw dough or batter isn’t something you should mix into your kitchen routine.

Should you eat raw dough or batter?

Let’s make this simple: No.

Eating uncooked dough or batter can make you severely sick. The primary risk comes from flour. That’s right… flour. That fluffy powder may look innocent, but it should be viewed as a potentially dangerous “raw” food.

Flour is made from grain that is harvested and milled into the product sold at stores. During processing, flour is typically not treated to kill any potential bacteria that may have been picked up in the fields.

A lot of cows and other animals live near fields, and they do what animals do while ambling around in the great outdoors. That leads to possible contamination of the grain that’s turned into flour. Bacteria that could be present includes E. coli and salmonella.

The high heat that goes into baking something eliminates the threat of getting sick from the flour, which is why it’s OK to eat finished goods.


“Boiling, baking, roasting, microwaving and frying are common steps during food prep that kills bacteria,” says Czerwony. “But since raw dough undergoes none of these steps, it could potentially be contaminated. That’s a worry.”

An additional danger: raw eggs

Raw eggs included in most cookie and cake recipes add to the risk factor. Salmonella can lurk inside of eggs, passed on from poultry that carry the bacteria. The bacteria also may be present on the thin outer shell due to bird droppings.

Children, pregnant people, those with compromised immune systems and older adults are at greater risk for poisoning from salmonella bacteria that raw eggs can harbor.

“Whenever you consume or handle raw eggs, you increase your risk of salmonella poisoning,” says Czerwony. “You really want to be cautious and take steps to avoid contamination as much as possible.”

What happens if you eat raw dough or batter?

Nibbling on raw dough or licking batter before it hits the oven exposes you to some potential gut-churning outcomes that can start quickly. Signs of salmonella poisoning may begin within six hours of consumption. Illness from E. coli typically takes about three days to hit.

Resulting food poisoning symptoms could last up to a week and include:

  • Diarrhea that could range from watery to bloody.
  • Stomach cramps.
  • Vomiting.

E. coli infections also can lead to hemolytic uremic syndrome (HUS) and kidney failure.


The Centers for Disease Control and Prevention (CDC) has reported three multistate E. coli outbreaks due to flour or cake mixes since 2016. The outbreaks led to 100 illnesses and 27 hospitalizations. Many of those affected said they ate raw dough or batter.

(Side note, ready-to-eat products that include cookie dough — the most obvious example would be cookie dough ice cream — use a dough that has been treated to eliminate harmful bacteria.)

Is dough for holiday ornaments OK?

The risk of exposure to E.coli in unbaked flour is so great that the CDC warns against letting children use homemade dough for play or crafts — and that includes dough for holiday ornaments.

Even if your kiddo doesn’t eat the dough, they may put their hands in their mouths after handing it and transmit any bacteria that’s present.

Safety tips when making dough or batter

To stay safe when baking or cooking with flour and eggs, follow these guidelines:

  • Do not taste or eat raw dough or batter being used for food (cookies, cakes, pancakes, pizza, etc.) or crafts (dough-based holiday ornaments).
  • Follow instructions regarding cooking temperature and time to kill any bacteria.
  • Keep raw foods such as flour or eggs separate from other food. Be especially careful with flour, as the powder can spread easily and potentially contaminate nearby items.
  • Thoroughly clean your preparation area, bowls and utensils after using.
  • Wash your hands after handling raw ingredients.

So resist the urge to lick the beater or spatula when whipping up baked goods, advises Czerwony. Let that treat thoroughly bake and enjoy it once it comes out of the oven. (Just allow it to cool, of course.)

Learn more about our editorial process.

Related Articles

Person with pink eye
March 22, 2024/Eye Care
Here’s How To Get Rid of Pink Eye Fast

Eye drops and cold water rinses can help speed up healing for viral and allergen-related conjunctivitis, but a bacterial infection will need antibiotics

Couple in bed touching
January 2, 2019/Women's Health
Vaginal Odor? It Could Be Bacterial Vaginosis

This common infection is an imbalance of bacteria in the vagina

A woman gently cradling a baby in her arms.
November 28, 2018/Women's Health
Why Some Women Get Mastitis When They’re Breastfeeding (or When They’re Not)

Breast pain and swelling can indicate this frustrating infection

Colonscopy exam showing light inside colon
March 15, 2024/Digestive
How Safe Are Colonoscopies?

They might not be fun, but colonoscopies are low-risk, high-reward procedures

Female and male waking up with hangovers in aftermath of a party
March 13, 2024/Digestive
Hangover Pills Aren’t Worth the Hype

Misleading claims, lack of scientific evidence and the risk of over-doing it are all concerns

Counter top with healthy foods and meal prepping
March 11, 2024/Digestive
Living With Celiac Disease? Make Time for Self-Care

It’s more than just avoiding gluten — it’s also important to focus on your mental and emotional health

person eating a small lunch alone at desk at the office
March 8, 2024/Digestive
How To Cope With Ulcerative Colitis at Work

Talk to your employer, ask for accommodations and manage your stress

person speaking with healthcare provider in office
March 4, 2024/Digestive
Ulcerative Colitis and Your Mental Health

Seeking help through therapy can be an important step in improving your quality of life when you have UC

Trending Topics

Person in yellow tshirt and blue jeans relaxing on green couch in living room reading texts on their phone.
Here’s How Many Calories You Naturally Burn in a Day

Your metabolism may torch 1,300 to 2,000 calories daily with no activity

woman snacking on raisins and nuts
52 Foods High In Iron

Pump up your iron intake with foods like tuna, tofu and turkey