FridgeLife

How Long Do Cookies Last?

Homemade cookies last 1–2 weeks in an airtight container at room temperature and 6 months or more in the freezer. Opened packaged cookies keep 3–4 weeks in the pantry, and unopened packages about 2 months.

Cookies — homemade

shelf life
Fridge
Not recommended
Freezer
6–8 months
Pantry
1–2 weeks
  • Opened: 3–4 weeks in the pantry
  • Unopened: 2 months in the pantry

Fridge at 40°F (4°C) or below · freezer at 0°F (−18°C). Freezer times are for best quality; frozen food stays safe longer.

Cookies are small, sweet baked goods with very little water left in them after baking, plus a high proportion of sugar and fat. That dryness makes them one of the most shelf-stable baked foods: they go stale, soft or rancid long before they become unsafe. The exceptions are cookies with cream cheese, custard or fresh dairy fillings.

How to store cookies

How to tell if cookies have gone bad

  • A stale, paint-like or cardboard smell means the butter, nuts or oils have gone rancid.
  • Mold, which is rare on dry cookies but does appear on soft, moist ones or those with fruit or jam fillings.
  • Crisp cookies that have turned bendy, or soft cookies that have turned rock hard, are stale rather than unsafe.
  • A white, dusty film on chocolate chips is cocoa butter bloom, not mold, and is harmless.

Bacteria that cause food poisoning usually do not change the look, smell or taste of food. Go by the time limits first, and the signs above second.

Cookies shelf life chart

StateFridgeFreezerPantry
HomemadeNot recommended6–8 months1–2 weeks
Soft cookies are best within 3–5 days. Refrigerate only cookies with cream cheese or dairy fillings, for up to 1 week.
OpenedNot recommended8–12 months3–4 weeks
Packaged store-bought cookies, resealed or moved to an airtight container.
UnopenedNot recommended8–12 months2 months
Packaged cookies; go by the printed date, which is often longer.

Not safe = perishable: no more than 2 hours at room temperature (1 hour above 90°F / 32°C). Not recommended = possible, but quality suffers or it serves no purpose.

Frequently asked questions

How do you keep homemade cookies fresh?

Keep them in an airtight container at room temperature once they are fully cool, and they will stay good for 1–2 weeks. Soft cookies taste freshest in the first 3–5 days. For anything longer, the freezer beats the pantry: frozen cookies hold their texture for months and thaw in under half an hour.

Should cookies be stored in the fridge?

No, not ordinary cookies. The fridge does not make them safer and tends to dry them out and let them pick up odors. The exception is cookies with perishable parts, such as cream cheese frosting, whipped ganache with fresh cream, or cheesecake filling, which should be refrigerated and eaten within about a week.

Can you eat cookies after the expiration date?

Usually, yes. The date on packaged cookies is a best-quality date, not a safety deadline. Unopened cookies stored in a cool, dry pantry are often fine for weeks past it, though they slowly lose crunch and the fats can go rancid. If they smell like old oil or crayons, they are past it.

Is it better to freeze cookies or cookie dough?

Both work, but frozen dough gives a fresher result. Baked cookies freeze well for 6–8 months and are ready in minutes. Portioned dough balls keep about 2 months and can be baked straight from frozen with a minute or two added to the baking time, so you get warm cookies on demand.

Related foods

FoodFridgeFreezerPantry
Cookie Dough
Homemade
2–4 days2 monthsNot safe
Brownies
Homemade
1 week3 months3–4 days
Crackers
Unopened
Not recommended3–4 months8 months
Granola Bars
Unopened
Not recommendedNot recommended6–8 months
Chocolate
Unopened
Not recommended1 year1 year
Muffins
Fresh
1 week2–3 months1–2 days

All baked goods

Reviewed 2026-09-20. Times follow published USDA FoodKeeper / FSIS, FDA and CDC storage guidance; where sources differ we use the shorter time. How we compile this data.