Is raw cookie dough safe to eat?

No, not homemade or ready-to-bake dough. FDA says never eat or taste raw flour, dough or batter: flour is a raw food that may carry E. coli or Salmonella, and raw eggs may carry harmful bacteria too. Only dough labeled edible or safe to eat raw, made with heat-treated flour and pasteurized or no eggs, is meant to eat unbaked.

Updated .

Baking by weight? Use cups to grams. Making eggnog with raw eggs? See how long eggnog lasts.

Raw dough check

At a glance

QuestionWhat FDA and CDC say
Is flour raw?Yes. Most flour is a raw food; grinding and bleaching do not kill bacteria
Germs namedSalmonella and E. coli in flour; raw eggs may carry Salmonella
Tasting raw dough or batterDo not eat or taste it, homemade or store dough meant for baking
Heat-treating flour at homeDo not; home treatment may not kill all bacteria
Safe to eat unbakedOnly dough labeled edible or safe to eat raw
After handlingWash hands with soap and water; wash bowls, utensils and counters

The rule in plain text

Raw flour or raw egg in it, and not labeled edible = bake or cook it first, following the recipe or package directions.

Labeled edible or safe to eat raw (made by the company with heat-treated flour and pasteurized eggs or no eggs) = meant to eat unbaked, if the label says so.

Leaving out the eggs does not change the answer, because the flour is still raw. Cooking or baking is what kills the bacteria in flour and eggs.

Worked example

You are baking chocolate chip cookies for a December cookie swap. The dough has flour and eggs, the kids want to lick the spoon, and you also planned salt-dough ornaments for them to decorate.

The check says no to the spoon: the dough has raw flour and raw eggs. The ornaments are also on CDC's list, because crafts made with raw flour count, and children put their hands in their mouths. Bake the cookies as the recipe says, buy a tub labeled edible if someone wants dough to eat, then wash hands, bowls and counters with hot, soapy water.

Dough types at a glance

Dough or batterEat it unbaked?Why
Homemade with flour and eggsNoRaw flour and raw eggs
Homemade with no eggsNoThe flour is still raw
Flour heat-treated at homeNoFDA: home treatment may not kill all bacteria
Store dough with baking directionsNoMade to be cooked first
Cake or cookie mixNoMixes contain raw flour
Play dough or salt-dough ornamentsNoCDC counts crafts made with raw flour
Labeled edible or safe to eat rawYes, per the labelHeat-treated flour, pasteurized or no eggs

From FDA's Handling Flour Safely and Holiday Food Safety pages and CDC's Raw Flour and Dough page, read November 23, 2026.

Safe handling while you bake

  • Follow package directions on mixes and store dough for oven temperature and time.
  • Refrigerate cookie and pastry dough as the label says. FDA says a refrigerator should be at 40 F.
  • Keep flour and eggs away from ready-to-eat foods. Flour is a powder and spreads easily.
  • Throw away any flour or baking mix that has been recalled. Mixes keep a long time, so check the pantry against FDA's recall list.

Anyone can get sick from bacteria in undercooked ready-to-cook foods, and FDA says young children, older adults and people with weak immune systems are at higher risk.

Sources

Sources checked on November 23, 2026.

Common questions

Is store-bought cookie dough safe to eat raw?

Only if the label says it is edible or safe to eat raw. Dough sold with baking directions is a ready-to-cook food, and FDA says to cook it as the package directs before eating.

Is raw cookie dough without eggs safe to eat?

No. Most flour is raw and has not been treated to kill bacteria such as E. coli or Salmonella, so eggless dough made with ordinary flour still needs baking.

Can I heat-treat flour at home to make edible dough?

FDA says not to try. Home treatments of flour may not kill all bacteria and do not make it safe to eat raw.

Is cookie dough ice cream from the store safe?

CDC says cookie dough ice cream sold in stores contains dough treated to kill harmful germs. Do not stir raw homemade dough into ice cream.

Is raw cookie dough riskier when you are pregnant?

FDA says pregnant women need to be especially careful to follow cooking directions on packages, since some bacteria are very harmful or deadly to unborn babies.