Skip to content
Gunther Heller

How Long Does Mac and Cheese Last?

Fridge, freezer, counter · last verified November 2026

  • Perishable
Graphic answering “how long does mac and cheese last?”: 3–4 days in the fridge; Counter: 2 hours.
Mac and cheese Per USDA FoodKeeper
Counter
2 hours
1 hour if above 90°F
Fridge
3–4 days
at or below 40°F (4°C)
Freezer
Not listed
no FoodKeeper figure
Quick answer

Mac and cheese lasts 3–4 days in the fridge and no more than 2 hours at room temperature.

USDA FoodKeeper has no separate entry for mac and cheese. It is covered by “Casseroles” (baked or stovetop pasta dish), so this page uses that entry’s storage times.

At a glance

Shelf life at a glance

Counter
2 hours
Fridge
3–4 days

Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.

How perishable is it?
Use within days
  1. 1
  2. 2
  3. 3
  4. 4

Based on the longest fridge or pantry time.

It's been in the fridge for…
Tap a time to check.
Still good

About 2–3 more days in the fridge.

Still good

About 1–2 more days in the fridge.

Use it today

It's inside the safe window but near the end. Eat it today or freeze it now.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Counted from the day it was cooked, opened or bought. Assumes a fridge at 4 °C (40 °F) or colder.

Meal prep

Your mac and cheese fridge countdown

Day 0 is the day it was cooked.
  1. Made
    0
  2. Day
    1
  3. Day
    2
  4. Day
    3
  5. Day
    4
  6. Day
    5
  7. Day
    6
● Still good● Use it today● Throw it out

Based on the USDA FoodKeeper fridge window at 4°C (40°F) or colder.

Try it

Check your mac and cheese

It's been out on the counter for…
Tap a time to check.
Refrigerate now

Still inside the 2-hour limit. Put it in the fridge straight away, in a shallow container so it cools quickly.

Refrigerate now

Fine at normal room temperature. On a hot day above 32°C (90°F), 1 hour is already the limit, so refrigerate it immediately.

At the limit

Two hours is the USDA cut-off. If it was warm, or you are not sure exactly how long, throw it out.

Throw it out

Past the 2-hour limit. Bacteria may have multiplied or produced toxins that reheating will not destroy.

Throw it out

Mac and cheese left out overnight has spent many hours in the danger zone (4–60°C / 40–140°F). It may look fine, but it is not safe.

Room temperature means anything above 4°C (40°F). On hot days above 32°C (90°F), the limit is 1 hour.

The basics

About mac and cheese

Mac and cheese belongs to our leftovers & deli category. USDA FoodKeeper has no separate entry for mac and cheese. It is covered by “Casseroles” (baked or stovetop pasta dish), so this page uses that entry’s storage times. According to USDA FoodKeeper, it keeps 3–4 days in the fridge. Like all perishable food, it should not sit at room temperature for more than 2 hours. Where to keep it: ready-to-eat and cooked food goes on the upper shelves, above anything raw.

Every method

Mac and cheese storage times by method

Bar chart showing storage times for mac and cheese: Counter 2 hours, Fridge 3–4 days.
Storage times for mac and cheese. Longest recommended time in each place. Bars are drawn to scale.
MethodDurationTemperatureContainerNotes
Pantry / counter2 hours68–72°FAirtight1 hour if above 90°F
Refrigerator3–4 days≤ 40°F / 4°CAirtightat or below 40°F (4°C)
Cooking—165°F minimum—Check with a food thermometer

Times assume a fridge at 4°C (40°F) or colder and a freezer at -18°C (0°F).

Where to keep it

Where to store mac and cheese

Temperature gauges for mac and cheese: Fridge 40°F (4°C), 3–4 days; Freezer 0°F (-18°C).
How cold to keep mac and cheese. The fridge and freezer temperatures behind these storage times
Freezer Top shelf Middle shelf Bottom shelf Crisper drawer Door
Best spot
Top shelf

Ready-to-eat and cooked food goes on the upper shelves, above anything raw.

Question by question

Mac and cheese shelf life, answered

How long does mac and cheese last in the fridge?

3–4 days at 4°C (40°F) or colder. Count from the day it was cooked, opened or bought.

How long does mac and cheese last in the freezer?

Not listed. FoodKeeper gives no freezer time for mac and cheese.

How long does mac and cheese last at room temperature?

No more than 2 hours, or 1 hour above 32°C (90°F). Perishable food left out longer should be thrown away.

How long is mac and cheese good for past the expiration date?

For perishable mac and cheese, the storage clock matters more than the label: if it has been in the fridge longer than 3–4 days, discard it even before the printed date.

How can you tell if mac and cheese is bad?

Sour, yeasty or 'off' instead of how it smelled when cooked. Slimy film, or liquid separating where it should not. Dull or darkened patches, or any discoloured spots.

How long can mac and cheese sit out?

2 hours at room temperature, 1 hour on a hot day above 32°C (90°F). Overnight is always too long.

