Home / Blog / Food Storage Safety

How Long Can Pizza Sit Out? (Danger Zone Rules Explained)

The 2-hour rule, why cheese and pepperoni make pizza a hazardous food, and what happens if you leave it out overnight.

Quick answer

The strict legal limit for pizza to sit out at room temperature is 2 hours. Pizza is considered a hazardous food because it is rich in protein and moisture, which allow bacteria to multiply quickly in the Temperature Danger Zone of 4°C to 60°C (40°F to 140°F). Once it passes the two-hour mark, the pizza must be thrown in the garbage.

Open pizza box left out on a kitchen counter next to a clock showing the two hour limit
DetailWhat to expect
Room temperature limit2 hours maximum
Danger Zone range4°C to 60°C (40°F to 140°F)
Hot holding minimum60°C (140°F) or higher
Bacteria doubling time in the zoneEvery 20 minutes
After the limit is passedMust be thrown in the garbage

Why pizza counts as a hazardous food

Pizza is considered a hazardous food. Hazardous foods are those rich in protein and moisture. Harmful bacteria absolutely love moisture and protein because it provides the perfect environment for them to grow. Because pizza is covered in dairy products, such as cheese, and often contains meats, such as pepperoni, sausage, or chicken, it readily supports the rapid growth of infectious bacteria and their toxins.

How long can pizza sit out?

Because pizza is a hazardous food, the strict legal limit for how long it can sit out at room temperature is 2 hours.

Room temperature falls squarely within the Temperature Danger Zone, which is between 4°C and 60°C (40°F and 140°F). In this warm zone, microscopic bacteria wake up and multiply extremely fast. In fact, under perfect conditions, bacterial cells can double in number every 20 minutes.

The government allows hazardous foods to be left out for up to two hours because that is generally a short enough time for bacteria to stop growing to dangerous, illness-causing levels. But once it passes the two-hour mark, the pizza must be thrown in the garbage.

How restaurants keep pizza safe all day

You have probably wondered how pizza shops leave slices out on the counter all afternoon without anyone getting sick. The truth is they are not actually holding it at room temperature. Under Ontario Regulation 493/17, the Food Premises Regulation, food businesses use two methods. Ontario's rule is used here as a representative example. Most provinces set similar time and temperature limits for hazardous foods, though the exact regulation differs by province.

  • Hot holding. They keep the pizza slices in specialized heated cabinets. The law states that food held hot for display must be maintained at a minimum internal temperature of 60°C (140°F) or higher at all times. At this high temperature, bacteria cannot grow.
  • Time control (the 2-hour rule). If a vendor displays the pizza at room temperature, they must clearly mark the exact time the pizza was placed there. If it is not sold within two hours, the law requires them to dispose of it immediately.
Pizza slices displayed in a heated commercial hot holding case at a restaurant counter Pizza box left open on an office boardroom table during a lunch meeting
Interactive scenario: the office pizza party. What would you do?

Imagine you are ordering a large pizza lunch for your employees. The pizza arrives hot and fresh at 12:00 PM. Everyone grabs a few slices, but you leave the open boxes on the boardroom table so people can snack on them all afternoon. At 3:00 PM, an employee walks in to grab another slice.

What should you do? You must stop them immediately. The leftover pizza has been sitting in the Temperature Danger Zone for three hours. It has violated the 2-hour rule, meaning harmful bacteria may have already multiplied rapidly. To keep your employees safe, the leftover pizza should have been placed in the office refrigerator (at 4°C/40°F or lower) within two hours of arriving. The remaining pizza must now be thrown out.

Learn the rules that keep food safe

The food handlers certificate course covers the Danger Zone, hot holding, and time control in plain language.

Register Now · $49.95
4.8 / 5 from 1,711 verified reviews. Registration takes about 30 seconds.

The short version

  1. Pizza is considered a hazardous food because it is rich in protein and moisture, which bacteria need to grow.
  2. The strict legal limit for pizza to sit out at room temperature is 2 hours.
  3. The Temperature Danger Zone is 4°C to 60°C (40°F to 140°F), and bacterial cells can double in number every 20 minutes in it.
  4. Restaurants keep pizza safe by hot-holding at 60°C (140°F) or higher, or by marking and tracking the 2-hour time limit.
  5. Once pizza passes the two-hour mark, it must be thrown in the garbage.

5 most asked pizza food safety FAQs

Can I eat leftover pizza that was left in the box on the kitchen counter overnight?

No. Potentially hazardous foods like pizza can never sit out in the Temperature Danger Zone for more than two hours.

Why is a standard pepperoni-and-cheese pizza legally considered a "hazardous food"?

Because the cheese and meat are high in protein and moisture, which promote bacterial growth. Hazardous foods are rich in protein and have high moisture content, making ingredients like meat and dairy products prime targets for bacterial growth.

If a pizza shop wants to display slices on the counter for customers all afternoon, what minimum temperature must the food warmer be?

60°C (140°F). Hazardous food held hot for service or display must be kept at 60°C (140°F) or higher at all times.

What is the temperature range of the "Danger Zone" where bacteria on your pizza will multiply the fastest?

4°C to 60°C (40°F to 140°F). The Danger Zone is between 4°C and 60°C (40°F and 140°F).

How quickly can bacteria double their numbers on a pizza left in the Danger Zone?

Every 20 minutes. If the surroundings are ideal, such as warm room temperatures, bacterial cells can reproduce and double every 20 minutes, reaching dangerous levels very quickly.

Sources

Get certified in as little as 6 hours

Learn the Danger Zone, hot-holding, and time-control rules that keep pizza and every other hazardous food safe.

Register Now · $49.95
BC traffic: get the same training as FOODSAFE Level 1.

For the full guide to safe holding times across every food type, see the main how long can food sit out guide.

SA

About Samira Ali

Public Health Inspector · Food Safety Course Developer

Samira is a Public Health Inspector with a Certificate in Occupational Health and Safety and more than 10 years of experience across Canada and the U.S. She develops the food safety courses at Probe It Food Safety.

Food safety rules can vary by province and change over time. This guide reflects general Canadian food safety guidance current as of the last update above. If you believe a law or regulation referenced here has changed, email us at info@probeit.ca so we can review it.