Skip to main content

How Long Does Mac and Cheese Take in the Oven?

How long to cook mac and cheese in the oven: 20 to 30 minutes at 350°F for a fresh 9x13 pan, longer if it's cold from the fridge. Here's how to tell.

Clayton Redmon, founder of ChefittClayton RedmonCulinary Educator
Published 3 min read
Pasta cooking technique — How Long Does Mac and Cheese Take in the Oven?

Bake stovetop-style mac and cheese at 350°F for 20 to 30 minutes in a 9x13 pan, until the edges bubble and the top is golden. If it went into the fridge first, plan on 40 to 50 minutes total, covered for the first half, and let it rest 10 minutes before you cut into it.

The pasta is already cooked and the sauce is already hot, so the oven isn't cooking anything. It's just browning the top and setting the sauce. Every extra minute past that point, the noodles keep drinking sauce.

That's the thing to watch.

Pull it when the edges bubble, not when the timer goes off.

Why does baked mac and cheese turn dry?

Almost always it's too long in the oven with too little sauce. Pasta keeps absorbing liquid as it bakes, so a sauce that looked loose on the stove can be gone by minute 35. A grainy, oily sauce is a different problem. The cheese got too hot and its proteins tightened up, which is the same thing that happens in a broccoli cheddar soup.

Two fixes cover most of it. Boil the pasta 2 minutes short of the package time, since it finishes in the oven, and make more sauce than looks right. For 1 pound of dry elbows, I want about 5 cups of cheese sauce, built on a roux with 4 cups of milk and roughly 1 pound of shredded cheese. The mixture should look a little soupy going into the pan.

Restaurant kitchens skip the long bake entirely. They sauce hot pasta to order, pile it into a small cast iron dish, and slide it under the broiler for a few minutes to brown the crumbs. You can do the same at home if you're serving straight away. Assemble it hot, add the topping, and broil 2 to 3 minutes.

How long if it was made ahead?

Cold mac and cheese from the fridge needs more time, and the center is the last part to get there. Cover the pan with foil and bake at 350°F for about 20 minutes, then uncover and bake another 20 to 25 minutes to brown the top. A splash of milk over the surface before it goes in replaces some of the sauce the pasta soaked up overnight.

For reheating leftovers, the USDA says to bring them to 165°F, so stick a thermometer in the middle rather than trusting the bubbling edges. If it's frozen, thaw it in the fridge overnight first. Baking a frozen block takes so long that the edges dry out before the center is hot.

Does pan size change the time?

Yes, and more than temperature does. These times assume a 9x13 pan about 2 inches deep. An 8x8 holding the same amount is deeper and needs 10 to 15 more minutes, while a wide, shallow gratin dish can be done in 15. Glass and ceramic heat slower than metal, so add 5 minutes if you're using either.

The times above also don't apply to custard-style mac and cheese, the kind where raw eggs and milk are poured over the noodles and set in the oven. That style needs 35 to 45 minutes at 350°F, until the center no longer jiggles like liquid.

Related: How to Cook Perfect Pasta: Salt, Time, Finish in Sauce

For a weeknight, I don't bake it at all past the broiler. When it's for a holiday table, I assemble it the day before, add milk across the top, and give it 45 minutes while the turkey rests.

Share this article

More from Chefitt

Keep reading.

The Chefitt Newsletter

Cook with more confidence.

Weekly chef techniques delivered to your inbox. The why behind every method, translated for the home kitchen.

No spam. Unsubscribe anytime.