Questions tagged [food-safety]

Our community answers question on food safety as defined by official regulations. Questions and answers that contradict that view, are considered off-topic.

Overview

The food safety branch of food science is about mitigating or eliminating the risk of food-related illness, specifically illness caused by foodborne pathogens ("food poisoning") including bacteria and mold (fungi).

Rancidity and decomposition are other types of food spoilage which are not necessarily caused by pathogens but often discussed within this tag.

Dietary needs are not a component of food safety. If you have concerns about the overall "healthiness" of a food or technique, please consult with your doctor or dietitian; we are not qualified to provide nutritional advice.

Common misconceptions about food safety

Most people have not studied food safety, but apply a mixture of "common sense advice" they have come across over the years. Sadly, a lot of this advice is either irrelevant or wrong. If you believe these common myths, you might misunderstand the rules of food safety, so it is advisable to check them first.

  1. How safe a food is is about the actual number of pathogens in the food

This is what people want from food safety, but it cannot deliver that. Predicting the growth of bacteria in a given portion of food is so complex as to be impossible for all practical purposes, no matter how much initial information you can provide.

Instead, think of food safety as a kind of "certification system". Specialists have used traditional knowledge, scientific models and experimentation to determine a small set of known conditions under which they can guarantee you that your food is basically pathogen-free. If you can prove that the food meets the criteria they set up, they promise you it is safe to eat.

  1. Unsafe food is food which will make you sick

No, see misconception number one. Unsafe food is anything that does not meet the criteria for being safe. In most cases, it won't make you sick - it is just that the specialists are not willing to promise you that.

  1. These official rules are useless, my food is unsafe under them - but please help me make an estimate to how close it is to being safe.

Sadly, that's impossible. From two situations, it is quite easy to find out which one is safer than the other (e.g. leaving out meat for two nights is worse than leaving it out for one night) but there is no way at all to say whether the safer of the two is below the threshold for making you sick. People try to make such approximations all the time, but they are useless, since with bacterial growth, tiny differences in the initial conditions may have a huge effect on the result. (You may have heard of that as the "butterfly effect"). The idea is very attractive, but it doesn't work.

  1. But I know that I can tell if food is safe or not by smell, that's how I've always done it and I have never gotten sick

This may satisfy your subjective case of feeling safe when eating the food. It is contrary to the way food safety is officially regulated (see point 1), not getting sick doesn't mean it was actually safe, it means you were lucky (see point 2) and while smell can help you to recognize food that is exceedingly full of bacteria, it cannot help you recognize food which already has enough bacteria to make you sick, but not yet enough to smell. So smell is not a reliable way of judging food safety (see point 3).

  1. The details of the situation matter

No they don't. Since we cannot estimate the actual risk (see the misconceptions above), only a tiny bit of information is enough to know whether your food falls under the strict conditions of being safe, or if it doesn't. Once you know that, no further conclusions can be drawn, no matter how much detail you provide. That's why the rules are so generic.

  1. The usable time for a dish is the same as the usable lifetime of its ingredients (or its most perishable ingredient)

No, bacteria care about their environment as a whole and not about what parts of it looked like before being combined. If they have everything they need to grow, they will grow. Since particular foods are made shelf stable by removing something that bacteria need for growth, the combination of shelf-stable foods might well turn out to be perishable. The other direction is also possible - food made with eggs has the same storage lifetime as food without eggs, for example.

  1. Unsafe food can be turned into safe food

