Sauces & Condiments
This baked mac and cheese recipe with cheese sauce delivers the ultimate comfort food experience—crispy golden edges that crackle with every bite and a gooey, pull-apart center so rich it melts on your tongue.
The secret lies in a perfectly balanced cheese sauce that clings to each noodle, elevated by a buttery breadcrumb topping that transforms this dish from ordinary to extraordinary.
I’ve perfected this recipe over years of testing, ensuring the sauce never breaks and the texture hits that magical crispy-tender sweet spot every time.
What sets this recipe apart is the technique: a smooth, velvety cheese sauce made from a proper roux (butter and flour cooked to perfection) that creates a stable base for three types of cheese—sharp cheddar for tang, Gruyère for depth, and cream cheese for creaminess.
The pasta cooks directly in the baking dish, absorbing the sauce as it bakes, while the breadcrumb topping gets irresistibly crispy under the broiler. It’s the kind of dish that turns a simple weeknight dinner into a restaurant-worthy meal without the fuss.
The result is a bubbling, golden casserole that’s impossible to resist—each forkful delivers that perfect contrast of crunchy top and creamy pull. The sauce clings to the noodles so well, there’s no need for extra milk or butter to keep it together, even when reheating leftovers.
This is the mac and cheese recipe I make for holidays, game days, and lazy Sundays because it never disappoints.
Ready in just 30 minutes, this recipe scales effortlessly for crowds or meal prep, making it the ultimate foolproof comfort food. Whether you’re feeding a family or craving a solo indulgence, this baked mac and cheese delivers restaurant-quality results with minimal effort.
Let’s get started on creating your new favorite dish.
Ingredients for baked mac and cheese recipe with cheese sauce
The secret to this legendary baked mac and cheese lies in these carefully chosen ingredients—each playing a crucial role in that perfect crispy-top, gooey-center magic.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 1 ½ lbs | Dry, medium or short elbow shape |
| Unsalted Butter 🧈 | ¾ cup | Cold, cubed for roux |
| All-Purpose Flour 🌾 | ½ cup | Sifted for smooth sauce |
| Sharp White Cheddar Cheese 🧀 | 1 ½ cups | Shredded, aged 6+ months |
| Gruyère Cheese 🧀 | 1 cup | Shredded, nutty flavor |
| Cream Cheese 🧀 | 8 oz | Room temperature for smoothness |
| Whole Milk 🥛 | 1 ½ cups | Warm for best emulsification |
| Yellow Mustard 🍯 | 1 tbsp | Adds tang and stability |
| Diamond Crystal Kosher Salt 🧂 | 1 ½ tsp | Adjust to taste |
| Freshly Ground Black Pepper 🌶️ | ½ tsp | Freshly cracked preferred |
| Panko Breadcrumbs 🍞 | ¾ cup | Japanese-style for extra crunch |
| Extra-Virgin Olive Oil 🫒 | 2 tbsp | For crispy topping |
| Garlic Powder 🧄 | ½ tsp | Enhances breadcrumb flavor |
| Freshly Grated Nutmeg 🌿 | ¼ tsp | Freshly grated for warmth |
The cheeses are where this dish shines—Gruyère's nutty depth and sharp cheddar's tang create that signature flavor, while cream cheese adds velvety richness. I always grab Cabot or Tillamook for the cheddar and Miyoko's for the Gruyère—both hold up beautifully to baking. For the pasta, De Cecco or Barilla are my go-tos; they cook evenly and hold shape. The butter matters too—Plugrá or Land O'Lakes unsalted gives the roux that perfect golden hue without overpowering. Pro tip: shred your own cheese—pre-shredded gets gummy when baked.
No Gruyère? Parmesan at half the amount gives a similar umami punch, though it won't melt as smoothly. Short on panko? Toasted breadcrumbs work too, but Japanese-style panko gives that irresistible crunch. The mustard is non-negotiable—it stabilizes the sauce and adds subtle tang. For the milk, whole milk works best, but if you're lactose-sensitive, full-fat coconut milk can substitute (though the texture will differ slightly). Want extra richness? Swap half the milk for heavy cream. And that nutmeg? Freshly grated is a game-changer—pre-ground loses potency fast.
This casserole reheats like a dream—even better the next day as flavors meld. Store leftovers covered in the fridge for 4-5 days, or freeze for up to 3 months (portion into single servings first). For the breadcrumb topping, mix the panko, olive oil, garlic powder, and nutmeg right before baking—it stays crispy longer. And if you're making this ahead for a party, bake it just before serving so the topping stays perfectly crunchy. Trust me, the crispy edges are worth the wait!
Why You'll Love This Recipe
- I’ll be real: that Gruyère-cheddar blend melts into a sauce so rich it’ll make you question why you ever bought pre-shredded. The roux from butter and flour? Smooth, never grainy, and the kind of creamy that sticks to your ribs.
- Cheese Sauce Magic: I’ll be real: that Gruyère-cheddar blend melts into a sauce so rich it’ll make you question why you ever bought pre-shredded. The roux from butter and flour? Smooth, never grainy, and the kind of creamy that sticks to your ribs.
- One-Pan Wonder: Honestly, this is the dish for when I’m too tired to scrub pots. Boil the pasta, mix in the sauce, bake—then slide it straight from oven to table. The edges get perfectly golden while the center stays velvety. Minimal effort, maximum payoff.
- Lunchbox Hero: Between us, this makes the best cold mac and cheese sandwiches you’ve ever had. Pack it in a thermos for work, or serve it warm at a potluck—it’s the crowd-pleaser that actually feeds people, not just fills plates.
Step-by-step instructions for baked mac and cheese with cheese sauce
This method delivers that perfect combination of creamy, gooey goodness with a golden, crispy topping every time.
Cook the Elbow Macaroni to Al Dente Perfection
Bring a large pot of water to a rolling boil and add the 1.5 lbs elbow macaroni. Stir immediately to prevent sticking. Cook for 1 minute less than the package instructions suggest—this ensures the pasta finishes cooking in the oven and absorbs the cheese sauce beautifully. I like to taste-test a piece when it's done; it should have a slight bite but still feel tender.
While the pasta cooks, prepare a bowl of ice water nearby. Once the pasta reaches al dente, drain it immediately and transfer to the ice water bath for 1 minute. This stops the cooking process and prevents the pasta from becoming mushy when mixed with the cheese sauce later. Drain again and set aside, reserving 1 cup of the pasta water for the sauce.
Create the Ultimate Cheese Sauce
In a large, heavy-bottomed pot, melt the 0.75 cup unsalted butter over medium heat. Once fully melted, reduce the heat to medium-low and whisk in the 0.5 cup all-purpose flour to form a smooth roux. Cook for 2-3 minutes, stirring constantly, until the mixture turns a pale golden color and smells nutty—this indicates the raw flour flavor has cooked off.
Gradually whisk in the 1.5 cups whole milk, about ½ cup at a time, allowing each addition to fully incorporate before adding more. Once all the milk is incorporated, stir in the 8 oz cream cheese, 1.5 cups sharp white cheddar cheese, 1 cup gruyère cheese, 1 tbsp yellow mustard, 1.5 tsp diamond crystal kosher salt, 0.5 tsp freshly ground black pepper, 0.5 tsp garlic powder, and 0.25 tsp freshly grated nutmeg. The sauce should thicken as it simmers—if it becomes too thick, whisk in some of the reserved pasta water 1 tablespoon at a time until it reaches a smooth, pourable consistency.
Combine Pasta and Sauce for Maximum Gooeyness
Add the drained elbow macaroni to the cheese sauce and stir gently but thoroughly to coat every strand. The goal is to distribute the sauce evenly without breaking the pasta. If the mixture seems too thick, add more of the reserved pasta water 1 tablespoon at a time until it reaches a creamy, spoonable texture. The sauce should cling to the pasta and create that signature pull-apart magic.
Transfer the macaroni and cheese to a 9x13-inch baking dish, spreading it out evenly. The dish should be about ¾ full—this allows room for the cheese to bubble and brown beautifully in the oven. Smooth the top with a spatula for an even surface.
Create the Crispy Breadcrumb Topping
In a small bowl, combine the 0.75 cup panko breadcrumbs, 2 tbsp extra-virgin olive oil, and an additional 0.25 tsp diamond crystal kosher salt. Mix until the breadcrumbs are evenly coated and slightly clump together. Sprinkle this mixture evenly over the top of the macaroni and cheese, pressing down gently with your fingers to help it adhere.
The key to a perfect crispy topping is patience—don't rush this step. The breadcrumbs should form a continuous layer without any gaps. If you have any extra topping mixture, sprinkle it on top of the baking dish for even more crunch.
Bake to Golden, Gooey Perfection
Preheat your oven to 375°F. Place the baking dish on the middle rack and bake for 25-30 minutes, until the top is deep golden brown and the edges are bubbling. The cheese sauce should be hot enough to melt completely, creating that signature stretchy, gooey texture. If the top isn't browning enough, broil for 1-2 minutes at the end, keeping a close eye to avoid burning.
Remove the dish from the oven and let it rest for 5-10 minutes before serving. This resting time allows the cheese to set slightly, making it easier to slice and serve without a messy slide. The result should be a creamy, cheesy masterpiece with a crispy, golden topping that's impossible to resist.
Pro Tips For Making Baked Mac And Cheese Recipe With Cheese Sauce
- Cook pasta al dente: Baked mac and cheese needs pasta that’s firm enough to hold its shape—don’t overcook it. Pull elbows out when they’re still slightly underdone (about 1-2 minutes before package time), then shock in ice water to stop cooking. Trust me, mushy pasta ruins everything.
- Grate cheese fresh: Pre-shredded cheese has anti-caking agents that make the sauce grainy and watery. Use a box grater for sharp white cheddar and Gruyère—it’s faster than you think, and the texture stays silky. (Yes, even if you’re impatient like me.)
- Whisk roux low and slow: The roux is where flavor builds, so don’t rush it. Cook the butter and flour on medium-low heat, stirring constantly, until it’s a pale golden color—about 5-7 minutes. After burning three batches, I finally figured out: high heat = bitter sauce.
- Press sauce through pasta: Mixing the cheese sauce into the pasta? Skip the stirring. Press it through with a spatula or wooden spoon to break up clumps and coat every noodle evenly. Does it look weird? Yes. Does it work? Every single time.
Common mistakes when making perfect results
Overcooking the Pasta
Cooking the elbow macaroni to al dente is critical—overcooking makes it mushy when mixed with the cheese sauce. I always reduce cook time by 1 minute from package instructions and test with a taste.
If it feels too soft, it’ll turn to paste when baked. The ice water bath stops cooking instantly, preserving texture. 🍝
Skipping the Roux
Many recipes call for adding cheese directly to milk, but that creates a grainy, unstable sauce. A proper roux (butter + flour cooked to golden) is the secret to a smooth, velvety texture.
Cook it at medium-low heat for 2-3 minutes—any hotter burns the flour flavor. Trust me, this step makes all the difference. 🧈
Underestimating Cheese Ratios
Using too much cheddar makes the sauce too tangy; too little Gruyère flattens the flavor. I balance 1.5 cups sharp cheddar with 1 cup Gruyère and 8 oz cream cheese for perfect harmony.
Pre-shredded cheese contains anti-caking agents that make the sauce grainy—always shred your own. The mustard isn’t optional either—it stabilizes the sauce and adds subtle tang. 🧀
Rushing the Breadcrumb Topping
Mixing the panko, olive oil, and seasonings right before baking ensures maximum crispiness. If you prep it too early, the oil gets absorbed and the topping turns soggy. Press the crumbs gently into the cheese—this helps them stick and creates a continuous crispy layer.
For extra crunch, broil for 1-2 minutes at the end, but watch closely to avoid burning. ⏰
Not Resting After Baking
Cutting into the mac and cheese immediately after baking causes the cheese to slide everywhere. Let it rest for 5-10 minutes—this lets the sauce set slightly and makes serving clean slices possible.
The cheese continues to melt and develop flavor during this time, too. Patience here pays off with perfect texture and presentation. 💫
Overmixing the Sauce
Stirring the cheese sauce too vigorously creates gluey lumps from overworked proteins. Once the cheese melts, give it a few gentle stirs—just enough to combine. If the sauce breaks, whisk in reserved pasta water 1 tbsp at a time until smooth.
The goal is creamy, not lumpy. This is where the mustard really shines as a stabilizer. 🔥
Nutrition facts
Frequently asked questions
Why does your recipe use three types of cheese?
Each cheese plays a specific role: sharp cheddar adds tangy depth, Gruyère brings nutty richness, and cream cheese creates velvety smoothness. Together they create that signature flavor balance that's hard to beat.
Can I make this ahead of time for a party?
Assemble the dish up to 24 hours ahead and refrigerate uncovered. When ready to bake, add the breadcrumb topping fresh and bake as directed. For best results, broil for 1-2 minutes at the end to restore crispiness.
What's the secret to the crispy topping?
Three things: Japanese-style panko (for maximum crunch), olive oil coating (to prevent sogginess), and pressing it gently into the cheese before baking. Mix the topping right before baking and broil briefly at the end for extra crunch.
Can I substitute any of the ingredients?
Yes! For the cheeses, try Parmesan instead of Gruyère (use half the amount) or Monterey Jack for a milder flavor. For dairy-free, use cashew cream and vegan cheese. The mustard is key—don't skip it as it stabilizes the sauce. For gluten-free, use gluten-free pasta and flour.
How do I fix a broken or grainy sauce?
If the sauce separates, whisk in 1 tbsp reserved pasta water at a time until smooth. For graininess, strain through a fine-mesh sieve or blend briefly to emulsify. The mustard and proper roux help prevent this, but a little extra milk or cream can rescue it too.
