Appetizers
This baked macaroni and cheese recipe from scratch delivers the perfect balance of crispy breadcrumb topping and ultra-creamy cheese rivers that make every bite irresistible.
The secret lies in a rich, velvety cheese sauce made with sharp cheddar and Gruyère, combined with perfectly cooked pasta and a golden, crunchy crust that holds up to every forkful. I've refined this recipe over years to eliminate the common pitfalls—no watery sauce or soggy topping here.
The process starts with al dente pasta, then builds layers of flavor through a smooth, thickened cheese sauce that clings to every noodle. A buttery breadcrumb mixture on top transforms into a golden, shatteringly crisp shell while keeping the interior warm and gooey.
What sets this apart is the technique of baking the pasta directly in the sauce, ensuring maximum flavor absorption without drying out the noodles.
What you'll end up with is a restaurant-quality dish that's rich, indulgent, and completely foolproof. The crispy top contrasts beautifully with the creamy cheese filling, creating a texture combination that's impossible to resist.
This recipe serves as both a comforting weeknight dinner and an impressive dish for company—easy to make but always feels special.
Ready to master this classic with a modern twist? Let's get started with the step-by-step instructions that guarantee perfect results every time.
Ingredients for baked macaroni and cheese recipe from scratch
Sixteen ingredients transform into the perfect balance of crispy and creamy mac and cheese.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 12 oz | Al dente when cooked |
| Sharp White Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged for depth |
| Heavy Cream 🥛 | 1 cup | Full-fat for richness |
| Whole Milk 🥛 | 1 cup | Warmed to blend smoothly |
| Unsalted Butter 🧈 | 4 tbsp | Cold, cubed for sauce |
| All-Purpose Flour 🌾 | 2 tbsp | For thickening sauce |
| Yellow Cornmeal 🌽 | ¼ cup | For extra crunch topping |
| Panko Breadcrumbs 🍞 | ½ cup | Japanese-style for crispiness |
| Garlic Powder 🧄 | ½ tsp | Enhances topping flavor |
| Dried Mustard 🌶️ | ¼ tsp | Adds depth to sauce |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Nutmeg 🌿 | ¼ tsp | Freshly grated ideal |
The cheeses drive this dish. Sharp white cheddar delivers the tangy punch, while aged Gruyère adds nutty complexity—both should be freshly shredded from blocks for that perfect melt. I always grab my cheddar from the deli counter at Whole Foods (they keep it wrapped in wax paper), and for Gruyère, Trader Joe's has a surprisingly good pre-shredded option that works in a pinch. If you're using pre-shredded, pick up the Kraft brand—it's the only one that doesn't have anti-caking agents that make the sauce grainy. For the pasta, Barilla is my go-to—it holds up better to baking than store-brand options.
No sharp cheddar? Extra-sharp white cheddar works, but if you're stuck with mild, add 1/4 tsp of white vinegar to the sauce to kick up the tang. Gruyère hard to find? Parmesan can substitute at half the amount, though it won't be as creamy. The cornmeal in the topping is non-negotiable—it's what gives that shatteringly crisp texture. No panko? Regular breadcrumbs toasted in butter work, but you'll need to add 1 extra tbsp of butter to compensate. For the sauce, if you're making it ahead, cover the cheese mixture with parchment to prevent a skin from forming—trust me on this.
This dish reheats beautifully—350°F for 15 minutes restores the crispy top perfectly. Store leftovers in an airtight container for up to 5 days, though I rarely have any last that long. The topping mixture keeps for 3 days in the fridge if you're prepping ahead, and the cheese sauce can be made 2 days in advance—just reheat gently on the stove before assembling. For the ultimate party trick, make it in a cast-iron skillet—it stays hot longer and the crust gets even crispier. Portion into individual ramekins for single-serving perfection that's perfect for guests.
Why You'll Love This Recipe
- One-Pot Magic: I swear by this—no extra bowls, no sticky mess. Just toss the elbow macaroni, shredded cheddar, Gruyère, and milk into one pan, bake, and walk away. The creaminess melts right into the pasta while the top gets that golden, bubbly crust.
- Cheese Love Bomb: That combo of sharp white cheddar and nutty Gruyère? It’s like a flavor explosion in your mouth. The heavy cream keeps it rich but not heavy, and the baked edge gives it that perfect texture—creamy inside, crispy out.
- Weeknight & Meal Prep Hero: Between us, this is my go-to for busy nights and lunch prep. Make a big batch on Sunday, and you’ve got leftovers for days—reheat it, add a side salad, or even freeze portions. Honestly, it’s the ultimate lazy-but-thoughtful meal.
- Budget Comfort Winner: Sharp cheddar and Gruyère stretch further than you’d think, and elbow macaroni is cheap but satisfying. Plus, it’s the kind of dish that makes even picky eaters happy—my kid still asks for it, and I’ve never heard anyone complain.
Step-by-step instructions for baked macaroni and cheese
Follow this method for a restaurant-quality dish with crispy topping and velvety cheese sauce.
Cook the Elbow Macaroni to Al Dente Perfection
Bring a large pot of water to a rolling boil and add 1 teaspoon of salt. Once boiling, add the 12 oz elbow macaroni and cook for 2 minutes less than the package instructions specify. This ensures the pasta remains al dente when baked later.
Drain the pasta in a colander and rinse briefly under cold water to stop the cooking process. Shake off any excess water and transfer the pasta to a large mixing bowl. The pasta should be hot but not steaming—this helps the cheese melt more evenly later.
Prepare the Ultra-Creamy Cheese Sauce
In a separate saucepan, melt the 4 tbsp unsalted butter over medium heat. Add the 2 tbsp all-purpose flour and whisk continuously for 1-2 minutes until a smooth paste forms. This creates a roux that will thicken our sauce beautifully.
Gradually whisk in the 1 cup heavy cream and 1 cup whole milk until fully combined. Bring the mixture to a gentle simmer and cook for 3-5 minutes until it thickens slightly. Remove from heat and stir in the 2 cups sharp white cheddar cheese and 1 cup gruyère cheese until completely melted and smooth.
Season the sauce with the 0.25 tsp dried mustard, 0.25 tsp nutmeg, 0.5 tsp black pepper, and 1 tsp of the 1.5 tsp salt (reserve the remaining salt for later). The sauce should be rich, velvety, and just thick enough to coat the back of a spoon. If it's too thick, whisk in 1-2 tablespoons of milk to reach the perfect consistency.
Combine Pasta and Sauce for Maximum Creaminess
Pour the cheese sauce over the hot pasta in the mixing bowl and stir vigorously until every strand is fully coated. The residual heat from the pasta will help the cheese melt completely. If the mixture seems too thick, add 2-3 tablespoons of milk to loosen it.
Taste and adjust seasoning with the remaining 0.5 tsp salt if needed. The cheese should be rich and flavorful, with a perfect balance of sharp cheddar and nutty gruyère. Transfer the pasta mixture to a greased 9x13-inch baking dish, spreading it evenly into an even layer.
Prepare the Crispy Topping Mixture
In a small bowl, combine the 0.5 cup panko breadcrumbs, 0.25 cup yellow cornmeal, 0.5 tsp garlic powder, and the remaining 0.5 tsp salt. This combination creates the perfect crispy topping—panko for texture, cornmeal for extra crunch, and garlic powder for flavor.
Spread the topping mixture evenly over the top of the macaroni and cheese, pressing down gently to ensure good contact. The topping should be in a single, even layer with no gaps. Place the baking dish on a baking sheet to catch any potential spills during baking.
Bake to Golden Perfection
Preheat your oven to 375°F. Bake the macaroni and cheese for 20-25 minutes until the topping is deep golden brown and the cheese sauce is bubbling at the edges. The center should still be slightly jiggly—this indicates the perfect creamy texture.
For the final touch, broil on high for 1-2 minutes until the topping is crispy and golden. Watch closely to prevent burning. Remove from the oven and let it rest for 5 minutes before serving—this allows the cheese to set slightly and makes slicing easier.
Serve immediately with a side of steamed vegetables or a simple green salad. The contrast between the crispy, golden topping and the creamy, cheesy interior is what makes this dish truly special. Each bite should deliver that perfect combination of textures and flavors we promised.
Pro Tips For Making Baked Macaroni And Cheese Recipe From Scratch
- Cook Pasta Al Dente: DESCRIPTION:
- Grate Cheese Fresh: DESCRIPTION:
- Temper the Cream: DESCRIPTION:
- Broil for Crust: DESCRIPTION:
Best sauces and condiments for this baked macaroni and cheese recipe from scratch
Classic Cheese Sauce
This velvety sauce is the heart of your mac and cheese, and it's all about the cheese blend. The sharp white cheddar brings that signature tang, while Gruyère adds nutty depth. For extra richness, I always use full-fat heavy cream and whole milk—never skim.
The roux (butter + flour) is key: cook it for exactly 1-2 minutes to avoid a floury taste. If your sauce gets too thick, just whisk in 1 tbsp milk at a time. 🧀
Crispy Topping Variations
Your standard panko + cornmeal topping is unbeatable, but let's get creative. For a cheesy crust, mix in ¼ cup grated Parmesan with the breadcrumbs. For spicy kick, add ½ tsp smoked paprika and ¼ tsp cayenne.
My go-to shortcut? Crushed Ritz crackers—they toast up beautifully and add a buttery crunch. Just press them firmly on top before baking. 🍞
Sauce Boosters
Take your cheese sauce to the next level with these easy upgrades. A splash of ½ cup beer (I like lager for mildness) adds depth without overpowering.
For a luxury touch, stir in 2 tbsp crème fraîche at the end—it keeps the sauce silky smooth. Dijon mustard (1 tsp) brightens the flavor, while white wine (¼ cup) adds sophistication. Just reduce it first to concentrate the flavor. 🍷
Drizzle Finishes
After baking, elevate your dish with a quick drizzle. Hot honey (just warm 2 tbsp honey with a pinch of cayenne) adds sweet heat that cuts through the richness. For something smoky, try chipotle in adobo—just blend 1 tsp with 1 tbsp cream and drizzle lightly.
A sprinkle of fresh chives or crispy fried shallots adds freshness and texture. Garnish just before serving so everything stays crisp. ✨
Make-Ahead Sauce
Save time by prepping the cheese sauce ahead. Make it up to 2 days in advance and store it in an airtight container in the fridge. When ready to assemble, reheat gently on the stove over low heat, stirring constantly until smooth.
If it thickens too much, whisk in 1-2 tbsp milk to restore creaminess. Pro tip: Cover the sauce with parchment paper touching the surface to prevent a skin from forming. 🕒
Gluten-Free Adaptations
For a gluten-free version, swap the panko for certified gluten-free breadcrumbs (like Schär) and use cornstarch instead of flour for the roux. The topping will still be crispy! For the sauce, ensure your cheese is gluten-free (some brands process in shared facilities).
A sprinkle of toasted gluten-free cornflakes on top adds crunch without gluten. Always check labels—Trader Joe's has great GF options. 🌾
Nutrition facts
Frequently asked questions
Can I use any cheese for this baked mac and cheese?
The recipe calls for sharp white cheddar and Gruyère because they create the perfect balance of tangy and nutty flavors. However, you can substitute with extra-sharp cheddar (add ¼ tsp vinegar to the sauce) or Parmesan (use half the amount). Avoid pre-shredded cheese with anti-caking agents—it makes the sauce grainy. For a smoky twist, try adding ½ cup smoked Gouda to the mix.
Why does my baked mac and cheese get watery?
Watery mac and cheese usually happens when the pasta overcooks during baking or the sauce isn't thick enough. To fix it: Cook pasta 2 minutes less than package instructions, and rinse briefly in cold water before mixing with sauce. For the sauce, ensure your roux (butter + flour) cooks for 1-2 minutes to properly thicken. If it still looks thin, remove from oven, stir in 1 tbsp cornstarch mixed with 1 tbsp cold water, then rebake.
How do I make this dish ahead of time?
You can prep components separately for up to 2 days ahead: Make the cheese sauce (store in an airtight container with parchment touching the surface to prevent skin) and cook the pasta (store in cold water to prevent sticking). Assemble just before baking—this keeps the topping extra crispy. For leftovers, reheat at 350°F for 15 minutes to restore the crispy top. If making ahead for a party, bake in individual ramekins for easy serving.
Can I make this gluten-free?
Yes! Use gluten-free elbow macaroni, replace all-purpose flour with cornstarch for the roux, and swap panko for certified gluten-free breadcrumbs (like Schär). For extra crunch, sprinkle toasted gluten-free cornflakes on top. Always check cheese labels—some brands process in shared facilities. The texture will be just as creamy and crispy with these adjustments!
What's the secret to the perfect crispy topping?
The magic lies in the cornmeal + panko combo—cornmeal adds shatteringly crisp texture while panko provides structure. Press the topping firmly onto the cheese before baking, and broil for 1-2 minutes at the end for maximum crunch. For extra insurance, bake on a middle oven rack where heat is most intense. Avoid overcrowding the pan—this prevents steam from making the topping soggy.
