Zimt

Why Cookie Dough Makes You Sick and How to Eat It Safely

· 4 min read · Cookies and Bars

In this article
  1. What makes raw cookie dough unsafe?
  2. Which ingredients carry the biggest food‑borne risk?
  3. How can you enjoy cookie dough without getting sick?
  4. What should you do if you feel ill after eating raw dough?

Raw cookie dough can cause foodborne illness because it often contains raw eggs and untreated flour that may carry harmful bacteria.

Raw cookie dough can make you sick because it typically contains raw eggs and untreated flour that may harbor harmful bacteria such as Salmonella and E. coli.

Ingredient Typical pathogen Resulting illness
Raw eggs Salmonella Gastroenteritis, fever, cramps
Untreated flour E. coli (including O157:H7) Severe stomach cramps, bloody diarrhea
Unpasteurized dairy (butter, milk) Various bacteria (Listeria, Salmonella) Flu‑like symptoms, risk to pregnant people

The danger lies in ingredients that are not cooked before they are mixed into the dough. Heat kills most bacteria, but when eggs are left raw, any Salmonella present survives. Flour is a dry, low‑moisture product that can still contain E. coli from field contamination; the bacteria are not eliminated until the flour reaches at least 160 °F (71 °C). Because cookie dough is usually eaten without a heating step, those pathogens remain active and can be ingested.

Even when a recipe calls for melted butter, the butter cools quickly and does not reach a temperature high enough to kill bacteria. Sugar, chocolate chips, and other mix‑ins are generally low‑risk, but they can become vectors if they are added to a contaminated batch of dough.

Which ingredients carry the biggest food‑borne risk?

Raw eggs

Eggs can be contaminated inside the shell or on the shell surface. Salmonella can multiply at room temperature, so any dough that sits out for more than two hours increases the risk. Using pasteurised eggs eliminates this hazard because the eggs have been heat‑treated to the USDA safe minimum of 160 °F (71 °C) without cooking the egg.

Untreated flour

Flour is milled from grain that may have been exposed to animal waste or contaminated water. The low moisture level does not prevent bacterial survival. A simple heat‑treatment—spreading flour on a baking sheet and baking at 350 °F (177 °C) for about 5 minutes—raises the flour temperature to 160 °F (71 °C) and kills most E. coli.

Unpasteurised dairy

Some cookie‑dough recipes call for butter or milk that has not been pasteurised. While butter is usually low‑risk because of its high fat content, unpasteurised milk can contain Listeria or Salmonella. Commercial butter sold in the United States is pasteurised, but homemade or artisanal butter may not be.

There are three reliable ways to make cookie dough safe: heat‑treat the flour, use pasteurised eggs, or bake the dough before eating.

  • Heat‑treat flour: Spread the flour on a rimmed baking sheet, bake at 350 °F (177 °C) for 5‑7 minutes, stir halfway, and let it cool completely before mixing.
  • Use pasteurised eggs: Purchase eggs labelled “pasteurised” or substitute with liquid egg products that are certified safe. This removes the Salmonella risk entirely.
  • Buy ready‑to‑eat dough: Many manufacturers sell “edible cookie dough” that has been formulated with heat‑treated flour and pasteurised eggs.
  • Cook the dough: Scoop raw dough onto a baking sheet and bake at 350 °F (177 °C) for 8‑10 minutes, until the edges are firm. This brings the interior to the USDA safe minimum for eggs (160 °F/71 °C) and flour (160 °F/71 °C).

Regardless of the method, keep the dough refrigerated at 40 °F (4 °C) or below and consume within 48 hours. If you store dough longer, wrap it tightly and freeze; frozen dough remains safe for up to three months. Thaw frozen dough in the refrigerator before using it.

What should you do if you feel ill after eating raw dough?

Symptoms of Salmonella infection typically appear 6‑48 hours after ingestion and include nausea, vomiting, abdominal cramps, and diarrhea. E. coli infection may cause severe stomach cramps and bloody diarrhea within 3‑4 days. If you experience any of these signs, stay hydrated with oral rehydration solutions or clear fluids and seek medical attention, especially if you have a fever, blood in stool, or dehydration.

To prevent future illness, review your dough‑making practices: verify that flour has been heat‑treated, use pasteurised eggs, and keep all perishable ingredients refrigerated no longer than two hours at room temperature. Clean surfaces and utensils with hot, soapy water after handling raw dough, and wash hands for at least 20 seconds before touching other foods.