
Mac and Cheese Shelf Life
How long mac and cheese keeps on the counter, in the fridge and in the freezer. USDA data, re-checked November 2026.
Counter
Fridge
Freezer
Calories · 100 g
Quick answer
Mac and cheese lasts 3–4 days in the refrigerator and only 2 hours out of the fridge. 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.
Mac and Cheese Storage Facts
2 hours
only 1 hour above 90°F
3–4 days
40°F (4°C) or colder
Not listed
FoodKeeper gives no time
—
no freezer time listed
Fridge at 40°F (4°C) or colder · Freezer at 0°F (-18°C) · Room temperature limit for perishables 2 hours
Mac and Cheese storage table · 3 methods
| Storage | How long | Temp | Packaging |
|---|---|---|---|
| Counter / pantry | 2 hours | 68–72°F | Airtight |
| Refrigerator | 3–4 days | ≤ 40°F / 4°C | Airtight |
| Cooking | — | At least 165°F | — |
- Counter / pantry: only 1 hour above 90°F
- Refrigerator: 40°F (4°C) or colder
- Cooking: Confirm it with a food thermometer
What do these times mean?
Counter is a cool, dry cupboard or countertop. Perishable food gets 2 hours there in total, or 1 hour above 90°F (32°C).
Fridge times are for safety and quality at 40°F (4°C) or colder, counted from the day you cook, open or buy it.
Freezer times are for best quality only. Food held at 0°F (-18°C) stays safe indefinitely; flavor and texture fade.
Thawed is how long it keeps in the fridge once it has defrosted there.
Source: USDA FoodKeeper.
How Long Does Mac and Cheese Last in the Fridge, Freezer and Pantry?
How long does mac and cheese last in the fridge?
Mac and cheese keeps 3–4 days in the fridge, according to USDA FoodKeeper. Unrefrigerated, the limit is 2 hours.
How long does mac and cheese last in the fridge?
3–4 days when held at 4°C (40°F) or below. Start counting on the day it was bought, opened or cooked.
How long does mac and cheese last in the freezer?
Not listed. FoodKeeper does not list a freezer time for mac and cheese.
How long does mac and cheese last at room temperature?
2 hours at most, or 1 hour if the air is above 32°C (90°F). Throw out perishable food that has been out longer than that.
How long is mac and cheese good after the expiration date?
With perishable mac and cheese, time in storage counts for more than whatever the label says. Once it has spent longer than 3–4 days in the fridge, throw it out — even if the printed date hasn't arrived yet.
How do you know if mac and cheese is bad?
A sour, yeasty or just plain wrong smell compared with how the dish smelled when fresh. A slimy coating, or liquid pooling and separating where the dish should be smooth. Patches that have gone dark or dull, or spots of any unusual color.
How long can mac and cheese sit out?
At room temperature the limit is 2 hours, dropping to 1 hour when the temperature tops 32°C (90°F). A whole night out is never safe.
Does mac and cheese last longer than similar foods?
Refrigerated, mac and cheese gives you up to 4 days: roughly as long as the middle of the 30 cooked leftovers foods on DiagXCar, which sits at 4 days. None of them keeps for less time.
Can You Freeze Mac and Cheese?
No FoodKeeper time
FoodKeeper does not list a freezer time for mac and cheese. Your better bet is the fridge: 3–4 days.
How do you freeze mac and cheese?
- Chill it fast in shallow containers; it should reach the fridge or freezer no more than 2 hours after cooking.
- Divide it among airtight tubs or freezer bags, leave space at the top for any liquid, and write the date on each one.
- Defrost it in the fridge, then reheat until it is steaming and reaches 165°F (74°C).
What does freezing do to mac and cheese?
Saucy, liquid-rich dishes such as soups, stews, casseroles and sauces handle freezing best. Dry, crunchy or creamy textures change more: pasta and rice turn a little softer, cream sauces may separate, and fried coatings go soggy. Chill the food quickly before it goes in the freezer to keep its time in the danger zone short.
How do you reheat mac and cheese safely?
- Heat to 74°C (165°F). Push a food thermometer into the thickest part; the food should steam right through to the middle.
- Just once. Warm only the portion you plan to eat. Every round of cooling and reheating hands bacteria another opening.
- Cover, then stir. When microwaving, put a cover on the dish and stir it midway through to get rid of cold spots.
- Frozen leftovers. Let them thaw in the refrigerator first, or heat them directly from frozen and give them more time.
How to Tell If Mac and Cheese Has Gone Bad
Mac and cheese does spoil: expect 3–4 days in the fridge. Poor storage cuts that short, and these are the signs that give it away: odor, texture, color.
Odor
A sour, yeasty or just plain wrong smell compared with how the dish smelled when fresh.
Texture
A slimy coating, or liquid pooling and separating where the dish should be smooth.
Color
Patches that have gone dark or dull, or spots of any unusual color.
Mold
Fuzz of any kind means the entire container goes in the trash, not only the visible patch.
No boxes ticked? That's encouraging. Even so, confirm how long it has been stored, because the germs behind food poisoning can't be seen with the naked eye.
Even one of these means it has spoiled. Toss it, and never taste it to find out.
Why it goes bad: Bacillus cereus and Clostridium perfringens are two bacteria whose spores come through cooking intact. When food is left sitting warm, those spores sprout and multiply fast, and some release toxins that a second round of heating cannot break down. Fridge temperatures slow them to a crawl without stopping them entirely, which is why cooked food is good for days, not weeks.
Mac and Cheese Left Out Overnight: Is It Safe?
No. Mac and cheese kept out at room temperature beyond 2 hours (just 1 hour once the room tops 90°F / 32°C) should go in the trash. Bacteria grow fastest anywhere from 40°F to 140°F, and some of the toxins they leave behind survive reheating.
Mac and cheese kept out at room temperature beyond 2 hours (just 1 hour once the room tops 90°F / 32°C) should go in the trash. Bacteria grow fastest anywhere from 40°F to 140°F, and some of the toxins they leave behind survive reheating.
Bacteria grow at their fastest in the 4 °C to 60 °C (40–140 °F) range.
| Air temperature | Safe window | After that |
|---|---|---|
| Below 40°F (4°C) | In the fridge: 3–4 days | Eat within its fridge life |
| 40–90°F (4–32°C) | 2 hours | Throw away |
| Above 90°F (32°C) | 1 hour | Throw away |
| All night (8+ hours) | Unsafe | Throw away; reheating won't help |
Buffet or party table
Put out mac and cheese in small batches, and every two hours or so swap in cold servings straight from the fridge. Set cold platters over a tray of ice. Anything that has been out longer than 2 hours should be thrown away rather than returned to the fridge.
Picnic or cookout
Carry mac and cheese in an insulated cooler packed with ice packs, set it in the shade, and keep the lid shut as much as you can. When it is hotter than 32°C (90°F), food sitting outside the cooler has just 1 hour.
Power outage
With the door kept shut, a fridge stays cold for roughly 4 hours, while a full freezer keeps its temperature roughly 48 hours, or 24 when only half full. After a longer outage, discard mac and cheese if it has sat above 4°C (40°F) for longer than 2 hours.
Left out overnight
By the next morning, mac and cheese forgotten on the counter has been in the danger zone for many hours. Even if it looks and smells normal, it needs to go. Had it gone into the fridge right away, it would have lasted 3–4 days.
Well within the 2-hour limit. Get it into the fridge right away, spread out in a shallow dish so it chills fast.
OK at ordinary room temperature. If it is hotter than 32°C (90°F), though, the limit shrinks to just 1 hour, so get it into the fridge at once.
The USDA cut-off is two hours. If the room was warm, or you can't say for certain how long it has been, throw it out.
This is over the 2-hour limit, and bacteria could have grown, or made toxins that a round of reheating won't destroy.
Mac and cheese left out overnight has sat for hours on end between 4°C and 60°C (40–140°F), the danger zone. Appearance is no guide here: it isn't safe to eat.
Anything warmer than 4°C (40°F) counts as room temperature. When it's hotter than 32°C (90°F), the limit drops to 1 hour.
Frequently Asked Questions About Mac and Cheese
Can you freeze mac and cheese?
FoodKeeper does not list a freezer time for mac and cheese.
How can you tell if mac and cheese has gone bad?
Odor: a sour, yeasty or just plain wrong smell compared with how the dish smelled when fresh; Texture: a slimy coating, or liquid pooling and separating where the dish should be smooth; Color: patches that have gone dark or dull, or spots of any unusual color.
What internal temperature should mac and cheese reach when cooked?
At least 165°F (74°C) at the center, measured with a food thermometer.
Does mac and cheese go bad after the printed date?
With perishable mac and cheese, time in storage counts for more than whatever the label says. Once it has spent longer than 3–4 days in the fridge, throw it out — even if the printed date hasn't arrived yet.
Will freezing kill the bacteria in mac and cheese?
No. Cold only puts bacteria on hold, and they wake up again once the food thaws. To make it safe, cook or reheat it to a safe temperature.
If I reheat mac and cheese that sat out overnight, is it safe?
No. Certain bacteria leave behind toxins that survive heat, so warming the food up won't get rid of them. When in doubt, throw it out.
What if you accidentally eat spoiled mac and cheese?
Eating perishable food that has spoiled can lead to food poisoning, with nausea, vomiting, cramps or diarrhea. Get medical help if symptoms are severe or haven't cleared up within a few days.
Have another question about Mac and Cheese?
Search our storage answers for any food, leftover or menu item.
Mac and Cheese Nutrition Facts
Selected: 1 cup prepared · 189 g
43.7g
56% kcal · 16% DV
12.7g
16% kcal · 25% DV
9.5g
27% kcal · 12% DV
869mg
38% DV
Saturated fat 3 g · Fiber 2.3 g · Sugars 3 g · Cholesterol 15 mg
Mac and Cheese nutrition facts table · 1 cup prepared (189 g)
| Nutrient | Amount | % DV |
|---|---|---|
| Calories | 310 kcal | |
| Total fat | 9.5 g | 12% |
| Saturated fat | 3 g | 15% |
| Cholesterol | 15 mg | 5% |
| Sodium | 869 mg | 38% |
| Total carbohydrate | 43.7 g | 16% |
| Fiber | 2.3 g | 8% |
| Sugars | 3 g | |
| Protein | 12.7 g | 25% |
| Potassium | 151 mg | 3% |
| Calcium | 161 mg | 12% |
| Iron | 2 mg | 13% |
| Water | 120 g |
Selected: 100 g · 100 g
23.1g
56% kcal · 8% DV
6.7g
16% kcal · 13% DV
5g
27% kcal · 6% DV
460mg
20% DV
Saturated fat 1.6 g · Fiber 1.2 g · Sugars 1.6 g · Cholesterol 8 mg
Mac and Cheese nutrition facts table · 100 g (100 g)
| Nutrient | Amount | % DV |
|---|---|---|
| Calories | 164 kcal | |
| Total fat | 5 g | 6% |
| Saturated fat | 1.6 g | 8% |
| Cholesterol | 8 mg | 3% |
| Sodium | 460 mg | 20% |
| Total carbohydrate | 23.1 g | 8% |
| Fiber | 1.2 g | 4% |
| Sugars | 1.6 g | |
| Protein | 6.7 g | 13% |
| Potassium | 80 mg | 2% |
| Calcium | 85 mg | 7% |
| Iron | 1 mg | 7% |
| Water | 63.6 g |
What do these numbers mean?
Calories measure energy. Food labels in the US use a 2,000-calorie day as the reference.
% kcal is the share of this food's energy that comes from carbs (4 kcal per gram), protein (4 kcal/g) or fat (9 kcal/g).
% DV (Daily Value) compares the amount with the FDA's daily reference: 78 g fat, 20 g saturated fat, 275 g carbs, 50 g protein, 2,300 mg sodium.
Sodium matters for storage too: salty foods hold back some bacteria, but fridge times still apply once a food is cooked or opened.
Source: USDA FoodData Central, SR Legacy #169770 ("Macaroni and cheese, box mix with cheese sauce, prepared"), the closest USDA entry to this food.
What Is Mac and Cheese?
Mac and cheese sits in the leftovers & deli section of our food guide. 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. Going by USDA FoodKeeper, it lasts 3–4 days in the fridge. As with any perishable food, it shouldn't spend more than 2 hours at room temperature. Best storage spot: cooked and ready-to-eat food sits on the upper shelves, higher than anything raw.
Mac and Cheese belongs to leftovers & deli, under cooked leftovers. It is perishable, so it needs the fridge.
Where Should You Store Mac and Cheese?
Cooked and ready-to-eat food sits on the upper shelves, higher than anything raw.
- Move it into shallow, airtight containers and get it into the fridge no more than 2 hours after cooking (only 1 hour when it is above 90°F).
- Set the fridge to 40°F (4°C) or colder; shelves in the door are the warmest part.
- Bring leftovers back to 165°F (74°C) when you reheat them, and warm only the amount you plan to eat.
Mac and Cheese Expiration Dates
Best-by vs. sell-by
Counting from the purchase date, FoodKeeper allows unopened mac and cheese 3–4 days in the refrigerator. Labels such as "best-by" and "sell-by" are about peak quality and how stores rotate stock, not about safety — infant formula is the one product whose use-by date federal law requires.
Past the printed date
With perishable mac and cheese, time in storage counts for more than whatever the label says. Once it has spent longer than 3–4 days in the fridge, throw it out — even if the printed date hasn't arrived yet.
The dates printed on mac and cheese packaging mostly describe quality rather than safety. Under US rules, infant formula's use-by date is the only one federal rules require; manufacturers choose all the others themselves. A “Best if used by” date marks when flavor and texture are at their peak. A “Sell-by” date helps the store rotate its stock, and once it passes you can still keep the food at home for its usual storage time. A “Use-by” date is the manufacturer's own pick for the final day of best quality.
For that reason, the storage times on this page start counting from the moment you open, cook or buy mac and cheese, not on the date stamped on the package: 3–4 days in the fridge. Food that was stored properly can still be good after a best-by date, while food that was handled carelessly can go bad long before it.
Mac and Cheese Myths: Fact or Fiction?
- You got it!Not this time.
False. Food-poisoning bacteria seldom alter how food smells. Keep to the 3–4 days window and discard anything older.
- You got it!Not this time.
False. The freezer puts bacteria on hold rather than killing them. They start up again as the food warms, so let it thaw in the fridge, then cook or reheat it all the way through.
- You got it!Not this time.
Partly. FoodKeeper does not list a freezer time for mac and cheese.
- You got it!Not this time.
False. Each time the fridge is opened, the door heats up. Cooked and ready-to-eat food sits on the upper shelves, higher than anything raw.
- You got it!Not this time.
False. Certain bacteria produce toxins that heat cannot destroy. Reheating kills the bacteria themselves but leaves those toxins behind, so anything left out longer than 2 hours belongs in the trash.
How Long Does Mac and Cheese Last Compared With Similar Foods?
For comparison, cooked rice holds up longest in the group (6 days), while tamales need using within 4 days. The next step up is cooked pasta, at 5 days.
- Cooked rice 4–6 days
- Cooked pasta 3–5 days
- Mac and cheese 3–4 days
- Pizza 3–4 days
- Mashed potatoes 3–4 days
- Baked potatoes 3–4 days
- Beef stew 3–4 days
Drawn on the timeline's scale, which runs from 1 hour to 2 years.
Foods Similar to Mac and Cheese
Storage data from USDA FoodKeeper and FSIS; nutrition from USDA FoodData Central.
· How we check