There are different ways people propose to do that, usually through heating. This is however not possible. Once food is considered unsafe, there is no way to get it back into the safe category (and being able to sterilize it doesn't change anything about that, since food safety is not about actual bacterial numbers, see misconception 1).

Fundamental rules of food safety

The top 5 things you need to know about food safety are:

  1. When in doubt, throw it out. You cannot see or smell bacterial contamination. Mold that appears to be growing only on the surface may grow invisible roots into softer foods. Do not rely on a visual inspection or "smell test" to tell you whether or not a food is safe.

  2. Raw or perishable food that stays in the temperature "danger zone" for more than 2 hours should be discarded. The danger zone is 40-140° F or 4-60° C. Keep cooked food hot until ready to eat, then refrigerate immediately. Separating large items into smaller containers will help them to cool more quickly.

  3. Follow the cooking time and temperature guidelines set out by your local regulatory agency. For Americans this is the FDA and USDA. Before you ask a food safety question, please check the USDA Fact Sheet to see if your question is answered there. Failure to follow these guidelines (or your local regulatory equivalent) is irresponsible if you are serving guests and likely to be illegal if you are serving customers, as many local health codes are based on the FDA Model Food Code. You have the right to take risks on yourself, but please do not risk the safety of others and please do not ask us for an excuse to do so.

  4. Bacteria leave behind harmful protein toxins that cannot be "killed" (denatured) by cooking. The cooking times/temperatures are only effective against live organisms, not their toxic waste products. Spoiled food cannot be cooked back to safety and must be discarded.

  5. Cooking is pasteurization, not sterilization. Pasteurization means killing most microbes, so as to render the food safe for human consumption. This resets the clock but does not stop it; cooked food can and will still spoil after 2 hours in the danger zone. Sterilization methods (e.g. high-pressure canning and irradiation) are the only safe methods for longer-term room-temperature storage.

Precautions

  • Always cook food to the recommended time and temperature.
  • Avoid cross-contamination by using separate utensils and cooking/storage vessels for raw vs. cooked food.
  • Wash your hands and sanitize your work areas after handling raw foods.
  • Defrost frozen foods in the fridge or under cold running water.
  • Use a thermometer, appearance/colour is not a reliable indicator of doneness.
  • If you suspect spoilage or contamination, please, throw it out.

The most asked question: I left this out... is it still safe?

See rule number 2 above: The general guideline for perishable foods is that you want them to be in the danger zone (40-140°F, 4-60°C) for no more than 2 hours (1 hour on a hot day).

If you can ensure uninterrupted heating above 60 Celsius, the life time is not limited food-safety-wise, but there are practical limits due to reduced palatability. For storage time at temperatures below the "danger zone", see databases of standard storage times, for example Still Tasty.

The time in the danger zone is cumulative. So it includes time bringing the food home from the grocery store, time before cooking, time after cooking, and so on. The reason is that while cooking may destroy bacteria or other pathogens, it doesn't always destroy the toxins that they have produced.

So in general, regarding perishable foods like meat, dairy, eggs, cooked casseroles, and so on: if the food (or its perishable components) have been at room temperature for more than two hours, you should discard that food.

Helpful Resources

Further Reading/Frequently Asked

2277 questions
29
votes
10 answers

Botulism, Garlic, Cold pressed Olive oil and mason jars

I make a product I invented called Maybe It's Marinade. It consists of cold pressed extra virgin olive oil and pressed garlic as the base and comes in three varieties, AoliOliO, Dill, and Cayenne Pepper. All varieties also include garlic powder and…
k sher
29
votes
3 answers

What is the internal temperature a steak should be cooked to for Rare/Medium Rare/Medium/Well?

I'd like to know when to take my steaks off the grill and please everybody.
Ryan Olson
  • 483
  • 1
  • 6
  • 9
29
votes
10 answers

Can I boil eggs in the same pot I'm boiling something else?

I know cooking the eggs kills the salmonella and that the risk is small even for raw eggs. However, I stopped boiling the eggs in the same pot I'm boiling something else, like potatoes, when I learnt the salmonella is in the shell. Obviously, I'm…
Julio
  • 2,021
  • 5
  • 24
  • 31
29
votes
8 answers

How to keep my (deep frying) oil usable as long as possible?

I have a new deep fryer. I am pleased with its results so far. I am not a 'heavy user' though - say once every 2-3 weeks. I want to re-use the oil a couple of times. The deep fryer is covered but not airtight, however. The new deep fryer has a cold…
Tobias Op Den Brouw
  • 3,694
  • 4
  • 29
  • 41
29
votes
8 answers

Will spoiled food always make you sick?

Kind of a strange question, but say something has spoiled, i.e. smells bad, tastes bad, etc. Will it actually always make you sick? Like for instance spoiled dressing, let's say it tastes sour, smells nasty and you eat it, will it make you sick? If…
user17188
29
votes
8 answers

How long is garlic butter safe, and why is it not a botulism risk like garlic in oil?

I've been making garlic butter for years, storing it for months at a time. When I read that garlic-in-oil can grow dangerous amounts of botulinum toxins after similar lengths of time, I wondered how safe garlic butter is and why. Evidently, the…
FvD
  • 482
  • 1
  • 5
  • 10
29
votes
3 answers

Can meat spoil outside the fridge if it's baked into bread as a filling?

I made some meat buns tonight (that is, buns with cooked chicken stuffed inside them before being baked), and I'm wondering if I should bother keeping the buns inside the fridge, because that would mean having to reheat them later. Will the chicken…
Austin Ballard
  • 401
  • 1
  • 4
  • 5
28
votes
3 answers

Food safety when tasting from dish

When making a dish, I of course taste it through out the process of cooking until its done. I have been extra careful - Each time I taste from the dish I use a new spoon - This means that I have to have ALOT of spoons ready all the time, and have to…
dan12345
  • 1,140
  • 8
  • 16
  • 25
28
votes
3 answers

What parasites are problematic in sous vide?

Obviously, one should use only clean ingredients. However, especially with game and river/lake fish that's rather difficult. What are parasites that should be taken into account in sous vide cooking, or any other tightly controlled low-temperature…
Olli
  • 383
  • 1
  • 5
  • 10
28
votes
4 answers

What meats can I serve medium rare and why?

It is generally accepted that pork and chicken must be cooked completely (unless put through a strong curing process) while certain cuts of beef and lamb can be served on the rare side. Why is this? Are particular bacteria populations present in…
Jon
  • 383
  • 1
  • 3
  • 5
28
votes
2 answers

Why must fermenting meat be kept cold, but not vegetables?

This is a somewhat unique question, so I'll start by stating my assumptions that I understand to be "widely known" among food preservation enthusiasts. If any of these are not accurate, please let me know! Assumptions: Improperly handled food kept…
Ben Hershey
  • 381
  • 3
  • 6
27
votes
6 answers

Is ground beef that was in the refrigerator for two weeks and has turned brown still usable?

I bought some ground beef around 2 weeks ago and used half of it, putting the rest in a freezer bag in my fridge (not the freezer). It has since turned brown (not red, as when I bought it). Is it safe to use to make hamburgers?
Ben McCormack
  • 1,530
  • 7
  • 17
  • 26
27
votes
9 answers

How long is it safe to drink coffee after brewed?

How many hours/days would you recommend to drink coffee (after brewed) and consider it safe? (For example if you don't want to waste it). What is the difference if it is refrigerated or not? The question is not about flavor since (I think) it is…
Javier
  • 273
  • 1
  • 3
  • 4
27
votes
5 answers

How long can eggs be unrefrigerated before becoming unsafe to eat?

A friend of mine accidentally left a carton of eggs on her counter, unrefrigerated, for three days. The eggs had been previously refrigerated both at the store and at home. Now she's planning to do some more cooking which requires eggs, and is…
nhinkle
  • 409
  • 1
  • 4
  • 10
27
votes
1 answer

What are the tiny white self-moving objects on pasta?

So, a lot of pasta I've bought lately came with some white substance. At first it looked like uncooked starch or something. But when looking closely I noticed it was MOVING ON ITS OWN. After a while this incident repeated a couple times. Even when…
speeder
  • 371
  • 1
  • 3
  • 3