How Long Does Mayonnaise Last?
Storage method
Mayonnaise — commercial — pantry, from date of purchase
3 to 6 months in the pantry
- Cool, dry pantry or cupboard
- Applies from date of purchase · commercial
Pick a valid date to calculate the recommended use-by window.
Source: USDA FSIS FoodKeeper (v128, snapshot 2026-07-24) · About this data · Report an issue
FoodStorageCheck — official USDA FoodKeeper guidance · foodstoragecheck.com
All official guidance for mayonnaise
Every storage entry the USDA FoodKeeper dataset lists for this food, exactly as published (v128, snapshot 2026-07-24). “No official duration listed” means the source does not provide a number for that combination — not that the food lasts forever.
| Where | Condition | Official time | Notes from the source |
|---|---|---|---|
| Pantry | general guideline | No official duration listed | 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. |
| Pantry | from date of purchase | 3 to 6 months | — |
| Refrigerator | after opening | 2 months | — |
Common questions about mayonnaise
- How long does mayonnaise last in the refrigerator?
- 2 months in the refrigerator, after opening, per the USDA FSIS FoodKeeper dataset. Times assume a refrigerator at or below 40 °F (4 °C).
- How long does mayonnaise last in the pantry?
- 3 to 6 months in the pantry, counted from the date of purchase, per the USDA FSIS FoodKeeper dataset. Assumes a cool, dry pantry away from light.
- How long does mayonnaise last after opening?
- Once opened — refrigerator: 2 months, per the USDA FSIS FoodKeeper dataset.
Two reminders that apply here
Keep the fridge at 40 °F (4 °C) or below.Refrigerator times in this dataset assume a refrigerator held at or below 40 °F. An appliance thermometer is the reliable way to check.
The two-hour rule.Perishable food left at room temperature for more than 2 hours (1 hour above 90 °F / 32 °C) should be discarded, per FoodSafety.gov. Storage windows assume food was refrigerated promptly.