This is a baked mac and cheese built on a proper cheese sauce — not a shortcut, but not complicated either. The whole thing comes together in 45 minutes, and the result is creamy inside with a crispy panko top that holds up even after sitting on the table for a few minutes. If you’ve been making the boxed version out of convenience, this is the recipe that changes that habit.
What makes this version work
Two things actually matter here. First, cooking the roux for a full two minutes before adding any liquid burns off the raw flour taste — skip that step and the sauce will have a faint pastiness no amount of cheese can hide. Second, pulling the pasta out 1–2 minutes before it’s done is not optional. The macaroni finishes cooking in the oven inside the sauce, and if it goes in already fully cooked it will turn soft and lose its bite. Those two steps are what separate a sauce that stays creamy from one that turns grainy or gluey by the time it hits the table.
Smart swaps
- Gruyère is the one ingredient worth tracking down — it melts smoother than most substitutes. If you can’t find it, a good Swiss cheese works, though the flavor is milder.
- Cavatappi holds sauce in its ridges better than elbow macaroni, so it’s worth using if you have it. Either shape works fine.
- Smoked paprika is listed as optional and it genuinely is — leave it out if you don’t want any smokiness in the background.
- Gluten-free: swap in a 1:1 gluten-free flour blend for the roux and use your preferred GF pasta. The sauce behaves nearly the same.
- Skip the garnish — not worth the extra dish.
Storage and reheating
Leftovers keep in the fridge for up to 4 days in an airtight container. To reheat, add a splash of milk — about a tablespoon per serving — before microwaving on medium power in 60-second intervals, stirring between each. This keeps the sauce from seizing up into a thick clump. For larger portions, cover the baking dish with foil and reheat in a 325°F oven for 15–20 minutes, adding a few tablespoons of milk to the dish first. You can freeze baked mac and cheese for up to 2 months; thaw overnight in the fridge before reheating. The panko topping softens in the freezer, so if you’re planning to freeze it, hold off on adding the breadcrumb layer until you’re ready to bake from fresh.
Troubleshooting
- Sauce looks grainy or broken: This usually means the heat was too high when you added the cheese. Always reduce to low before stirring in the shredded cheese, and add it in batches rather than all at once.
- Sauce is too thick before baking: It should be pourable, not stiff. If it tightens up while you’re mixing in the pasta, stir in a splash of warm milk — a quarter cup at a time — until it loosens.
- Top browns too fast before the center is hot: Tent the dish loosely with foil for the first 12 minutes, then remove it for the last 6–8 minutes to crisp the topping.
- Cheese clumping instead of melting smoothly: Pre-shredded bags contain anti-caking starch that resists melting. Shred the cheese yourself from a block for a noticeably smoother sauce.
- Dish tastes flat: The sauce needs salt adjusted after the cheeses go in, since saltiness varies by brand. Taste the finished sauce before it goes into the baking dish and season then, not just at the roux stage.
Ultimate Homemade Mac and Cheese
Equipment
- Large Pot
- Oven-safe 9x13-inch baking dish
- Medium saucepan
- Whisk
- Measuring cups and spoons
Ingredients
For the Mac and Cheese Base:
- 1 lb elbow macaroni or cavatappi for extra texture
- ½ cup unsalted butter high-quality butter, such as Plugrá
- ½ cup all-purpose flour
- 4 cups whole milk room temperature for smoother roux
- 2 cups heavy cream
- 2 tsp Dijon mustard adds tang and depth
- ½ tsp garlic powder
- ½ tsp onion powder
- ½ tsp smoked paprika optional, for a subtle smoky flavor
- 1 tsp kosher salt adjust to taste
- ½ tsp black pepper freshly ground
- 3 cups sharp cheddar cheese freshly shredded
- 1 cup Gruyère cheese shredded, for creaminess
- ½ cup parmesan cheese grated, for umami edge
For the Topping:
- 1 cup panko breadcrumbs toasted for texture
- 2 tbsp unsalted butter melted
Instructions
- Preheat oven to 350°F (175°C). Lightly grease a 9x13 baking dish and set aside.
- In a large pot, bring salted water to a boil. Cook the macaroni until just shy of al dente, about 1–2 minutes less than package instructions. Drain and set aside.
- In a medium saucepan, melt 1/2 cup butter over medium heat. Whisk in the flour and cook, stirring constantly, for 2 minutes until the roux is golden and smells nutty.
- Gradually whisk in the milk and cream, ensuring no lumps. Continue to whisk and cook until the sauce thickens—about 5–7 minutes.
- Stir in the Dijon mustard, garlic powder, onion powder, smoked paprika, salt, and pepper. Reduce heat to low and slowly add the shredded cheeses, stirring until smooth and fully incorporated.
- Combine cheese sauce with the macaroni. Mix well and transfer to the greased baking dish.
- For the topping, mix panko with melted butter and sprinkle evenly over the dish.
- Bake for 18–20 minutes uncovered, until the top is golden and bubbling. Let it rest 5 minutes before serving.
Notes
- For a spicy kick, add diced jalapeños or a pinch of cayenne to the sauce.
- Substitute Gruyère with Fontina or Monterey Jack for a different flavor profile.
- Make it gluten-free by using GF-pasta and a gluten-free flour blend for the roux.
Nutrition
FAQ
Can I make this ahead and bake it later?
Yes — assemble the dish up to 24 hours ahead, cover tightly, and refrigerate before baking. Pull it out of the fridge 20–30 minutes before it goes in the oven so it isn’t stone cold in the center, and add 5 minutes to the bake time.
Can I double this recipe for a crowd?
Doubling works well. Use two 9×13 baking dishes rather than one deeper vessel so the pasta heats through evenly. The sauce-making time stays roughly the same; just use a larger saucepan.
Do I have to use all three cheeses?
Sharp cheddar is the one you shouldn’t skip — it carries most of the flavor. The Gruyère adds creaminess and the Parmesan adds depth, but if you only have cheddar on hand, the recipe still works. Just use 4 to 4.5 cups total.
Why is my mac and cheese dry after baking?
It almost always means the pasta was overcooked before it went into the oven, or the dish baked too long. The sauce should still look slightly loose when you pull it out — it thickens as it rests for those 5 minutes.
















































