An opened jar of commercial mayonnaise stays safe in the refrigerator for roughly two months, provided the lid stays sealed and the jar sits at or below 40°F. The vinegar and lemon juice in brands like Hellmann’s, Best Foods, Duke’s, and Kraft create an acidic environment that keeps bacterial growth in check. Even so, a sour smell, a darkened crust, or visible mold means the jar belongs in the trash.
This practical walkthrough breaks down the opened-jar timeline for commercial brands, explains why homemade versions spoil faster, and flags the storage habits and spoilage signs that matter most.
The Timeline for Opened Commercial Mayonnaise
Most refrigerated jars hold up well for about two months once the seal breaks. That window assumes a tight lid, a middle-shelf home, and a kitchen that stays reasonably cool.
Several factors hold that two-month mark in place. Vinegar and lemon juice keep most bacteria from multiplying quickly. Pasteurized eggs, used in major brands like Hellmann’s and Duke’s, remove the salmonella risk that raw yolks carry. Preservatives listed on the label add another buffer, which is why commercial jars outlast their homemade cousins by several weeks.
Unopened Jars Often Outlast the Printed Date
An unopened jar frequently stays usable for three to four months past its best-by date because the sealed environment blocks oxygen and outside bacteria. The United States Department of Agriculture (USDA) treats the printed date as a quality guideline rather than a safety cutoff. Hellmann’s specifically tells customers to rely on sensory checks before trusting the date alone.
Sensory Checks Beat the Date Every Time
A printed best-by date measures peak flavor, not the line between safe and unsafe. A jar marked “best by March” can still taste fine in late April when storage has been steady. The opposite also happens: a jar can spoil before its date if it sat in a hot truck for hours. Trust the smell, the color, and the texture before the digits on the lid.
| Condition | Typical Safe Window | What to Check |
|---|---|---|
| Opened, refrigerated at 40°F or below | About 2 months | Smell, color, texture |
| Unopened, stored in a cool pantry | 3–4 months past best-by date | Seal integrity, date |
| Opened, kept at room temperature | Discard after 2 hours (1 hour above 90°F) | Time out of fridge |
| Homemade, refrigerated | About 1 week | Smell, color, texture |
Why Homemade Mayonnaise Has a Much Shorter Window
Homemade batches typically stay safe for only about one week in the refrigerator, even when stored correctly. That gap comes down to two things: raw egg yolks and the absence of commercial preservatives.
Raw Egg Yolks Remove the Safety Net
Commercial brands use pasteurized eggs, a heat treatment that knocks out salmonella. Most home cooks skip that step, so the raw yolks in homemade mayo carry a real contamination risk. The acidic environment still helps, but it cannot fully compensate for an unpasteurized base.
Preservative-Free and Prone to Faster Spoilage
Without potassium sorbate or sodium benzoate on the label, homemade mayo lacks the chemical buffer that extends a commercial jar’s life. Cross-contamination from a spoon, a finger, or a shared knife speeds up that clock even more.
Flavor and texture often sour noticeably before any visible mold shows up, so trust your nose first when checking a homemade batch.
Storage Habits That Keep an Opened Jar Safe
A few small habits push an opened jar closer to the full two-month mark. None of them require special equipment, just steady attention each time the jar leaves the fridge.
Keep It Cold and Sealed
Return the jar to the refrigerator within two hours of taking it out, and within one hour if the kitchen sits above 90°F. Screw the lid on until it stops, every time, to limit oxygen exposure and keep stray fridge odors from drifting into the spread.
Park It on the Middle Shelf
Temperature swings hit the door every time someone grabs milk, leaving the middle shelf as the steadier spot. A back corner, away from the cooling coils, tends to run even cooler. A jar stored there will outlast one bounced between room temp and cold every hour.
Use Clean Utensils Every Time
Dip with a clean knife or spoon each visit. A butter knife smeared with raw chicken, or a sandwich spreader double-dipped into a jar of jam, introduces bacteria that shorten the safe window by weeks. Wipe the rim before resealing if anything dripped on it during use.
- Label the lid: Write the open date with a marker so the timeline is never guesswork.
- Wipe the rim: A quick pass with a clean paper towel prevents dried bits from harboring bacteria.
- Skip the door shelf: Temperature swings shorten safe life faster than any other habit.
- Never double-dip: A used utensil is the fastest way to contaminate an otherwise clean jar.
Clear Signs That Mayonnaise Has Gone Bad
Your senses catch spoilage long before any lab test would. Smell, color, and texture each tell a story, and learning to read them turns an uncertain sniff into a confident toss or a confident spread.
Smell Comes First
A sour, yeasty, or fermented odor is the earliest and most reliable warning. Fresh mayo smells mild, a little tangy from the vinegar, but never sharp or alcoholic. Anything that hits the nose as “off” deserves a closer look.
Color and Mold Tell the Obvious Story
Yellowing, darkening at the top, or any visible mold means the jar goes straight to the trash. Green, black, or pink fuzz is a clear sign of fungal growth, and scraping the surface does not make the rest safe. The roots of mold spread through soft, moist food faster than the eye can track.
Texture Changes Worth Noting
A thin watery layer on top is usually harmless separation. Stir it back in and check the rest of the jar. Excessive runniness, a chunky consistency, or any gassy fizz when the lid cracks signals spoilage. Mayo that looks curdled, like broken hollandaise, has crossed the line.
When in doubt, throw it out. A new jar costs a few dollars; a bout of food poisoning costs a week of misery.
Handling Common Scenarios and Gray Areas
Some situations don’t fit neatly into a chart. A jar left out overnight, a seal that looks fine past its date, or a cloudy layer on top each come with a different call.
The Overnight Counter Scenario
Mayo left out overnight at room temperature should be discarded, even with its acidic base. Bacteria can multiply faster than the acidity can suppress them once the jar sits in the warmth for eight hours. The Food and Drug Administration (FDA) holds condiments to the same two-hour rule as other perishable foods.
Past the Printed Date but Otherwise Normal
A jar past its best-by date but stored properly and showing no spoilage signs is generally safe to use, especially if it has only been open a few weeks. The date reflects peak quality, not a safety cliff. A quick sniff and a visual check confirm the call.
Cross-Contamination Shortens the Clock
A shared knife or sandwich spreader can shorten a jar’s safe life by weeks. Someone spreads mayo on a turkey sandwich, dips the same knife back into the jar, and raw turkey juices enter the spread. From that moment, treat the jar as if it has a shorter shelf life than the label suggests.
Separation Is Cosmetic, Not a Safety Issue
A watery layer floating on top looks odd but poses no safety risk to the jar underneath. The oil and water in the emulsion separate over time, especially in jars that have sat for a while. Stir it back in if the rest looks and smells normal, and use it within the next few days.
Don’t Transfer to a New Container
Transferring mayo to a different container is unnecessary and increases contamination risk. The original jar was sanitized at the factory; a washed-out cottage cheese tub was not. Keep it in the original jar with the original lid.
A Quick Decision Guide for Your Next Sandwich
Before reaching for the jar, run through a fast mental check. The decision list below covers most situations you’ll run into at home.
- Opened under two months, refrigerated, no spoilage signs: Use it confidently.
- Opened more than two months, or any smell, color, or texture change: Toss it.
- Homemade and more than one week old: Discard without sniffing.
- Ever left out for hours: The jar is no longer safe, no matter the smell.
Label every jar on opening day to remove the guesswork from every future decision. A single Sharpie stroke turns an unknown jar into a known quantity.
Bottom Line
Opened commercial mayo stays safe for about two months in a cold, sealed fridge; homemade versions last closer to one week. The smell test catches spoilage faster than any printed date, and a tight lid plus a middle-shelf home buys more usable time than any brand name on the label. When your nose says no, the answer is no, no matter how much is left in the jar.
FAQ
How long is mayonnaise good for in the fridge?
Opened commercial mayonnaise stays good in the refrigerator for about two months when stored at or below 40°F with the lid sealed. Unopened jars typically hold for 3–4 months past the printed best-by date. Homemade mayonnaise only lasts about one week in the fridge.
Does mayo go bad after the expiration date?
Mayo often stays safe for weeks past the printed best-by date, especially when the jar has never been opened and the seal is intact. The date measures peak quality, not a safety cutoff. Always run a smell and visual check before use.
How can you tell if opened mayonnaise has gone bad?
A sour, yeasty, or fermented smell is the earliest sign, followed by yellowing, darkening, or visible mold. Excessive runniness, chunky texture, or a gassy fizz when the lid opens also points to spoilage. A thin watery layer on top is usually harmless separation you can stir back in.
Can you use mayo after it expires?
Steady storage and a passing smell-and-sight check usually let a jar stay usable past its best-by date. The date is a quality guideline, not a safety cliff. Discard the jar at any sign of mold, off odor, or unusual texture.
How long can mayonnaise sit out unrefrigerated?
Two hours at room temperature is the outside limit for a commercial jar, dropping to just one hour once the kitchen climbs above 90°F. Once that window passes, bacteria can multiply even in acidic condiments, and the jar should be discarded.
Is it safe to eat mayonnaise that has been left out overnight?
No. An overnight stay at room temperature, roughly eight hours, gives bacteria time to multiply past the safety margin that vinegar and lemon juice provide. The jar should be discarded, even if it looks and smells normal.
