How long does cooking oil last?

Cooking oil keeps 4 months in the fridge once opened and 6–12 months in the pantry, according to USDA FoodKeeper.

Quick answer

Fridge4 monthsonce opened
Freezer—No FoodKeeper guidance
Pantry6–12 monthsfrom purchase, opened: 3–5 months

Storage times by type

TypeFridgeFreezerPantry
Oils (olive or vegetable)
  • Opened: 4 months after opening
—
  • Unopened: 6–12 months from purchase
  • Opened: 3–5 months after opening
Canola oil——
  • Unopened: 1 year from purchase
Coconut oil——
  • Unopened: 3 years
USDA tips: Fridge: Refrigeration not recommended - makes it difficult to use. · Freezer: Freezing not recommended - makes it difficult to use.
Vegetable oil sprays——
  • Unopened: 2 years from purchase
  • Opened: 1 year after opening

Also covers: oil, olive oil, vegetable oil, canola oil, coconut oil, cooking spray.

Never wonder “is this still good?” again

Shelf Shepherd keeps track of what’s in your fridge and pantry and reminds you before food expires. Free for iPhone and Android.

Get early access

These are general guidelines from the USDA’s FoodKeeper data for food stored at safe temperatures: fridge at 40°F (4°C) or below, freezer at 0°F (−18°C). Freezer times are for best quality; food kept constantly frozen at 0°F stays safe longer. Always check the package and the food itself. When in doubt, throw it out. Shelf Shepherd isn’t affiliated with or endorsed by the USDA.

Source: USDA FSIS FoodKeeper data. Last reviewed November 5, 2026.