Food safety

The 2-Hour/4-Hour Rule Explained

The 2-hour/4-hour rule for food in the temperature danger zone — what it means and how Australian food businesses stay compliant.

By Abid Khan, founder · 9 January 2023 · updated 12 October 2026 · 6 min read

Short answer

Ready-to-eat potentially hazardous food may spend a total of four hours between 5°C and 60°C. Under two hours it can be used, sold or put back in the fridge. Between two and four hours it must be used or sold straight away. Over four hours it is thrown out. The time is cumulative across every period out of temperature control.

Harmful bacteria multiply in food that has been left outside its safe temperature range for too long. Regulators place the responsibility for preventing that squarely on food handlers: if you sell it, you have to be able to show it was safe.

What is food safety? Think about the journey of the food on your plate — harvested, packed, shipped, stored, prepared and served. At any of those steps equipment may not be sanitised properly, or temperature may slip out of range, and that is how food-related illness begins.

Food safety is the practice of handling, preparing and storing food so that foodborne illness is avoided. It covers everything from labelling and cleanliness to additives and pesticide residues, across every step between the paddock and the customer.

Good food gives us energy and nutrients, and it does not make us sick. That is why the question “Why is food safety important?” deserves a proper answer.

According to the latest OzFoodNet annual report, “5.4 million cases of foodborne illness occur annually in Australia, many of which are preventable. The cost of these illnesses is estimated at a staggering AUD $1.2 billion”.

In Australia, food handlers must comply with the Australia New Zealand Food Standards Code, which sets out how food is to be prepared, handled and stored so that what reaches the customer is safe. Our guide to Australian food safety standards and temperature compliance walks through the temperature obligations in detail.

Top 5 basic rules for food safety that food handlers must follow

Foodborne illness is one of the major threats to the food business worldwide, affecting people due to consuming contaminated or unhealthy food. There are five simple ways we can keep food safe and healthy:

  • Keep it clean
  • Place raw and cooked food separately
  • Cook the food thoroughly
  • Keep the food at safe temperatures
  • Use sanitisation methods to prevent harmful bacteria from growing.

Temperature control is the most critical of the five. If temperature is not monitored, tracked and controlled, harmful bacteria grow in the food and make it unsafe to eat.

Holding food in the right range keeps it safe and protects its quality at every stage of the supply chain, from raw materials through to the order going out the door. A fridge temperature logger is the simplest way to prove that range was held overnight and over a long weekend.

Food poisoning bacteria are present in food all the time, even in frozen food. They grow fastest between 5°C and 60°C, doubling in number in a matter of minutes at the warmer end. That range is known as the Temperature Danger Zone, which is why potentially hazardous food must be held cold (below 5°C) or hot (above 60°C).

The 2-hour/4-hour rule

The rule, as published by Food Standards Australia New Zealand, turns on the total time potentially hazardous food has spent between 5°C and 60°C:

Total time between 5°C and 60°C What you can do with the food
Under 2 hours Use it, sell it, or put it back in the fridge or freezer for later
2 to 4 hours Use it or sell it straight away. It cannot go back into cold storage
Over 4 hours Throw it out

Source: FSANZ, 2-hour/4-hour rule. The rule applies to ready-to-eat potentially hazardous food that is out of temperature control on purpose (a display, a buffet, a delivery) or by accident (a fridge failure). It is not the same as the cooling rule for cooked food, which has its own steps: 60°C to 21°C within two hours, then 21°C to 5°C within a further four hours.

Warm, humid conditions are exactly what pathogens such as E. coli and Salmonella need, so food left in the danger zone has to be discarded rather than risked. That is the judgement the 2-hour/4-hour rule is designed to make simple.

What matters is the cumulative time between 5°C and 60°C — every minute the food has spent out of range during storage, preparation, transport, display and service, added together. It is not a fresh two hours each time the food leaves the coolroom.

