Locations:
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?

Advertisement

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.

Advertisement

“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 women, 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.

Advertisement

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

Advertisement

Cleveland Clinic icon
Health Essentials logo
Subscription icon

Better health starts here

Sign up for our Health Essentials emails for expert guidance on nutrition, fitness, sleep, skin care and more.

Learn more about our editorial process.

Related Articles

Table with remnants of a meal, leftover food
November 13, 2025/Digestive

How Long Can You Safely Keep Leftovers?

Leftovers can be kept in the fridge for three to four days or frozen for three to four months

Rows of different kinds of rice
August 18, 2025/Nutrition

Should You Be Worried About Arsenic in Rice?

Ultimately, rice is safe to eat, but the type, where it’s grown and how you cook it may be factors to consider

Kitchen sponge sitting on edge of dirty sink filled with dirty pans
July 10, 2025/Infectious Disease

What Is Cross-Contamination and How Can You Avoid It?

Washing your hands, thoroughly cleaning kitchen tools and preparing meat separately can reduce the risk of foodborne illness

Raw chicken being cut up on cutting board
February 14, 2025/Infectious Disease

Should You Wash Raw Chicken?

Rinsing raw chicken raises the risk of spreading harmful bacteria and causing foodborne illness

Arms of person bent down examining food in a bottom-of-fridge freezer bin
November 29, 2024/Nutrition

Spoiler Alert: Refrigerated Food Can Go Bad During a Power Outage

Extended outages lasting more than four hours can make food in your fridge unsafe to eat

Close-up of a fruit fly
October 30, 2024/Primary Care

How To Get Rid of Fruit Flies for Good

Make your home a no-fly zone by cleaning your drains, refrigerating your produce and DIYing a fruit fly trap

Person wearing oven mitts removing warmed up chicken on a ceramic plate from a microwave
September 26, 2024/Nutrition

Are Microwaves Bad for You? Common Misconceptions Explained

Microwaves use non-ionizing radiation and haven’t been shown to cause cancer — follow food safety practices and use microwave-safe containers

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

Trending Topics

Child playing soccer, being hit in head with soccer ball

The 6 Stages of Concussion Recovery

Getting back to normal after a head injury takes time — and patience

Caregiver helping happy child put on snow pants

Here’s How To Prevent Cold Stress

Dressing in multiple layers, drinking warm liquids and taking breaks indoors can help prevent these cold-weather injuries

Red, yellow and green bell peppers in baskets at market

Health Benefits of Bell Peppers

Pick bell peppers to help fight cancer, memory decline and joint pain

Ad