Why is it unsafe to eat raw dough or batter made with flour or eggs?

FDA advice on why raw flour, dough, and batter can cause foodborne illness, and practical steps for baking and cleanup.

Tasting cookie dough or cake batter is a common habit. Flour makes it feel like a kitchen staple rather than a raw food. The U.S. Food and Drug Administration says most flour has not been treated to kill bacteria it may contain. Cooking and baking are what kill bacteria in flour, and in the raw eggs often mixed with it. [1, 2]

Do not eat or taste raw (uncooked) flour, dough, or batter. That includes baking mixes before they are cooked. [1, 2]

Why flour can be a problem

The flours most often used at home are made directly from raw grains. Grains can pick up bacteria in the field or while the flour is being made. They are harvested, ground, and sometimes bleached, but that processing does not kill harmful bacteria such as Salmonella and pathogenic E. coli. [1, 2]

FDA notes that many people in the United States do not think of raw flour as risky. The agency and CDC have investigated outbreaks of foodborne illness involving raw flour or flour-containing products such as cake mixes and cookie dough. FDA’s handling page, current as of March 5, 2024, says that since 2009 those investigations have accounted for 168 known illnesses and 20 hospitalizations. Symptoms of foodborne illness can be mild or serious. This article is not a guide to diagnosis or treatment. [1, 2]

Raw eggs in dough or batter add a second, familiar risk. FDA says cooking is the only way to be sure that foods made with flour and raw eggs are safe. [2]

What to do in the kitchen

FDA’s handling advice is specific:

  • Follow package directions on baking mixes and other flour-containing products for cooking temperatures and times.
  • Keep raw foods such as flour and eggs separate from ready-to-eat foods. Flour is a powder and spreads easily.
  • Refrigerate cookie and pastry dough according to package directions. Use a refrigerator thermometer to confirm the refrigerator is at a safe 40°F.
  • After working with flour, raw dough, or eggs, wash your hands thoroughly with soap and running water, and wash utensils, bowls, pans, boards, and countertops with warm, soapy water. [2]

Several “don’ts” are easy to miss:

  • Do not let children eat raw dough or baking mix, or use raw dough as craft material or “play clay.” Even if they do not eat it, they may put their hands in their mouths.
  • Do not use products that contain raw flour, such as cake mix, to make ready-to-eat drinks like milkshakes, and do not put raw cookie dough into ready-to-eat ice cream.
  • Do not try to heat-treat flour at home. FDA says home treatments may not kill all bacteria and do not make flour safe to eat raw.
  • Do not keep recalled flour; throw it away. [1, 2]

These steps are about preventing illness in an ordinary kitchen. They are not a substitute for following a recall notice, and they are not medical advice if someone is already sick.

FDA’s consumer update on flour as a raw food was marked content current as of December 5, 2023. The handling page was marked content current as of March 5, 2024.

Sources

  1. U.S. Food and Drug Administration. Flour Is a Raw Food and Other Safety Facts. https://www.fda.gov/consumers/consumer-updates/flour-raw-food-and-other-safety-facts. Content current as of December 5, 2023. Accessed November 20, 2026.
  2. U.S. Food and Drug Administration. Handling Flour Safely: What You Need to Know. https://www.fda.gov/food/buy-store-serve-safe-food/handling-flour-safely-what-you-need-know. Content current as of March 5, 2024. Accessed November 20, 2026.

How this page was prepared: Prepared using AI tools. Sources were checked in a separate AI-assisted editorial pass. These checks are not medical or clinical review. This article has not been reviewed by a physician or other clinician.