Snacks
This baked spaghetti with mozzarella cheese recipe delivers the ultimate comfort food experience—crispy golden edges that shatter with each bite and gooey, pull-apart layers of melted cheese.
The secret lies in pre-cooking the pasta perfectly and layering it with just the right balance of mozzarella and marinara, then baking until bubbly and caramelized. I've perfected this dish over years of testing, ensuring every forkful is tender, cheesy, and impossible to resist.
The process is simpler than it sounds: cook your spaghetti al dente, mix it with marinara sauce, then layer it in a baking dish with mozzarella cheese. A quick broil at the end creates that crispy top everyone loves while keeping the inside warm and gooey.
This dish is ideal for feeding a crowd—it's hearty, satisfying, and always a hit at dinner parties or family gatherings.
What makes this recipe stand out is the texture contrast—crispy edges that give way to creamy, cheesy pasta beneath. The mozzarella melts into a velvety blanket, while the marinara adds depth of flavor.
It's the kind of dish that feels indulgent but is actually straightforward to prepare, making it perfect for weeknight dinners or special occasions.
Serve with a simple side salad or garlic bread to soak up any extra sauce. The leftovers reheat beautifully, too, so you can enjoy this comforting meal all week long. Let's get started on creating your perfect baked spaghetti dish!
Ingredients for baked spaghetti with mozzarella cheese
Pantry staples meet cheesy perfection—this baked spaghetti delivers crispy edges and gooey layers every time.
| Ingredient | Amount | Notes |
|---|---|---|
| Spaghetti 🍝 | 16 oz | Cooked al dente, drained well |
| Marinara Sauce 🍅 | 2 ½ cups | Homemade or high-quality jarred |
| Mozzarella Cheese 🧀 | 20 oz | Fresh or low-moisture, shredded |
| Parmesan Cheese 🧀 | ½ cup | Freshly grated for extra flavor |
| Large Eggs 🥚 | 2 whole | Lightly beaten for binding |
| All-Purpose Flour 🌾 | ¼ cup | For crispy topping |
| Breadcrumbs 🍞 | ¼ cup | Panko for extra crunch |
| Garlic Cloves 🧄 | 4 cloves | Minced for extra flavor |
| Olive Oil 🫒 | ¼ cup | For crispy topping |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Dried Basil 🌿 | 1 tsp | For extra herby flavor |
| Dried Oregano 🍃 | ½ tsp | For Italian seasoning |
| Butter 🧈 | 2 tbsp | Melted for extra richness |
The cheese is where the magic happens. Fresh mozzarella melts into that velvety blanket, but low-moisture shredded works too—just squeeze out excess moisture. Grab a block of Parmigiano-Reggiano for grating, not pre-grated (it's sawdust). I always buy mozzarella in 24-ounce bags from Whole Foods—it's worth the extra dollar for that perfect melt. For the marinara, Rao's or Barilla jarred sauce is my shortcut, but homemade with San Marzano tomatoes takes it to the next level. That crispy top? It's all about the egg wash—lightly beaten eggs plus olive oil create the golden crust you're craving.
No mozzarella? Provolone or fontina melts beautifully too. Short on Parmesan? Pecorino Romano is a great swap—just use half the amount. The breadcrumbs can be regular, but panko gives that extra crunch everyone loves. Fresh basil? Tear a few leaves over the top at the end for that restaurant-quality touch. The garlic is non-negotiable—fresh minced makes a world of difference over powder. If you're making this ahead, assemble it up to 24 hours early and refrigerate—just add the breadcrumb topping right before baking. And trust me, don't skip the broil at the end—that's what gets you that perfect crispy top.
This dish tastes even better the next day—4-5 days in the fridge, covered tightly. For leftovers, reheat covered at 350°F for 20 minutes—the cheese stays gooey, not rubbery. Freezes beautifully too: bake, cool completely, then wrap tightly for up to 3 months. I always make this in a 9x13-inch baking dish—it's perfect for feeding a crowd. The crispy edges soften when reheated, so I like to broil for 2-3 minutes after reheating to restore that golden crunch. Serve with garlic bread or a simple salad to soak up all that delicious sauce.
Why You'll Love This Recipe
- One-Pan Magic: I swear by this trick—just toss cooked spaghetti with marinara, shredded mozzarella, and cracked eggs straight into a baking dish. No extra pots, no fuss, and that golden crust? Pure reward.
- Cheesy Comfort Bomb: The mozzarella gets just melty enough while the eggs add a rich, custardy bite. Honestly, the first time I made this, I ate it straight from the pan—no shame.
- Weeknight Hero: Between us, this is my go-to when I’m exhausted but still want something hearty. Toss in extra veggies for picky eaters, or keep it simple for a crowd. Always a win.
- Leftovers That Don’t Suck: Unlike takeout pasta that turns gluey, this reheats like it’s fresh—crispy top, creamy center, no soggy bits. And because it’s cheap to make, I freeze portions for lazy days.
Step-by-step instructions for baked spaghetti with mozzarella cheese
Here's how to create that perfect crispy golden crust with gooey, melty cheese layers inside.
Cook and Prepare the Spaghetti
Bring a large pot of salted water to a rolling boil and cook the 16 oz spaghetti until al dente—about 1 minute less than the package instructions. This ensures the pasta finishes cooking perfectly in the oven. Drain the spaghetti well and return it to the pot.
While still hot, toss the spaghetti with 2 tbsp melted butter to help distribute the marinara sauce evenly. This step prevents dry spots and creates a richer flavor base. I like to add a splash of pasta water here if the spaghetti seems too dry—just enough to make it slightly glossy.
Mix the Cheese and Seasoning
In a large bowl, combine the 20 oz shredded mozzarella cheese, 0.5 cup freshly grated parmesan cheese, and the 2 whole lightly beaten eggs. Mix until the cheese is fully coated in the egg mixture—this helps create that perfect pull-apart texture. Add 1.5 tsp salt, 0.5 tsp black pepper, 1 tsp dried basil, and 0.5 tsp dried oregano, stirring until evenly distributed.
This is where the magic happens—the egg acts as a binder, ensuring the cheese doesn't slide off the pasta when you bake it. If your mozzarella is low-moisture, you might need to add an extra tablespoon of egg to help it cling better to the spaghetti.
Combine Everything in a Baking Dish
In the same bowl, gently fold in the cooked spaghetti and 2.5 cups marinara sauce until everything is evenly coated. Transfer the mixture to a 9x13-inch baking dish, spreading it out evenly. Press down lightly with a spatula to help the layers compact and create that signature pull-apart texture.
Don't worry if it looks messy—this is a rustic dish. The key is making sure the sauce and cheese are distributed throughout the spaghetti so every bite has that perfect combination of flavors and textures.
Create the Crispy Topping
In a separate bowl, mix the 0.25 cup all-purpose flour, 0.25 cup breadcrumbs, 0.25 cup olive oil, and 4 cloves minced garlic. Sprinkle this mixture evenly over the top of the spaghetti in the baking dish. The breadcrumbs will create that beautiful golden crust we're after, while the garlic adds an extra layer of flavor.
I like to press down gently on the topping with the back of a spoon to ensure good contact with the cheese underneath. This helps create a more uniform crispy layer rather than just a few golden spots.
Bake to Golden Perfection
Preheat your oven to 375°F. Bake the spaghetti for 25-30 minutes until the top is deep golden brown and the cheese is fully melted and bubbly. You'll know it's ready when the edges are crispy and the cheese in the center is just starting to pull away slightly from the sides.
Let the baked spaghetti rest for 5-10 minutes before serving—this allows the cheese to set slightly and makes it easier to cut into perfect squares. The crust should be crispy enough to hold its shape, while the inside remains gooey and perfectly al dente.
Pro Tips For Making Baked Spaghetti With Mozzarella Cheese
- Pre-Cook Spaghetti Al Dente: Boil your spaghetti just shy of perfect—about 1 minute less than package instructions. The pasta will finish cooking in the oven and hold its shape better, so it doesn’t turn to mush under all that cheese. I learned this the hard way after serving a soupier-than-expected casserole to a skeptical roommate.
- Drain and Toss Cold: Finish draining the pasta, then rinse it under cold water for 10 seconds to stop cooking. Toss it with a splash of olive oil and a pinch of salt—this keeps it from sticking and makes the sauce cling better. Sounds weird, but it works: your baked spaghetti will stay cohesive instead of gluing itself to the pan.
- Layer Like a Lasagna: Don’t just dump everything in the dish—alternate layers of sauce, pasta, and cheese starting and ending with sauce. This prevents a brick of pasta from forming and ensures every bite has flavor, not just cheese. My first attempt came out like a sad, cheesy loaf—until I stole this trick from my nonna.
- Skip the Frozen Mozzarella: Use shredded fresh mozzarella (or at least the block kind, shredded yourself) for that real melt-in-your-mouth texture. The pre-shredded stuff in the green can has anti-caking agents that make it rubbery. If you’re in a pinch, microwave the block for 10 seconds to soften it first—it’ll still be better than the bagged stuff.
Storing and reheating this baked spaghetti with mozzarella cheese
Fridge Storage Tips
Store your baked spaghetti in an airtight container with parchment paper between layers to prevent sticking. It keeps well in the fridge for 4-5 days—the flavors actually deepen overnight as the cheese continues to meld with the marinara.
I like to press plastic wrap directly on the crispy top before sealing to maintain that texture. 🧀
Freezer-Friendly Method
For longer storage, bake the dish completely, let it cool to room temperature, then wrap tightly in heavy-duty aluminum foil followed by plastic wrap. Freeze for up to 3 months—the crust will soften slightly but revives beautifully.
I always label my freezer bags with the date to track freshness. ❄️
Reheating Leftovers
For the best results, reheat covered at 350°F for 20-25 minutes until warmed through. The cheese stays creamy, not rubbery. If the top loses its crispiness, broil for 2-3 minutes at the end to restore that golden crunch. A splash of water or marinara helps revive any dry spots. 🔥
Microwave Shortcut
When in a hurry, cover with a damp paper towel and microwave on 50% power for 2-3 minutes, stirring halfway. Add 1-2 tablespoons of water if it seems dry. This method works best for individual portions rather than the whole dish. 💡
Broiler Finish
For restaurant-quality results, broil for 1-2 minutes after reheating to restore that perfect crispy top. Watch closely to avoid burning—this final step makes all the difference in texture. I always give it a quick broil when serving leftovers to friends. ✨
Serving Suggestions
Serve with garlic bread or a simple arugula salad to soak up any extra sauce. A drizzle of hot honey or balsamic glaze adds a gourmet touch. The crispy edges soften slightly when reheated, so I like to serve fresh-baked portions alongside leftovers for the best experience. 🍞
Nutrition facts
Frequently asked questions
Can I use any type of cheese instead of mozzarella?
While mozzarella is the star, you can mix in provolone or fontina for extra richness. Avoid cheeses like cheddar or gouda—they won't melt as smoothly. For a sharper flavor, add Pecorino Romano (use half the amount of Parmesan). The key is choosing cheeses with good meltability and complementary flavors.
Why is my baked spaghetti soggy instead of crispy?
Sogginess usually means the pasta was overcooked or the sauce was too wet. Always cook spaghetti al dente (1 minute less than package time) and drain it very well. For extra insurance, spread the pasta in a single layer on a baking sheet for 5 minutes before assembling to evaporate excess moisture.
How do I make this dish ahead of time?
Assemble the dish (without the breadcrumb topping) up to 24 hours ahead and refrigerate. Add the topping right before baking—this prevents the breadcrumbs from getting soggy. If making more than a day ahead, bake completely, cool, then freeze for up to 3 months. The flavors actually improve overnight!
Can I use whole wheat spaghetti?
Yes, but expect a slightly denser texture. Whole wheat pasta absorbs sauce differently, so you may need 1-2 extra tablespoons of marinara sauce. Cook it al dente (it won't soften further in the oven) and consider adding 1 extra beaten egg to help bind the cheese mixture better.
What's the secret to that perfect crispy top?
The golden crust comes from the egg wash combined with the broil. After baking at 375°F, switch to broil for 1-2 minutes** until edges are deep golden. Press the breadcrumb topping gently before baking—this ensures maximum contact with the cheese underneath for even browning.
