Bake your mac and cheese at 375°F (190°C) for 20–25 minutes, until the top is golden and the sauce is bubbling at the edges. The most common mistake is baking it too long, which dries out the sauce and makes the pasta mushy. The exact time depends on whether the dish is hot or cold when it goes in, and on the pan’s depth.
Bake Time by Starting Temperature
If you assemble the mac and cheese and bake it immediately while the pasta and sauce are still warm, 20–25 minutes is enough. If you refrigerate it overnight to bake later, the cold dish needs about 10 extra minutes: 30–35 minutes at 375°F (190°C). A cold casserole takes longer to heat through, and the top can brown before the center is hot. Check the center with a thermometer; it should reach 165°F (74°C) for food safety. If the top is browning too fast, cover loosely with foil for the first 15 minutes, then remove it to finish.
Pan Size and Depth Change the Time
Shallow, wide pans (like a 9×13-inch / 23×33 cm baking dish) bake faster because the heat reaches more surface area. Deep, narrow dishes (like a 3-quart / 2.8 L casserole) take longer. Here is a rough guide:
| Pan size | Depth | Bake time at 375°F (190°C) |
|---|---|---|
| 9×13-inch (23×33 cm) | about 2 inches (5 cm) | 20–25 minutes (hot) / 30–35 minutes (cold) |
| 8×8-inch (20×20 cm) | about 2.5 inches (6 cm) | 25–30 minutes (hot) / 35–40 minutes (cold) |
| Deep 3-quart (2.8 L) casserole | about 3 inches (8 cm) | 30–35 minutes (hot) / 40–45 minutes (cold) |
Use a food thermometer to confirm the center reaches 165°F (74°C) before serving. If you don’t have a thermometer, insert a knife into the center; it should come out hot to the touch, and the sauce should be bubbling.
What Happens If You Overbake
Overbaking breaks the emulsion of the cheese sauce. The fat separates, leaving a greasy layer on top and a grainy texture. The pasta also absorbs too much liquid and becomes soft and mushy. The sauce should be creamy and slightly loose when it comes out; it will thicken as it cools. If you see the top browning too much before the center is hot, that’s a sign the oven is too hot or the dish is too cold. Lower the oven to 350°F (175°C) and bake longer, or cover with foil.
How to Tell It’s Done Without a Thermometer
The visual cues are simple: the top is golden brown, the edges are bubbling, and the cheese is fully melted. If you shake the dish gently, the center should not jiggle like liquid; it should be set but still creamy. For a crispier topping, broil for 1–2 minutes at the end, but watch it closely because broilers vary. If you added breadcrumbs, they should be toasted and golden, not burnt.
Worked Example: Classic 9×13 Baked Mac and Cheese
Here is a typical scenario: you make a stovetop mac and cheese with 1 lb (450 g) pasta and 4 cups (about 900 ml) of cheese sauce, pour it into a 9×13-inch (23×33 cm) dish, top with 1 cup (120 g) breadcrumbs, and bake immediately. At 375°F (190°C), it will be done in 22–25 minutes. The sauce should be bubbling at the edges and the breadcrumbs golden. If you refrigerate the same dish overnight, bake for 32–35 minutes. If you are baking a half recipe in an 8×8-inch (20×20 cm) dish, start checking at 20 minutes for hot, 30 minutes for cold.
Adjusting for Different Recipes
Richer sauces with more cream or cheese bake faster because they are more fluid and conduct heat better. Thicker sauces with more flour or less liquid take longer to bubble. If your recipe includes raw eggs (like a custard-style mac and cheese), the dish must reach 160°F (71°C) in the center to set the eggs safely. In that case, bake at 350°F (175°C) for 35–40 minutes, until the center is set and a knife inserted comes out clean. Always follow the recipe’s target temperature for egg-based casseroles.
Storing and Reheating Leftovers
Refrigerate leftover baked mac and cheese within 2 hours of baking. It keeps for 3–4 days in the fridge. Reheat individual portions in the microwave for 1–2 minutes, stirring halfway, or in the oven at 350°F (175°C) for 10–15 minutes until hot. Add a splash of milk or cream before reheating to restore creaminess. You can freeze baked mac and cheese for up to 3 months, but the texture will be softer after thawing. Thaw in the fridge overnight, then reheat at 350°F (175°C) until the center reaches 165°F (74°C).
Related
- Mac and Cheese Casserole with Chicken
- How Long Does Baked Mac and Cheese Last in the Fridge?
- Mac and Cheese and Corn Casserole
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).
