Dinners

How Many Minutes to Bake Macaroni and Cheese

Updated · By Stir & Share

USDA safe temp
160°F / 71°C
check the thickest part

Save

Bake macaroni 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 underbaking: the center should reach 160°F (71°C) if the dish contains eggs, and the top needs visible browning, not just warmth.

Baking Time by Dish Type

Baking time depends on whether you start with cooked pasta and sauce or assemble a chilled casserole. A standard 9×13-inch (23×33 cm) dish of cooked macaroni and cheese takes 20–25 minutes at 375°F (190°C). If the casserole was refrigerated overnight, add 10–15 minutes, so plan for 30–40 minutes total. A smaller dish, like an 8×8-inch (20×20 cm) pan, may finish in 18–22 minutes because it is thinner.

Dish size Oven temp Time Doneness cue
8×8-inch (20×20 cm), unbaked 375°F (190°C) 18–22 min Golden top, bubbling edges
9×13-inch (23×33 cm), unbaked 375°F (190°C) 20–25 min Golden top, bubbling edges
9×13-inch (23×33 cm), chilled 375°F (190°C) 30–40 min Center hot, top browned
Individual ramekins (6 oz / 180 ml) 375°F (190°C) 15–20 min Golden and bubbly

Why 375°F (190°C) Works Best

Baking at 375°F (190°C) browns the cheese topping without overcooking the pasta. At 350°F (175°C), the top may stay pale and the sauce may not reduce enough. At 400°F (205°C), the crust can burn before the center heats through. Use the middle oven rack so the heat circulates evenly.

If your recipe calls for a breadcrumb or cracker topping, the same temperature works. The crumbs brown in the last 5 minutes; check at the 20-minute mark and cover loosely with foil if they are darkening too fast.

Step-by-Step: From Stovetop to Oven

Start with fully cooked pasta. Undercook it by 1 minute less than the package says because it continues cooking in the oven. Drain well; excess water thins the sauce and lengthens baking time.

  1. Preheat the oven to 375°F (190°C).
  2. Combine the cooked pasta with the cheese sauce in a large bowl. Stir until every piece is coated.
  3. Transfer to a buttered 9×13-inch (23×33 cm) baking dish. Spread evenly.
  4. Top with extra shredded cheese and breadcrumbs if using.
  5. Bake uncovered for 20–25 minutes, until the top is golden and the sauce bubbles at the edges.
  6. If the dish contains eggs (as in a baked macaroni and cheese custard), check the center with a food thermometer: it must read 160°F (71°C), the USDA FSIS safe minimum for egg dishes.
  7. Let rest for 5 minutes before serving so the sauce sets.

For a chilled casserole, add 10–15 minutes to the bake time. Cover with foil for the first half, then uncover to brown the top.

Where People Go Wrong: Overcooking, Undercooking, and Dryness

The most frequent error is baking too long, which makes the sauce curdle and the pasta mushy. Watch for the first bubbles at the edge—that signals the sauce is hot through. Another mistake is using a glass dish without adjusting time; glass heats faster, so check 5 minutes early.

Dry macaroni usually means the sauce was too thick before baking or the dish was baked too long. The sauce should be slightly looser than you want the final dish because the pasta absorbs liquid in the oven. If the top browns too quickly, tent with foil but keep baking until the center is hot.

If the casserole is still cold in the middle after the recommended time, return it to the oven in 5-minute increments. Always check the center with a thermometer if the dish contains eggs.

Adjusting for Different Recipes

Boxed macaroni and cheese mixes that instruct baking usually call for 20–25 minutes at 375°F (190°C). Homemade recipes with a roux-based sauce often need the same time. Recipes with extra mix-ins like broccoli or chicken may need 5 more minutes because the added ingredients lower the starting temperature.

For a crispy top, broil for 1–2 minutes after baking. Watch constantly to avoid burning.

How to Tell When It’s Done Without a Thermometer

Insert a knife into the center and leave it for 3 seconds. Pull it out; the knife should feel hot to the touch. The sauce should bubble at the edges, and the top should have golden spots. If the top is pale and the edges are quiet, bake 5 more minutes and check again.

For egg-based macaroni and cheese, a food thermometer is the only reliable test. The center must reach 160°F (71°C).

Storing and Reheating Baked Macaroni

Refrigerate leftover baked macaroni within 2 hours of serving. It keeps 3–4 days in the fridge. Reheat individual portions in the microwave for 1–2 minutes, or in a 350°F (175°C) oven for 10–15 minutes, covered with foil. Add a splash of milk before reheating to restore creaminess. You can freeze baked macaroni for up to 3 months; thaw overnight in the fridge before reheating.

Can You Bake Macaroni Without Boiling First?

Some recipes use uncooked pasta and extra liquid, baking for 45–60 minutes. This works only if the recipe is designed for it, with enough sauce to hydrate the pasta. The pasta must be fully submerged in liquid. Check at 45 minutes; the pasta should be tender but not mushy. This method is less reliable than boiling first because oven temperatures vary.

If you try it, use a 9×13-inch dish and cover tightly with foil for the first 30 minutes, then uncover to brown. The total time is usually 50–60 minutes at 375°F (190°C).

Quick Answers for Common Amounts

For 2 cups (about 8 oz / 225 g) of cooked macaroni, use an 8×8-inch dish and bake 18–22 minutes. For 4 cups (about 1 lb / 450 g), use a 9×13-inch dish and bake 20–25 minutes. For 6 cups or more, use a larger pan or bake in two batches; a crowded dish takes longer and may not brown evenly.

Always preheat the oven fully. A cold oven adds 5–10 minutes to the bake time and can make the top pale.

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