Can Old Cookie Dough Make You Sick? Fridge Storage Facts
Yes, you can get sick from eating old refrigerated cookie dough, though the risk comes from two separate sources: spoilage bacteria and mold that grow as the dough ages, and pathogens like Salmonella and E. coli that may have been present from the raw eggs and flour in the dough all along.
Why Cookie Dough Is a Risky Food to Store
Cookie dough combines several ingredients that are common vehicles for foodborne pathogens: raw flour, raw eggs, butter, and milk. Raw flour is not treated to kill germs before it is sold—it is an agricultural product that can be contaminated with E. coli or Salmonella in the field or mill. Raw eggs can carry Salmonella. On top of that, dough is a moist, nutrient-rich environment, which means spoilage bacteria, yeasts, and molds multiply steadily at refrigerator temperatures. Refrigeration buys you time; it does not make the dough safe indefinitely.
How Long Cookie Dough Lasts in the Fridge
Storage time depends on whether the dough is homemade, store-bought, or packaged differently. Typical food-safety guidance looks like this:
- Homemade cookie dough with raw eggs and flour: 2 to 4 days in the refrigerator.
- Store-bought tub dough (like refrigerated cookie logs): use within the date printed on the package, and within about 1 week of opening; some products are formulated with preservatives to last longer.
- Homemade dough without eggs: still only about 4 to 5 days refrigerated, since raw flour remains a contamination risk and dairy components still spoil.
- Egg-free, shelf-stable cookie dough sold in the baking aisle: follow the package date, and refrigerate after opening if the label says so.
Keeping the dough in an airtight container or tightly wrapped helps prevent it from drying out, absorbing fridge odors, and picking up contamination from other foods, but wrapping does not extend these time limits significantly.
The Two Ways Old Dough Can Make You Sick
It helps to separate the two distinct hazards, because they work differently.
Spoilage. As dough ages, bacteria, yeasts, and molds degrade the fats and dairy. Spoilage organisms generally cause off flavors, sour smells, and discoloration more often than serious illness, but moldy dough should always be discarded—some molds produce toxins that are not destroyed by baking.
Pathogens. Salmonella (from eggs) and E. coli (from flour) usually do not change the smell, taste, or appearance of dough at all. This is why “it smells fine” is not a safety test for raw dough. Baking to a proper internal doneness—cookies should be fully baked through, not gooey in the center—kills these pathogens, which is why baked cookies made from within-date dough are considered safe even though the raw dough is not.
Signs Your Refrigerated Dough Has Gone Bad
Discard refrigerated cookie dough if you notice any of the following:
- Visible mold: fuzzy spots in white, green, blue, or black anywhere on the surface or edges.
- Sour, rancid, or “off” smell, especially from the butter going rancid.
- Hardened, dried-out, or discolored edges (darker gray or brown patches).
- A slimy or unusually sticky texture on the surface.
- It has been in the fridge longer than the times listed above, even if it looks fine.
When in doubt, throw it out—dough is cheap compared to a bout of food poisoning.
What Happens If You Eat Questionable Dough
If you ate a small amount of slightly old dough that showed no spoilage signs, the risk is relatively low, but symptoms of foodborne illness from Salmonella or E. coli can appear anywhere from several hours to several days after eating. Typical symptoms include stomach cramps, diarrhea, nausea, vomiting, and sometimes fever. Most healthy adults recover at home with rest and fluids, but young children, older adults, pregnant people, and those with weakened immune systems are at higher risk of severe illness and should seek medical care if symptoms appear. Anyone with bloody diarrhea, a high fever, or signs of dehydration should contact a healthcare provider.
Freezing: The Better Way to Extend Dough
Freezing is far more reliable than refrigeration for keeping dough on hand. Cookie dough freezes well for about 2 to 3 months with good quality, and remains safe beyond that, since freezing halts bacterial growth (it does not kill pathogens already present). Practical tips:
- Portion the dough into balls and freeze on a tray, then transfer to a freezer bag so you can bake a few at a time.
- Label with the date so you use the oldest first.
- Thaw overnight in the refrigerator—not on the counter—before baking, or bake from frozen with a couple of extra minutes added.
Safe Ways to Satisfy a Cookie Dough Craving
The safest dough is dough designed to be eaten raw. Commercial edible cookie dough products are typically made with heat-treated flour (which kills E. coli and Salmonella) and pasteurized eggs or no eggs at all. If you want to make edible dough at home, the standard approach is:
- Heat-treat the flour by baking it in a thin layer at around 160 °C (350 °F) for about 5 minutes, or toasting it in a pan until it reaches 71 °C (160 °F), then letting it cool.
- Skip raw eggs entirely, or use pasteurized egg product.
- Keep the finished edible dough refrigerated and eat it within a few days.
Note that even edible dough spoils like any fresh food—its ingredients are safe raw, but it still has a fridge lifespan of roughly a week once made.
Frequently Asked Questions
Can you get sick from eating raw cookie dough even when it's fresh?
Yes. The main risk from raw dough isn't age—it's the raw flour and raw eggs, which can carry E. coli and Salmonella regardless of how fresh the dough is. Only dough made with heat-treated flour and pasteurized or no eggs is considered safe to eat raw.
Does baking old cookie dough make it safe?
Baking kills bacteria like Salmonella and E. coli, so fully baked cookies from within-date dough are safe. However, if the dough smells rancid or shows mold, discard it—mold toxins and rancid fats are not removed by baking and can affect both safety and flavor.
How long is store-bought cookie dough good for after opening?
Generally about 1 week in the refrigerator after opening, or by the printed date, whichever comes first. Check the package, as formulations with preservatives may allow longer. Signs of drying, off smells, or mold mean it should be thrown away.
Why does my cookie dough smell sour?
A sour or fermented smell usually means bacteria or wild yeasts have begun breaking down the dairy in the dough—spoilage has started. Sour-smelling dough should be discarded, not baked.
Can I eat cookie dough that was left out overnight?
No. Cookie dough with eggs or dairy should not sit at room temperature for more than about 2 hours. Bacteria multiply quickly in the danger zone between roughly 4 °C and 60 °C (40 °F–140 °F), so overnight dough should be thrown out even if it looks and smells normal.