Main Courses
This baked mac and cheese recipe with spaghetti noodles transforms a classic comfort dish into something extraordinary—where every forkful delivers that signature cheesy stretch you crave.
The secret lies in cooking spaghetti just past al dente, then baking it with a rich cheese sauce until the edges turn golden and crispy. I've perfected this technique over years of testing, ensuring the noodles stay tender while the cheese develops a velvety, caramelized crust that's impossible to resist.
The magic happens in the sauce, where sharp cheddar meets creamy Gruyère for depth, and a touch of mustard adds subtle tang. What sets this apart is the spaghetti—its long strands create that coveted pull-apart texture, while the baking process transforms the dish into a crisp-edged, bubbling masterpiece.
This isn't your childhood mac and cheese; it's a restaurant-quality one-pan wonder that's surprisingly simple to make.
By the time it emerges from the oven, you'll have a dish that's rich, indulgent, and packed with that cheesy stretch you love, all while maintaining a crispy exterior that adds satisfying texture.
The aroma alone will have everyone gathering around the table, and the first bite delivers on every promise—creamy, cheesy, and perfectly balanced. It's the kind of comfort food that feels like a hug in dish form.
Serve it as a standalone main course or pair it with roasted vegetables for a complete meal. The beauty of this recipe is its versatility—add a sprinkle of smoked paprika for heat, a dash of hot sauce for spice, or keep it classic with a simple breadcrumb topping.
Let's get started on creating your cheesiest, most satisfying mac and cheese yet.
Ingredients for baked mac and cheese recipe with spaghetti noodles
Here's what transforms ordinary mac and cheese into restaurant-quality cheesy stretch magic.
| Ingredient | Amount | Notes |
|---|---|---|
| Spaghetti Noodles 🍝 | 12 oz | Cooked just past al dente |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, adds creamy depth |
| Heavy Cream 🥛 | 1 cup | Full-fat for richness |
| Whole Milk 🥛 | ½ cup | Warmed for smooth sauce |
| Unsalted Butter 🧈 | 4 tbsp | Melted for sauce base |
| Dijon Mustard 🍋 | 1 tbsp | Adds subtle tang |
| All-Purpose Flour 🌾 | 2 tbsp | For velvety texture |
| Garlic Cloves 🧄 | 2 cloves | Minced for aroma |
| Smoked Paprika 🌶️ | ½ tsp | Optional for heat |
| Kosher Salt 🧂 | 1 ½ tsp | Adjust to taste |
| Black Pepper 🌶️ | ½ tsp | Freshly ground |
| Panko Breadcrumbs 🍞 | ¼ cup | For crispy topping |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For topping drizzle |
The cheese is non-negotiable here. Sharp cheddar gives that signature tang, while Gruyère adds the creamy, velvety texture you crave. Grab block cheese from the deli counter—pre-shredded gets clumpy and lacks flavor. For the spaghetti, De Cecco or Barilla are my go-tos—they hold up better to the baking process. If you're using dried pasta, cook it just past al dente so it stays tender while developing that crispy crust. Pro tip: reserve half a cup of pasta water to loosen the sauce if needed.
No Gruyère? Parmesan or fontina work in a pinch, though the flavor won't be identical. Short on heavy cream? Full-fat coconut milk gives a similar richness, though it's slightly sweeter. The mustard is key—Dijon adds depth without overpowering. If you're sensitive to heat, skip the smoked paprika or use regular paprika instead. For the breadcrumbs, Panko stays crispy while regular breadcrumbs get soggy. Want extra crunch? Mix in 1 tbsp grated Parmesan to the topping.
This reheats beautifully—just cover with foil and warm in the oven for 10-15 minutes. Keeps for 3-4 days in the fridge, though it's best enjoyed fresh. For make-ahead magic, assemble the dish, refrigerate overnight, then bake straight from the fridge—it comes out even more flavorful. Portion into individual baking dishes for easy lunches. The leftovers? Even better the next day as the flavors meld.
Why You'll Love This Recipe
- One-Pan Magic: I swear by this recipe when I’m too tired to wash extra dishes. Spaghetti noodles baked right in the sauce? No boiling separate pots—just toss, bake, and serve. The Gruyère melts into that golden crust while the sharp cheddar keeps it tangy underneath.
- Creamy Crisp Perfection: Here’s what sold me—the contrast. The outside gets just crispy enough to hold the cheese like armor, while the inside stays velvety from the heavy cream and milk. Honestly, it’s the kind of texture that makes you close your eyes and sigh.
- Weeknight & Potluck Star: Between us, this is my go-to for game days, lazy Sundays, or when my roommates crash after work. It’s hearty enough for a crowd but still feels special—just add a sprinkle of breadcrumbs or bacon bits if you’re feeling fancy. (Yes, even on a Tuesday night.)
- Leftovers That Don’t Suck: I make a double batch every time because reheating this is a dream. Microwave it, and it’s still creamy. Pop it back in the oven, and the crust gets crispy again. Plus, the Gruyère stretches my cheese budget further than plain cheddar ever did. Budget win.
Step-by-step instructions for baked mac and cheese with spaghetti noodles
Here's how to make this ultra-cheesy, stretchy masterpiece that's easier than you think.
Cook the Spaghetti Just Past Al Dente
Bring a large pot of water to a rolling boil and add 12 oz spaghetti noodles. Cook until just past al dente—about 1 minute less than the package directions recommend. You want the noodles to have a slight bite but still be tender enough to melt into that creamy sauce.
Drain the noodles and immediately rinse them under cold water for 10 seconds. This stops the cooking process and removes excess starch that could make your mac and cheese gummy. I like to give them a quick shake in the colander to break up any clumps before transferring to your baking dish.
Make the Cheesy Sauce Base
In a large skillet over medium heat, melt 4 tbsp unsalted butter until foaming. Add the 2 cloves minced garlic and cook for 30 seconds until fragrant but not browned. Here's the thing—don't walk away. Garlic burns faster than you think.
Whisk in the 2 tbsp all-purpose flour and cook for 1 minute until the mixture becomes bubbly and slightly thickened. This creates a roux that will form the creamy foundation of your sauce. Slowly pour in the 1 cup heavy cream and 0.5 cup warmed whole milk while whisking constantly to prevent lumps from forming.
Combine Cheeses and Seasonings
Reduce heat to low and gradually add the 2 cups shredded sharp cheddar cheese and 1 cup shredded Gruyère cheese to the sauce, whisking until completely melted and smooth. The Gruyère adds that beautiful creamy depth that makes this recipe special.
Stir in the 1 tbsp Dijon mustard, 0.5 tsp smoked paprika, 1.5 tsp kosher salt, and 0.5 tsp black pepper. Taste the sauce and adjust seasoning if needed—this is your chance to make it perfect. The sauce should be rich, velvety, and just slightly tangy from the mustard.
Assemble and Bake to Golden Perfection
Transfer the cooked spaghetti noodles to a greased 9x13-inch baking dish. Pour the cheese sauce over the noodles and gently fold everything together until the noodles are completely coated. This ensures each bite gets that perfect cheesy stretch.
Sprinkle the 0.25 cup panko breadcrumbs evenly over the top, then drizzle with 1 tbsp extra-virgin olive oil. The oil helps create that beautiful golden-brown crust while the panko adds a delightful crunch contrast. Bake at 375°F for 25-30 minutes until the top is golden brown and bubbly.
Rest and Serve with Cheesy Confidence
Remove from the oven and let it rest for 5 minutes before serving. This resting time allows the cheeses to set slightly and makes it easier to slice. The dish should have a beautiful golden crust on top with that signature cheesy stretch when you pull it apart.
For the ultimate experience, serve immediately with a side of crusty bread or a simple green salad. The contrast of textures and temperatures makes every bite even more satisfying. And trust me, the leftovers are just as good the next day—if there are any!
Pro Tips For Making Baked Mac And Cheese Recipe With Spaghetti Noodles
- Boil Spaghetti Firm: Undercooked noodles turn mushy when baked—test one noodle at 10 minutes, then drain immediately. I used to overcook them, thinking they’d finish in the oven, but they just turn to paste. Aim for al dente, then shock with cold water to stop cooking.
- Shred Cheese Coarse: Tiny cheese bits melt into a sad, greasy sludge. Use a box grater for sharp cheddar and gruyère, then pulse half in a food processor for texture contrast. The bigger chunks stay gooey and delicious while the finer bits bind everything together.
- Bake Covered First: Skip the broiler until the very end—cover with foil for the first 20 minutes at 375°F (190°C). This lets the cheese melt evenly without turning to rubber on top. I learned this after watching my first batch curdle like a science experiment.
- Add Cream Slowly: Whisk the heavy cream and milk into the cheese sauce after it’s off the heat, or you’ll end up with scrambled cheese. Start with half, let it thicken, then add the rest—this keeps the sauce silky instead of grainy. (Yes, even if you’re impatient like me.)
Perfect pairings for this recipe
Side Dish Harmony
Start with a crispy Brussels sprouts salad tossed with ½ cup bacon crumbles, 2 tbsp balsamic glaze, and ¼ cup toasted walnuts. The smoky, crunchy contrast to creamy mac and cheese is unbeatable.
I always use Trader Joe's smoked bacon for that perfect balance of saltiness and richness. 🥗
Bread Pairings
Serve with garlic bread made from a French baguette brushed with 2 tbsp melted butter and sprinkled with 1 tsp garlic powder. Toast until golden for a warm, buttery companion. For extra indulgence, try sourdough—its tangy crust cuts through the richness beautifully. 🍞
Vegetable Sides
Roasted asparagus with 1 tbsp lemon zest and 2 tbsp grated Parmesan adds a bright, fresh element. Toss spears in 1 tbsp olive oil, roast at 400°F for 12 minutes, then finish with lemon and cheese. The acidity balances the dish perfectly. 🌿
Protein Additions
For a heartier meal, add crispy chicken tenders or pulled pork on top. Cook 1 lb chicken tenders in 1 cup buttermilk, coat with 1 cup panko, and bake at 400°F for 15 minutes. The tender, crispy texture pairs wonderfully with the cheesy stretch. 🍗
Drink Pairings
Pair with a Chardonnay—look for a California or New Zealand variety with hints of vanilla and citrus. The buttery notes complement the cheese sauce beautifully. For a non-alcoholic option, try sparkling apple cider with a splash of ginger ale for a refreshing contrast. 🍷
Topping Upgrades
Add crispy fried shallots or crumbled bacon on top for extra texture. I like Kikkoman fried shallots for their sweet, crispy crunch. For heat lovers, sprinkle ½ tsp cayenne pepper and 1 tbsp chopped chives right before serving. 🌶️
Nutrition facts
Frequently asked questions
Why use spaghetti instead of elbow macaroni?
Spaghetti creates that coveted cheesy stretch you love in baked dishes! Its long strands hold the sauce differently, giving each bite that signature pull-apart texture. The baking process transforms it into crispy edges while keeping the center creamy. Plus, it adds visual appeal with its elegant presentation.
Can I make this recipe without Gruyère?
Swap the Gruyère for 1 cup extra sharp cheddar or ½ cup Parmesan for a similar creamy depth. The mustard and heavy cream will still provide that tangy richness. Just know the texture will be slightly less velvety but still delicious.
How do I prevent the top from getting soggy?
Always bake the dish until the top is golden brown and bubbly. For extra insurance, broil for 1-2 minutes at the end. Spread the panko evenly and don't overcrowd the dish. The olive oil helps create that crispy barrier between the sauce and breadcrumbs.
Can I make this ahead of time?
Yes! Assemble the dish, cover tightly, and refrigerate for up to 24 hours before baking. Bake straight from the fridge at 375°F for 35-40 minutes (5-10 minutes longer). The flavors develop even more overnight. Just add 5 minutes to the baking time if it's cold.
What's the secret to the perfect cheesy stretch?
The magic happens with two key steps: cooking the spaghetti just past al dente (so it's tender but still holds shape) and using a mix of sharp cheddar and Gruyère (Gruyère melts creamier). Fold the sauce into the noodles gently to coat them completely, and don't skip the resting time after baking.