Three worked examples

  • A lunch display. Sandwiches leave the coolroom at 10:30 for the counter. By 12:30 they have used their two hours and can no longer go back in the fridge. They can stay on sale until 14:30, then they must be thrown out, not refrigerated for tomorrow.
  • A delivery, then a buffet. A catering tray spends 40 minutes in an unrefrigerated van and 50 minutes on a buffet: 90 minutes in total. It can go back in the fridge, but the 90 minutes is written against that batch, because the next time it comes out the clock continues from 90, not from zero.
  • Prep in a warm kitchen. Mince is out for 25 minutes of portioning, back in the fridge, then out for another 100 minutes on a bench during service: 125 minutes in total. It must be cooked or served now and cannot be returned to the fridge.

Each example only works if someone wrote the times down. That is the whole difficulty with the rule in a busy kitchen, and the reason the record matters more than the arithmetic.

Bar showing cumulative time in the 5°C to 60°C danger zone: under 2 hours refrigerate or use, 2 to 4 hours use immediately, over 4 hours discard

If a business cannot demonstrate that the 2-hour/4-hour rule and the Food Standards Code requirements were followed, it faces enforcement action and lasting damage to its reputation. Proof is the point, and an unbroken temperature record is the easiest proof to produce.

Handling poultry and plant-origin products

Food originating from poultry animals and plants are usually temperature-sensitive products and these foods require time and a temperature-controlled environment to limit the growth of harmful bacteria. There are two types of TCS food:

  • Hot TCS food
  • Cold TCS food.

Hot TCS food must be kept at a temperature of 60°C or above, while cold TCS food must be kept at a temperature of 5°C or below. The temperature that the food products are handled in must be monitored during:

  • Production
  • Distribution
  • Storage
  • Preparation
  • Serving/Selling

Time matters as much as temperature. Record it accurately every time food leaves its safe range and the call on whether to use, sell or discard becomes straightforward. This is where automated monitoring earns its keep: it removes the human error in remembering to write a number down, and it keeps a timestamped record of both time and temperature. Our comparison of manual and automated monitoring shows what that difference looks like in a working kitchen.

Holding food at safe temperatures is one of the things every food handler is judged on, because it decides whether what they serve is safe to eat. Regulators exist to check that businesses meet those standards at every step of the supply chain, and customers are paying closer attention than ever. Most operators respond by maintaining certification, appointing a food safety supervisor, and building temperature control into a documented HACCP plan rather than leaving it to memory.

The cleanest way to satisfy the 2-hour/4-hour rule is to stop guessing how long food has been out of range and let the data answer for you. A food temperature monitoring system records every fridge, cool room and hot-holding unit continuously and alerts you when one drifts, and our system builder will size the sensors and gateway for your kitchen, coolroom or display cabinet in a couple of minutes.

Keep a cumulative time record

Download our 2-hour / 4-hour record to record batch exposure across preparation, transport and display. It includes a printable form and an editable Excel file with cumulative-minute calculations.

Questions people ask

What is the 2-hour/4-hour rule?

A Food Standards Australia New Zealand rule for ready-to-eat potentially hazardous food that is between 5°C and 60°C. Under 2 hours in total, use it or refrigerate it. Between 2 and 4 hours, use it straight away. Over 4 hours, throw it out.

Does the time reset when the food goes back in the fridge?

No. The rule counts the total time the food has spent between 5°C and 60°C across storage, preparation, transport, display and service. Each time the food comes out again the clock continues from where it stopped.

Can food go back in the fridge after 2 hours?

No. Once potentially hazardous food has spent 2 hours in total between 5°C and 60°C it cannot return to cold storage. It must be used or sold within the next 2 hours and then discarded.

Does the 2-hour/4-hour rule apply to cooling cooked food?

No. Cooling cooked food has its own rule: from 60°C to 21°C within 2 hours, then from 21°C to 5°C within a further 4 hours. The 2-hour/4-hour rule is for food that is kept out of temperature control on purpose or by accident.

Do I have to write the times down?

The Food Standards Code requires a business to show that its food was safe, and the 2-hour/4-hour rule only works with a cumulative time record for each batch. A written log, or a continuous temperature record from a sensor, is the evidence an inspector asks for.

Stop doing this with a clipboard.

Automated logging, temperature alerts, audit-ready records — sized for your fridges in two minutes.

Build my system →