Baked Spaghetti Casserole

September 9, 2026

Baked spaghetti casserole lands on the table with everything people want from a comfort-food pasta bake: saucy noodles, a creamy middle, and a cheesy top that pulls into long strands when you scoop it out. The best versions don’t turn into a dry brick or a loose pasta soup, and this one stays right in that sweet spot. It slices cleanly after a short rest, but the center still tastes rich and saucy.

The trick is treating the spaghetti like a casserole component, not just pasta with sauce poured over it. Cooking it a couple minutes shy of done keeps it from going soft in the oven, and mixing part of the sauce into the noodles before layering gives every bite flavor. The ricotta mixture works like a creamy seam through the middle, while the egg and Parmesan help it set instead of disappearing into the pan.

Below, I’ve broken down the part that keeps this dish from getting watery, plus the ingredient swaps and storage notes that actually matter when you’re making it for a weeknight dinner or a potluck.

The spaghetti held its shape and the ricotta layer stayed creamy instead of disappearing. I baked it a little longer to get extra bubbling edges, and my family asked me to put this in the regular dinner rotation.

★★★★★— Melissa R.

Pin this baked spaghetti casserole for a cheesy, bubbling dinner with a creamy ricotta layer and a golden mozzarella top.

Save to Pinterest

The Reason This Casserole Stays Saucy Instead of Dry

Most baked spaghetti casseroles go wrong in one of two places: the pasta gets cooked all the way before it ever hits the oven, or the sauce never gets the chance to cling to the noodles. Both mistakes leave you with a pan that tastes fine at the edges and dull in the middle. This version avoids that by undercooking the spaghetti, simmering the meat sauce just long enough to thicken, and layering in a way that keeps moisture where it belongs.

The other piece that matters is the ricotta layer. It should sit between the pasta layers as a creamy cushion, not get stirred into the whole pan. When you mix the egg and Parmesan into the ricotta, it bakes into a soft, set layer that gives each slice structure without turning dense or grainy.

  • Spaghetti — Cook it two minutes shy of the package time. That gives it room to finish in the oven without turning mushy. Drain it well so excess water doesn’t thin the sauce.
  • Ground beef — Use an 80/20 or 85/15 blend for the best flavor. Leaner beef works, but you may want a drizzle more olive oil in the pan so the onion and garlic don’t stick.
  • Ricotta — This is what gives the casserole that creamy middle. Whole-milk ricotta tastes richer and bakes smoother, but part-skim works if that’s what you have.
  • Mozzarella — Buy shredded mozzarella if you want an easy melt, or shred it yourself for the best stretch and browning. Pre-shredded cheese still works, but it won’t melt quite as silkily because of the anti-caking coating.

Building the Layers So Every Bite Has Sauce, Cheese, and Pasta

Cooking the Pasta Just Short of Done

Boil the spaghetti in salted water until it’s still firm at the center. You want it bendable but not fully tender, because the oven finishes the job. If you cook it all the way now, the final bake softens it past the point where it still tastes like spaghetti. Drain it well and don’t rinse it; the starch helps the sauce cling.

Making the Meat Sauce Taste Full, Not Flat

Brown the beef with the onion until the onion turns soft and the beef loses all pink color. Let the garlic and Italian seasoning cook for just a short burst until fragrant, then add the marinara and simmer it until the sauce thickens slightly. If the sauce stays thin, the casserole can puddle at the bottom of the dish. Thick sauce clings to the pasta and bakes into layers instead of slipping around.

Assembling for Structure

Toss most of the meat sauce with the spaghetti before layering it into the dish. That coats the noodles from the start, which keeps the bottom layer from tasting dry. Spread the ricotta mixture in an even layer, then add mozzarella before the final pasta and sauce layer. That order gives you a creamy center and a browned top without the cheese disappearing into the sauce.

Finishing the Bake

Bake until the edges bubble and the cheese is melted all the way across the top. A short broil at the end adds those browned spots that make the casserole taste finished, but don’t walk away from the oven for even a minute. Cheese goes from golden to burnt fast under the broiler. Let the pan rest before cutting so the layers settle and the servings hold together.

Three Ways to Adapt This Baked Spaghetti Casserole

Make It With Ground Turkey

Ground turkey works well here if you want a lighter casserole. Add an extra tablespoon of olive oil when browning it, because turkey can dry out faster than beef and needs a little help carrying the flavor of the onion and garlic.

Dairy-Free Version

Use a dairy-free ricotta style cheese and a good meltable plant-based mozzarella. The texture will be a little softer and the top won’t brown quite the same way, but you’ll still get a creamy middle and a satisfying baked finish.

Use Cottage Cheese Instead of Ricotta

Cottage cheese gives you a slightly tangier, looser center. Blend it briefly if you want a smoother texture, or leave it as-is for a more rustic casserole. It’s a smart swap when ricotta is expensive or hard to find.

Storage and Reheating

  • Refrigerator: Store covered for up to 4 days. The pasta will absorb a little more sauce as it sits, so the texture gets thicker after the first day.
  • Freezer: This freezes well. Cool completely, wrap tightly, and freeze for up to 2 months. For the best texture, freeze in portions or bake from thawed rather than from solid.
  • Reheating: Reheat covered in a 350°F oven until hot in the center, usually 20–25 minutes for a smaller portion. A splash of marinara or water on top helps keep the noodles from drying out. Microwaving works for leftovers, but it can make the ricotta layer tighter and the pasta unevenly hot.

