Opened cow's milk lasts 5 to 7 days in the refrigerator. The printed date on the carton — whether labeled "sell by," "best by," or "use by" — tells retailers when to pull the product from shelves, not how long the milk remains safe after you open it. Once opened, the 5–7 day clock starts regardless of what the label says. Ultra-pasteurized (UHT) milk and most plant-based milks last 7 to 10 days after opening.
Understanding this distinction prevents two common mistakes: throwing out milk that's still good because the date passed, and keeping opened milk too long because the date hasn't arrived yet.
Table of Contents
- How Long Does Opened Milk Last?
- What Does the Date on Milk Actually Mean?
- How Long Does Unopened Milk Last?
- Plant-Based Milks: Oat, Almond, Soy, Coconut
- How to Tell If Milk Has Gone Bad
- How to Store Milk Properly
- Can You Freeze Milk?
- Quick Reference Summary
- Frequently Asked Questions (FAQ)
- References
How Long Does Opened Milk Last?
Whole milk
After Opening (Fridge)
5–7 days
2% reduced-fat milk
After Opening (Fridge)
5–7 days
1% low-fat milk
After Opening (Fridge)
5–7 days
Skim (non-fat) milk
After Opening (Fridge)
5–7 days
Ultra-pasteurized (UHT) milk
After Opening (Fridge)
7–10 days
Lactose-free milk
After Opening (Fridge)
5–7 days (same as regular; lactose-free doesn't extend shelf life)
Raw (unpasteurized) milk
After Opening (Fridge)
3–4 days
The 5–7 day window applies from the moment the seal is broken, not from the printed date. If your milk was printed with a date two weeks away but you opened it today, it will still go off in 5–7 days.
What Does the Date on Milk Actually Mean?
The date stamped on milk cartons is a sell-by date in most cases — a guideline for retailers on how long to display the product for sale. It is not a safety expiration date.
- Sell by: the last date the store should sell the product. Milk bought on the sell-by date is still good for several more days if unopened and properly refrigerated.
- Best by / Best if used by: a quality date indicating when the product is at peak flavor. Not a safety cutoff.
- Use by: the manufacturer's estimate of when quality begins to noticeably decline. Closest to a safety-relevant date but still not a hard expiration.
The FDA does not require expiration dates on milk at the federal level. Date requirements vary by state, and the format of those dates also varies.
Practical rule: unopened, properly refrigerated milk is typically still safe 5–7 days past the sell-by date. Once opened, use within 5–7 days regardless of the date.
How Long Does Unopened Milk Last?
Unopened, before sell-by date
Refrigerator
Until sell-by date + 5–7 days
Unopened, past sell-by date
Refrigerator
5–7 days past date (if continuously refrigerated)
UHT/ultra-pasteurized (unopened)
Refrigerator
Up to 6 months at room temperature; refrigerate after opening
UHT milk undergoes processing at higher temperatures (280°F/138°C for 2+ seconds) that kills all bacteria including heat-resistant strains. This allows it to be shelf-stable for months when sealed. Once opened, it behaves similarly to regular pasteurized milk: use within 7–10 days.
Plant-Based Milks: Oat, Almond, Soy, Coconut
Oat milk
After Opening (Fridge)
7–10 days
Shelf-Stable (Unopened)
Up to 12 months
Almond milk
After Opening (Fridge)
7–10 days
Shelf-Stable (Unopened)
Up to 12 months
Soy milk
After Opening (Fridge)
7–10 days
Shelf-Stable (Unopened)
Up to 12 months
Coconut milk (carton)
After Opening (Fridge)
7–10 days
Shelf-Stable (Unopened)
Up to 12 months
Coconut milk (can, opened)
After Opening (Fridge)
4–5 days
Shelf-Stable (Unopened)
Until printed date
Rice milk
After Opening (Fridge)
7–10 days
Shelf-Stable (Unopened)
Up to 12 months
Most plant-based milks sold in shelf-stable cartons are UHT-processed, giving them longer post-opening windows than regular pasteurized dairy. Those sold refrigerated (in the cold section from the start) typically last 7–10 days after opening as well.
Note: plant-based milks often separate naturally — shake before using. Separation is not a spoilage sign on its own.
How to Tell If Milk Has Gone Bad
Smell: the clearest indicator. Fresh milk has a clean, slightly sweet, neutral dairy smell. Sour milk smells distinctly acidic — not subtly tangy, but unmistakably sharp. If it smells wrong, discard regardless of the date.
Texture: fresh milk pours smoothly and is uniformly liquid. Spoiled milk is thick, lumpy, or curdled. You may see chunks floating or the milk may not pour freely. Curdled milk should be discarded.
Taste: slightly sour taste is the earliest sign before visible curdling. Do not consume milk that tastes off — lactic acid bacteria activity is already well underway.
Color: fresh milk is white to slightly off-white. A yellowish tinge or visible discoloration is a sign of spoilage.
Note on sour smell vs. taste: milk can smell slightly sour before it's visibly curdled. At that stage, the bacterial load is high enough that it's not advisable to drink it, but it can often still be used in baking — heat during baking destroys most bacteria. Use your judgment.
How to Store Milk Properly
Back of the refrigerator, not the door. The refrigerator door is the warmest part of the fridge — temperatures there fluctuate with every opening. The back of a middle or bottom shelf is the coldest and most consistent location. Storing milk here rather than the door can meaningfully extend freshness.
Keep it cold:
- Ideal refrigerator temperature for milk: 35–38°F (1.7–3.3°C)
- Milk left at room temperature for more than 2 hours should be discarded
Keep it closed:
- Return milk to the refrigerator immediately after pouring
- Keep the cap or spout sealed tightly
- Milk absorbs flavors from strong-smelling foods nearby — store away from onions, leftovers with strong odors, or uncovered dishes
Don't mix old and new:
- Never pour new milk into a container that still has old milk — cross-contamination accelerates spoilage of the fresh milk
Can You Freeze Milk?
Yes. Milk freezes well, though texture changes slightly after thawing.
Whole milk
Freezer Duration
3 months
Notes
May separate slightly; shake after thawing
2% / 1% / skim
Freezer Duration
3 months
Notes
Less fat = less separation
UHT milk
Freezer Duration
3 months
Notes
Same as regular after opening
Plant-based milk
Freezer Duration
3 months
Notes
Separation common; best in smoothies, cooking
How to freeze milk:
- Leave 1–2 inches of headspace in the container — milk expands when frozen.
- If freezing a full gallon, pour out 1–2 cups first to allow expansion.
- Freeze in the original container or pour into freezer-safe bags in portion sizes.
To thaw: move to the refrigerator and thaw overnight. Shake or stir well before using — separation is normal. Use within 2–3 days of thawing.
Thawed milk works well in cooking, baking, smoothies, and coffee. For drinking straight, texture is close to fresh but may be slightly grainy.
Quick Reference Summary
Whole / 2% / 1% / skim
Fridge (Opened)
5–7 days
Fridge (Unopened, Past Date)
5–7 days past date
Freezer
3 months
UHT / ultra-pasteurized
Fridge (Opened)
7–10 days
Fridge (Unopened, Past Date)
6 months (room temp, sealed)
Freezer
3 months
Lactose-free
Fridge (Opened)
5–7 days
Fridge (Unopened, Past Date)
5–7 days past date
Freezer
3 months
Raw / unpasteurized
Fridge (Opened)
3–4 days
Fridge (Unopened, Past Date)
Use immediately
Freezer
Not recommended
Plant-based (carton)
Fridge (Opened)
7–10 days
Fridge (Unopened, Past Date)
Up to 12 months (sealed)
Freezer
3 months
Frequently Asked Questions (FAQ)
Can I drink milk that's 2 days past the sell-by date? If the milk is unopened and has been continuously refrigerated, it is almost certainly still safe 2 days past the sell-by date. Open it and smell it — if it smells clean, it's fine. The sell-by date is a retail guideline, not an expiration.
Why does my milk go bad before the sell-by date? Milk that spoils before its date has usually experienced a temperature break — left out too long during grocery transport, stored in the warmest part of the fridge (door), or improperly sealed after opening. Check your refrigerator temperature (should be 35–38°F) and ensure you're storing milk at the back, not the door.
Is sour milk safe to use in baking? Slightly sour milk — milk that smells off but hasn't curdled — can generally be used in baking. The heat of baking kills bacteria, and sour milk reacts with baking soda in a useful way (similar to buttermilk). Heavily curdled or visibly spoiled milk should not be used even in cooking.
Does whole milk last longer than skim milk in the fridge? No. The fat content doesn't meaningfully affect refrigerated shelf life. Both whole and skim milk last 5–7 days after opening under the same storage conditions.
How long does milk last if I leave it out by accident? Milk left at room temperature (above 40°F/4°C) for more than 2 hours should be discarded. Bacteria double roughly every 20 minutes in the danger zone — by the 2-hour mark, bacterial levels are high enough to pose a food safety risk even if the milk doesn't yet smell obviously sour.
References
- USDA Food Safety and Inspection Service. Leftovers and Food Safety
- FDA. Cold Food Storage Chart
- FDA. Milk Guidance Documents & Regulatory Information
- USDA FoodData Central. Milk products
Turn food scraps into real compost
When milk or any food goes past its prime, Reencle converts those scraps into living compost in 30 days — not dried waste, but real compost for your garden.
See How Reencle Works →