Check before you eat

Signs mac and cheese has gone bad

Checklist of signs that mac and cheese should be thrown out: Smell: Sour, yeasty or 'off' instead of how it smelled when cooked; Texture: Slimy film, or liquid separating where it should not; Colour: Dull or darkened patches, or any discoloured spots; Mould: Any fuzzy growth — discard the whole container, not just the spot.
Check before you eat. Mac and cheese

Smell

Sour, yeasty or 'off' instead of how it smelled when cooked.

Texture

Slimy film, or liquid separating where it should not.

Colour

Dull or darkened patches, or any discoloured spots.

Mould

Any fuzzy growth — discard the whole container, not just the spot.

Check your mac and cheese: tick anything you notice

Nothing ticked? Good sign. Still check how long it has been stored: the bacteria that cause food poisoning are invisible.

Any of these means it has gone bad. Throw it out — don't taste it to check.

Does mac and cheese go bad? Full guide →

Freezing

Can you freeze mac and cheese?

No FoodKeeper figureFoodKeeper gives no freezer time for mac and cheese.
  1. 1Step 1

    Cool quickly: shallow containers, into the fridge or freezer within 2 hours.

  2. 2Step 2

    Portion into freezer bags or airtight tubs, leave headspace for liquids, and label with the date.

  3. 3Step 3

    Thaw in the fridge and reheat to 165°F (74°C) until steaming.

Reheating

How to reheat mac and cheese safely

1

Reheat to 74°C (165°F)

Check the thickest part with a food thermometer; it should be steaming hot all the way through.

2

Only once

Reheat just the portion you will eat. Each cool-and-reheat cycle gives bacteria another chance.

3

Cover and stir

In the microwave, cover the dish and stir halfway so there are no cold spots.

4

From the freezer

Thaw in the fridge first, or reheat straight from frozen and allow extra time.

The 2-hour rule

Mac and cheese left out overnight

Food-safety rule: Mac and cheese left at room temperature for more than 2 hours (1 hour above 90°F / 32°C) should be thrown away.
The 2-hour rule

Mac and cheese left at room temperature for more than 2 hours (1 hour above 90°F / 32°C) should be thrown away. Bacteria multiply fastest between 40°F and 140°F, and reheating does not remove every toxin they make.

Danger zone°C
0 4 32 60 80
← FridgeHot holding →

Bacteria multiply fastest between 4 °C and 60 °C (40–140 °F).

Date labels

Best-by and use-by dates on mac and cheese

Best-by and sell-by

FoodKeeper gives unopened mac and cheese 3–4 days in the fridge, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

Past the date

For perishable mac and cheese, the storage clock matters more than the label: if it has been in the fridge longer than 3–4 days, discard it even before the printed date.

Storage tips

How to store mac and cheese

Numbered steps: How to store mac and cheese. 1. Refrigerate within 2 hours of cooking (1 hour above 90°F) in shallow, airtight containers. 2. Keep the fridge at or below 40°F (4°C); the door shelf is the warmest spot. 3. Reheat leftovers to 165°F (74°C) and only reheat what you will eat.
How to store mac and cheese
  • Refrigerate within 2 hours of cooking (1 hour above 90°F) in shallow, airtight containers.
  • Keep the fridge at or below 40°F (4°C); the door shelf is the warmest spot.
  • Reheat leftovers to 165°F (74°C) and only reheat what you will eat.
How it compares

How long does mac and cheese last compared with similar foods?

At up to 4 days in the fridge, mac and cheese keeps about the same as the typical food in cooked leftovers (median 4 days across the 58 we track). 100% of them last at least as long.

In this group, cooked rice keeps longest (6 days) and tamales the shortest (4 days). If you need a little more time, cooked pasta lasts 5 days.

Longest recommended storage time (fridge, or pantry for shelf-stable foods)

Same scale as the timeline above: 1 hour to 2 years.

Got something else in the fridge?

Check any food in seconds: when your leftovers expire, and whether something left out is still safe.

Keep exploring

Similar foods

All cooked leftovers → Does it go bad? hub → Leftover calculator →Freezer time calculator →Left-out checker →

Questions people ask

Mac and cheese FAQ

Can you freeze mac and cheese?
FoodKeeper gives no freezer time for mac and cheese.
How can you tell if mac and cheese has gone bad?
Smell: sour, yeasty or 'off' instead of how it smelled when cooked; Texture: slimy film, or liquid separating where it should not; Colour: dull or darkened patches, or any discoloured spots.
What temperature should mac and cheese be cooked to?
165°F (74°C) minimum internal temperature, checked with a food thermometer.
Does mac and cheese go bad past the date?
For perishable mac and cheese, the storage clock matters more than the label: if it has been in the fridge longer than 3–4 days, discard it even before the printed date.
Numbers on this page come from USDA FoodKeeper and FSIS guidance. Last verified November 2026. How we verify our data · Report a wrong number