
This baked spaghetti recipe transforms simple pasta into a restaurant-quality one-pan dish that bakes to golden, bubbly perfection. The secret lies in layering cooked spaghetti with rich sauce and melted cheese, then finishing under the broiler for a crispy, cheesy crust.
I’ve perfected this method after years of testing—no soggy pasta or uneven baking here.
The beauty of this dish is its foolproof nature: just boil the pasta, mix with your favorite sauce (marinara, Alfredo, or even meat sauce), layer in a baking dish, top with cheese, and bake.
The result? A creamy, saucy, cheesy masterpiece with tender pasta and a crispy top that’s impossible to resist. It’s the kind of meal that feels indulgent but comes together in under 30 minutes.
What makes this recipe stand out is how it elevates humble spaghetti into something extraordinary—perfect for weeknight dinners, potlucks, or meal prep. The layers ensure every bite is packed with flavor, and the broiled finish adds that coveted golden crust.
Whether you’re feeding a family or craving a cozy solo meal, this baked spaghetti delivers comfort in every forkful.
Pair it with a simple side salad or garlic bread for a complete meal. The best part? Leftovers reheat beautifully, making it a pantry-friendly solution for busy nights. Ready to bake up something special? Let’s get started.
Ingredients for baked spagetti
Pantry staples meet restaurant-quality baking for cheesy, bubbly spaghetti perfection.
| Ingredient | Amount | Notes |
|---|---|---|
| Spaghetti 🍝 | 12 oz | Uncooked, standard width |
| Marinara Sauce 🍅 | 2 ½ cups | Homemade or quality jarred |
| Ricotta Cheese 🧀 | 1 cup | Full-fat for creaminess |
| Mozzarella Cheese 🧀 | 2 cups | Shredded, part-skim preferred |
| Parmesan Cheese 🧀 | ½ cup | Freshly grated, block form |
| Garlic Cloves 🧄 | 3 cloves | Minced for sauce |
| Olive Oil 🫒 | 2 tbsp | Extra-virgin for richness |
| Fresh Basil Leaves 🌿 | ¼ cup | Chopped, for garnish |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Butter 🧈 | 2 tbsp | Unsalted, melted |
| Red Pepper Flakes 🌶️ | ¼ tsp | Optional, for heat |
| Heavy Cream 🥛 | ¼ cup | For Alfredo variation |
The cheese blend is non-negotiable for that signature crispy crust. Mozzarella delivers meltiness, while Parmesan adds depth—skip pre-grated, it loses flavor fast. Ricotta keeps it creamy without making it soggy. For the sauce, Rao’s or Barilla jarred marinara cuts corners without sacrificing quality. Fresh basil? Always worth it, but dried oregano at half the amount works in a pinch. The olive oil should be fruity and peppery—California Olive Ranch is my go-to for consistent results. Pro tip: Toast your garlic in the oil before adding to sauce for deeper flavor.
No ricotta? Cottage cheese blended smooth mimics the texture surprisingly well. Swapping marinara for Alfredo? Heavy cream plus Parmesan replaces ricotta entirely. The pasta should be al dente—undercooked by 1 minute—so it doesn’t turn mushy when baking. For a meat sauce variation, brown Italian sausage or ground beef first, then mix into the sauce. Red pepper flakes? Start with half the amount—you can always add more, but you can’t take it out. And if you’re using a glass baking dish, lightly grease it with olive oil to prevent sticking.
This dish peaks after baking but reheats beautifully—5 minutes at 350°F restores that gooey perfection. Store leftovers covered in the fridge for 4 days or freeze portions for 3 months. For meal prep, bake an extra dish and freeze one portion—it’s the ultimate lazy dinner. The broiled finish? Watch it like a hawk—that golden crust happens in seconds. Garnish with fresh basil right before serving (the good stuff, not the dried kind).
Why You’ll Love This Recipe
- No-Pot Necessary: Honestly, this is my secret for weeknights when I’m too tired to boil water. Cook the spaghetti just a minute under package time, toss it with olive oil, and let the oven finish the job. The marinara sauce and ricotta cheese do all the heavy lifting—no extra simmering required.
- Cheesy, Saucy Bliss: That combo of ricotta, mozzarella, and parmesan creates a creamy, stretchy cheese layer that’s not dry or grainy. The minced garlic in melted butter? Absolute game-changer—every bite gets that rich, savory punch. Trust me, the red pepper flakes add just enough kick to make it addictive.
- Leftover Legend: I make this on Sundays, and honestly, it’s my go-to for lunch the next four days. The texture holds up perfectly—no sad, mushy pasta here. Freeze portions too, and you’ve got a 3-month stash of comfort food. My kids even ask for seconds, which is basically the highest praise.
- Budget-Friendly Feast: For under $15, you’re feeding a crowd with this. The spaghetti, marinara, and cheeses are pantry staples that stretch farther than takeout ever could. Plus, the heavy cream and fresh basil elevate it without breaking the bank. It’s the kind of dish that makes me feel like a pro without spending like one.
Step-by-step instructions for baked spaghetti
Here’s how to assemble layers that bake into golden, bubbly perfection every time.
Cook the Spaghetti Al Dente
Bring a large pot of water to a rolling boil and add 1½ teaspoons salt. Once boiling, add the 12 oz spaghetti and cook for 1 minute less than the package instructions suggest for al dente. This ensures the pasta finishes cooking perfectly in the oven.
Reserve 1 cup of pasta water before draining—this starchy liquid is essential for creating a creamy sauce later. Drain the spaghetti but don’t rinse it; the surface starch helps the cheese adhere and creates a silky texture. Toss the hot spaghetti with 2 tablespoons olive oil to prevent sticking while you prepare the cheese mixture.
Prepare the Cheese Sauce Mixture
In a large bowl, combine the 1 cup ricotta cheese, 2 cups mozzarella cheese, ½ cup parmesan cheese, ¼ cup heavy cream, ½ teaspoon black pepper, and ¼ teaspoon red pepper flakes. Mix until fully incorporated—you want a smooth, spreadable consistency. If the mixture seems too thick, add 1-2 tablespoons of the reserved pasta water to loosen it.
In a separate small bowl, mix the 3 cloves minced garlic with 2 tablespoons melted butter until well combined. This garlic butter will add depth of flavor to the entire dish. Set aside while you prepare the baking dish.
Assemble the Layers
Preheat your oven to 375°F. Lightly grease a 9×13-inch baking dish with 2 tablespoons olive oil to prevent sticking. Spread 1 cup marinara sauce evenly on the bottom of the dish—this creates a flavorful base that won’t get lost in the cheese layers.
Add half of the cooked spaghetti to the baking dish and spread it evenly. Top with half of the cheese mixture, then spread ½ cup marinara sauce over the cheese. Repeat with the remaining spaghetti, cheese mixture, and another 1 cup marinara sauce. Drizzle the garlic butter evenly over the top layer, then sprinkle with the ¼ cup chopped fresh basil leaves. This arrangement ensures every bite has perfect layers of pasta, sauce, and cheese.
Bake to Bubbly Perfection
Cover the baking dish tightly with aluminum foil and bake for 30 minutes. This initial covered baking allows the cheese to melt and bind the layers without browning too quickly. After 30 minutes, remove the foil and bake for an additional 10-15 minutes until the top is golden brown and bubbly.
The dish is done when the cheese has pulled away from the edges slightly and the top has developed a beautiful crust. If the top browns too quickly, tent it loosely with foil for the final few minutes. Let the baked spaghetti rest for 5 minutes before serving—this allows the layers to set slightly and makes slicing easier. Serve with extra fresh basil and additional parmesan cheese if desired.
Pro Tips For Making Baked Spagetti
- Cook Pasta 1 Minute Less: DESCRIPTION: The recipe says to boil it for 1 minute less than package instructions—don’t skip this. I’ve seen people overcook the pasta in the pot, then wonder why it turns mushy in the oven. That al dente finish is what keeps it firm and delicious after baking.
- Grate Parmesan Fresh: DESCRIPTION: If you’re using pre-shredded parmesan, skip it. The stuff in the bag is coated with anti-caking agents that make your sauce grainy. Grab a block, use a microplane, and grate it yourself—it makes a real difference in how the cheese melts and tastes.
- Don’t Skip the Pasta Water: DESCRIPTION: That reserved cup of starchy pasta water isn’t just for show—it’s what turns your ricotta-mozzarella mix from clumpy to silky. A splash or two loosens the cheese without watering it down. I learned this the hard way when my first batch came out like a gluey brick.
- Press Down the Layers: DESCRIPTION: After adding the first layer of spaghetti, give it a gentle but firm press with a spatula. This prevents gaps where the cheese won’t melt through, and you’ll end up with a dish that’s uniformly gooey—not dry in spots. (Yes, even if it looks weird at first.)
Troubleshooting great baked spagetti
Pasta Too Mushy?
If your baked spaghetti turns out soggy, it’s likely because you overcooked the pasta before baking. Remember to cook it 1 minute less than package instructions for al dente texture—this ensures it finishes cooking perfectly in the oven.
Overcooking releases too much starch, making the dish watery. Pro tip: Toss the hot pasta with 2 tablespoons olive oil immediately after draining to lock in moisture. 🍝
Cheese Not Melting?
A clumpy or unmelted cheese layer often happens when the mixture is too thick or lacks moisture. Always add 1-2 tablespoons pasta water to loosen the ricotta, mozzarella, and Parmesan blend.
If using pre-shredded cheese, opt for fresh mozzarella instead—it melts better and doesn’t release excess water. Stir in a splash of heavy cream if needed for creaminess.
Top Browned Too Fast?
That golden crust happens quickly, but it can burn before the dish finishes cooking. After 30 minutes of baking covered, remove the foil and watch closely. If the top browns too soon, cover loosely with foil for the final 5 minutes.
For extra insurance, broil for just 1-2 minutes at the end—keep the oven eye on it!
Sauce Separating?
If the marinara sauce pools at the bottom instead of blending with the cheese, it’s likely because the pasta was rinsed or overcooked. Never rinse the spaghetti—those starchy waters help bind the sauce.
Stir in ½ cup pasta water to the sauce before layering to create a creamy, cohesive texture. This trick works wonders for even distribution.
Dish Too Dry?
Baked spaghetti can dry out if the sauce isn’t distributed evenly or if the cheese absorbs too much moisture. Spread ½ cup marinara sauce between each pasta layer, and drizzle the garlic butter generously over the top.
For extra moisture, add a splash of broth or pasta water to the sauce before baking. This keeps everything creamy and flavorful.
Nutrition facts
Frequently asked questions
Why should I cook the spaghetti al dente before baking?
Cooking the spaghetti 1 minute less than package instructions ensures it finishes cooking perfectly in the oven without turning mushy. The residual heat in the oven will cook it just right, while al dente pasta holds its shape and absorbs flavors better.
Can I use pre-shredded cheese instead of fresh mozzarella?
Pre-shredded cheese contains anti-caking agents that prevent it from melting smoothly, so it’s best to use fresh mozzarella for that perfect stretchy texture. If you must use pre-shredded, opt for part-skim and add an extra 1-2 tablespoons pasta water to help it blend into the ricotta and Parmesan.
How do I prevent the top from burning before the dish finishes baking?
After baking for 30 minutes covered, remove the foil and watch closely. If the top browns too quickly, cover it loosely with foil for the final 5 minutes. For extra insurance, broil for just 1-2 minutes at the end—keep an eye on it to avoid burning!
Can I make this dish ahead of time?
This baked spaghetti reheats beautifully. Store leftovers covered in the fridge for 4 days or freeze portions for 3 months. For best results, reheat in the oven at 350°F for 5 minutes to restore that creamy perfection.
What if I don’t have ricotta cheese?
No problem! Blend 1 cup cottage cheese smooth to mimic ricotta’s texture. For an Alfredo variation, swap the ricotta for ¼ cup heavy cream mixed with ½ cup Parmesan. The dish will still turn out creamy and delicious!
- Copper Carrots Recipe: Roasted Until Caramelized and Glazed - November 30, 2026
- Bob’s Red Mill Whole Wheat Flour Pancake Recipe: Fluffy, Nutrient-Packed Stacks - November 30, 2026
- Pork Loin Rib Chops Thick Cut Recipe: Crispy-Skinned, Juicy-Centered Perfection - November 30, 2026