Skip to content
Gunther Heller

Does Vegetable Oil Go Bad?

Source: USDA FoodKeeper and FSIS · last verified November 2026

Illustration of vegetable oil
Show storage times for
Per USDA FoodKeeper
Counter
3–5 months
cool, dry place
Fridge
4 months
at or below 40°F (4°C)
Freezer
Not listed
no FoodKeeper figure
Counter
6–12 months
cool, dry place
Fridge
Not needed
shelf-stable
Freezer
Not needed
keeps without freezing
Quick answer

Yes. Vegetable oil lasts 3–5 months in the pantry. After that, or sooner if stored badly, it spoils: watch for the signs below.

How to tell if vegetable oil is bad

Smell

Rancid: like crayons, paint or old nuts.

Taste

Bitter or soapy aftertaste.

Texture

Sticky or gummy residue around the lid.

Colour

Darkened or cloudy where it should be clear.

Vegetable oil past the expiration date

Unopened

FoodKeeper gives unopened vegetable oil 6–12 months in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

Opened

Once opened, the printed date no longer applies. Count 4 months in the fridge or 3–5 months in the pantry from the day you open it.

How to keep vegetable oil fresh longer

  • Keep in a cool, dark place, tightly closed, away from heat.
  • Refrigerating nuts, seeds and nut oils extends shelf life significantly.
  • Smell before using; rancidity is a quality problem you can detect.
Every method

Vegetable oil storage times by method

MethodDurationTemperatureContainerNotes
Pantry / counter (opened)3–5 months68–72°FAirtightcool, dry place
Refrigerator (opened)4 months≤ 40°F / 4°CAirtightat or below 40°F (4°C)
Pantry / counter (unopened)6–12 months68–72°FAirtightcool, dry place
The basics

About vegetable oil

Vegetable oil belongs to our bread & baking category. USDA FoodKeeper lists vegetable oil under “Oils (olive or vegetable)”, so this page uses that entry’s storage times. According to USDA FoodKeeper, it keeps 4 months in the fridge and 3–5 months in the pantry. It is not a high-risk perishable food, so the main concern is quality rather than safety. Where to keep it: a middle shelf is best, not the door: the door warms up every time it opens.

Butter, oils, nuts, seeds and nut butters are rich in fat, which bacteria do not grow on easily, so their main enemy is rancidity rather than food poisoning. Rancid fat is not usually dangerous in small amounts, but it tastes bitter and stale. Cool, dark, airtight storage slows it down; refrigeration slows it down further.

The science

Why vegetable oil goes bad

Oxygen, light and heat react with the fats, breaking them into compounds that smell like crayons, paint or old nuts. Unsaturated fats, found in nut and seed oils, go rancid faster than saturated fats like butter. Moisture and crumbs introduced with a dirty knife can also let mould grow on butters and spreads.

Avoid these

Common vegetable oil storage mistakes

  • Storing oils next to the stove.
  • Keeping clear bottles in sunlight.
  • Leaving lids loose so air gets in.
  • Buying large containers of nut oils or nuts that you will not finish before they turn rancid.
At the store

How to pick fresh vegetable oil

  • Choose dark glass or tins for oils.
  • Buy nuts and seeds from shops with a high turnover, or in sealed packs.
  • Check the best-by date and buy sizes you will use within a few months.
Less waste

Vegetable oil: use it up in time

  • Refrigerate or freeze nuts and seeds to keep them fresh longer.
  • Use up nut butters in sauces, dressings and baking.
  • Smell oils before using them: if they smell stale, replace them.
Where to keep it

Where to store vegetable oil

Freezer Top shelf Middle shelf Bottom shelf Crisper drawer Door
Best spot
Middle shelf

A middle shelf is best, not the door: the door warms up every time it opens.

Date labels

Expiration dates, decoded

Most dates printed on vegetable oil packaging are about quality, not safety. In the US, the only federally required date is the use-by date on infant formula; everything else is chosen by the manufacturer. “Best if used by” tells you when flavour and texture are at their best. “Sell-by” is for the shop's stock rotation and you can store food at home for its normal storage time after it. “Use-by” is the last date the manufacturer recommends for peak quality.

That is why this page counts storage time from the day you buy, cook or open vegetable oil, rather than from the printed date: 4 months in the fridge and 3–5 months in the pantry. If food has been stored correctly, it can be fine past a best-by date; if it has been stored badly, it can spoil well before it.

Try it

Check your vegetable oil

Tick anything you notice

Nothing ticked? Good sign. Still check how long it has been stored: the bacteria that cause food poisoning are invisible.

Any of these means it has gone bad. Throw it out — don't taste it to check.

It's been in the pantry for…
Tap a time to check.
Still good

Well inside the 3–5 months pantry time for vegetable oil, as long as it has been kept cool, dry and tightly closed.

