Dinners

How to Bake Macaroni Pie: A Step-by-Step Guide

Updated · By Stir & Share

USDA safe temp
160°F / 71°C
check the thickest part
Ingredients
10
Steps
8

Jump to recipe Save

Baked macaroni pie is a hearty, golden-topped pasta dish that tastes like a cross between mac and cheese and a savory custard. It’s perfect for a weeknight dinner, a potluck, or a holiday side. From start to finish, plan on about 1 hour 15 minutes, with 20 minutes of hands-on prep.

What You Need Before You Start

  • 9×13-inch (23×33 cm) baking dish or a 10-inch (25 cm) round pie dish
  • Large pot for boiling pasta
  • Mixing bowl and whisk
  • Box grater or pre-shredded cheese (shred your own for smoother melting)
  • Food thermometer (for checking the egg custard is done)

How Long Does Macaroni Pie Take?

Active prep is about 20 minutes. Baking takes 45–55 minutes. Total time is roughly 1 hour 15 minutes, including a 10-minute rest after baking.

Ingredients

  • 1 lb (450 g) elbow macaroni or similar short pasta
  • 4 tbsp (60 g) unsalted butter, plus more for greasing the dish
  • 4 large eggs
  • 2 cups (480 ml) whole milk
  • 1 cup (240 ml) heavy cream
  • 3 cups (340 g) shredded sharp cheddar cheese, divided
  • 1 cup (100 g) grated Parmesan cheese
  • 1 tsp salt
  • 1/2 tsp black pepper
  • 1/2 tsp ground nutmeg (optional)

Instructions

  1. Preheat the oven to 375°F (190°C). Grease a 9×13-inch (23×33 cm) baking dish with butter.
  2. Bring a large pot of salted water to a boil. Cook the macaroni according to package directions until just shy of al dente (about 1 minute less than the package says). Drain and toss with 2 tbsp (30 g) of the butter to prevent sticking.
  3. In a large mixing bowl, whisk the eggs, milk, cream, salt, pepper, and nutmeg (if using) until fully combined.
  4. Add the cooked macaroni to the egg mixture, then stir in 2 cups (225 g) of the cheddar and all of the Parmesan. Mix well.
  5. Pour the mixture into the prepared dish. Sprinkle the remaining 1 cup (115 g) cheddar over the top.
  6. Melt the remaining 2 tbsp (30 g) butter and drizzle over the top.
  7. Bake for 45–55 minutes, until the top is golden brown and the center is set. The internal temperature should read 160°F (71°C) on a food thermometer, which is the USDA FSIS safe minimum for egg dishes.
  8. Let rest for 10 minutes before slicing. This helps the pie hold its shape.

Why Did My Macaroni Pie Turn Out Runny?

Symptom Cause Fix
Runny center Undercooked custard or too much liquid Bake until center reaches 160°F (71°C); reduce milk by 1/4 cup (60 ml) next time.
Top burns before center sets Oven too hot or dish too small Cover loosely with foil if top browns too fast; use a larger dish.
Grainy texture Overcooked eggs or heat too high Bake at 375°F (190°C) and remove when center is just set.
Sticks to the dish Not enough greasing Butter the dish thoroughly, including the sides.

Can I Make Macaroni Pie Ahead of Time?

Yes. Assemble the pie completely, cover, and refrigerate for up to 24 hours before baking. Add 10–15 minutes to the baking time if baking straight from the fridge. Baked macaroni pie keeps in the refrigerator for 3–4 days.

Can I Freeze Macaroni Pie?

Yes. Bake the pie, cool completely, then wrap tightly in plastic wrap and foil. Freeze for up to 3 months. Thaw overnight in the refrigerator and reheat in a 350°F (175°C) oven until hot throughout, about 20–30 minutes.

What Can I Substitute for Cheddar?

Use Gruyère, Gouda, or Monterey Jack in place of cheddar. Each melts well and gives a slightly different flavor. For a sharper taste, use extra-sharp cheddar. Avoid pre-shredded cheese with anti-caking agents, as it can make the custard grainy.

How Do I Reheat Leftover Macaroni Pie?

Reheat individual slices in the microwave for 1–2 minutes, or in a 350°F (175°C) oven for 10–15 minutes until hot. Add a splash of milk on top before reheating to keep it creamy.

Macaroni Pie for a Crowd

Double the recipe and bake in two 9×13-inch (23×33 cm) dishes. Increase baking time by about 10 minutes. Check the center reaches 160°F (71°C).

What Goes Well With Macaroni Pie?

Serve it alongside roasted chicken, grilled sausages, or a crisp green salad. It also works as a main dish with steamed vegetables on the side.

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