Answers to the Questions Worth Asking

Can I assemble baked spaghetti casserole ahead of time?+

Yes. Assemble it, cover it tightly, and refrigerate it for up to 24 hours before baking. Add 10 to 15 minutes to the bake time if it goes into the oven cold, and wait for the center to get hot and the edges to bubble before you pull it out.

How do I keep baked spaghetti casserole from getting watery?+

Drain the pasta well, simmer the sauce until it thickens a little, and don’t overload the pan with extra liquid. If the ricotta mixture seems loose, the egg and Parmesan help it set as it bakes. The casserole should look saucy, not soupy, before it goes into the oven.

How do I keep the cheese from turning greasy on top?+

Use a good mozzarella and bake it uncovered only until it melts and starts bubbling at the edges. If you broil it, stay right there and stop as soon as you get a few golden spots. Overbaking is what pushes out the fat and gives you that oily layer.

Can I use no-boil spaghetti for this recipe?+

I wouldn’t. No-boil pasta depends on extra moisture, and this casserole is built around already-cooked noodles that hold their shape. Regular spaghetti gives you better control over texture, so the finished dish stays tender instead of turning soft and muddy.

How do I reheat leftovers without drying out the pasta?+

Cover the portion and reheat it gently in the oven or microwave with a small splash of marinara on top. The added moisture keeps the noodles from tightening up as they warm. If you blast it on high heat, the cheese gets tough before the center is hot.

Baked Spaghetti Casserole

Baked spaghetti casserole with tender spaghetti, rich beef marinara, creamy ricotta, and a bubbling golden mozzarella top. Layers bake until the edges bubble while the center stays saucy and cheesy for an easy comfort-food dinner.
Prep Time 20 minutes
Cook Time 45 minutes
resting 10 minutes
Total Time 1 hour 15 minutes
Servings: 8 servings
Course: Dinner
Cuisine: American
Calories: 520

Ingredients
  

Spaghetti
  • 12 oz spaghetti
Beef and aromatics
  • 1 tbsp olive oil
  • 1 lb ground beef
  • 1 medium yellow onion, diced
  • 3 cloves garlic, minced
  • 1 tsp Italian seasoning
  • 0.5 tsp kosher salt
  • 0.25 tsp black pepper
  • 1 cup ricotta cheese
  • 1 large egg
  • 0.5 cup grated Parmesan cheese
  • 24 oz marinara sauce
  • 2 cups shredded mozzarella cheese
  • 2 tbsp fresh parsley, chopped

Equipment

  • 1 sheet pan
  • 1 cast iron skillet

Method
 

Prep the oven and dish
  1. Preheat the oven to 375°F and lightly grease a 9×13-inch baking dish so the casserole releases easily after baking.
Parboil the spaghetti
  1. Boil the spaghetti in salted water for 2 minutes less than the package directions until it is just underdone.
  2. Drain the spaghetti well so it doesn’t dilute the marinara in the casserole.
Cook the beef marinara
  1. Heat the olive oil in a large skillet over medium heat, then add the ground beef and yellow onion.
  2. Cook for 6–8 minutes, breaking up the beef, until no pink remains and the yellow onion is soft (look for softened onion pieces and fully browned beef).
  3. Stir in the garlic, Italian seasoning, kosher salt, and black pepper, then cook for 30–60 seconds until fragrant.
  4. Pour in the marinara sauce and simmer for 4–5 minutes until hot and slightly thickened, so the sauce clings to pasta.
Mix the ricotta layer
  1. Whisk the ricotta cheese, egg, and Parmesan cheese together in a medium bowl until combined and smooth.
Assemble the casserole
  1. Combine the drained spaghetti with about two-thirds of the beef marinara and toss until every strand is well coated.
  2. Layer half the spaghetti mixture in the prepared baking dish, pressing gently into an even layer.
  3. Spoon the ricotta mixture evenly over the pasta, then add 1 cup shredded mozzarella cheese for a melty top layer.
  4. Add the remaining spaghetti, then spoon the remaining beef marinara across the top.
  5. Finish with the remaining 1 cup shredded mozzarella cheese so it bakes into a browned, bubbly cap.
Bake and broil
  1. Bake uncovered for 25–30 minutes at 375°F until the sauce bubbles around the edges and the cheese is completely melted (watch for active bubbling and a fully melted surface).
  2. Broil for 1–2 minutes, if desired, until the mozzarella develops scattered golden-brown spots, watching closely to prevent burning.
Rest and serve
  1. Rest the casserole for 10 minutes to set the layers, then sprinkle with fresh parsley before serving.

Notes

For clean slices, let the casserole rest the full 10 minutes so the ricotta-and-cheese layer firms up. Store covered in the refrigerator up to 4 days; reheat in a 350°F oven until hot throughout. Freezing is yes—cool completely, freeze tightly wrapped up to 2 months, then thaw in the fridge before reheating. For a lighter option, swap half the ground beef for lean ground turkey and use part-skim mozzarella.
About the author
Savannah

Leave a Comment

Recipe Rating