Welcome to what heaven looks like.

(And tastes like. Totally.)
If there’s a perfect way to welcome October, it’s with this mac and cheese. It’s rich, comforting, and packed with flavor — familiar enough for a crowd yet distinctive enough to keep every bite interesting. The balance of nutty Gruyère, melty Swiss and sharp Parmesan creates a luxurious, creamy sauce that clings to whole wheat elbows. Add sweet caramelized onions and a crunchy panko topping, and you’ve got a dish that’s both classic and unforgettable.

This recipe is adapted from Molly’s book, Molly on the Range. Molly’s writing is warm, funny and full of personality, and her recipes always teach you something new about ingredients and technique. Her food is approachable but inspired — the kind you want to make again and again.

One of the things I love most about this version is how it lets Gruyère shine. There’s a nostalgic fondness for that cheese — my mom’s fondue comes to mind — and here it becomes the star in a silky, deeply flavored cheese sauce. The caramelized onions bring sweetness and depth, while smoked paprika, nutmeg and Dijon add subtle complexity.

This is now my go-to base for baked mac and cheese — foolproof, decadent, and satisfying. The combination of cheeses gives it a perfectly nutty, creamy profile, and the crunchy panko-parmesan topping finishes it with the right amount of texture.

Enough rambling — here’s the recipe, which yields a comforting main course perfect for cool evenings or gatherings.
Gruyere Mac and Cheese with Caramelized Onions
Yield:
4 to 6
1 hour 30 minutes
Pin Recipe
Leave a Review »
Ingredients
- 6 tablespoons unsalted butter
- 1 sweet onion, thinly sliced
- kosher salt
- 8 ounces whole wheat elbow noodles
- 1/4 cup all-purpose flour
- 2 1/2 cups whole milk
- 6 ounces gruyere cheese, freshly grated
- 4 ounces swiss cheese, freshly grated
- 2 ounces parmesan cheese, freshly grated
- 1 teaspoon smoked paprika
- 1/2 teaspoon freshly ground nutmeg
- 2 teaspoons dijon mustard
- 1/2 cup panko breadcrumbs
Instructions
-
Preheat the oven to 375°F (190°C). Grease an 8×8-inch baking dish.
-
In a large skillet, melt 2 tablespoons of the butter over medium-low heat. Add the sliced onions with a pinch of salt and cook, stirring occasionally, until they are deep golden and caramelized, about 40 minutes.
-
Bring a pot of salted water to a boil and cook the pasta according to package directions, reducing the cook time by 1 minute so the pasta stays slightly firm. Drain and set aside.
-
In a large pot, melt the remaining 4 tablespoons of butter over medium-high heat. Whisk in the flour to form a roux and cook 1–2 minutes until golden and fragrant. Slowly whisk in half the milk and cook until the mixture thickens, about 5 minutes. Add the remaining milk and whisk until thickened. Reduce heat to low and stir in the Gruyère, Swiss and all but 2 tablespoons of the Parmesan until melted. Season with smoked paprika, nutmeg, Dijon mustard and salt and pepper to taste. Fold in the cooked pasta and the caramelized onions.
-
Transfer the mac and cheese to the prepared baking dish. Sprinkle the panko and the remaining Parmesan over the top. Bake until bubbling and the top is golden and crisp, about 25 minutes. Let rest a few minutes before serving.
Notes
Did you make this recipe?
Share a photo of your dish and tag it with the recipe name or hashtag. Enjoy — I appreciate you so much!

The cheese strings though!