How long does mayonnaise last?

Mayonnaise lasts 2 months in the fridge (after opening) and 3–6 months in the pantry, according to USDA FoodKeeper guidance.Source: USDA FoodKeeper (FSIS). General guidance, not a guarantee — when in doubt, throw it out.

  • Fridge 2 months
  • Pantry 3–6 months

Storage times

FoodWhereCountedHow long
Mayonnaise, commercialFridgeAfter opening2 months
PantryFrom purchase3–6 months

When in doubt, throw it out. Keep the fridge at 40 °F (4 °C) or below and the freezer at 0 °F (−18 °C).

USDA tips

  • Pantry: Refrigeration ensures that commercial sauces and condiments stay fresh for a longer period of time. Shelf-stable commercial mayonnaise is safe when stored at room temperature after opening. Quality, not safety, is the reason the labels on these products suggest that they be refrigerated after opening.

Signs it has gone bad

  • Bulging, rusty or leaking cans
  • Mold or off smell
  • Bugs or webbing (dry goods)
  • Rancid smell (oils, nuts)

Questions

How long does mayonnaise last in the fridge?

2 months, according to USDA FoodKeeper guidance, once opened. Keep your fridge at 40 °F (4 °C) or below.

Can mayonnaise be kept in the pantry?

3–6 months in the pantry, according to USDA FoodKeeper guidance.

How do I know if it has gone bad?

Check smell, texture and mold — but don't rely on them alone: the bacteria that make people sick don't always change how food looks. If it's past the USDA window or you're unsure, toss it.

Similar foods

How we use the data