Often, yes. Apart from infant formula, the dates on food in the US are about quality, not safety, the USDA says. Dry baking staples like flour, sugar, baking soda and cornstarch are usually fine past the date if they’ve been kept dry. Leaveners (baking powder, baking soda, yeast) lose strength, so test them first. Eggs and dairy need more care: they must have been refrigerated the whole time and look and smell normal. Baking doesn’t fix food that has spoiled.

| Ingredient | Past the date? | How long it keeps (USDA FoodKeeper) | Check |
|---|---|---|---|
| Eggs (in shell) | Usually fine | 3 to 5 weeks in the fridge from purchase | Crack into a separate bowl; no off smell |
| Milk | Only if it smells and tastes fresh | Until the use-by date (fridge) | Sour smell or lumps: throw out |
| Buttermilk | Often fine | 1 to 2 weeks in the fridge | Mould, pink or off smell: throw out |
| Yogurt | Often fine | 1 to 2 weeks in the fridge | Mould or off smell: throw out |
| Butter | Usually fine | 1 to 2 months in the fridge | Rancid or sour smell: throw out |
| White flour | Usually fine | 6 to 8 months in the pantry | Sour or musty smell, bugs, mould |
| Baking powder | Test first | 3 to 6 months once opened | Fizzes in hot water? |
| Baking soda | Test first | 6 months once opened | Fizzes with vinegar? |
| Yeast (packaged) | Test first | 4 months in the fridge once opened | Foams in warm sugar water? |
| Vegetable oil | Usually fine | 3 to 5 months once opened | Rancid, bitter or “crayon” smell |
| Sugar | Yes | Indefinitely | Hard lumps are fine; break them up |
| Cornstarch | Yes | About 18 months once opened | Dry and lump-free |
| Cocoa | Yes | About 1 year once opened | Flavour fades |
| Vanilla extract | Yes | About 1 year once opened | Flavour fades |
Can you bake with expired eggs?
Usually, yes. The USDA says eggs keep 3 to 5 weeks in the fridge from the day you buy them, and the carton date usually passes within that time. Crack each egg into a separate bowl first: throw it out if it smells bad or looks discoloured. See how long eggs last after the expiration date.
Can you bake with expired milk?
Only if it still smells and tastes fresh, and was kept cold. Milk that has gone sour or lumpy is spoiled; don’t bake with it. (Sour, spoiled milk is not the same as buttermilk, which is made sour on purpose with safe cultures.) Also see how long milk can sit out.
Can you bake with expired flour?
Usually, yes, if it smells neutral and shows no bugs or mould. White flour keeps 6 to 8 months; whole wheat goes rancid sooner. Full guide: does flour go bad?
Can you bake with expired baking powder or baking soda?
They’re safe, but they may not make your bake rise. Test them:
- Baking powder: stir ½ teaspoon into ¼ cup of hot water. Lots of bubbles = still good.
- Baking soda: add ¼ teaspoon to a little vinegar or lemon juice. Strong fizzing = still good.
If there’s little or no fizz, replace it. Weak leaveners give flat, dense cakes and cookies.
Can you bake with expired yeast?
Test it first (“proofing”): stir it into ¼ cup of warm water (about 110°F / 43°C) with a pinch of sugar. If it foams within about 10 minutes, it’s alive. If not, it won’t raise bread. Opened yeast keeps best in the freezer; see can you freeze instant yeast?
Can you bake with expired butter?
Usually, yes. Butter keeps 1 to 2 months in the fridge. If it smells sour or rancid, or tastes sharp and stale, don’t use it: the flavour carries through. See can you leave butter out?
Can you bake with expired buttermilk or yogurt?
Often, yes, within about 1 to 2 weeks of opening, if they smell and look normal. Throw them out if you see mould, pink or orange spots, or they smell yeasty or rotten.
Can you bake with expired oil?
Usually, but oil goes rancid over time (FoodKeeper: 3 to 5 months once opened in the pantry). Rancid oil smells bitter, soapy or like old paint, and it ruins the taste of baked goods.
When to throw it out, whatever the date
- Mould anywhere on dairy, flour or other ingredients.
- Sour, rotten or rancid smells.
- Bugs or webbing in flour, oats or other dry goods.
- Perishables left out more than 2 hours.
Quick answers
Does baking kill bacteria in expired ingredients?
Cooking kills many bacteria, but it doesn’t remove toxins some leave behind, or bad flavours. Don’t use spoiled ingredients.
What does “best by” mean on baking supplies?
Peak quality. The USDA says most dates aren’t safety dates.
Can you use expired cake mix?
Usually. The leaveners may be weaker, so the cake may rise less.
Sources: USDA FSIS, Food Product Dating (dates are about quality, not safety, except infant formula) and Shell Eggs from Farm to Table (3 to 5 weeks); USDA FSIS and Cornell University, FoodKeeper (storage times for buttermilk, yogurt, butter, baking powder, baking soda, yeast, oil, sugar, cornstarch, cocoa, vanilla); Ohio State University Extension, Pantry Food Storage (white flour 6 to 8 months).
Related: Does Peanut Butter Go Bad? and Can You Freeze Cookie Dough?

