Macaroni Cheese Origin: A Classic Recipe

Updated November 22, 2026

Total time
45 min
prep 15 min · cook 30 min
Serves
6
portions as written

Jump to recipe

Macaroni cheese, or mac and cheese, is a beloved comfort food made from pasta—typically elbow macaroni—and a creamy cheese sauce, often topped with a crispy crust. Its origins are debated, with ties to both Italy and America, but the baked, casserole-style version we know today became popular in the United States in the 20th century. This recipe delivers a rich, smooth sauce with a golden topping, perfect for a satisfying meal.

Ingredients

  • 1 lb (450 g) elbow macaroni
  • 4 tbsp (56 g) unsalted butter
  • 1/4 cup (30 g) all-purpose flour
  • 3 cups (710 ml) whole milk, warmed
  • 3 cups (340 g) sharp cheddar cheese, shredded
  • 1 cup (100 g) Gruyère or Monterey Jack, shredded
  • 1/2 tsp salt, plus more for pasta water
  • 1/4 tsp black pepper
  • 1/4 tsp paprika (optional)
  • 1/2 cup (45 g) panko breadcrumbs
  • 2 tbsp (28 g) butter, melted (for topping)

Instructions

  1. Preheat the oven to 375°F (190°C). Bring a large pot of salted water to a boil.
  2. Add the macaroni and cook until just al dente, about 7 minutes (or according to package directions). Drain and set aside.
  3. In a large saucepan, melt the 4 tbsp butter over medium heat. Add the flour and whisk constantly for 1-2 minutes to form a roux (do not brown).
  4. Gradually pour in the warm milk, whisking continuously to avoid lumps. Cook, stirring, until the sauce thickens and just begins to simmer, about 5-7 minutes.
  5. Remove from heat and stir in the cheddar and Gruyère until fully melted and smooth. Season with salt, pepper, and paprika if using.
  6. Combine the cooked macaroni with the cheese sauce in a large bowl, mixing well.
  7. Transfer the mixture to a buttered 9×13-inch (23×33 cm) baking dish.
  8. In a small bowl, mix the panko with the melted butter. Sprinkle evenly over the top.
  9. Bake for 20-25 minutes, until bubbly and the top is golden brown. Let rest for 5 minutes before serving.

Tips

  • Use freshly shredded cheese: Pre-shredded cheese contains anti-caking agents that prevent smooth melting. Shred your own for a silkier sauce.
  • Don’t overcook the pasta: Cook it just shy of al dente because it will continue cooking in the oven. Overcooked pasta becomes mushy.
  • Warm the milk: Adding cold milk to the roux can cause lumps. Warm it in the microwave or a small pot before adding.
  • Make it gluten-free: Use a gluten-free flour blend and gluten-free pasta. The sauce may be slightly less thick, but it works.

Serving Suggestions

Serve macaroni cheese as a main dish with a side salad or steamed green vegetables like broccoli or green beans. It also pairs wonderfully with roasted chicken, grilled steak, or BBQ ribs. For a classic Southern-style meal, serve alongside collard greens and cornbread.

Variations

  • Lobster Mac and Cheese: Fold in 1 cup (150 g) cooked lobster meat before baking for a luxurious twist.
  • Bacon and Jalapeño: Add 6 slices cooked, crumbled bacon and 1-2 diced jalapeños to the sauce for a spicy, smoky kick.
  • Broccoli Cheddar: Steam 2 cups of broccoli florets and mix them in before baking for a one-dish meal.
  • Buffalo Chicken: Stir in 1 cup (150 g) cooked, shredded chicken tossed in buffalo sauce, and reduce the paprika.

Storage and Reheating

Refrigerate leftovers in an airtight container within 2 hours of cooking. They will keep for 3-4 days. To reheat, place individual portions in the microwave and heat in 30-second bursts, stirring between, until hot (165°F/74°C). For the oven, cover the dish with foil and bake at 350°F (175°C) for 15-20 minutes, or until heated through. You can also freeze the baked mac and cheese for up to 2 months; thaw overnight in the fridge before reheating.

Frequently Asked Questions

Why is my cheese sauce grainy? Graininess usually comes from overheating the sauce or using pre-shredded cheese. Always melt cheese over low heat and remove from the burner as soon as it’s smooth.

Can I use a different pasta shape? Absolutely. Cavatappi, shells, or rotini work well because their shapes catch the sauce. Adjust cooking time to the package instructions.

How do I make it extra creamy? Add an extra 1/2 cup of milk to the sauce, or stir in a few slices of American cheese, which melts very smoothly.

Can I prepare this ahead of time? Yes, assemble the dish, cover, and refrigerate for up to 24 hours. Add 10 minutes to the baking time when baking from cold.

What if I don’t have Gruyère? Use all cheddar, or substitute with Gouda, fontina, or a mild provolone. The flavor will change slightly but remain delicious.

Is mac and cheese safe to leave out? No, it contains dairy and should not sit at room temperature for more than 2 hours. Refrigerate leftovers promptly.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).