Shelf life

Does candy expire? How long Halloween candy lasts, by type

Candy rarely goes bad overnight. It goes stale, slowly, and the date on the bag tells you when the maker expects that to start.

Updated

SHORT ANSWER

Candy does go out of date, but mostly in quality, not safety. The date on a bag of candy is usually a best-by date, often just a month and year. USDA describes best-by dates as quality dates, and Hershey says candy kept past its date “may have flavor loss or texture changes.”

How long it stays good depends on the type. The National Confectioners Association (NCA) gives milk and white chocolate 8–10 months, dark chocolate 1–2 years, hard candy up to a year, opened gummies and other soft candy 6–9 months, and opened candy corn 3–6 months. Throw out any candy with mold, signs of pantry pests, or a torn or punctured wrapper.

How long candy lasts, by type

These are the NCA's storage times for candy kept the way it recommends: covered or airtight, in a cool, dry place away from heat and light. The NCA doesn't say whether its clock starts when the candy is made or when you buy it, so treat these as outer limits and let the best-by date on each bag come first.

Storage times from the National Confectioners Association. They are quality times, not safety deadlines.
CandyHow long it keeps (NCA)How the NCA says to store it
Milk and white chocolateNo more than 8–10 monthsCool, dark and dry
Dark chocolate1–2 yearsWrapped in foil, in a cool, dark, dry place
Hard candy (including lollipops)Up to 1 yearRoom temperature or a cool, dry place
Gummies, jelly beans and other soft or jellied candyOpened: 6–9 months. Unopened: about 12 monthsOpened: in a covered dish at room temperature (about 70°F), away from heat and light
Caramels6–9 months, up to 12 in some casesCovered, at room temperature, away from heat and light
Candy cornUnopened: about 9 months. Opened: 3–6 monthsOpened: like soft candy, covered and away from heat and light
Taffy and nougatNo separate time givenWrapped individually and kept away from dampness

Hershey's own guidance is shorter and counts from a different starting point: “Most confectionery products are at their best flavor for one year after manufacture. Ingredients such as nuts will shorten the shelf life.” Some of that year has passed by the time a bag reaches your house. That is why the date printed on the bag is a better guide than any chart, and why candy with nuts should be eaten first.

What USDA's FoodKeeper says

USDA's FoodKeeper data, the source for most of this site's shelf life chart, has no candy category. It does list three related foods. Its times count from the day you buy the food, not from the printed date.

Storage Facts

Closest FoodKeeper rows, pantry storage

Baking chocolate (unsweetened, semisweet), from purchase
1–2 years
Baking chocolate, after opening
1 year
Gummy fruit snacks, from purchase
6–9 months
Marshmallows, from purchase
1 year
Marshmallows, after opening
1 month
Source: USDA FoodKeeper data. These rows cover baking chocolate and fruit snacks, not candy bars or gummy candy, so the NCA figures above are the closer match for most Halloween candy.

What the date on a candy bag means

BB JUN 2027BEST BY 06/27BEST BEFORE 06/2027

No federal rule requires a date on candy. USDA says that, except for infant formula, product dating is not required by federal regulation, and it defines a best-by date as one that tells you when a product will be at its best flavor or quality: “It is not a purchase or safety date.” Read more on best-by dates.

Candy dates are often a month and year only, like the stamps above. Hershey, for example, says its products carry “an ink stamped ‘BB’ or ‘Best By’ date code” that “represents the month and year until which the product is expected to be within its peak freshness.” Read a month-and-year date as running to the end of that month. A short form like BEST BY 06/27 almost always means June 2027, not June 27; the guide to two-number dates explains why.

Other characters printed nearby, such as a lot number or a time, are production codes, not a second date. Hershey explains only its BB date, and we don't guess at lot codes a maker hasn't explained. See how to tell a date from a code, or paste what you see into the expiration date decoder.

Fun-size pieces may not carry their own date. If the small wrappers are blank, look on the outer bag, and note the date before you throw the bag away. If you can't find it at all, where to look for the date covers bags, boxes and wrappers.

Sorting the Halloween haul? Scan the date on each big bag before you tip it into a bowl. FreshScan reads a month-and-year date like BB JUN 2027, saves it as the end of that month and marks it “end of month”. It doesn't know how long candy lasts; it tracks the date the maker printed and reminds you before it arrives.

Free on theApp Store

White film on chocolate: bloom, stale or moldy?

A dull, white or tan film on chocolate is the most common reason people think their candy has gone bad. It is usually bloom, and Hershey describes two kinds:

  • Fat bloom (cocoa butter bloom). Cocoa butter is sensitive to heat and humidity, and chocolate starts to melt above 75°F. When it does, “the cocoa butter can rise to the surface and form a discoloration.” Think of a bar that went soft in a warm car or a pillowcase and then set again.
  • Sugar bloom. “Condensation on milk or semi-sweet chocolate may cause the sugar to dissolve and rise to the surface.” This happens when cold chocolate comes out of the fridge into warmer, humid air.

Hershey says chocolate that has bloomed “is certainly safe to use, but flavor loss and texture changes may be noticed.” So a bloomed bar is a quality problem, not a reason to throw it away.

What you seeWhat it isWhat to do
Chocolate that has turned tan or white on the surfaceFat or sugar bloomSafe to eat, per Hershey; flavor and texture may be off
Flat or waxy taste, crumbly texture, stale or rancid smell when you open itPast its best: fats in chocolate oxidize over time, the NCA notesNot a safety issue, but no reason to eat it; toss it
Raised spots or fuzz, especially on soft or damp candyPossible moldThrow it out without sniffing it
Webbing, tiny larvae, or holes chewed in wrappers or bagsPantry pestsThrow it out and clean the shelf

