Opened mayonnaise lasts 2 months in the fridge. Unopened, it keeps 3–6 months in the pantry.
Shelf life at a glance
Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.
- 1Use within days
- 2Keeps a week or two
- 3Keeps for months
- 4Keeps a long time
Based on the longest fridge or pantry time.
About 30 more days in the fridge.
About 15 more days in the fridge.
It's inside the safe window but near the end. Eat it today or freeze it now.
Past the recommended fridge time. Even if it looks and smells fine, throw it out.
Past the recommended fridge time. Even if it looks and smells fine, throw it out.
Counted from the day it was cooked, opened or bought. Assumes a fridge at 4 °C (40 °F) or colder.
Check your mayonnaise
Well inside the 3–6 months pantry time for mayonnaise, as long as it has been kept cool, dry and tightly closed.
Well inside the 3–6 months pantry time for mayonnaise, as long as it has been kept cool, dry and tightly closed.
Near the end of the 3–6 months pantry time. Check the smell and look before using; quality is starting to fade.
Past the 3–6 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.
Past the 3–6 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.
Assumes a cool, dry, dark cupboard with the package tightly closed.
About mayonnaise
Mayonnaise belongs to our condiments & sauces category. In the USDA FoodKeeper database it is listed as “Mayonnaise (commercial)”. According to USDA FoodKeeper, it keeps 2 months in the fridge. It is not a high-risk perishable food, so the main concern is quality rather than safety. Where to keep it: the door is the warmest part of the fridge, fine for condiments and drinks that resist spoilage.
Condiments, sauces and canned goods are designed to last: acid, sugar, salt and sealed packaging keep microbes out. Unopened, most keep for months or years in the pantry. Once opened, air, moisture and crumbs from utensils get in, and most need the fridge and have a much shorter window.
Mayonnaise storage times by method
| Method | Duration | Temperature | Container | Notes |
|---|---|---|---|---|
| Refrigerator (opened) | 2 months | ≤ 40°F / 4°C | Airtight | at or below 40°F (4°C) |
| Pantry / counter (unopened) | 3–6 months | 68–72°F | Airtight | cool, dry place |
Where to store mayonnaise
The door is the warmest part of the fridge, fine for condiments and drinks that resist spoilage.
Mayonnaise shelf life, answered
How long does mayonnaise last in the fridge?
2 months at 4°C (40°F) or colder (opened). Keep it sealed so it does not pick up moisture or odours.
How long does mayonnaise last in the freezer?
Not listed. FoodKeeper gives no freezer time for mayonnaise.
How long does mayonnaise last at room temperature?
It is not meant to be kept at room temperature. Refrigerate it.
How long does mayonnaise last after opening?
2 months in the fridge once opened. The printed date stops applying the moment you break the seal.
How long does unopened mayonnaise last?
3–6 months in the pantry, if the seal is intact and it is stored as the label says.
How long is mayonnaise good for past the expiration date?
FoodKeeper gives unopened mayonnaise 3–6 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 mayonnaise is bad?
Fermented, yeasty or sour beyond the product's usual tang. Separation that does not stir back, or a slimy layer. Darkening or a change in colour at the top of the jar.
Signs mayonnaise has gone bad
Smell
Fermented, yeasty or sour beyond the product's usual tang.
Texture
Separation that does not stir back, or a slimy layer.
Colour
Darkening or a change in colour at the top of the jar.
Mould
Any fuzz on the surface or lid — discard the jar.
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.
Why mayonnaise goes bad
In opened jars, yeasts and moulds are the usual culprits: they show up as fuzz on the surface, fizzing, or a fermented smell. Low-acid canned foods carry a rare but serious risk of Clostridium botulinum if a can is damaged, which is why bulging, leaking or deeply dented cans must be thrown away unopened.
Common mayonnaise storage mistakes
- Double-dipping or using a dirty knife, which adds crumbs and bacteria.
- Storing opened jars in the pantry when the label says to refrigerate.
- Keeping food in an opened can in the fridge; move it to a covered container.
- Using cans that are bulging, rusted or deeply dented.
Can you freeze mayonnaise?
- 1Step 1
Most condiments keep well in the fridge and do not need freezing.
- 2Step 2
If freezing, use ice-cube trays or small containers and label them.
- 3Step 3
Thaw in the fridge and stir well; emulsions may separate.
Mayonnaise left out overnight
Opened mayonnaise belongs in the fridge. Overnight at room temperature speeds spoilage; if it smells, looks or tastes off, discard it.
Best-by and use-by dates on mayonnaise
Unopened
FoodKeeper gives unopened mayonnaise 3–6 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 2 months in the fridge from the day you open it.
How to store mayonnaise
- 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.
- Refrigerate after opening unless the label says otherwise.
- Use a clean utensil each time; crumbs and double-dipping shorten shelf life.
- Wipe the rim and close the lid tightly.
How to pick fresh mayonnaise
- Check cans for bulges, deep dents on the seams and rust.
- Make sure jar lids are sealed and pop when first opened.
- Buy condiment sizes you will finish within the opened window.
Mayonnaise: use it up in time
- Write the opening date on the lid.
- Use the last of a jar in marinades, dressings or sauces.
- Freeze leftover sauces in ice-cube trays.
Mayonnaise vs similar foods
- Honey 2 years
- Mustard 1 year
- Jam and jelly 6–12 months
- Ketchup 6 months
- Mayonnaise 2 months
- Jarred salsa 1 month
- Soy sauce 1 month
Same scale as the timeline above: 1 hour to 2 years.
Check any food in seconds: when your leftovers expire, and whether something left out is still safe.
Similar foods
All condiments & sauces → Does it go bad? hub → Leftover calculator →Freezer time calculator →Left-out checker →
True or false? Mayonnaise myths
- Correct!Not quite.
Partly true. Mayonnaise is not high-risk, so a little past 2 months usually means lower quality, not danger. Check for mould and off smells first.
- 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.
- Correct!Not quite.
Only partly. FoodKeeper gives no freezer time for mayonnaise.
- Correct!Not quite.
True. The door is the warmest part of the fridge, but this food resists spoilage well enough to live there.
- Correct!Not quite.
Not for safety, but it keeps it at best quality longer. Follow the storage times on this page.