This post may contain affiliate links which means I will get a commission if you make a purchase at no additional cost to you. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure for details.
Of three everyday condiments tested at the University of Wisconsin-Madison, ketchup was the one where Salmonella held on longest, surviving up to two days in the refrigerator while the same bacteria died within an hour in mustard and relish. That finding sits alongside a North Dakota State University storage chart with exact times for the jars on the fridge door. According to NDSU Extension, opened mayonnaise keeps 2 months in the refrigerator, and natural peanut butter must be refrigerated after opening.
The NDSU chart, part of the NDSU Extension food storage guide by food and nutrition specialist Julie Garden-Robinson, was last reviewed in January 2023. The Wisconsin numbers come from a 1997 laboratory study, summarized in a 2020 UW-Madison Extension article, and they help explain why some bottles are more forgiving than others.
Why Ketchup Outlasted Mustard and Relish in the Lab
The study, by Tsai and Ingham, was published in the Journal of Food Protection in July 1997. Researchers added Salmonella and E. coli O157:H7 to standard grocery store ketchup, mustard and sweet pickle relish, then tracked how long the bacteria survived at room temperature and in the refrigerator.
A UW-Madison Extension article written by Barb Ingham laid out the results. All of the Salmonella died within 1 hour in the mustard and the relish, whether the jars were cold or not. In ketchup, Salmonella lasted up to 1 day at room temperature and up to 2 days in the refrigerator. E. coli O157:H7 lasted even longer in ketchup, up to 2 days at room temperature and up to 7 days in the refrigerator.
Acidity was the difference. The samples averaged a pH of 3.6 for ketchup, 3.1 for mustard and 2.8 for relish, and the Extension article states that pathogens survived longest in ketchup, the product with the highest pH and lowest acidity. The same article notes that typical mayonnaise has a pH of about 3.7, so results for mayonnaise would be expected to be similar to ketchup.
Mayonnaise Gets Two Months Once the Jar Is Open
On the NDSU chart, an unopened jar of mayonnaise keeps 3 to 6 months on the shelf. Once it is opened, the time drops to 2 months, and the chart’s handling note is short: check the package date and refrigerate after opening.
Bottled salad dressings follow a similar path on the same chart, at 1 to 3 months after opening with refrigeration. Dressing made from a dry mix is listed at just 2 weeks.
A condiment list from Iowa State University Extension suggests labeling each container with the date it was first opened and finishing open containers before starting new ones, a simple habit for keeping track of a two-month window.
The Peanut Butter Rule Depends on the Label
NDSU draws a clear line between two kinds of peanut butter. Regular peanut butter keeps 6 to 24 months unopened and 2 to 3 months after opening, and the chart says refrigeration is not needed, though it keeps longer when refrigerated. Natural peanut butter is the exception. The chart states that it must be refrigerated after opening.
Natural versions are made without added stabilizers, so the oil tends to rise to the top of the jar. The Canadian Food Inspection Agency says that separation is completely natural and does not pose a health risk. The agency suggests stirring the oil back in, or storing the jar upside down and flipping it again once the oil settles at the bottom.
Ketchup, Mustard and the Rest of the Door Shelf
For the bottles that started this story, NDSU lists ketchup and chili sauce at 12 months unopened and 6 months after opening, with a note to refrigerate for longer storage. Prepared yellow mustard keeps 1 to 2 years unopened and 1 year once opened, and the chart says it may be refrigerated and should be stirred before use. Opened jams and jellies are listed at 6 to 12 months, covered tightly and refrigerated.
Iowa State’s list fills in a few bottles the NDSU chart skips, including relish at 9 months after opening, hot sauce at 6 months and barbecue sauce at 4 months. Readers sorting out the rest of the refrigerator can compare these times with opened foods that only last about a week in the fridge, and with the advice on which foods belong on the refrigerator door.
Cold Storage Mostly Protects Flavor
For most of these bottles, the fridge is about quality more than danger. The Wisconsin Extension article says ketchup, mustard, mayonnaise and pickles should be refrigerated for quality, and that an opened bottle left out overnight should not be a food safety concern as long as it was not contaminated.
University of Georgia Extension food safety specialist Carla Schwan made a similar point in a November 2025 UGA Today article. She said that anything bought from the store’s refrigerated section should stay in the fridge at home, and the article notes that cold storage slows changes in color, texture and flavor. It also recommends a clean, dry utensil rather than fingers, to keep bacteria and moisture out of the jar.
That does not make sauces risk-free. A June 2026 review in the Journal of Food Protection by UGA researchers SungHee Yoon and Ynes Ortega notes that sauces are often seen as low-risk because of their acidity, salt or fat, yet outbreaks and recalls still occur. NDSU’s storage guide also repeats a basic rule: when in doubt, throw it out.
Get stories like this by email. Sign up for Food Plus Words Newsletter.
This article was produced with AI assistance and edited for accuracy against the sources linked above.
Image: Ser Amantio di Nicolao – CC0/Wikimedia Commons
