How long does mayonnaise last?
Unopened, it keeps in the pantry for about 3 months. Once opened, it keeps in the fridge for about 1 month.
Product: Store-bought mayonnaise (jar or squeeze bottle).

Shelf life of mayonnaise at a glance
| Storage | Unopened | Opened |
|---|---|---|
| Pantry | 3 months | – |
| Fridge | – | 1 month |
Once opened, keep it on a main shelf of the fridge at 40 °F (4 °C) or below, not in the door. Homemade mayonnaise with raw egg must be eaten within 24 hours.
Does mayonnaise go bad?
Food past its date has not necessarily gone bad. The times on this page are guideline values for food stored properly. In the US, date labels are not required by federal law (infant formula is the exception), and most of them describe quality, not safety. A "Best if Used By" date is not an expiration date, and many products are still fine after it. A "Sell By" date is meant for the store, not for you. Look at the food and smell it before you taste a little. Mold, an off smell or a bulging can or lid means it goes in the trash. Take a "Use By" date on perishables such as meat, fish, deli meats and dairy seriously: eat or freeze them by that date.