Zimt

How Long Does Homemade Cookie Dough Last?

· 5 min read · Cookies and Bars

In this article
  1. How Long Does Cookie Dough Last in the Fridge?
  2. How Long Does Cookie Dough Last in the Freezer?
  3. What Are the Signs Cookie Dough Has Gone Bad?
  4. Why Raw Egg and Raw Flour Matter
  5. How Should You Store Dough You Plan to Bake Later?

Homemade cookie dough keeps about 2 to 3 days in the refrigerator, or up to 3 months in the freezer. As a concrete example, dough you mix on a Sunday afternoon is at its best baked by Tuesday or Wednesday, and any you don't use by then should go into the freezer rather than sit in the fridge for a week.

The reason the window is short is that most cookie dough contains raw egg and raw flour, both of which carry a risk of harmful bacteria. Refrigeration slows that risk but does not erase it, and the dough's texture also changes as it sits: it dries at the surface, the fat firms up, and leavening begins to lose strength.

Count 2 to 3 days from the moment the dough is mixed, not from when you last opened the container. Wrap it tightly in plastic wrap pressed against the surface, or press it into a lidded container with as little air space as possible, and keep it in the coldest part of the fridge rather than the door.

Dough made without egg, such as a shortbread-style mixture of butter, sugar and flour, still contains raw flour and is best treated the same way: 2 to 3 days refrigerated. If you want a longer fridge life, freeze it instead, because the freezer is the only storage method that reliably pauses the clock for months.

What changes as the dough sits

Chilled dough is firmer and less sticky, which makes it easier to scoop into even balls. After a day or two, though, the flour has absorbed more of the liquid, so the dough can feel stiff and dry, and cookies baked from it may spread less. Let it stand at room temperature for about 15 to 30 minutes before scooping so it softens without warming too far.

Freeze dough for up to 3 months for the best texture and flavor. Beyond that it is still safe, but butter can pick up freezer odors and the dough may taste stale. Label the bag with the date you froze it so you are not guessing later.

There are two good ways to freeze it. Scoop the dough into balls first, freeze them on a tray until firm, then transfer the balls to a bag; this lets you bake two or six cookies at a time without thawing the whole batch. Or press the dough into a flat disk about 1 inch (2.5 cm) thick, wrap it well, and slice off what you need. Balls bake from frozen with only a few extra minutes; a disk should thaw in the fridge overnight.

How to thaw frozen dough

Move what you plan to bake to the refrigerator the night before, or let portioned balls sit at room temperature for 20 to 30 minutes. Do not thaw dough on the counter for hours, and never refreeze dough that has already thawed, because repeated temperature swings degrade both texture and safety.

Look for these signals, and discard the dough if any appear:

  • A sour, off, or sharply fermented smell
  • Visible mold, including small fuzzy patches in any color
  • Sticky, stringy, or slimy texture where the dough was previously smooth
  • Liquid pooling in the container or a darkened, grayish cast
  • Freezer burn: dry, pale, leathery patches on frozen dough

Do not taste or smell the dough to decide whether it is safe. If you are unsure, throw it out; the cost of a batch of dough is small compared with the risk of foodborne illness from raw egg and flour.

Why Raw Egg and Raw Flour Matter

A common misconception is that cookie dough is risky only because of the egg. Raw flour is also a concern: it is a raw agricultural product that can carry bacteria, and it is not treated as ready-to-eat. That is why you should not eat the dough, and why children should not be handed the spoon.

The correct fact is that both ingredients need to be cooked to be safe, which is why baking the dough at a normal oven temperature is what makes the cookies safe to eat. If you want to eat dough raw, make a heat-treated version: spread the flour on a baking sheet and bake at 350F/175C for about 5 to 10 minutes, until it reaches 165F/74C on an instant-read thermometer, and use a pasteurized egg product instead of a raw shell egg.

Does chilling the dough make it safer?

Cold slows bacterial growth but does not stop it, so a week-old dough is not made safe by refrigeration. The 2-to-3-day fridge limit and the 3-month freezer limit are the practical boundaries.

How Should You Store Dough You Plan to Bake Later?

Decide now how you will bake it, because the storage method follows from that. For baking within a couple of days, a tightly wrapped container in the fridge is fine. For anything longer, portion and freeze.

If you are chilling dough to improve flavor and spread, 24 to 72 hours in the fridge is the useful window, and it lines up with the safety limit. Beyond that, freeze the portions and thaw them in the fridge when you are ready.

When you bake, follow the recipe's temperature and time, typically 350F/175C to 375F/190C for 10 to 14 minutes depending on cookie size, and take them out when the edges are set and the centers still look slightly soft. They firm up as they cool on the sheet. Baked cookies keep about 1 week in a sealed container at room temperature, or up to 3 months frozen.

One more rule: dough that has sat out at room temperature for more than 2 hours should be discarded, not chilled, because perishable ingredients like egg and butter are no longer safe to keep.