How Do Food Expiration Dates Work?
A 7-minute read
Most food date labels aren't regulated safety deadlines — they're manufacturer quality estimates. Understanding what each label actually means is the difference between throwing out perfectly good food and keeping something you shouldn't.
The date printed on your food is probably not telling you what you think it’s telling you.
Most people treat food date labels as safety deadlines — a moment when food transforms from safe to dangerous. Toss the milk one day past its date, scrape mold off cheese and throw out the rest, never eat the week-old leftovers. This instinct leads to an enormous amount of perfectly good food being thrown away, and occasionally keeps people from recognizing food that actually has gone bad.
The reality is more complicated and more interesting. Food date labels in the United States are largely unregulated, inconsistently defined, and set by manufacturers based on quality preferences rather than safety science. Understanding what these labels actually mean — and what determines when food genuinely becomes unsafe — changes how you interact with your refrigerator.
What the labels actually say
The US has no federal standard for food date labeling, except for infant formula. Manufacturers choose their own label phrasing, and the result is over 50 different formulations in common use. The most important ones:
Best by / Best before / Best if used by — A quality estimate. The manufacturer’s judgment about when the product will be at peak flavor, texture, or appearance. Food is generally safe to consume after this date; it may just be less than optimal. These dates are common on shelf-stable items like crackers, canned goods, cereals, and condiments.
Sell by — A retailer instruction. This tells the store how long to display the product while leaving reasonable time for home use. It has no direct bearing on when the consumer should throw it out. Milk labeled “sell by June 1” is typically good until June 7-10 after purchase.
Use by — The most serious label, and the closest to an actual safety date. Manufacturers use this on highly perishable items — fresh meat, deli meats, soft cheeses, ready-to-eat foods — where safety declines more meaningfully after the date. Even so, “use by” is not federally regulated and the threshold varies by manufacturer.
Freeze by — A newer label pushed by the USDA and food industry to reduce waste. It tells consumers when to freeze a product to preserve quality, not when it becomes unsafe to eat.
Packed on / Pack date — Common on meat, eggs, and some produce. This is the production date, usually presented as a Julian date (day of year). An egg carton stamped “045” was packed on February 14th.
How manufacturers set the dates
There’s no federal body that independently audits food date labels. Manufacturers run their own testing programs using a combination of sensory panels and lab analysis.
Sensory panels are trained evaluators who taste, smell, and examine the product at regular intervals and score it on dimensions like flavor intensity, off-notes, texture, and appearance. The panel continues until scores drop below an internal threshold — the point where the company decides quality has declined enough to matter. The “best by” date is typically set before this threshold, with a built-in cushion to protect brand reputation.
Lab analysis measures objective quality markers: microbial counts, pH, water activity, oxidation levels, moisture content. For safety-sensitive products, this feeds into the use-by date. For shelf-stable products, it confirms that pathogens aren’t a concern and quality markers are declining predictably.
The methodology varies enormously across companies, and there’s no external validation. A major brand running thorough two-year shelf-life studies is very different from a smaller producer making conservative estimates to avoid any chance of a quality complaint. Both of their dates look identical on the package.
The actual science of food spoilage
Understanding when food is genuinely unsafe requires understanding what causes food to go bad — which is several distinct mechanisms, not one.
Microbial growth is the primary safety concern. Bacteria, mold, and yeast grow in food at rates governed by temperature, water activity, pH, and oxygen availability. The “danger zone” for bacterial growth is 40°F to 140°F (4°C to 60°C). Below 40°F, most bacterial growth slows dramatically. Above 140°F, most bacteria are killed. This is why refrigerator temperature matters far more than the date on the package: cooked chicken stored at 36°F will outlast cooked chicken stored at 45°F by days.
Pathogens vs. spoilage organisms are a critical distinction. Spoilage bacteria and mold make food look or smell bad before they become dangerous — they’re your sensory warning system. Pathogens like Listeria, Salmonella, and E. coli O157:H7 can grow without any visible or olfactory signal. This is why date labels matter more for raw meat, ready-to-eat foods, and unpasteurized products, where pathogens are more likely to be present.
Oxidation causes rancidity in fats and oils, browning in produce, and color changes in meat. It degrades quality but rarely creates safety concerns. The staleness in old crackers or the brown color in cut apples is oxidation, not spoilage.
Enzymatic degradation continues in produce after harvest as natural enzymes break down cell structure. This is why a ripe avocado kept at room temperature becomes overripe within days — no microbes involved, just chemistry.
Moisture loss affects texture in ways unrelated to safety. Bread goes stale because moisture redistributes from the crumb to the crust and then evaporates. A stale loaf is safe to eat; it just has worse texture.
The refrigerator as the real variable
If there’s one thing to take away from food safety science, it’s that storage temperature matters more than package dates.
The USDA’s general rules for refrigerated food at 40°F or below:
- Raw chicken, ground beef: 1-2 days
- Raw steak, chops, roasts: 3-5 days
- Cooked meat and poultry: 3-4 days
- Leftover pizza, pasta, rice: 3-5 days
- Hard cheese: 3-4 weeks after opening
- Whole eggs in shell: 3-5 weeks
These windows assume proper refrigerator temperature (40°F/4°C or below) and consistent storage. A refrigerator running at 45°F effectively halves the safe window. A grocery bag left in a warm car for two hours before refrigerating can accelerate bacterial growth enough to matter.
Frozen food is safe indefinitely from a microbial standpoint. Quality degrades over time — ice crystals form and rupture cell walls, fats oxidize, flavors dull — but frozen food doesn’t become unsafe. The “best by” date on frozen items is purely about eating quality.
The waste problem
The FDA estimates that US consumers throw out about 20% of food purchased, with date label confusion as a significant contributing factor. The Natural Resources Defense Council has found that Americans throw out roughly $1,500 worth of food per household per year.
The industry and regulators have been pushing toward standardization. The Food Marketing Institute and Grocery Manufacturers Association launched a voluntary program in 2017 recommending only two date phrases: “Best if used by” for quality and “Use by” for safety. Adoption has been gradual. The 2023 USDA guidance encouraged manufacturers to move in this direction, but without federal mandate, the patchwork persists.
The practical guide
Shelf-stable (canned, dry goods, crackers, cereals): Safe well beyond best-by dates. Canned goods are typically good 2-5 years past their date if the can is undamaged. Dried pasta, rice, and grains: years. Quality eventually declines but safety isn’t the concern.
Dairy: Milk is typically good 5-7 days past sell-by if stored properly. Hard cheeses, weeks to months past best-by. Soft cheeses and yogurt, use judgment and smell. Butter, months past its date in the fridge.
Eggs: 3-5 weeks past pack date. The float test is reliable: sinks flat = fresh, sinks but stands = older but fine, floats = discard.
Cooked leftovers: Use the USDA 3-4 day rule regardless of any packaging date. When in doubt, the sniff test catches most spoilage organisms — though not pathogens, which is why leftovers over 5 days should go regardless of how they smell.
Raw meat and fish: Work from purchase date, not package date. Use within USDA windows or freeze immediately. The package date is often the sell-by, not a safety cutoff.
Frozen food: No safety concerns from freezer age. Quality degrades but the 2017 recommendation for voluntary “best if used by” dates on frozen items is quality guidance only.
Key terms
Water activity A measure of available moisture in food that microbes can use for growth. High water activity (close to 1.0) supports bacterial growth; low water activity (jerky, crackers, dried beans) inhibits it — which is why low-moisture foods are shelf-stable and why date labeling matters less for them.
Danger zone The USDA temperature range (40°F to 140°F) in which bacteria multiply rapidly. The rule of thumb: don’t leave perishable food in the danger zone for more than 2 hours total (1 hour above 90°F/32°C).
Sensory panel A trained group of evaluators used to assess food quality over time. The primary tool manufacturers use to set best-by dates.
Listeria monocytogenes One of the few pathogens that can grow at refrigerator temperatures. It’s the primary reason ready-to-eat deli meats and soft cheeses have meaningful “use by” dates rather than quality-only dates.
Common misconceptions
“Mold on one part of a food means throw out the whole thing.” For hard cheeses, hard salami, and firm vegetables, cutting off the moldy part (with 1-inch margin) is safe. The dense structure prevents mold from penetrating. For soft cheeses, bread, yogurt, or anything with high moisture content, discard the whole item — mold threads (hyphae) can penetrate deeply without visible surface growth.
“The date on the package is the law.” Federal law only mandates date labels on infant formula. Every other food date is voluntary and manufacturer-set with no standardized methodology.
“Canned food goes bad after the date.” Undamaged commercially canned food is shelf-stable for years beyond any printed date. The Smithsonian has documented edible canned food from the Civil War era. Quality declines, but safety isn’t the concern for intact cans.
“Sell-by dates protect me.” Sell-by dates are instructions to retailers, not consumers. The date tells the store when to pull the product from shelves — specifically timed so the product still has useful home life remaining. If you buy something the day before its sell-by date, you generally have several more days of good quality at home.