Dinners

How Long to Bake Mac n Cheese in Oven

Updated · By Stir & Share

Save

How Long to Bake Mac n Cheese in Oven

Bake mac and cheese at 375°F (190°C) for 20–25 minutes if it’s already hot, or 35–40 minutes if it’s cold from the fridge. The dish is done when the top is golden brown and the edges bubble. This timing works for most recipes that use cooked pasta, a cheese sauce, and a breadcrumb topping.

Bake Times for Hot vs. Cold Mac and Cheese

If you assemble the mac and cheese and bake it right away, the pasta and sauce are already warm, so the oven only needs to brown the top and heat everything through. That takes 20–25 minutes at 375°F (190°C).

If you make the dish ahead and refrigerate it, the cold casserole needs extra time to reach the center. Bake a cold mac and cheese at 375°F (190°C) for 35–40 minutes. To speed this up, let it sit at room temperature for 15–20 minutes before baking (but no longer than 2 hours total out of the fridge).

For a large 9×13-inch (23×33 cm) dish, use the longer end of the range. For a smaller 8×8-inch (20×20 cm) dish, start checking at the shorter time.

How to Tell It’s Done Without Guessing

The top should be deep golden brown and slightly crisp. The sauce should bubble at the edges of the dish, which means it’s hot throughout. Insert a knife or skewer into the center; it should come out very hot to the touch. If you have an instant-read thermometer, the center should read at least 165°F (74°C) if the dish contains eggs or meat. For a plain cheese version, 160°F (71°C) is fine, but the bubbling edges are the easiest cue.

If the top browns too quickly but the center isn’t hot, cover loosely with foil and bake 5–10 more minutes. Remove the foil for the last few minutes to re-crisp the topping.

The Best Oven Temperature: 375°F (190°C) Works for Most

375°F (190°C) is the sweet spot. It’s hot enough to brown the breadcrumbs and melt the cheese, but not so hot that the sauce separates or the pasta dries out. You can also bake at 350°F (175°C) for 30–35 minutes if your dish is very deep or if you prefer a gentler bake. At 400°F (200°C), reduce the time to 15–20 minutes for a hot dish, but watch the top closely—it can burn quickly.

A common misconception is that a higher temperature makes the cheese creamier. It doesn’t. High heat can make the sauce curdle or the edges dry out. Stick to 375°F (190°C) for a reliable result.

How to Adjust for Different Pan Sizes and Toppings

Pan depth matters more than width. A shallow dish (like a 9×13-inch / 23×33 cm) bakes faster than a deep casserole dish. If you use a deep dish, add 5–10 minutes to the baking time and check the center with a thermometer.

Toppings change the timing slightly. A thick layer of breadcrumbs or extra cheese insulates the top, so the sauce underneath may need a few more minutes. If you use a panko topping, it browns quickly—check at the shorter time. If you skip the topping entirely, the dish may brown less, but it will still be done when the edges bubble.

For a crispy top without extra baking time, you can broil for 1–2 minutes at the end. Keep a close eye on it; broilers vary, and the topping can burn in seconds.

What to Do If Your Mac and Cheese Is Dry or Soupy

If the mac and cheese comes out dry, the sauce was too thick or the pasta absorbed too much liquid. Next time, undercook the pasta by 1–2 minutes (al dente) and make the sauce slightly looser than you think it should be—it thickens as it bakes. To rescue a dry dish, stir in a splash of warm milk or cream and cover with foil for 5 minutes before serving.

If it’s soupy, the sauce was too thin or the pasta was overcooked. Let it rest for 10 minutes after baking; the sauce will thicken as it cools slightly. For the next batch, use less milk or add an extra handful of cheese to the sauce.

Storing and Reheating Leftover Mac and Cheese

Refrigerate leftovers within 2 hours of baking. They keep for 3–4 days in the fridge. To reheat a single serving, microwave on medium power for 1–2 minutes, stirring halfway. For a larger portion, reheat in the oven at 350°F (175°C) for 15–20 minutes, covered with foil, until the center reaches 165°F (74°C) if it contains eggs or meat; otherwise, until hot and bubbling.

Freeze mac and cheese for up to 3 months in an airtight container. Thaw overnight in the fridge, then bake as you would a cold dish: 375°F (190°C) for 35–40 minutes. The texture may be slightly softer after freezing, but the flavor stays good.

A Simple Rule of Thumb to Remember

Hot dish: 20–25 minutes at 375°F (190°C). Cold dish: 35–40 minutes. If you’re ever unsure, start checking at 20 minutes and look for bubbling edges and a golden top. That’s the signal that it’s ready.

Related

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).