Side Dishes
This baked mac and cheese recipe with cheddar and gruyère delivers the ultimate comfort food experience—crispy breadcrumb topping over rivers of melted, nutty cheese. I perfected it after years of testing, balancing sharp cheddar with rich gruyère for that signature gooey texture we all crave.
The secret lies in the slow bake that creates a creamy center while toasting the top to golden perfection.
What sets this recipe apart is the three-cheese blend that creates depth—sharp cheddar for tang, melty gruyère for nuttiness, and a touch of cream cheese for velvety richness. I developed this version after realizing most recipes either overcook the pasta or under-season the cheese.
This method ensures al dente noodles with a sauce so thick it clings to every strand.
By the time it emerges from the oven, you'll have a restaurant-quality dish with a crispy, buttery topping that contrasts perfectly against the creamy cheese layers beneath.
The aroma alone transforms any kitchen into a cozy haven, and each bite delivers that perfect balance of textures—crunchy, creamy, and indulgent all at once.
This recipe scales beautifully for gatherings or meal prep—just double the ingredients and bake in a larger dish. The leftovers reheat perfectly, making it ideal for busy weeks. Here's everything you need to create your own cheesy masterpiece.
Ingredients for baked mac and cheese recipe with cheddar and gruyere
Six ingredients for the cheeses, six for the magic topping—just 12 staples for restaurant-style comfort.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 1 ½ lb | Medium or fine elbow shape |
| Sharp White Cheddar Cheese 🧀 | 1 ½ cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged 12+ months |
| Cream Cheese 🧈 | 8 oz | Full-fat, room temperature |
| Heavy Whipping Cream 🥛 | ¾ cup | Full-fat for richness |
| Unsalted Butter 🧈 | ½ cup | Melted, salted optional |
| All-Purpose Flour 🌾 | ¼ cup | For roux, not instant |
| Whole Milk 🥛 | ½ cup | Warm for smooth sauce |
| Panko Breadcrumbs 🍞 | 1 cup | Plain, not seasoned |
| Parmesan Cheese 🧀 | ¼ cup | Freshly grated, for topping |
| Garlic Cloves 🧄 | 2 cloves | Minced, for flavor boost |
| Yellow Onion 🧅 | 1 whole | Diced, mild sweetness |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Ground Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Mustard Powder 🌶️ | ½ tsp | For subtle tang |
The cheeses are non-negotiable here. Gruyère needs to be aged at least 12 months for that nutty depth—skip the pre-shredded stuff, it's rubbery. Sharp white cheddar from a block (like Cabot or Tillamook) gives the tang you crave. I grab mine from the deli counter at Whole Foods—they keep it cold and fresh. For the cream cheese, full-fat is a must (trust me on this). If you're feeling fancy, add a pinch of smoked paprika to the cheese blend for a subtle kick. The garlic and onion? Sauté them first in butter to build flavor before mixing into the sauce.
No panko? Toasted breadcrumbs from a baguette work just as well—pulse in a food processor for consistency. Short on gruyère? Add more sharp cheddar plus a splash of cream to mimic the melt. The mustard powder is key—it cuts through the richness. If you don't have it, Dijon mustard at half the amount does the trick. For the roux, don't rush it—cook the flour and butter until it's golden but not browned. That's what makes the sauce silky. And if you're prepping ahead, assemble everything except the topping and refrigerate overnight—the flavors meld beautifully.
This reheats like a dream—just cover with foil and bake at 350°F for 15-20 minutes until bubbly. The topping stays crispy if you broil it the last 2 minutes. For meal prep, portion into individual ramekins before baking—each one's a perfect single serving. Leftovers keep for 4 days in the fridge, but honestly? It's gone in one sitting. Freeze portions for up to 3 months—just thaw overnight in the fridge before reheating. Pro tip: Save the crispy topping scraps for croutons or garnishes—they're pure magic.
Why You'll Love This Recipe
- No-Fuss Bake: I swear, this comes together in one bowl—no extra pots, no fuss. Just boil the pasta, mix in the melted cheddar and gruyère with that velvety cream cheese and heavy cream, and toss it all in a dish. Twenty minutes later, golden perfection.
- Gruyère Magic: Between us, the gruyère is what makes this actually special. It’s nutty, rich, and melts into this luxurious, stretchy blanket over the sharp cheddar—like a fancy cheese fondue but baked. Honestly, the first time I tried it, I nearly skipped dinner to eat it straight from the pan.
- Weeknight to Party: This is my go-to when I need something fast but still feels impressive. Serve it with a simple salad for a weeknight dinner, or add a crispy breadcrumb topping and roasted broccoli for a crowd. (Yes, even on a Tuesday night.)
- Leftovers? Better: The best part? It reheats like a dream—no soggy pasta here. I make a double batch because it’s cheap to feed a family, and the next day’s lunch is just as good as the first. Plus, the gruyère keeps it from getting dry, so you won’t hear complaints.
Step-by-step instructions for baked mac and cheese with cheddar and gruyère
Here's how to make the ultimate baked mac and cheese—creamy, cheesy, and topped with golden, crispy breadcrumbs.
Cook the Elbow Macaroni to Al Dente
Bring a large pot of water to a rolling boil and add 1.5 pounds of elbow macaroni. Season the water generously with salt—it should taste like the ocean. Cook the pasta until it's 1 minute shy of the package directions for al dente. The pasta should still have a slight bite to it when you taste it. Drain the pasta in a colander and set it aside.
Don't rinse the pasta—those starchy strands help create the creamy sauce. I like to give the drained pasta a quick shake in the colander to break up any clumps before moving to the next step. This ensures even coating with the cheese sauce later.
Sauté Onion and Garlic for Flavor Base
In a large, deep oven-safe skillet (I use a 10-inch cast iron), melt 0.5 cup unsalted butter over medium heat. Add the 1 whole yellow onion that's been diced into small pieces and cook for 5-6 minutes until it's soft and translucent. You want the onion to lose its raw bite but not brown.
Add the 2 cloves minced garlic and cook for another 30 seconds until fragrant. Here's the thing—garlic burns quickly, so keep an eye on it. Remove the skillet from heat and let it cool for 1 minute before adding the pasta. This prevents the garlic from scorching when you mix in the cold pasta.
Make the Creamy Cheese Sauce
Return the skillet to medium-low heat and whisk in the 0.25 cup all-purpose flour to make a roux. Cook for 1-2 minutes until the flour loses its raw taste and turns slightly golden. Slowly pour in the 0.5 cup whole milk while whisking constantly to prevent lumps from forming.
Add the 1.5 cups sharp white cheddar cheese, 1 cup gruyère cheese, and 8 oz cream cheese all at once. Stir until the cheeses melt completely and the mixture becomes smooth. If it gets too thick, add 0.25 cup heavy whipping cream to reach your desired consistency. The sauce should coat the back of a spoon but still be pourable.
Combine Pasta and Cheese Mixture
Add the drained elbow macaroni to the skillet and gently fold everything together until the pasta is fully coated in the cheese sauce. Stir in the 1.5 teaspoons salt, 0.5 teaspoon ground black pepper, and 0.5 teaspoon mustard powder. The mustard powder adds a subtle tang that balances the richness of the cheeses.
Taste the mixture and adjust the seasoning if needed. I usually add a pinch more salt and black pepper at this stage. The dish should be rich and cheesy, but the mustard powder should be noticeable in the background. Transfer the skillet to a baking sheet for stability in the oven.
Top and Bake to Golden Perfection
In a small bowl, mix together the 1 cup panko breadcrumbs and 0.25 cup freshly grated parmesan cheese. Sprinkle this mixture evenly over the mac and cheese, pressing down gently to help it stick. The panko will create that coveted crispy topping we're after.
Bake in a 375°F oven for 20-25 minutes until the top is golden brown and the edges are bubbling. You'll know it's done when the breadcrumbs are crispy and the cheese underneath is melted and bubbly. If the top browns too quickly, tent it loosely with aluminum foil for the last 5 minutes of baking.
Rest and Serve Warm
Remove the mac and cheese 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. The crispy breadcrumb topping will be at its best right out of the oven, but the cheese will still be warm and gooey underneath.
Serve immediately with a side salad or steamed vegetables. The combination of sharp cheddar, nutty gruyère, and crispy panko topping makes this baked mac and cheese a comfort food classic. Don't forget to save some leftovers—they reheat beautifully in the oven or microwave.
Pro Tips For Making Baked Mac And Cheese Recipe With Cheddar And Gruyere
- MIX THE CHEESES COLD: Skip the urge to warm the cheeses first—add the sharp cheddar, gruyère, and cream cheese straight from the fridge to the cream sauce. I used to melt them in first, but this keeps the gruyère from turning into a greasy sludge. Stir until the cream cheese just dissolves, then let the residual heat do the work.
- BAKE UNTIL GOLDEN, NOT JUST BUBBLY: Your mac and cheese is done when the top is deep golden, not just soft and bubbly. I learned this the hard way—underbaked versions taste underwhelming, and overbaked ones turn rubbery. Use a broiler for the last 2-3 minutes if needed, watching like a hawk.
- DRY THE PASTA WELL: Drain the elbow macaroni and give it a solid shake in the colander to remove surface starch. Wet pasta steams when baked, making the sauce watery. I skip the rinse—just dry it thoroughly—so the cheese sauce clings properly.
- USE A THICKER CREAM SAUCE: The ratio matters: for every 1 cup of heavy cream, add 1 tablespoon of flour or a splash of pasta water to thicken the sauce before mixing in the cheese. I was skeptical until I tried it—this prevents a runny, sad baked mac and cheese.
Common mistakes when making your baked mac and cheese recipe with cheddar and gruyere
Overcooking the Pasta
I've learned the hard way that overcooked pasta ruins everything. When macaroni gets mushy, it absorbs too much sauce and turns to glue—no one wants that. Cook your 1.5 pounds of elbow macaroni just 1 minute shy of package directions for that perfect al dente texture.
Trust me, the slight bite makes all the difference in the final dish. 🍝
Skipping the Roux
Some recipes call for mixing cheese directly with milk, but that's a shortcut to disaster. The flour-butter roux is what creates that silky, velvety texture we all crave. Cook your 0.25 cup flour with butter until golden—don't rush this step!
It takes about 1-2 minutes on medium-low heat. This is the foundation that makes the sauce thick and creamy, not grainy.
Cheese Temperature Issues
Cold cheese straight from the fridge creates clumps that won't melt smoothly. Take your gruyère and cheddar out 30 minutes before using so they reach room temperature. I also like to shred my own cheese—pre-shredded versions contain anti-caking agents that make the sauce grainy.
For the cream cheese, make sure it's fully softened to room temperature before mixing. 🧀
Uneven Baking
The most common mistake is baking at too high a temperature. 375°F is perfect for this recipe—any hotter and the top burns before the center melts. Keep an eye on it after 20 minutes, and if the breadcrumbs brown too quickly, tent with foil.
The edges should bubble while the center remains creamy. I always check doneness by inserting a knife—it should come out gooey, not dry.
Wrong Topping Mix
Plain panko alone gets soggy fast. Mix your 1 cup panko with 0.25 cup freshly grated parmesan for extra flavor and structure. Press the topping down gently before baking so it sticks to the cheese.
Pro tip: Toast the breadcrumbs in a dry pan for 2 minutes before mixing with parmesan—they'll get even crispier. This makes all the difference in texture contrast. 🍞
Ignoring the Rest Time
Serving mac and cheese immediately after baking means a messy, runny disaster. Let it rest for 5-10 minutes so the cheese sets slightly and the breadcrumbs crisp up. This also lets the flavors meld together.
I promise you won't regret the wait—it's worth every second for that perfect first bite. The cheese will still be warm and gooey underneath while the topping stays crispy.
Nutrition facts
Frequently asked questions
Can I make this baked mac and cheese vegetarian?
This recipe is already vegetarian-friendly as written. The cheddar, gruyère, and cream cheese blend provides all the richness without any animal products beyond dairy. For a vegan version, substitute the dairy cheeses with plant-based alternatives like Miyoko's shredded cheddar or Violife gruyère, and use vegan butter and heavy cream. The texture will be slightly different but still delicious!
How do I adjust this recipe for a larger crowd?
Double all ingredients and bake in a 9x13-inch baking dish instead of a skillet. For even better results, use two 8x8-inch dishes since they allow for more even baking. Increase the oven temperature to 375°F and bake for 25-30 minutes, tenting with foil if the top browns too quickly. The same ratio of cheeses and toppings works perfectly for larger batches.
What's the best way to reheat leftovers?
For the crispiest results, cover with foil and reheat at 350°F for 15-20 minutes until bubbly. If you're short on time, microwave portions covered for 90 seconds on high, then broil for 2-3 minutes to restore crispiness. The key is to avoid drying out the cheese—always reheat covered until fully warm, then add the crispy topping fresh from the oven.
Can I substitute other cheeses for gruyère?
Yes! If you can't find gruyère, try Comté or Emmental for similar nuttiness. For a sharper flavor, add extra sharp cheddar and reduce the gruyère by 0.25 cup. Avoid pre-shredded cheese—the anti-caking agents make the sauce grainy. If you're feeling adventurous, a 0.25 cup addition of smoked gouda adds wonderful depth without overpowering the dish.
Why did my mac and cheese turn out dry?
This usually happens from overcooking or using overcooked pasta. The pasta should be al dente, not mushy, and the baking time should be 20-25 minutes at 375°F. If your oven runs hot, reduce the temperature to 350°F. For extra moisture, add 0.25 cup heavy cream to the sauce before baking. The cheese should be gooey, not dry—if it's firm, it needs more time in the oven.
