Finding a carton at the back of the fridge that smells faintly sour is one of those small kitchen crises nobody plans for.

Pasteurized milk has a shorter window than most people assume, and the rules shift depending on whether you're dealing with a standard refrigerated carton or a shelf-stable UHT carton that's been sitting in the pantry.
Knowing which type you have - and how to store it - means less waste and no unpleasant surprises.
Opened pasteurized milk lasts 4-7 days in the fridge. Unopened, it's good for 5-7 days past the manufacture date. UHT milk can sit in the pantry until opened, then follows the same fridge rules. Freeze for up to 3 months; expect some texture change after thawing.
How Long Does Milk Last?
Shelf life depends heavily on processing method.
Remember it later
Planning to try this recipe soon? Save it for a quick find later!
Standard pasteurized milk - the kind sold refrigerated - lasts 5-7 days from the manufacture date unopened, and 4-7 days once you break the seal. Ultra-pasteurized (UHT) milk in aseptic packaging can stay shelf-stable unopened for 6-9 months, though it needs refrigeration the moment you open it and follows the same 4-7 day rule from there.
The sell-by or best-by date printed on a carton is a quality marker set by the manufacturer, not a hard safety cutoff. Milk that's a day or two past that date may still be fine - use your senses, not just the label.
| Method | State | Duration | Notes |
|---|---|---|---|
| 🧊 Fridge | Unopened (pasteurized) | 5-7 days | From manufacture date; UHT refrigerated lasts up to 2 weeks unopened |
| 🧊 Fridge | Opened | 4-7 days | Reseal tightly; applies to pasteurized whole, 2%, and skim |
| ❄️ Freezer | Opened or unopened | 3-6 months | Best quality within 3 months; texture changes likely after that |
| 🏠 Pantry | Unopened UHT only | 6-9 months | Aseptic packaging required; check package date |
| 🏠 Counter | Opened | 2 hours max | 1 hour if ambient temperature exceeds 90°F |
Lactose-free milk follows similar timelines to standard pasteurized, though some brands use UHT processing, which extends the unopened window noticeably.
How to Store Milk
The single most common storage mistake is putting milk in the fridge door. Door shelves experience the most temperature fluctuation every time the fridge opens, which accelerates spoilage in pasteurized milk faster than most people realize.
Keep it on a middle or lower shelf toward the back where temperatures stay consistently cold.
For different milk types, the approach varies slightly:
- Pasteurized whole or skim milk - Keep in the original sealed carton or jug; write the open date on the cap so you're not guessing later.
- UHT unopened cartons - Store upright in a cool, dark pantry away from sunlight and heat sources; no refrigeration needed until opened.
- Glass bottle milk - Seal tightly after each use; glass doesn't insulate as well as opaque cartons, so keep it away from the fridge light.
- Refrigerated cream or half-and-half - Apply the same fridge rules; cream storage life mirrors that of pasteurized milk once opened.
Never leave opened milk on the counter while cooking for extended periods. The two-hour rule applies at standard room temperature - less in a warm kitchen.
Can You Freeze Milk?
Yes, and it works better than most people expect - with one caveat. Fat separation is inevitable after thawing, meaning the cream and liquid proteins split apart. Homogenized milk reconstitutes more easily than non-homogenized, but neither version fully returns to its original smooth texture.
Thawed milk is best used in cooking and baking - soups, sauces, pancake batter - rather than drinking straight from a glass.
Follow these steps for clean results:
- Portion it out - Freeze in measured amounts (one cup is practical) so you only thaw what a recipe needs.
- Leave headspace - Pour milk into a rigid freezer-safe container, filling only to about 1-2 inches below the lid to allow expansion.
- Seal and label - Mark the container with the date and fat content (whole, 2%, skim), since texture changes differ by fat level.
- Freeze flat if possible - A shallow container freezes faster and stacks efficiently.
- Thaw overnight in the fridge - Keep the container upright. Gently invert or stir before use to reincorporate separated fat. Don't microwave to speed the process.
Quality is best within 3 months. Milk frozen up to 6 months is technically safe but noticeably grainier.
Signs Milk Has Gone Bad
Your nose is the fastest diagnostic tool here. Fresh milk has a faint, clean milky smell - anything sour, yeasty, or rancid means bacterial fermentation has already progressed.
Don't rely on the date alone; pasteurized milk can sour before the printed date if it's been stored poorly or exposed to temperature swings.
When in doubt, discard. Spoiled milk contains bacteria that cooking doesn't always neutralize safely, particularly for young children or anyone immunocompromised.
Similar spoilage logic applies to yogurt freshness guide - the fermented base changes the signs, but the same smell-first approach holds.
Practical Tips for Getting the Most Out of Milk
A few habits make a real difference in how long your milk stays usable. The type of milk matters most - UHT and pasteurized milk have genuinely different pantry and fridge rules, and mixing them up wastes both product and money.
- Write the open date on the cap - Don't trust your memory; a quick marker note takes two seconds.
- Never leave it in a warm car - Even 20 minutes in summer heat shortens the shelf life of refrigerated milk significantly.
- Freeze in cup-sized portions - Measured freezer portions mean no thawing a full half-gallon for a single recipe.
- Use thawed milk in cooked applications - Soups, béchamel, baked goods, and oatmeal handle the textural changes far better than a cold glass would.
If you regularly run through milk replacements as a backup, many shelf-stable plant-based options follow UHT-style pantry storage until opened - worth knowing before you're stuck mid-recipe.
Frequently Asked Questions
Yes, though texture changes after thawing. Fat separation and graininess are common, so thawed milk works better in cooked recipes than as a beverage. Homogenized milk reconstitutes more smoothly after stirring.
Possibly 1-2 days, depending on storage conditions. The printed date is a quality guideline, not a safety cutoff - always smell and check for curdling before using milk past its date.
Not recommended. Milk expands as it freezes, and a full sealed carton will deform or burst. Transfer to a rigid freezer-safe container with 1-2 inches of headspace before freezing.
Yes, but only when unopened and in its original aseptic packaging. Ultra-high-temperature processing eliminates bacteria that would otherwise require refrigeration. Once opened, UHT milk is just as perishable as standard pasteurized milk.
No. Freezing suspends bacterial activity but doesn't destroy it. Bacteria resume multiplying once milk thaws, so thawed milk should be used within 1-2 days and kept refrigerated throughout.




