November 22, 2021

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.)

Related Articles

Person with pink eye.
August 31, 2022
Here’s How To Get Rid Of Pink Eye Fast

Eye drops and cold water rinses can help speed up the healing process

Couple in bed touching
January 2, 2019
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
Why Some Women Get Mastitis When They’re Breastfeeding (or When They’re Not)

Breast pain and swelling can indicate this frustrating infection

Closeup of people holding up shot glasses
February 15, 2024
What Does Alcohol Do to Your Body? 9 Ways Alcohol Affects Your Health

Alcohol affects your whole body, from your liver and immune system to your brain and mental health

Two bariatric surgery options: grastric bypass and gastric sleeve
February 14, 2024
How To Know Which Type of Bariatric Surgery Is Right for You

Gastric bypass and sleeve gastrectomy are different procedures that offer similar benefits, including significant weight loss

person practicing mindfulness at night time on a yoga mat
February 5, 2024
Living Well With Crohn’s Disease: 8 Self-Care Tips

Studies show a strong self-care regimen can improve symptoms and overall health

Person clutching stomach, with over-sized digestive track in background
January 30, 2024
A Nutritional Plan for Anyone Living With Crohn’s Disease or Ulcerative Colitis

If you have IBD, there are roughly nine food types that might contribute to inflammation flare-ups

group of people doing an aerobics class
January 26, 2024
How Exercise Can Lead to a Healthy Gut

You don’t need a strenuous or expensive fitness routine to keep your digestive tract in shape

Trending Topics

glass of cherry juice with cherries on table
Sleepy Girl Mocktail: What’s in It and Does It Really Make You Sleep Better?

This social media sleep hack with tart cherry juice and magnesium could be worth a try

Exercise and diet over three months is hard to accomplish.
Everything You Need To Know About the 75 Hard Challenge

Following five critical rules daily for 75 days may not be sustainable

Person in foreground standing in front of many presents with person in background holding gift bags.
What Is Love Bombing?

This form of psychological and emotional abuse is often disguised as excessive flattery