Food

How to Make Mac and Cheese Casserole

By Hayride Live · Updated · 4 min read

To make mac and cheese casserole, cook elbow macaroni until just shy of al dente, stir it into a thick cheese sauce, and bake it with a buttery breadcrumb topping at 375°F (190°C) for 20–25 minutes until bubbly and golden. This method works best when you want a sturdier, party-sized dish that holds its shape when scooped, rather than the stovetop version that stays creamy and loose.

Choose the baked casserole when you are feeding a crowd, reheating leftovers, or making it ahead. Choose the stovetop method when you want dinner in under 30 minutes and do not mind a softer texture. The casserole also freezes well, so it is a good make-ahead meal for busy weeks.

Baked vs. Stovetop: Pick by Texture and Time

  • Baked casserole: firmer, holds shape, takes about 1 hour total, serves 8–10.
  • Stovetop: creamier, looser, takes about 25 minutes, serves 4–6.
  • Make-ahead: assemble the casserole, refrigerate up to 2 days, then bake straight from the fridge (add 10–15 minutes to the baking time).

The 6-Step Method for a Classic Baked Mac and Cheese

  1. Preheat the oven to 375°F (190°C). Butter a 9×13-inch (23×33 cm) baking dish.
  2. Boil 1 pound (454 g) elbow macaroni in salted water for 2 minutes less than the package directions (about 6–7 minutes). Drain and rinse briefly with cool water to stop cooking.
  3. While the pasta cooks, melt 6 tablespoons (85 g) butter in a large pot over medium heat. Whisk in 1/2 cup (60 g) all-purpose flour and cook for 1 minute, stirring constantly.
  4. Slowly whisk in 4 cups (960 ml) whole milk. Bring to a simmer, whisking often, until the sauce thickens enough to coat the back of a spoon, about 5–7 minutes.
  5. Remove the pot from heat and stir in 3 cups (340 g) shredded sharp cheddar and 1 cup (100 g) shredded Gruyère (or more cheddar), plus 1 teaspoon salt, 1/2 teaspoon black pepper, and 1/2 teaspoon dry mustard. Stir until smooth.
  6. Fold the cooked macaroni into the sauce, pour into the prepared dish, and top with 1 cup (50 g) panko breadcrumbs mixed with 2 tablespoons (28 g) melted butter. Bake for 20–25 minutes, until the top is golden and the edges bubble. Let rest 5 minutes before serving.

For a creamier inside, pull the casserole out when the center is still slightly jiggly but the top is browned. For a firmer slice, bake until the center is fully set, about 30 minutes total.

What Goes Wrong and How to Fix It

Symptom Cause Fix
Grainy, greasy sauce High heat curdled the milk or the cheese was added too fast Keep the heat at medium-low when adding cheese, and add it in handfuls, stirring until melted before the next.
Dry, crumbly casserole Pasta overcooked before baking, or too little sauce Undercook the pasta by 2 minutes and use the full 4 cups of milk.
Bland flavor Not enough salt or cheese variety Salt the pasta water generously, and use a mix of sharp cheddar and a second cheese like Gruyère or Monterey Jack.
Topping burns before center is hot Oven too hot or topping too thick Bake at 375°F (190°C) and cover with foil for the first 15 minutes if the top browns too fast.

Make It Ahead and Store It Safely

Assemble the casserole completely, cover with foil, and refrigerate for up to 2 days before baking. Bake covered for 20 minutes, then uncover and bake another 15–20 minutes, until the center reaches 165°F (74°C) when checked with a food thermometer. Leftovers keep refrigerated for 3–4 days. Reheat individual portions in the microwave or in a 350°F (175°C) oven until hot throughout.

To freeze, bake the casserole, cool it completely, wrap tightly in foil and plastic, and freeze for up to 3 months. Thaw overnight in the refrigerator, then reheat covered at 350°F (175°C) until the center reaches 165°F (74°C).

Swaps That Work (and One That Does Not)

Use any pasta shape with nooks: shells, cavatappi, or rotini work as well as elbows. For the cheese, replace Gruyère with an equal amount of sharp cheddar, smoked gouda, or Monterey Jack — each changes the flavor slightly. Use half-and-half instead of milk for a richer sauce, but do not use skim milk; it makes the sauce thin and prone to curdling.

For a gluten-free version, use gluten-free pasta and swap the flour for 1/4 cup (30 g) cornstarch mixed with 1/4 cup (60 ml) cold milk before adding to the butter. Skip the breadcrumb topping or use crushed gluten-free crackers. The sauce will be slightly less smooth but still holds together.

When You Want Stovetop Instead

For a quick stovetop mac and cheese, cook 8 ounces (225 g) pasta according to package directions. In a separate pot, melt 3 tablespoons (42 g) butter, whisk in 3 tablespoons (24 g) flour, then 2 cups (480 ml) milk. Simmer until thick, about 4 minutes. Stir in 2 cups (225 g) shredded cheddar, 1/2 teaspoon salt, and 1/4 teaspoon pepper. Fold in the drained pasta and serve immediately. This makes about 4 servings and does not need baking.

If you want a crispy top without turning on the oven, spoon the stovetop mac into individual ramekins, sprinkle with panko, and broil for 2–3 minutes until golden — watch closely so it does not burn.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.