Is Raw Cookie Dough Safe During Pregnancy?
The verdict
Best to avoid
The short answer: skip raw cookie dough while pregnant
It's best not to eat raw, unbaked cookie dough during pregnancy, but you don't have to give up cookies. Dough is only a concern uncooked, and two separate ingredients drive the caution, not one. The familiar worry is the raw egg; the one health agencies now flag just as loudly is the raw flour. Bake the dough fully, use an egg-free "edible" cookie dough made with heat-treated flour, or buy a pasteurized refrigerated dough, and the risk essentially disappears. If you've already sneaked a spoonful, don't panic, since a one-off taste rarely causes harm, but it's not a habit to keep up while you're expecting.
Why it's risky: two problems, not one
The first culprit is raw egg, which can carry Salmonella, a bacterium that causes fever, cramping, vomiting, and diarrhea. In pregnancy the bigger issue is that a severe bout, with high fever, dehydration, or bacteria spreading into the bloodstream, is harder on you and is what can, in uncommon cases, lead to complications like preterm labor or, rarely, infection reaching the baby. Transplacental infection is the exception rather than the rule, so the practical goal is to avoid getting seriously ill in the first place. The second culprit surprises most people: raw flour. Flour is a raw agricultural product milled from field-grown wheat and isn't treated to kill germs before bagging, so it can carry E. coli, including Shiga toxin-producing strains (like O121 and O26) behind several large recalls of flour and raw dough. Those strains cause severe cramping and bloody diarrhea, and in serious cases a kidney complication called hemolytic uremic syndrome. Baking heat is what makes flour safe; tasting raw dough is exactly the exposure to avoid.
How much is "okay" and the safer ways to get your fix
There's no safe portion of traditional raw dough to aim for; the goal is zero raw, not a small amount. Happily, the workarounds are satisfying. Fully baked cookies are completely fine, because heat kills both Salmonella and E. coli. For the spoon-from-the-bowl craving, buy "edible cookie dough" specifically labeled egg-free and made with heat-treated flour, which is formulated to be eaten raw. Refrigerated store doughs made with pasteurized egg can be a middle ground, but read the label, since many are still meant to be baked, not eaten raw. And resist licking the beaters or bowl when you bake from scratch; that's the same raw flour and egg, just on a spoon. The advice holds in every trimester, because this is a foodborne-illness risk, not a stage-specific one, so there's no point in pregnancy where a spoonful becomes fine.
What about while breastfeeding (and when to call your provider)?
Once you're nursing rather than pregnant, raw cookie dough is much lower-stakes, and this is specific to these germs rather than blanket reassurance. Salmonella and E. coli are gut infections, and they generally aren't delivered to your baby through breast milk the way a bloodstream infection can reach a fetus; the realistic route to your baby is hand-to-mouth, so the practical safeguard while you're nursing is careful handwashing after using the bathroom and before handling your baby. If raw dough does make you sick while nursing, the illness mainly stays with you, and the real downside is that food poisoning makes caring for a newborn miserable and dehydration can dent your supply, so homemade dough is far lower-stakes here, and egg-free edible dough or a baked cookie is no concern at all. Bottom line: raw cookie dough is best avoided in pregnancy because of two risks people conflate, Salmonella from raw egg and E. coli from raw flour, neither of which baking leaves behind. Call your provider if, after eating raw dough, you get fever, persistent or bloody diarrhea, severe cramps, or signs of dehydration; a single symptom-free taste usually needs nothing more than not repeating it. This page is general education, not medical advice, and your provider knows your history and is the final word for your pregnancy.
Frequently asked
Is raw cookie dough safe during pregnancy?
It’s best avoided during pregnancy. Avoid — raw egg (salmonella) and raw flour (E. coli) both pose a risk. Bake first. If you need an option, ask your provider for a pregnancy-safe alternative.
What can I take instead of raw cookie dough?
Ask your provider for a pregnancy-safe alternative that fits your situation — there’s usually a good option, and they can match it to your history.
Is raw cookie dough safe while breastfeeding?
Guidance can differ once you’re no longer pregnant — some things limited in pregnancy are fine while nursing, and vice versa. Check with your provider about raw cookie dough for your situation.
References
Sources we consult
We cross-check our editorial guidance against these authorities. Click any source for the original.
American College of Obstetricians and Gynecologists ↗
Pregnancy and women’s health clinical guidance
Centers for Disease Control and Prevention ↗
US public-health data and recommendations
March of Dimes ↗
Pregnancy and newborn health education
US Food and Drug Administration ↗
Food, drug, and infant-formula safety regulation
Gear & guides for a safe pregnancy
Expert-tested, safety-first picks for what’s next.
Related health topics
Common pregnancy questions our medical team answers.
Browse the health A–Z →Fact-checked by Dr. Elena Vasquez, MD, FAAP (Board-certified pediatrician & medical reviewer)