Baked Goods/Sweets
General category; storage varies greatly by specific dessert type (e.g., cakes, pies, custards, fruit-based, dairy-based)

DessertShelf Life, Storage, and Spoilage Guide

Sourced from
USDA FoodSafety.govFDA

Pantry

Not Recommended

Not recommended for most perishable desserts; specific durations vary greatly by type

Store non-perishable desserts (e.g., certain cookies, candies, dry cakes without perishable frosting) in airtight containers in a cool, dry place. Perishable desserts require refrigeration.

Refrigerator

Varies greatly by specific dessert type (e.g., 3-4 days for most baked goods, 1-2 days for cream-filled pastries, 5-7 days for fruit salads)

Refrigerate perishable desserts promptly. Cover tightly with plastic wrap or foil, or store in an airtight container to prevent odor absorption and drying out. Store dairy-based or egg-based desserts below 40°F (4°C).

Freezer

Varies greatly by specific dessert type (e.g., 2-3 months for most baked goods, 6-8 months for fruit pies, 2-4 months for ice cream)

Wrap tightly in freezer-safe plastic wrap, foil, or place in airtight freezer containers to prevent freezer burn. Label with the date. Thaw frozen desserts in the refrigerator.

Signs of Spoilage

  • Unusual or sour odors
  • Visible mold growth on any part of the dessert
  • Slimy or sticky texture, especially on surfaces or fillings
  • Significant discoloration or darkening
  • Off-taste (do not taste to check for spoilage; if in doubt, throw it out)

Room Temperature Safety

The 2-hour rule applies to perishable desserts: do not leave them at room temperature for more than 2 hours. If the ambient temperature is above 90°F (32°C), the limit is 1 hour.

The 'Danger Zone' for food is between 40°F (4°C) and 140°F (60°C), where bacteria can multiply rapidly.

Perishable desserts, especially those containing dairy, eggs, cream, or fresh cut fruit, must be refrigerated promptly. Discard any perishable dessert left in the danger zone for longer than the recommended time.

Expert Tips

Safe Handling

1

Always wash hands thoroughly with soap and water before preparing or handling desserts.

2

Prevent cross-contamination by keeping perishable ingredients (like raw eggs or unpasteurized dairy) separate from ready-to-eat components.

3

Ensure perishable ingredients are kept at safe temperatures during preparation and storage.

4

Cook egg-based desserts (e.g., custards, cheesecakes) to a safe internal temperature if they contain raw eggs, typically 160°F (71°C).

5

Do not leave perishable desserts at room temperature for more than 2 hours (1 hour if the temperature is above 90°F/32°C).

Related Items

Comparisons

Cake (with cream cheese or whipped cream frosting)Plain cakes or those with buttercream frosting may last longer at room temperature or in the fridge.
Fridge
3-4 days
Freezer
2-3 months
Fruit Pie (baked)
Pantry
1-2 days (if fruit pie contains no dairy or eggs and is covered)
Fridge
3-4 days
Freezer
6-8 months
Custard/PuddingFreezing can alter texture.
Fridge
3-4 days
Freezer
Not recommended
Ice CreamFor best quality; remains safe longer.
Fridge
Not recommended
Freezer
2-4 months
Cookies (baked)
Pantry
2-3 weeks
Fridge
Not necessary for most types
Freezer
6-12 months