An unopened jar of mayonnaise keeps for about 3 to 6 months past its “best by” date in the fridge, but once you open it, you should use it within 2 months. For example, if you open a jar on March 1, mark it for disposal by May 1. After that, the flavor turns sour and the emulsion can separate, even if it still looks okay.
Read the Date and the Clock After Opening
The “best by” or “sell by” date on the lid is a quality guide, not a safety deadline. For an unopened jar stored in the fridge, you can safely use it for weeks past that date as long as the seal is intact and the jar has no rust or damage. The real countdown starts the day you break the seal.
Once opened, commercial mayonnaise (the kind with vinegar, egg yolk, oil, and preservatives) stays good for 2 months in the refrigerator. That’s the standard window used by most major brands. If you buy a large restaurant-size jar, the same 2-month rule applies—you just have to use more of it or share it before it goes off.
What About Homemade Mayonnaise?
Homemade mayonnaise has a much shorter life because it lacks commercial preservatives. Keep it in a sealed container in the fridge and use it within 3 to 4 days. Because it contains raw egg, it’s also safest to make it with pasteurized eggs and to discard any that sits out at room temperature for more than 2 hours total.
How to Tell If Mayonnaise Has Gone Bad
Your nose is the best tool. Spoiled mayonnaise smells sour, sharp, or slightly fermented—it should smell clean and tangy, like vinegar and lemon. Taste a tiny bit only if the smell seems fine; if it tastes bitter or off, throw the whole jar away.
Look for these visual clues:
- Liquid separating and pooling on top that doesn’t reincorporate when you stir
- Mold—black, green, or white spots on the surface or around the rim
- A dull, grayish or yellow-brown color instead of creamy white
- An overly thick or curdled texture that stays lumpy after stirring
If you see mold, don’t just scrape it off. Mold roots can extend below the surface, and the jar’s contents are no longer safe. Discard the whole jar and wash the lid area before recycling.
Where People Go Wrong: The Fridge Door and Cross-Contamination
The most common mistake is storing mayonnaise in the fridge door. The door is the warmest part of the refrigerator, and it experiences temperature swings every time you open it. Mayonnaise lasts longer on a middle or lower shelf, where the temperature stays consistently between 33°F and 40°F (1°C to 4°C).
The second mistake is dipping a used knife or spoon back into the jar. That introduces bacteria from your sandwich or salad into the whole jar, which can shorten its life or make you sick. Use a clean, dry utensil every time, and always put the lid back on tightly right after use.
A third error is leaving the jar out on the counter while you make lunch. Mayonnaise should not sit at room temperature for more than 2 hours total. If you’re having a picnic or a barbecue on a hot day (above 90°F / 32°C), that window drops to 1 hour. Put the jar back in the fridge as soon as you finish using it, not after you eat.
Worked Example: A Jar Opened on a Specific Date
Suppose you buy a 30-ounce jar of mayonnaise on June 10 and open it on June 15. Mark your calendar for August 15—that’s the 2-month limit. If you only use a few tablespoons a week, you’ll likely have a lot left over. In that case, consider buying a smaller jar next time, or plan recipes that use more mayo (tuna salad, coleslaw, deviled eggs, or aioli) before the deadline.
If the jar’s “best by” date is before your 2-month window, use the earlier of the two. For example, if the printed date is July 30 and you open it June 15, you should finish it by July 30, not August 15. The printed date still matters for quality.
How to Make Mayonnaise Last Longer (and What Not to Do)
Keep the jar tightly sealed and refrigerated at all times. Store it upside down? No—that’s not necessary and can make a mess. Just keep it upright on a shelf, not in the door. Do not freeze mayonnaise. Freezing breaks the emulsion, and when it thaws, you get a watery, curdled mess that won’t spread properly.
If you have a large jar and know you won’t finish it in 2 months, you can spoon out smaller portions into a clean, small container for the fridge and keep the rest sealed. That reduces how often the big jar is exposed to air and utensils, but it doesn’t extend the 2-month limit—it just keeps the quality better during that time.
For homemade mayonnaise, you can extend its life slightly by using pasteurized eggs and keeping it very cold, but 4 days is still the safe maximum. If you make a batch on Sunday, plan to use it by Wednesday or Thursday. Label the container with the date you made it.
Mayonnaise for Picnics, Lunchboxes, and Big Batches
For packed lunches, use a small insulated lunch bag with an ice pack. Mayonnaise-based salads (tuna, egg, chicken) should stay cold until you eat them. If your child’s lunch sits in a warm classroom for hours, the mayo salad may not be safe by lunchtime. Pack it in a small thermos or with a frozen gel pack.
For a picnic or potluck, keep the mayo jar in a cooler with ice, not on the table. When you’re serving a big batch of potato salad, put out only what you expect people to eat, and keep the rest in the cooler. After 2 hours (or 1 hour in hot weather), throw out any salad that has been sitting out—don’t put it back in the fridge to “save” it.
If you’re making a large batch of coleslaw or macaroni salad for a party, make it the day before and refrigerate it overnight. The flavors meld, and you’ll be serving it straight from the fridge, which is safer. Just remember that any leftovers after the party should be discarded if they sat out longer than the safe window.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.