Main Courses
This baked spaghetti mac and cheese recipe delivers the ultimate comfort food experience with a triple-layered crunch and gooey tomato streaks that'll have everyone asking for seconds. The secret lies in perfectly balancing crispy breadcrumb topping, creamy cheese sauce, and tender pasta—all baked together until bubbly and golden.
I've perfected this technique after countless batches, ensuring each layer delivers exactly as promised: a crispy exterior that shatters with every bite, a rich cheese sauce that clings to every noodle, and those coveted tomato streaks that add depth without overpowering the classic flavors.
The foundation of this recipe begins with a velvety cheese sauce made from a blend of sharp cheddar, Gruyère, and cream cheese, creating the perfect balance of tangy and creamy.
While the pasta cooks al dente, the sauce simmers until thick and luxurious, ready to coat every strand of spaghetti and elbow macaroni.
The layering technique is critical—starting with a base of pasta, followed by a generous spread of sauce, then adding the spaghetti strands in a crisscross pattern before topping with buttery breadcrumbs and melted cheese. This method ensures each bite contains all the elements working together in perfect harmony.
What you'll end up with is a casserole that's crispy on top, creamy in the middle, and packed with tender pasta throughout. The tomato streaks add a subtle sweetness that complements the cheesy richness, while the breadcrumb topping provides that satisfying crunch.
This dish is hearty enough to stand alone as a main course but pairs beautifully with a simple green salad or warm garlic bread for a complete meal.
The aroma alone will have your kitchen smelling like a cozy dinner party, and the first bite will confirm why this has become a family favorite.
Ready in about 45 minutes, this baked spaghetti mac and cheese is perfect for weeknight dinners, holiday gatherings, or anytime you're craving a comforting meal. The recipe scales easily, making it ideal for feeding a crowd or prepping ahead for meal prep.
With just a few simple ingredients and a foolproof technique, you'll achieve restaurant-quality results that taste even better than the takeout version. Let's get started on creating this crowd-pleasing dish that's sure to become a regular on your dinner table.
Ingredients for baked spaghetti mac and cheese
Six layers of cheesy perfection—crispy, creamy, and packed with tomato goodness.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 1 ½ lbs | Cooked al dente, drained well |
| Spaghetti 🍝 | 12 oz | Uncooked, broken into 4-inch pieces |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged 12+ months |
| Cream Cheese 🧀 | 8 oz | Full-fat, cut into cubes |
| Heavy Whipping Cream 🥛 | ½ cup | Full-fat for richness |
| Whole Milk 🥛 | ½ cup | Warmed for smooth sauce |
| Tomato Paste 🍅 | 1 tbsp | Smooth, no sugar added |
| Garlic Cloves 🧄 | 2 cloves | Minced, fresh preferred |
| Dried Basil 🌿 | 1 tsp | Or 1 tbsp fresh |
| Ground Black Pepper 🌶️ | ½ tsp | Freshly cracked |
| Diamond Crystal Kosher Salt 🧂 | 1 ½ tsp | For seasoning |
| Panko Breadcrumbs 🍞 | 1 ½ cups | Fine, not coarse |
| Unsalted Butter 🧈 | 3 tbsp | Melted, for breadcrumbs |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For greasing dish |
The cheeses are the stars here. Gruyère adds that nutty depth while the sharp cheddar brings the tang—don't skimp on either. I always grab Kraft sharp cheddar from the block section (it melts like a dream) and Whittard of Chelsea Gruyère if I'm feeling fancy. The cream cheese is non-negotiable for that ultra-creamy texture. For the tomato paste, Muir Glen is my go-to—it's sweet without being cloying. Pro tip: Toast your panko breadcrumbs in a dry pan for 2 minutes before mixing with butter—it adds serious crunch. And that melted butter? Use Plugrá if you can find it; it's the butter of butter.
No Gruyère? Parmigiano-Reggiano works in a pinch, though it's saltier. Short on cream cheese? Extra sharp cheddar plus a splash of milk mimics the creaminess. The spaghetti pieces don't need to be perfect—just break them roughly into 4-inch lengths before baking. For the tomato streaks, if you're worried about the paste being too thick, mix it with 1 tsp water before adding to the sauce. And that garlic? Roast it first—microwave with a splash of water for 2 minutes for a sweeter flavor. The breadcrumbs can be buttered ahead and stored in the fridge for up to 3 days—just give them a quick toast before using.
This casserole is a meal-prep dream. Assemble it up to 24 hours ahead and refrigerate uncovered (the top will dry slightly, but it bakes up perfectly). Bake straight from the fridge if you're short on time—just add 10-15 minutes to the baking time. Leftovers? 3-4 days in the fridge, but honestly, it's even better the next day. For freezing, bake as directed, cool completely, then wrap tightly in foil. 3 months in the freezer—just add 10 minutes to baking time from frozen. And that crispy top? Worth every second of the broiler watch—keep your eye on it like a hawk!
Why You'll Love This Recipe
- Two Pastas, Zero Stress: I swear by mixing elbow mac and spaghetti—it’s the best of both worlds. The elbows hold their shape while the spaghetti adds that satisfying bite, and honestly? No one even notices I didn’t boil them separately. Just toss everything in one pan, bake, and let the oven do the work.
- Creamy Crispy Magic: Between us, the secret’s the cream cheese and Gruyère combo. That sharp cheddar gives it the classic tang, but the Gruyère melts into this velvety blanket while the top gets a golden, almost crackly crust. It’s the kind of dish where the first bite makes you pause mid-spoonful.
- Game for Any Night: This is my go-to when I have zero energy but still want to impress. Leftovers reheat like a dream, and it’s weirdly fancy enough for dinner guests but simple enough to make when my kid’s soccer team shows up hungry. (Yes, even on a Tuesday night.)
- Budget-Friendly Luxury: I can feed six people for under $15 with this recipe, and it’s the kind of dish that disappears fast. The cheeses stretch far, the pasta’s cheap, and the leftovers? They’re even better the next day—if they last that long. My wallet and my family thank me every time.
Step-by-step instructions for triple-layered baked spaghetti mac and cheese
This method delivers a restaurant-quality dish with crispy breadcrumb topping, gooey cheese layers, and perfect tomato streaks.
Cook and Prepare the Pasta Layers
Start by boiling the 1.5 lbs elbow macaroni in salted water until al dente (about 1 minute less than package directions). Drain immediately and toss with 1 tbsp extra-virgin olive oil to prevent sticking. Let cool slightly, then divide evenly between two large bowls.
Break the 12 oz spaghetti into 4-inch pieces and cook separately until al dente. Drain and toss with 1 tbsp olive oil as well. This dual-pasta approach creates the perfect texture contrast in every bite.
Make the Ultimate Cheese Sauce
In a large saucepan, melt 3 tbsp unsalted butter over medium heat. Add the 2 cloves minced garlic and cook for 30 seconds until fragrant. Stir in the 1 tbsp tomato paste and cook for 1 minute to develop flavor.
Add the 8 oz cream cheese cubes, 2 cups sharp cheddar cheese, and 1 cup gruyère cheese, stirring constantly until fully melted. Pour in the 0.5 cup heavy whipping cream and 0.5 cup warmed whole milk, then remove from heat. Stir in 1 tsp dried basil and 0.5 tsp ground black pepper. The sauce should be smooth and velvety—if it's too thick, add 1-2 tbsp pasta water to loosen.
Assemble the Triple-Layered Masterpiece
Lightly grease a 9x13-inch baking dish with 1 tbsp olive oil. Spread half of the elbow macaroni in the bottom, then pour half of the cheese sauce over it. Repeat with the remaining pasta and sauce, finishing with the spaghetti pieces arranged in a lattice pattern on top.
Sprinkle 1.5 tsp diamond crystal kosher salt evenly over the top layer. This seasoning will infuse throughout the dish as it bakes, creating perfectly seasoned bites in every forkful.
Create the Crispy Breadcrumb Topping
In a small bowl, mix the 1.5 cups panko breadcrumbs with the 3 tbsp melted unsalted butter until evenly coated. Spread this mixture evenly over the top of the mac and cheese, pressing down gently with your fingers to ensure full coverage.
Bake at 375°F for 25-30 minutes until the top is deep golden brown and the edges bubble slightly. The cheese should be fully melted with just a hint of stretch when pulled gently—this is your perfect doneness signal. If the top browns too quickly, tent with foil for the last 5 minutes of baking.
Rest and Serve for Maximum Enjoyment
Remove from the oven and let rest for 10 minutes before serving. This resting period allows the cheese to set slightly, making it easier to slice and preventing a runny mess. The breadcrumb topping will crisp up even more as it cools.
Cut into squares and serve immediately with a side of garlic bread or a simple green salad. The contrast of crispy topping, creamy cheese, and al dente pasta in every bite makes this dish truly special—worth every minute of assembly!
Pro Tips For Making Baked Spaghetti Mac And Cheese
- Cook Pasta Al Dente: This isn’t just about taste—overcooked pasta turns your baked mac into a gluey mess. Test a piece at the earliest suggested cook time (usually 1-2 minutes before package instructions), drain immediately, and toss with a splash of pasta water to stop cooking. Trust me, you’ll notice the difference when it holds its shape under that cheesy blanket.
- Shred Cheese Like a Pro: Skip the food processor for sharp cheddar—it turns into powder. Use a box grater and pull the blade toward you in short strokes for uniform shreds. For Gruyère, pulse it briefly in a food processor (just 2-3 seconds) to break it down slightly, then mix it into the cream cheese first. This ensures it melts smoothly without clumping.
- Don’t Skip the Broth Step: I used to skip adding broth to the cheese sauce, and the result was always dry. Stir in ½ cup of hot chicken or vegetable broth (or even pasta water) when melting the cheeses—it creates a silkier sauce that clings to the pasta instead of separating. This is the thing that matters most for that restaurant-style creaminess.
- Mix in Elbows Last: Toss the spaghetti into the cheese sauce first, then fold in the elbow macaroni right before baking. The spaghetti’s longer strands distribute the sauce better, while the elbows stay plump and chewy. If you mix them all in together, the elbows absorb too much sauce and turn into sad, dense bites—no one wants that.
Health benefits of baked spaghetti mac and cheese
Protein Powerhouse
This baked spaghetti mac and cheese packs a surprising 20-25 grams of protein per serving, thanks to the combination of pasta and cheese. The elbow macaroni provides complex carbohydrates for sustained energy, while the Gruyère and sharp cheddar contribute high-quality protein and calcium.
For an extra boost, I sometimes add ½ cup cooked chicken breast to the sauce, which adds another 15 grams of protein per serving without altering the texture. 💪
Calcium-Rich Comfort
With 1.5 cups of shredded cheese in this recipe, you're getting a significant calcium boost—about 30% of your daily value per serving. The combination of Gruyère and sharp cheddar provides not just calcium but also vitamin A and phosphorus.
I always opt for block cheddar because it shreds more evenly and melts more smoothly than pre-shredded varieties, which often contain anti-caking agents that prevent proper melting.
Energy-Boosting Carbs
The 2.5 lbs of pasta in this recipe delivers complex carbohydrates that fuel your body with long-lasting energy. The al dente cooking ensures you get the perfect balance of digestibility and satisfaction.
For a slightly lighter option, I've experimented with using whole wheat spaghetti for half the portion—it adds fiber while maintaining the dish's creamy texture. The tomato paste contributes fiber and vitamin C, making this dish more than just empty comfort food calories.
Healthy Fat Balance
The recipe includes healthy fats from the extra-virgin olive oil and Gruyère cheese, which support brain function and nutrient absorption. The heavy whipping cream adds richness but also provides fat-soluble vitamins.
I always use full-fat dairy because the fat content actually enhances the flavor and texture—plus, it keeps you feeling satisfied longer. For a lighter version, you could substitute half-and-half for the cream, though the texture will be slightly less luxurious.
Vitamin and Mineral Boost
Don't let the indulgent nature fool you—this dish sneaks in several vitamins and minerals. The tomato paste contributes lycopene, a powerful antioxidant, while the garlic adds alicin for immune support. The basil provides vitamin K and small amounts of iron.
I often add a pinch of red pepper flakes (about ¼ tsp) for an extra boost of vitamin C and capsaicin, which can aid digestion and metabolism.
Meal-Prep Friendly
This baked mac and cheese makes an excellent meal-prep option because it reheats well while maintaining its nutritional benefits. The protein and fiber combination helps stabilize blood sugar levels, making it a great option for keeping energy steady throughout the day.
I typically portion individual servings into glass Pyrex containers and reheat in the microwave for 2-3 minutes—just add a splash of milk if it looks dry. The crispy topping might soften slightly, but the creamy cheese and pasta remain just as satisfying. ✨
Nutrition facts
Frequently asked questions
Why do you use both spaghetti and elbow macaroni?
This dual-pasta approach creates the perfect texture contrast in every bite! The elbow macaroni forms a sturdy base that holds the cheese sauce beautifully, while the spaghetti strands add a delicate, al dente bite. The crisscross pattern on top also creates those coveted tomato-streaked pockets that make each forkful exciting.
Can I make this ahead of time?
Assemble the dish up to 24 hours ahead and refrigerate uncovered. The top will dry slightly, but it bakes up perfectly. For best results, add 10-15 minutes to baking time if starting from the fridge. Pro tip: Freeze baked portions for up to 3 months—just add 10 extra minutes to the baking time when reheating.
What's the secret to getting a crispy top?
Three key factors: toasted panko (dry-toast in a pan for 2 minutes before buttered), even pressing of the breadcrumb mixture, and broiling at the end. Watch the broiler closely—it should be deep golden brown with just a hint of bubbling underneath. The butter in the breadcrumbs is what creates that irresistible crunch.
Can I substitute any of the cheeses?
Yes, but with considerations. For Gruyère, try Parmigiano-Reggiano (saltier) or fontina (milder). For sharp cheddar, Monterey Jack works but lacks depth. Avoid pre-shredded cheese—it contains anti-caking agents that prevent proper melting. The cream cheese is non-negotiable for that ultra-creamy texture, but you could use extra sharp cheddar plus 2 tbsp milk in a pinch.
How do I fix a runny top after baking?
If your cheese sauce looks too liquidy, it's likely from too much milk or undercooked pasta. For immediate fixes: Broil for 2-3 extra minutes to set the top, then let it rest 10 minutes before serving. For next time, ensure your pasta is al dente and your sauce thickens properly before baking. A sprinkle of extra panko on top can also help absorb excess moisture.