When to throw candy out

  • Damaged or tampered wrappers. FDA's Halloween advice is to check commercially wrapped treats for “unusual appearance or discoloration, tiny pinholes, or tears in wrappers” and to “throw away anything that looks suspicious.” FDA also tells parents that children shouldn't eat anything from trick-or-treating that isn't commercially wrapped.
  • Mold. USDA's advice for moldy food: if food is covered with mold, discard it, and don't sniff the moldy item, because that can cause respiratory trouble. Check the candy it was stored with.
  • Pantry pests. Pantry moths infest chocolate and candy as well as cereal, flour and nuts. The National Pesticide Information Center lists webbing, droppings and holes poked in plastic bags as signs. Throw out infested items and clean the shelf with soap and water.
  • An off or rancid smell, or a texture that's clearly wrong when you open a piece. That is quality, not safety, but stale candy isn't worth eating.

How to store leftover candy

  • Keep it cool, dry and covered. The NCA recommends airtight containers in a pantry, away from heat and light. Hershey stores solid chocolate “well wrapped” in a cool, dry place at 55–60°F, which is cooler than most kitchens, so pick a low cupboard away from the oven and sunny windows.
  • Skip the fridge for chocolate. Hershey says refrigerated chocolate is safe but doesn't recommend it, because chocolate kept in the refrigerator may “sweat” when it warms up, which leads to sugar bloom.
  • Keep moisture away from chewy candy. The NCA says taffy, caramels and nougat should be protected from dampness and wrapped individually.
  • Freeze selectively. The NCA says toffee and truffles can be frozen for up to 2 months, and advises against freezing candy that contains fruit or nuts.
  • Use a sealed jar or tin, not an open bowl or a folded bag. It keeps out humidity and pantry moths, which can poke holes in plastic bags.
  • Eat in order. Candy with nuts first, then opened gummies and candy corn, then milk and white chocolate. Dark chocolate and hard candy keep longest.

For other pantry foods, the shelf life chart has USDA times, and the food expiration calculator turns a purchase date into a use-by day. If the leftover pile is bigger every year, reducing food waste at home starts with buying a bag or two less.

Questions people ask

Does candy expire?

Candy goes stale rather than spoiling on a set day. The date on most candy is a best-by date, which USDA describes as a quality date, not a safety date, and Hershey says candy kept past it may lose flavor or change texture. Throw candy out if it has mold, signs of pantry pests, or a torn or punctured wrapper.

How long does Halloween candy last?

It depends on the type. The National Confectioners Association gives milk and white chocolate 8 to 10 months, dark chocolate 1 to 2 years, hard candy up to a year, opened gummies and other soft candy 6 to 9 months, and opened candy corn 3 to 6 months. The best-by date on the bag is the better guide for each product, and nut-filled candy keeps for less time.

Is the white stuff on chocolate mold?

Usually not. A tan or white film on chocolate is normally bloom: cocoa butter or sugar that has risen to the surface after the chocolate got warm or damp. Hershey says bloomed chocolate is safe to eat, though it may taste flat or feel crumbly. Raised fuzzy spots are different; if you can't tell which you have, throw it out.

How long does candy corn last?

The National Confectioners Association says an unopened bag of candy corn lasts about 9 months, and an opened bag about 3 to 6 months stored covered at room temperature, away from heat and light. Check the best-by date on the bag too, and use whichever comes first.

Where is the expiration date on candy?

Look for a printed best-by date, often just a month and year, on the outer bag, box or wrapper. Hershey says its products carry an ink-stamped BB or Best By date. Small fun-size wrappers may not have their own date, so check or write down the date on the bag before you throw the bag away.

Sources

  1. Candy Storage Tips — National Confectioners Association (Always A Treat). The page blocks automated fetches with a captcha. Its figures were confirmed from search-engine snippets of the page and from articles that quote it (Hackensack Meridian Health, Oct 17, 2022; Northern Virginia Magazine, Nov 1, 2023).
  2. Frequently Asked Questions (product dating, storage and bloom) — The Hershey Company
  3. Food Product Dating — USDA Food Safety and Inspection Service. FSIS blocks automated fetches; wording confirmed through search results quoting the page.
  4. FSIS FoodKeeper Data — USDA Food Safety and Inspection Service (data.gov, public domain). Rows for baking chocolate, gummy fruit snacks and marshmallows; FoodKeeper has no candy category
  5. Halloween Food Safety Tips for Parents — U.S. Food and Drug Administration
  6. Molds on Food: Are They Dangerous? — USDA Food Safety and Inspection Service. Reproduced in WSU Extension's Molds on Food handout: https://s3.wp.wsu.edu/uploads/sites/2057/2021/03/Molds-on-Food-LC.pdf
  7. Pantry Moths — National Pesticide Information Center (Oregon State University and U.S. EPA)
FRESHSCAN FOR IPHONE

The date is on the bag. Keep it after the bag is gone.

Before you tip the leftovers into a jar, point FreshScan at the bag's best-by date. It saves the date and reminds you at 9:00 AM two days before, so the good chocolate gets eaten while it's still good.

  • Reads best by, use by, sell by and EXP dates, and skips packed-on dates
  • Reminders at 9:00 AM, 2 days before and on the day
  • Free for up to 10 items at a time
Download on theApp Store