Mac and cheese is the ultimate comfort food—creamy, cheesy, and endlessly customizable. Whether you made a big batch from scratch or have leftovers from a restaurant, knowing how long it stays safe and tasty in the fridge is key. The short answer: refrigerate mac and cheese for up to 3 to 5 days, but for the best texture and flavor, aim to eat it within 3 days. Here’s everything you need to know about storing, reheating, and keeping your mac and cheese delicious.
Ingredients
This guide isn't a recipe for making mac and cheese, but for storing it properly. However, if you're starting fresh, here's a classic stovetop version that stores well:
- 8 oz (about 2 cups) elbow macaroni or similar pasta
- 2 tablespoons butter
- 2 tablespoons all-purpose flour
- 2 cups whole milk (or 1 cup milk + 1 cup half-and-half for extra creaminess)
- 2 cups shredded sharp cheddar cheese (about 8 oz)
- 1/2 teaspoon salt (or to taste)
- 1/4 teaspoon black pepper
- 1/4 teaspoon garlic powder (optional)
- 1/4 teaspoon mustard powder (optional, enhances cheese flavor)
Instructions
- Cook the pasta in salted boiling water until al dente (about 2 minutes less than package directions). Drain well and set aside.
- In a large saucepan, melt butter over medium heat. Add flour and whisk constantly for 1–2 minutes until the mixture is bubbly and lightly golden (this is a roux).
- Slowly whisk in the milk (or milk/half-and-half) and continue whisking until the sauce thickens, about 3–5 minutes. It should coat the back of a spoon.
- Reduce heat to low. Add the shredded cheese a handful at a time, stirring until fully melted and smooth before adding more. Season with salt, pepper, garlic powder, and mustard powder if using.
- Stir the cooked pasta into the cheese sauce until well coated. Remove from heat.
- If serving immediately, let rest for 2–3 minutes. For storage, proceed to the Storage and Reheating section below.
Tips
- Cool quickly before refrigerating: Don't put hot mac and cheese directly in the fridge. Let it cool at room temperature for no more than 2 hours (1 hour if the room is warm). Then cover and refrigerate. Rapid cooling prevents bacterial growth.
- Use shallow containers: Spread the mac and cheese in a shallow, airtight container (no more than 2 inches deep). This helps it cool evenly and quickly.
- Add a splash of milk when reheating: The sauce thickens as it sits. Stir in 1–2 tablespoons of milk or cream per serving before reheating to restore creaminess.
- Don't freeze if you can avoid it: Freezing changes the texture of the cheese sauce—it can become grainy or watery when thawed. If you must freeze, do so for up to 2 months, but expect a softer, less creamy result.
Serving Suggestions
Mac and cheese is a versatile side or main. Serve it alongside grilled chicken, roasted vegetables, or a simple green salad. For a heartier meal, top with crispy bacon bits, sautéed mushrooms, or a sprinkle of paprika. It also pairs well with BBQ ribs or pulled pork. If you're serving it as a main, a side of steamed broccoli or a tomato salad balances the richness.
Variations
- Baked Mac and Cheese: After mixing, transfer to a buttered baking dish, top with breadcrumbs or extra cheese, and bake at 375°F (190°C) for 20–25 minutes until bubbly and golden.
- Add protein: Stir in cooked, crumbled bacon, diced ham, or shredded chicken before baking or serving.
- Vegetable boost: Mix in steamed broccoli, peas, or roasted cauliflower for extra nutrition and texture.
- Different cheeses: Swap cheddar for Gouda, Gruyère, Monterey Jack, or a blend. Each gives a different flavor—smoked Gouda adds a smoky twist.
- Spicy kick: Add a pinch of cayenne pepper, diced jalapeños, or a few dashes of hot sauce to the cheese sauce.
Storage and Reheating
Refrigerator: Store mac and cheese in an airtight container in the fridge for up to 3 to 5 days. For best quality, consume within 3 days. The longer it sits, the more the pasta absorbs sauce and becomes mushy. Always check for off smells, mold, or a slimy texture before eating—if in doubt, throw it out.
Reheating: The best method is on the stovetop. Place the mac and cheese in a saucepan over low heat, add a splash of milk or cream, and stir frequently until heated through (internal temperature of 165°F/74°C). Alternatively, microwave in a microwave-safe bowl, covered, on medium power in 30-second intervals, stirring between each, and add a little milk. For baked mac and cheese, reheat in a 350°F (175°C) oven for 10–15 minutes, covered with foil to prevent drying.
Freezing: While not ideal, you can freeze mac and cheese for up to 2 months. Cool completely, transfer to a freezer-safe container, and label with the date. Thaw overnight in the fridge before reheating. Expect a softer texture and slightly grainy sauce.
Food safety: Never leave mac and cheese at room temperature for more than 2 hours (1 hour if the ambient temperature is above 90°F/32°C). Bacteria grow rapidly in the “danger zone” between 40°F and 140°F (4°C–60°C). When reheating, ensure it reaches 165°F (74°C) throughout.
Frequently Asked Questions
Can I eat mac and cheese after 5 days in the fridge?
Technically, it may still be safe if stored properly and kept below 40°F (4°C), but the quality will have declined significantly. After 5 days, the pasta is likely mushy and the sauce may have separated. If there's any doubt about its condition, discard it.
How can I tell if mac and cheese has gone bad?
Look for signs of spoilage: a sour or off smell, visible mold (green, black, or fuzzy spots), a slimy texture, or a watery layer with a curdled appearance. If any of these are present, do not taste it—throw it away.
Can I leave mac and cheese out overnight to cool?
No. Per food safety guidelines, perishable foods should not be left at room temperature for more than 2 hours. Leaving it out overnight allows bacteria to multiply, making it unsafe to eat.
Why does my reheated mac and cheese become dry or grainy?
When cheese sauce cools and reheats, the fat and protein can separate, causing a grainy texture. Adding a splash of milk or cream and reheating slowly over low heat helps re-emulsify the sauce. Avoid high heat, which can cause further separation.
Can I reheat mac and cheese in the oven?
Yes. Preheat the oven to 350°F (175°C). Place the mac and cheese in an oven-safe dish, add a little milk, cover with foil, and bake for 10–15 minutes until hot. For a crispy top, remove the foil for the last 5 minutes.
Is it safe to freeze mac and cheese?
Yes, but with caveats. Freezing preserves safety for up to 2 months, but the texture will change. The sauce may become grainy and the pasta softer. To minimize damage, undercook the pasta slightly if you plan to freeze, and add extra sauce before freezing.