Still good

Well inside the 3–5 months pantry time for vegetable oil, as long as it has been kept cool, dry and tightly closed.

Use it soon

Near the end of the 3–5 months pantry time. Check the smell and look before using; quality is starting to fade.

Check before using

Past the 3–5 months pantry time. Shelf-stable food usually loses quality rather than becoming unsafe: throw it out if you see mould, pests, damp clumps or an off smell.

Check before using

Past the 3–5 months pantry time. Shelf-stable food usually loses quality rather than becoming unsafe: throw it out if you see mould, pests, damp clumps or an off smell.

Quick quiz

True or false? Vegetable oil myths

  1. 1.Vegetable oil is safe to eat after more than 4 months in the fridge, as long as it smells fine.
    Correct!
    Not quite.

    Partly true. Vegetable oil is not high-risk, so a little past 4 months usually means lower quality, not danger. Check for mould and off smells first.

  2. 2.Freezing vegetable oil kills the bacteria on it.
    Correct!
    Not quite.

    False. Freezing pauses bacteria; it does not kill them. They become active again as the food thaws, so thaw in the fridge and cook or reheat properly.

  3. 3.Vegetable oil freezes well.
    Correct!
    Not quite.

    Only partly. FoodKeeper gives no freezer time for vegetable oil.

  4. 4.The fridge door is a good place for vegetable oil.
    Correct!
    Not quite.

    False. The door warms up every time it opens. A middle shelf is best, not the door: the door warms up every time it opens.

  5. 5.Vegetable oil needs to be refrigerated to stay safe.
    Correct!
    Not quite.

    False. Vegetable oil is shelf-stable: 3–5 months in a cool, dry place. Refrigerating can extend quality for some foods, but it is not needed for safety.

Question by question

Vegetable oil shelf life, answered

How long does vegetable oil last in the fridge?

4 months at 4°C (40°F) or colder (opened). Keep it sealed so it does not pick up moisture or odours.

How long does vegetable oil last in the freezer?

Not listed. FoodKeeper gives no freezer time for vegetable oil.

How long does vegetable oil last at room temperature?

3–5 months in a cool, dry place.

How long does vegetable oil last after opening?

4 months in the fridge, or 3–5 months in the pantry once opened. The printed date stops applying the moment you break the seal.

How long does unopened vegetable oil last?

6–12 months in the pantry, if the seal is intact and it is stored as the label says.

How long is vegetable oil good for past the expiration date?

FoodKeeper gives unopened vegetable oil 6–12 months in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

How can you tell if vegetable oil is bad?

Rancid: like crayons, paint or old nuts. Bitter or soapy aftertaste. Sticky or gummy residue around the lid.

More about vegetable oil

More “does it go bad?” answers, A–Z →

FAQ

How long does it take for vegetable oil to go bad?
3–5 months in the pantry, per USDA FoodKeeper.
Can vegetable oil expire?
FoodKeeper gives unopened vegetable oil 6–12 months in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.
What happens if you eat bad vegetable oil?
Usually an unpleasant taste rather than illness, but discard anything mouldy, rancid or smelling off.
How do you keep vegetable oil from going bad?
Keep in a cool, dark place, tightly closed, away from heat.
What temperature should I keep vegetable oil at?
Keep your fridge at 4°C (40°F) or colder and your freezer at -18°C (0°F). Many fridges run warmer than their dial suggests, so an inexpensive appliance thermometer is worth having. Every few degrees above 4°C noticeably shortens the 4 months fridge window for vegetable oil.
What is the best container for vegetable oil?
Use an airtight, dark container away from heat and light. The goal is to keep out air and moisture, stop odours spreading, and make it easy to see how old the food is. Write the date on a label or the lid so you are never guessing how long it has been stored.
Can I keep vegetable oil in the fridge door?
It is better not to. The door is the warmest part of the fridge and warms up every time it opens. A middle shelf is best, not the door: the door warms up every time it opens.
Can you refreeze vegetable oil?
Only if it thawed in the fridge and has not been left out. Food thawed in cold water or the microwave should be cooked before freezing again. Each freeze-thaw cycle lowers quality, so freeze in portions you will use at once.
Does freezing kill bacteria in vegetable oil?
No. Freezing at -18°C (0°F) stops bacteria from multiplying but does not kill them. When vegetable oil thaws, any bacteria present become active again, so thaw in the fridge and cook or reheat to a safe temperature where appropriate.
Is vegetable oil safe if it smells fine but is past the storage time?
For a low-risk food like vegetable oil, past the storage time usually means lower quality rather than danger. Check for mould, off smells or an unusual taste, and throw it out if anything seems wrong.
Numbers on this page come from USDA FoodKeeper and FSIS guidance. Last verified November 2026. How we verify our data · Report a wrong number