This mac and cheese is the ultimate comfort food—rich, creamy, and packed with sharp cheddar. The secret? A simple roux-based cheese sauce that’s silky smooth. Perfect for cozy family dinners or when you need a little nostalgia.
Introduction
I’ve been making this mac and cheese recipe for years, and it’s honestly one of my family’s all-time favorites. I first stumbled on this version when I wanted something richer and creamier than the usual boxed stuff. The trick I learned is making a proper cheese sauce with a roux base—it’s what gives the sauce that velvety texture and keeps it from getting grainy. Plus, mixing sharp cheddar with Gruyere adds a nice depth of flavor that’s both tangy and nutty. I remember the first time I baked it with the buttery panko topping; it added this perfect crunch that made everyone ask for seconds. The finished dish is golden on top, ultra creamy inside, and just the right balance of cheesy goodness. Honestly, it’s the kind of meal that feels like a warm hug after a long day. If you’re looking for a cozy dinner that’s a little elevated but still easy to make, this is it.
What You'll Need
Approximately 6 cups, 4 servings
- 8 ounces elbow macaroni, dry
- 3 tablespoons unsalted butter, room temperature
- 3 tablespoons all-purpose flour
- 3 cups whole milk, warmed
- 2 cups sharp cheddar cheese, shredded
- 1 cup Gruyere cheese, shredded
- 1 teaspoon Dijon mustard
- 1/2 teaspoon garlic powder
- Salt and freshly ground black pepper, to taste
- 1/2 cup panko breadcrumbs
- 2 tablespoons unsalted butter, melted
How To Do It
Step 1
Bring a large pot of salted water to a boil and cook the elbow macaroni until it’s just al dente, usually about 7 minutes. You want the pasta to have a slight bite because it will continue cooking in the oven. Drain the pasta and set it aside. Avoid overcooking here as mushy pasta will ruin the texture of your final dish.
⏱ Time: 7 minutes
✓ Doneness: Pasta is tender but still firm when bitten
Step 2
In a large saucepan, melt 3 tablespoons of butter over medium heat. Once melted, whisk in the flour to create a roux. Keep whisking continuously for about 2-3 minutes until the mixture is bubbling and golden but not browned. This step cooks out the raw flour taste and helps thicken the sauce later.
⏱ Time: 3 minutes
✓ Doneness: Roux is smooth, golden, and slightly bubbling
Step 3
Slowly pour in the warmed milk while whisking vigorously to avoid lumps. Keep stirring as the sauce thickens, about 5-7 minutes. The sauce should coat the back of a spoon. Patience here is key; rushing will cause a lumpy sauce.
⏱ Time: 7 minutes
✓ Doneness: Sauce thickens to a creamy consistency that coats a spoon
Step 4
Remove the sauce from heat and stir in the Dijon mustard, garlic powder, salt, and pepper. Then add the shredded sharp cheddar and Gruyere cheeses a handful at a time, stirring until melted and smooth. Adding cheese off the heat prevents it from breaking or becoming grainy.
⏱ Time: 5 minutes
✓ Doneness: Cheese sauce is smooth, glossy, and evenly melted
Step 5
Combine the drained pasta with the cheese sauce, stirring gently to coat every piece. Transfer the mixture into a buttered 9x9-inch baking dish, spreading it out evenly for consistent baking.
⏱ Time: 5 minutes
✓ Doneness: Pasta is fully coated and evenly spread in the dish
Step 6
In a small bowl, mix the panko breadcrumbs with 2 tablespoons of melted butter until the crumbs are evenly coated. This mixture will create a golden, crunchy topping that contrasts beautifully with the creamy pasta underneath.
⏱ Time: 3 minutes
✓ Doneness: Breadcrumbs are glossy and evenly coated with butter
Step 7
Sprinkle the buttery panko evenly over the top of the mac and cheese. This topping is what gives the dish a delightful texture contrast once baked, so don’t skip it!
⏱ Time: 2 minutes
✓ Doneness: Breadcrumbs cover the surface evenly
Step 8
Bake in a preheated oven at 350°F (175°C) for 20-25 minutes until the top is golden brown and the cheese sauce is bubbling around the edges. Keep an eye on it so the topping doesn’t burn.
⏱ Time: 25 minutes
✓ Doneness: Top is golden and bubbling, sauce visible at edges
Step 9
Let the mac and cheese rest for 5 minutes before serving. This allows the sauce to thicken slightly and makes it easier to serve without it running everywhere.
⏱ Time: 5 minutes
✓ Doneness: Dish is set but still creamy and warm
Pro Tips
Warm your milk before adding it to the roux.
Using warm milk helps the sauce thicken more quickly and evenly. Cold milk can cause the roux to seize and form lumps, which ruins the smooth texture you want in your cheese sauce.
Grate your cheese fresh from a block.
Pre-shredded cheese often contains anti-caking agents that prevent smooth melting and can make your sauce grainy. Freshly grated cheese melts better and creates a creamier sauce.
Don’t skip the resting time after baking.
Letting the mac and cheese sit for a few minutes allows the sauce to thicken and set, making it easier to serve and preventing it from running all over the plate.
Use a whisk when making the roux and adding milk.
Whisking continuously helps prevent lumps and ensures the flour is evenly cooked and incorporated, which is key for a silky smooth cheese sauce.
Mix the cheeses off heat.
Adding cheese to sauce off the heat prevents it from overheating and separating, which can cause a gritty texture. Stir gently until melted and smooth.
Butter your baking dish before adding pasta.
This prevents sticking and helps the edges brown nicely for a beautiful crust. It also makes cleanup much easier afterward.
Use panko breadcrumbs for the topping.
Panko’s flaky texture creates a lighter, crunchier crust than regular breadcrumbs, adding a pleasing texture contrast to the creamy mac and cheese.
Common Mistakes to Avoid
Overcooking the pasta before baking.
Why it happens Many people boil pasta until very soft thinking it will taste better, but it actually becomes mushy after baking.
Fix Stop boiling the pasta when it’s just al dente—still firm with a slight bite. It will finish cooking in the oven and stay perfectly tender.
Adding cheese directly to hot milk without a roux.
Why it happens Skipping the roux seems faster, but the sauce won’t thicken properly and the cheese can clump or separate.
Fix Always make a roux first by cooking butter and flour, then slowly whisk in warm milk before adding cheese off heat for a smooth sauce.
Using pre-shredded cheese.
Why it happens Pre-shredded cheese contains anti-caking agents that prevent smooth melting, leading to grainy sauce.
Fix Buy blocks of cheese and grate it yourself for best meltability and flavor.
Skipping the resting time after baking.
Why it happens Impatience or not knowing this step is important leads to sauce that’s too runny and hard to serve.
Fix Let the dish rest 5-10 minutes after baking to allow the sauce to thicken and set.
Not buttering the baking dish.
Why it happens Forgetting this step causes the mac and cheese to stick and makes serving difficult.
Fix Lightly butter the dish before adding pasta to ensure easy release and nice browning.
Variations
Spicy Jalapeño Mac and Cheese
Add finely chopped jalapeños to the cheese sauce and sprinkle some crushed red pepper flakes for a kick. The creamy cheese balances the heat, making it a fun twist that’s great for spice lovers.
Note: Add jalapeños when melting the cheese so they soften slightly but retain some bite. Adjust spice level to taste.
Bacon and Caramelized Onion Mac and Cheese
Stir in crispy bacon bits and sweet caramelized onions into the cheese sauce before baking. This adds smoky and savory layers to the dish, perfect for a richer flavor experience.
Note: Cook onions low and slow until deeply golden for best sweetness. Add bacon last to keep it crispy.
Gluten-Free Mac and Cheese
Use gluten-free pasta and substitute the all-purpose flour with a gluten-free blend or cornstarch for the roux. The sauce will still be creamy and delicious without gluten.
Note: Cornstarch thickens faster; whisk milk in gradually and cook until thickened to avoid lumps.
Vegan Mac and Cheese
Swap dairy milk for unsweetened plant-based milk and use vegan cheese alternatives or a cashew-based cheese sauce. Nutritional yeast adds a cheesy flavor, making this a comforting vegan option.
Note: Vegan cheeses melt differently; use a blender for a smooth sauce and bake briefly to prevent drying out.
Four Cheese Mac and Cheese
Combine cheddar, Gruyere, mozzarella, and Parmesan for an ultra cheesy, flavorful sauce. The mozzarella adds stretchiness, while Parmesan boosts umami and browning.
Note: Add Parmesan last off heat to avoid graininess and use mozzarella sparingly to prevent stringiness.
Nutrition
Per Serving:
Nutritional values are estimates and may vary based on specific ingredients used.
Storage & Tips
Room Temperature
Mac and cheese can safely sit out covered for up to 2 hours. Beyond that, bacteria growth increases, so refrigerate promptly.
Refrigerator
Store leftovers in an airtight container for up to 4 days. The sauce may thicken and the texture firms up when cold. Reheat gently to restore creaminess.
Freezer
Freeze mac and cheese in a freezer-safe container for up to 3 months. Wrap tightly to prevent freezer burn. Thaw overnight in the fridge before reheating.
Reheating
Reheat on the stovetop over low heat with a splash of milk to loosen the sauce, stirring frequently. Alternatively, microwave in short bursts, stirring between intervals to heat evenly without drying out.
Make Ahead
You can prepare the cheese sauce and cook the pasta a day ahead, then assemble and bake just before serving. Store sauce and pasta separately in the fridge to keep textures fresh.
FAQ
Can I use a different pasta shape for mac and cheese?
Absolutely! While elbow macaroni is traditional, other small shapes like shells, cavatappi, or penne work well because they hold onto the sauce nicely. Just adjust cooking times to ensure pasta is al dente.
Why does my cheese sauce sometimes get grainy?
Grainy sauce usually happens when cheese overheats or the sauce curdles. To avoid this, add cheese off the heat and stir gently until melted. Also, use good-quality cheese and avoid pre-shredded varieties with additives.
Can I make this recipe dairy-free?
Yes! Substitute milk with unsweetened plant-based milk like almond or oat, and use dairy-free cheese alternatives or a homemade cashew cheese sauce. Keep in mind the texture and flavor will differ slightly.
How do I get a crunchy topping without breadcrumbs?
You can use crushed crackers, cornflakes, or even crushed potato chips mixed with melted butter for a crunchy topping. Each adds a unique flavor and texture but breadcrumbs remain the easiest and most classic.
Is it okay to use pre-shredded cheese?
Pre-shredded cheese often contains anti-caking agents that prevent smooth melting, which can cause a grainy texture. For best results, grate cheese fresh from a block.
Can I make mac and cheese ahead of time?
Yes, you can prepare the sauce and pasta separately in advance and assemble before baking. Keep components refrigerated and bake just before serving for best texture and flavor.
How do I reheat mac and cheese without drying it out?
Reheat gently on the stovetop with a splash of milk or cream, stirring frequently. In the microwave, heat in short bursts and stir between to prevent drying or overheating.
Why is my mac and cheese too runny after baking?
If the sauce isn’t thickened enough before baking or the pasta is overcooked, the dish can be watery. Make sure to cook the roux properly and keep pasta al dente to avoid this.
Final Thoughts
I hope you give this cozy mac and cheese a try—it’s truly one of those recipes that feels like home. Let me know how it turns out and if you add your own twist!