Search IconSearch
November 23, 2021/Health Conditions/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

Group of happy people sitting around table full of food, having a cookout
July 1, 2024/Nutrition
How Long Can Cookout Food Sit Out?

Once perishable food hits the table, it’s typically good for about two hours

Jar of raw glass sitting in grass
June 25, 2024/Nutrition
Drinking Raw Milk May Be Trendy, but No, It’s Not Safe

Drinking unpasteurized milk can cause issues like nausea, diarrhea, vomiting or, in some cases, serious illness

Person scooping up water in hands from creek
May 10, 2024/Nutrition
The Dangers of Drinking Spring Water and Raw Water

Drinking untreated water can have dangerous consequences, like bacterial infections

two kids eating snow outside
March 6, 2024/Nutrition
Is It Safe To Eat Snow?

If the flakes are undisturbed, pristine white and come from the top layer, it’s typically safe to indulge in a scoop

Shoe storage shelf home, including purses and bike helmets
February 14, 2024/Primary Care
Wearing Shoes in the House: ‘OK’ or ‘No Way’?

Leaving footwear on invites germs, bacteria, toxins and other unwanted guests into your home

person walking away from toilet holding upset stomach
January 24, 2024/Digestive
Fried Rice Syndrome: Why It Happens and How To Avoid It

Keep cooked rice and pasta in your fridge — not on your counter — to help prevent this sneaky food poisoning

A closeup of a mix of different kinds of candy, all thrown together.
November 20, 2023/Nutrition
Candy Crush: Why You’re Craving Sweets and How To Stop

Stress, lack of sleep and not eating enough all contribute to sugar hankerings

Closeup of sugar substitute in granulated and pill form on a blue background.
July 18, 2023/Nutrition
Do You Need To Cut Out Aspartame?

Moderation is important for lowering risks

Trending Topics

Female and friend jogging outside
How To Increase Your Metabolism for Weight Loss

Focus on your body’s metabolic set point by eating healthy foods, making exercise a part of your routine and reducing stress

stovetop with stainless steel cookware and glassware
5 Ways Forever Chemicals (PFAS) May Affect Your Health

PFAS chemicals may make life easier — but they aren’t always so easy on the human body

jar of rice water and brush, with rice scattered around table
Could Rice Water Be the Secret To Healthier Hair?

While there’s little risk in trying this hair care treatment, there isn’t much science to back up the claims