This baked mac and cheese casserole gets its custard-like richness from eggs, which bind the pasta and cheese into a sliceable, spoonable dish. The eggs set the sauce as it bakes, giving you a creamy center with a golden, slightly puffed top. It is a sturdy weeknight dinner or potluck dish that holds together on the plate.
Ingredients
- 1 lb (450 g) elbow macaroni or similar short pasta
- 4 tbsp (55 g) unsalted butter, plus more for the dish
- 1/4 cup (30 g) all-purpose flour
- 2 cups (480 ml) whole milk
- 1 cup (240 ml) heavy cream
- 1 tsp salt
- 1/2 tsp black pepper
- 1/2 tsp paprika (optional)
- 1/4 tsp ground nutmeg (optional)
- 3 large eggs, lightly beaten
- 3 cups (340 g) shredded sharp cheddar cheese, divided
- 1 cup (100 g) shredded Gruyère or Swiss cheese (optional, for extra melt)
- 1/2 cup (50 g) panko breadcrumbs (optional, for topping)
Instructions
- Preheat the oven to 375°F (190°C). Butter a 9×13-inch (23×33 cm) baking dish.
- Cook the macaroni in salted boiling water until just shy of al dente (about 2 minutes less than the package says). Drain and set aside.
- In a large saucepan, melt the butter over medium heat. Whisk in the flour and cook for 1 minute, stirring constantly.
- Gradually whisk in the milk and cream. Bring to a simmer, whisking often, until the sauce thickens enough to coat the back of a spoon, about 5–7 minutes.
- Remove from heat. Stir in salt, pepper, paprika, and nutmeg if using. Let cool for 5 minutes.
- Temper the eggs: slowly whisk about 1 cup of the warm sauce into the beaten eggs, a few tablespoons at a time, then whisk the egg mixture back into the saucepan. This prevents the eggs from scrambling.
- Stir in 2 cups (225 g) of the cheddar and all the Gruyère if using, until melted and smooth.
- Add the drained macaroni to the sauce and stir to coat. Pour into the prepared dish.
- Sprinkle the remaining 1 cup (115 g) cheddar over the top. If using panko, toss with a little melted butter and sprinkle on top.
- Bake for 25–30 minutes, until the top is golden and the casserole is set in the center (a knife inserted near the middle comes out clean, and the internal temperature reaches 160°F (71°C), the USDA FSIS safe minimum for egg dishes).
- Let rest for 10 minutes before serving. This allows the custard to firm up.
Why the Eggs Make It Set (and How to Keep It Creamy)
The eggs act as a binder. As the casserole bakes, the egg proteins coagulate, turning the sauce into a soft custard that holds the pasta together. Without eggs, the dish is more like stovetop mac and cheese that stays loose.
The key to a creamy texture is not overcooking. Bake just until set; if it bakes too long, the eggs will curdle and the sauce will turn grainy. The internal temperature should reach 160°F (71°C), but not much higher.
What If the Casserole Turns Out Dry?
A dry casserole usually means it baked too long or the sauce was too thick before baking. The sauce should be slightly thinner than you think, because the pasta absorbs liquid as it bakes. If it looks dry at 20 minutes, check the temperature; it may already be done. If it’s not done but looks dry, cover loosely with foil for the remaining time.
What If It’s Too Runny?
A runny casserole means the eggs didn’t set fully, either because the dish was underbaked or the sauce was too thin. Always let it rest for 10 minutes after baking; the custard continues to set as it cools. If it’s still runny after resting, it likely needed more time in the oven. Next time, bake until the center is just firm to the touch.
Substitutions and Swaps
- Milk: Use 2% or whole milk instead of whole milk and cream. The casserole will be less rich and slightly less creamy.
- Cheese: Swap cheddar for Monterey Jack, Colby, or a mix. Gruyère adds nuttiness; you can use all cheddar.
- Pasta: Any short shape works—shells, rotini, or penne. Adjust cooking time to package directions.
- Add-ins: Stir in cooked bacon, sautéed onions, or peas before baking. Add about 1 cup total; the eggs will still set.
- Gluten-free: Use gluten-free pasta and a 1:1 gluten-free flour blend for the roux. The sauce may be slightly less smooth.
Storing and Reheating Leftovers
Refrigerate leftovers within 2 hours in an airtight container. They keep for 3–4 days. To reheat, place a portion in a microwave-safe dish and heat in 30-second bursts until hot, or reheat in a 350°F (175°C) oven covered with foil for 15–20 minutes. The casserole can be frozen for up to 2 months; thaw overnight in the fridge before reheating. Expect the texture to be slightly softer after freezing.
Related
- Baked Pizza Cottage Cheese Casserole Recipe
- Cauliflower Casserole with Turkey Bacon
- Chicken Cordon Bleu Casserole with Turkey Bacon Recipe
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).
