Side Dishes
This baked mac and cheese recipe with cheddar and gruyère delivers the kind of restaurant-quality comfort that transforms ordinary weeknights into special occasions. ✨ The secret lies in layering sharp cheddar's tang with gruyère's nutty richness, creating a sauce so velvety it melts in every bite while developing a golden, crispy top that's impossible to resist.
What sets this recipe apart is the technique: cooking the pasta al dente, making a proper roux to stabilize the cheese sauce, and baking just until bubbly. I've perfected this method over years of testing—no lumps, no separation, just foolproof results that impress even picky eaters.
The combination of cheeses creates depth you won't find in basic recipes, with gruyère adding that signature umami that makes this dish truly special.
By the time it emerges from the oven, you'll have a dish that's creamy yet structured, with a crispy top layer that shatters at every bite. The cheddar provides the familiar tang, while gruyère adds nutty complexity that elevates this classic beyond simple comfort food.
It's the kind of mac and cheese that makes people ask for seconds before they've even finished their first helping.
The beauty of this recipe is its versatility—serve it as a main dish with a crisp salad, or as a side for holidays and family gatherings. The leftovers reheat beautifully too, making it perfect for meal prep.
Let's get started on creating your new favorite comfort dish that's sure to become a regular on your dinner table.
Ingredients for baked mac and cheese recipe with cheddar and gruyere
Six ingredients make this restaurant-worthy mac and cheese shine with nutty depth and crispy perfection.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 1 ½ lb | Dry, medium or elbow shape |
| Sharp White Cheddar Cheese 🧀 | 1 ½ cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged 12+ months |
| Heavy Whipping Cream 🥛 | 1 cup | Full-fat for richness |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for roux |
| All-Purpose Flour 🌾 | ¼ cup | For smooth roux |
| Whole Milk 🥛 | ½ cup | Warmed for sauce |
| Yellow Onion 🧅 | 1 whole | Diced, for roux base |
| Garlic Cloves 🧄 | 3 cloves | Minced, for depth |
| Dijon Mustard 🍯 | 1 tbsp | For subtle tang |
| Kosher Salt 🧂 | 1 ½ tsp | Diamond Crystal preferred |
| Ground Black Pepper 🌶️ | ½ tsp | Freshly ground |
| Panko Breadcrumbs 🍞 | ¼ cup | For crispy topping |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For drizzling |
The cheeses are non-negotiable here—Gruyère's nutty punch and sharp cheddar's tang are what make this stand out. Grab block cheddar from the deli counter (pre-shredded gets gummy) and look for aged Gruyère at specialty shops if you can—it's worth the splurge. I always double-check the expiration date on cheese since it's the star. For the pasta, medium or elbow shapes work best—they hold sauce better than penne. If you're short on time, Trader Joe's has pre-shredded cheddar that's actually decent (just add a pinch of cornstarch to prevent clumping).
No Gruyère? Comté or extra-sharp cheddar can step in, but you'll lose that signature nutty depth. Running out of heavy cream? Full-fat coconut milk works in a pinch (though it changes the flavor slightly). The mustard is key—Dijon only, not the sweet yellow stuff. For the roux, low and slow is critical—rushing makes it taste raw. If you're making this ahead, assemble everything but bake—it keeps beautifully overnight in the fridge.
This reheats like a dream—just cover with foil and warm at 350°F for 15 minutes. Store leftovers in an airtight container for up to 5 days, or freeze portions for 3 months. Pro tip: Make a double batch—it disappears fast. The crispy topping gets soggy if you wait, so always bake straight from the fridge if prepping ahead. For extra crunch, broil 2-3 minutes at the end (watch it like a hawk!).
Why You'll Love This Recipe
- One-Pot Magic: I swear by this recipe when I’m too tired to wash dishes. Boil the pasta in the same pot you’ll bake it in—no extra pans, no fuss. Just dump, stir, and bake.
- Melty Perfection: That combo of sharp cheddar and nutty gruyère? It’s like a hug in sauce form. The cream keeps it silky, but the cheese melts into gooey, pull-apart pockets—exactly how it should be.
- Budget-Friendly Luxury: Gruyère’s fancy, but a little goes a long way—plus, it makes the whole dish feel special. Leftovers? Even better. Reheat with a splash of milk, and it’s just as good the next day.
Step-by-step instructions for baked mac and cheese with cheddar and gruyère
Here's how to build layers of gooey perfection—crispy on top, melty inside, with that perfect cheddar-gruyère harmony.
🍳 Step 1: Cook the Macaroni to Al Dente
Bring a large pot of water to a rolling boil and add the 1.5 lb elbow macaroni. I like to add 1.5 tsp kosher salt to the water—it should taste like the ocean. Cook until 1 minute before the package directions call for al dente (usually 13-14 minutes). You want it to finish cooking in the oven, so it absorbs all that cheesy sauce.
Drain the pasta but don't rinse it—those starchy strands help the cheese cling. Transfer the hot macaroni to a large mixing bowl and toss it with 1 tbsp extra-virgin olive oil to prevent sticking. This step is crucial—oily pasta won't clump together when you add the cheese sauce later.
🍳 Step 2: Build the Roux and Cheese Sauce
In a separate large skillet, melt the 0.5 cup unsalted butter over medium heat. Add the 1 whole yellow onion and 3 cloves garlic cloves, cooking until the onion softens and becomes translucent (5-6 minutes). Here's the thing—don't let the garlic burn. It should smell sweet and nutty, not bitter.
Lower the heat to medium-low and whisk in the 0.25 cup all-purpose flour, stirring constantly for 1-2 minutes until it forms a smooth, pale roux. This is your sauce foundation—don't rush it or you'll get a grainy texture. Slowly pour in the 0.5 cup whole milk and 1 cup heavy whipping cream, whisking constantly to prevent lumps from forming.
🍳 Step 3: Create the Triple-Melty Cheese Mixture
Remove the skillet from heat and stir in the 1.5 cups sharp white cheddar cheese and 1 cup gruyère cheese until completely melted. I like to use a wooden spoon for this—it helps scrape up any cheese stuck to the bottom. Add the 1 tbsp Dijon mustard, 0.5 tsp ground black pepper, and let the mixture sit for 1 minute to thicken slightly.
Pour the cheese sauce over the hot macaroni and stir vigorously until every strand is coated. The sauce should look glossy and smooth—if it's too thick, add 1-2 tablespoons of pasta water to loosen it. This is where the magic happens—the gruyère adds that nutty depth while the cheddar brings the classic tang.
🥘 Step 4: Assemble and Bake to Golden Perfection
Transfer the macaroni mixture to a 9x13-inch baking dish (or similar size) and spread it evenly. For that crispy top, mix the 0.25 cup panko breadcrumbs with 1 tbsp melted butter and sprinkle evenly over the macaroni. Bake at 375°F for 20 minutes until the edges are bubbly and the top is golden brown.
Here's the pro move: broil for 1-2 minutes at the end until the breadcrumbs turn a deep golden color. Watch it closely—you want crispy, not burnt. The cheese should be bubbling like a lava lamp by now. Let it rest for 5 minutes before serving—this gives the layers time to set up properly.
Pro Tips For Making Baked Mac And Cheese Recipe With Cheddar And Gruyere
- Preheat the Dish: DESCRIPTION:
- Grate Cheese Fresh: DESCRIPTION:
- Don’t Overmix the Sauce: DESCRIPTION:
- Bake Covered, Then Uncover: DESCRIPTION:
Make-ahead tips for this recipe
Assemble Ahead
My favorite time-saver? Assemble the entire mac and cheese—pasta, sauce, and all—in a baking dish up to 24 hours ahead. Cover tightly with plastic wrap and refrigerate. When ready to bake, simply remove the wrap, sprinkle your breadcrumb topping, and pop it in the oven.
The cold start actually helps create that perfect crispy crust while keeping the inside creamy. Just add 5-10 extra minutes to the baking time if coming straight from the fridge. 🧀
Freezer-Friendly
This mac and cheese freezes beautifully for up to 3 months with minimal texture loss. Assemble completely (including topping), cover with foil, then wrap tightly in plastic wrap. When ready to serve, thaw overnight in the fridge, then bake as directed.
For a quick version, microwave the thawed dish for 3-4 minutes to soften, then finish under the broiler for 3-5 minutes to crisp the top. I always make a double batch—it disappears fast! ❄️
Make-Ahead Baking
For holiday gatherings, I like to bake the mac and cheese 1 hour ahead and keep it warm in a 200°F oven. Cover loosely with foil to prevent drying. The cheese continues to melt and develop deeper flavors while staying creamy.
This works perfectly for buffet-style meals where you want everything hot and ready. Just give it 10 minutes in the oven before serving to refresh the crispy top. 🍽️
Portion Control
Divide the baked mac and cheese into individual 8x8-inch baking dishes before refrigerating. This makes it perfect for meal prep—just grab one portion, bake as directed, and serve. I use glass dishes because they reheat more evenly than metal.
For extra convenience, label each portion with the date and baking instructions. This is especially helpful when feeding a family with different schedules. 📅
Crispy Top Trick
If you're making this ahead, store the assembled dish without the breadcrumb topping. When ready to bake, sprinkle fresh panko mixed with melted butter just before going into the oven. This ensures maximum crispiness.
For an even better texture, broil for 1-2 minutes at the very end—just watch it like a hawk to avoid burning. The contrast of creamy and crispy is what makes this dish irresistible. 🔥
Leftovers Strategy
Store leftovers in airtight containers for up to 5 days in the fridge. Reheat covered with foil at 350°F for 15 minutes—this keeps the texture perfect. For extra flavor, add a splash of milk or cream when reheating.
I also like to sprinkle extra cheese on top before reheating to restore that golden finish. This mac and cheese actually tastes better the next day as the flavors meld together. 💛
Nutrition facts
Frequently asked questions
Can I substitute Gruyère with another cheese?
If you can't find Gruyère, try Comté or aged Gouda for similar nutty depth. For a sharper flavor, swap with extra-sharp cheddar or Parmigiano-Reggiano. Avoid pre-shredded cheese—it contains anti-caking agents that make the sauce grainy. Always use block cheese and shred it yourself for the best texture.
Why is my cheese sauce grainy?
Grainy sauce usually means the cheese melted too quickly or you didn't make a proper roux. Always cook the roux on medium-low heat for 1-2 minutes until it turns pale golden. Remove from heat before adding cheese, and stir constantly until fully melted. If it still looks grainy, whisk in 1-2 tbsp of warm pasta water to smooth it out.
How do I get the perfect crispy top?
The secret is in the breadcrumb topping and timing. Mix panko with melted butter before sprinkling, and bake at 375°F until golden. For extra crunch, broil for 1-2 minutes at the very end—watch it like a hawk! The key is adding the topping right before baking, not ahead of time.
Can I make this ahead of time?
Yes! Assemble everything (including cheese sauce) in a baking dish and refrigerate for up to 24 hours. When ready to bake, add fresh breadcrumbs and cook as directed, adding 5-10 extra minutes if cold. For freezer-friendly versions, assemble completely (including topping), wrap tightly, and bake straight from frozen with 10 extra minutes.
What's the best way to reheat leftovers?
Cover with foil and warm at 350°F for 15 minutes to maintain creamy texture. For extra flavor, add a splash of milk or cream before reheating. To restore crispiness, broil for 2-3 minutes at the end. This mac and cheese actually tastes better the next day as flavors meld together!
