Baked Spaghetti with Creamy Ricotta and Meat Sauce
Baked spaghetti has a reputation problem. Too often it lands on the table as a pan of dry noodles under a rubbery lid of cheese, or a soggy heap that slumps the second you cut it. I tested this baked spaghetti eleven times over five weeks, changing one thing per batch, until a square held its shape on the plate and stayed saucy in the middle.
Three choices make the difference. The noodles come out of the water two minutes early, so they finish cooking in the oven instead of going soft. A ricotta layer sits in the middle, which gives you something close to lasagna without fussing over noodle sheets. And the dish bakes covered first, then uncovered, so the center heats through before the top browns.
You need one 9×13-inch dish, one skillet, one pot, and about an hour and a half, most of it hands off, so dinner mostly takes care of itself.

Table of Contents
Why You Will Love This Baked Spaghetti
- Most of the 95 minutes is hands off, so you can sort out homework while it bakes.
- Each square has three layers: saucy noodles, creamy ricotta, and a stretchy mozzarella top.
- It dirties one skillet, one pot, and one dish, which matters on a school night.
- Squares slice clean after a 10 minute rest and reheat well.
- My niece skips lasagna because of the soft noodle sheets, yet she asked for a second square of this.
Recipe Snapshot
- Prep Time: 15 minutes
- Cook Time: 70 minutes
- Total Time: 1 hour 35 minutes (includes a 10 minute rest)
- Servings: 8
- Difficulty: Easy
- Calories per Serving: About 604
- Key Ingredient or Tool: Whole milk ricotta
- Best For: Weeknight dinners, meal prep, and potlucks
Nutrition Information
- Calories per Serving: About 604
- Protein: 40 g
- Carbs: 51 g
- Fat: 27 g
- Fiber: 5 g
- Sugar: 10 g
- Sodium: 1,060 mg
- Serving Size: About 1 piece (3 by 4 1/2 inches)
- Servings per Recipe: 8
One piece packs about 40 grams of protein from the beef, ricotta, and mozzarella. Sodium runs high because of the cheeses and canned tomato sauce, so choose no salt added sauce if you watch it.
Nutrition values are approximate and calculated per serving using standard ingredient amounts. Values may vary based on brands used and portion sizes.
Ingredients
For the Meat Sauce
- 1 pound ground beef, 90% lean (certified source; ground turkey works too)
- 1 tablespoon olive oil
- 1 cup finely diced yellow onion (about 1 large onion)
- 4 garlic cloves, minced
- 2 tablespoons tomato paste
- 1 can (28 ounces) crushed tomatoes
- 1 can (15 ounces) tomato sauce
- 1 teaspoon sugar
- 1 teaspoon dried oregano
- 1 teaspoon dried basil
- 1/2 teaspoon black pepper
- 1/2 teaspoon Diamond Crystal kosher salt
For the Ricotta Layer
- 15 ounces whole milk ricotta, about 1 3/4 cups (drained cottage cheese also works)
- 1 large egg
- 1/2 cup grated Parmesan
- 2 tablespoons chopped fresh parsley
- 1/4 teaspoon Diamond Crystal kosher salt
For the Pasta and Topping
- 12 ounces dry spaghetti (any pasta shape works)
- 3 cups (12 ounces) shredded low moisture mozzarella (provolone also works)
- 1/4 cup grated Parmesan, for the top
- 1 tablespoon Diamond Crystal kosher salt, for the pasta water
- Fresh basil leaves, for serving

Check cheese labels for microbial rennet.
Whole milk ricotta: Part skim bakes up grainy in my tests, while whole milk stays plush. Tomato paste: It gives the sauce body so it clings to the noodles. The egg: It binds the ricotta so squares stand up on the plate.
Pro Tip: Every salt amount here uses Diamond Crystal kosher salt. Morton is denser, so use about three quarters of each amount.
Equipment Needed
- 9×13-inch baking dish: Glass or ceramic bakes gently, so check a metal pan 5 minutes early.
- 12-inch deep skillet: It holds the sauce with room to stir.
- 6 quart pot: Toss the noodles with sauce in the same pot to save a bowl.
- Box grater: Mozzarella shredded at home melts smoother than the bagged kind.
- Instant read thermometer: It tells you when the center hits 165°F.
- Aluminum foil: Rub the underside with olive oil so the cheese never sticks.
Preparation
- Ingredients: Set the ricotta and egg out 20 minutes ahead. Dice the onion, mince the garlic, and shred the mozzarella.
- Oven: Heat it to 375°F with a rack in the middle.
- Baking dish: Skip greasing, since the first layer of sauce prevents sticking.
- Pasta water: Bring 4 quarts of water with 1 tablespoon kosher salt to a boil while the sauce cooks.
- Mise en place: Measure everything first, because the sauce moves fast once the beef browns.
Step-by-Step Instructions
- Heat 1 tablespoon olive oil in the skillet over medium high heat, add the beef, and break it into small crumbles. Cook 6 to 8 minutes, until no pink remains and the edges look browned. Chef’s Note: Leave it alone for the first 2 minutes so it sears instead of steams.
- Stir in the onion and cook 4 minutes, until soft and clear at the edges. Add the garlic and stir 1 minute, until fragrant.
- Add the tomato paste and cook 1 minute, stirring, until it darkens to brick red. Chef’s Note: Toasting the paste removes its tinny edge.
- Add the crushed tomatoes, tomato sauce, sugar, oregano, basil, pepper, and 1/2 teaspoon salt, then bring to a gentle bubble. Lower the heat to medium low and simmer 15 minutes, until a spoon dragged across the pan leaves an open trail.
- While the sauce simmers, boil the spaghetti 2 minutes less than the package says, usually 7 to 8 minutes, and drain without rinsing. Chef’s Note: Rinsing strips the starch that helps sauce cling, and a strand bitten in half should still show a chalky center.
- Return the spaghetti to the pot and toss with 2 1/2 cups of the sauce for 1 minute, until every strand looks red and glossy.
- Whisk the ricotta, egg, 1/2 cup Parmesan, parsley, and 1/4 teaspoon salt until no streaks of egg remain.
- Spread 1/2 cup sauce over the bottom of the dish and add half the saucy spaghetti. Dollop on the ricotta mixture, spread it to the edges until no noodles show, then sprinkle with 1 cup mozzarella.

- Add the remaining spaghetti, spoon over the rest of the sauce, and top with the remaining 2 cups mozzarella and 1/4 cup Parmesan until no bare red patches show.
- Cover with oiled foil and bake 25 minutes, until the sauce bubbles at the edges. Chef’s Note: Covering traps steam so the middle heats before the cheese browns.
- Remove the foil and bake 15 minutes more, until the cheese is melted with golden spots and the center reads 165°F.
- Rest the baked spaghetti 10 minutes, until the bubbling stops. Top with torn basil and cut into 8 squares.

Expert Tips and Tricks
- My worst batch used fresh mozzarella from a water filled tub, and the pan wept liquid until the bottom turned soupy. Low moisture mozzarella fixed it on the next test.
- Salt the pasta water until it tastes like mild broth, since bland noodles flatten the whole pan.
- Spread the ricotta into every corner. Gaps let sauce seep down and leave the middle layer patchy.
- Chop the onion and garlic and shred the mozzarella the night before, and weeknight prep drops to about 5 minutes.
- Refrigerate leftover baked spaghetti in squares within 2 hours of baking. They keep 3 to 4 days and reheat more evenly than a half empty pan.
Common Mistakes and Troubleshooting
Mushy noodles: Fully boiled spaghetti keeps soaking up sauce in the oven and turns soft. Pull it 2 minutes early. If the pan is already soft, bake it uncovered 5 more minutes and rest it 15.
Dry, clumped noodles: Plain spaghetti left in the colander glues itself into dry pockets that drink the sauce. Toss it with sauce right after draining. If a serving still looks dry, spoon 1/2 cup warm sauce over it.
Burned top, cold center: Baking uncovered the whole time browns the cheese before the middle heats. Use the foil for the first 25 minutes. If the top is already dark, tent it loosely and bake 10 more minutes.
Squares that slump: Cutting baked spaghetti straight from the oven leaves the layers loose. Rest the pan 10 minutes first. For another layered pasta bake that holds its shape, try my lasagna that slices cleanly.
Storage Instructions
- Room Temperature: Up to 2 hours, or 1 hour above 90°F.
- Refrigerator: Store baked spaghetti 3 to 4 days in an airtight glass container or the covered baking dish. Cut it into squares first so it cools faster.
- Freezer: Baked spaghetti keeps 3 months. Wrap cooled squares in parchment, then foil, then a freezer zip bag.
- Reheating: Cover squares with foil and a splash of sauce, and heat at 350°F for 20 to 25 minutes until the center reads 165°F. In the microwave, use a damp paper towel and 45 second bursts. Thaw frozen squares in the fridge overnight.
- Make-Ahead Notes: Make the sauce up to 3 days ahead. Assemble the pan unbaked up to 24 hours ahead, adding 10 to 15 minutes under the foil.
Storage Trick: Press parchment onto the cut edge before covering the pan. It keeps exposed noodles from drying out and the cheese from sticking to the foil.
Every Sunday I cut half the pan into squares, wrap each in parchment, and freeze the bundle in a dated bag. I move next week’s lunches to the fridge the night before.
Variations and Substitutions
Spicy: Add 1/2 teaspoon red pepper flakes with the garlic and swap half the mozzarella for pepper jack. The flakes bloom in the hot oil, so the heat spreads evenly.
Kid-Friendly: Halve the dried herbs and pepper, and grate 1 carrot into the sauce with the onion. Break the spaghetti into thirds before boiling so small forks can manage it.
Vegetarian: Replace the beef with 8 ounces of finely chopped cremini mushrooms and 1 1/2 cups cooked brown lentils. Cook the mushrooms about 8 minutes, until the pan looks dry, before adding the onion.
Gluten Free: Use gluten free spaghetti and start tasting 3 minutes before the package time, since these noodles soften fast.
Short Pasta: Rigatoni or penne bakes the same way and is easier to serve. For chunky ziti with a creamy ricotta layer, try my baked ziti with meat sauce and creamy ricotta.
What to Serve With Baked Spaghetti
- Garlic bread: Toast buttered slices with garlic at 400°F for 6 minutes to chase leftover sauce around the plate.
- Caesar salad: A bowl of Caesar salad brings crunch and tang that cut through the cheese.
- Roasted broccoli: Roast it at 425°F for 20 minutes, until the tips char, and the bitterness balances the sweet tomato.
- Extra warm sauce: Set out a small bowl for anyone who likes it saucier.
- Sparkling water with lemon: The bubbles refresh your mouth between rich bites.

Frequently Asked Questions
Can you freeze baked spaghetti before baking it?
Yes, baked spaghetti freezes well before baking. Assemble the pan with cooled sauce and noodles, then freeze it uncovered for 2 hours until firm. Wrap it in two layers of foil and keep it up to 3 months. Thaw in the fridge for 24 hours and bake as written, or bake from frozen at 350°F covered for 60 to 75 minutes, then uncovered for 10, until the center reads 165°F.
Why is my baked spaghetti watery on the bottom?
Watery baked spaghetti almost always comes from thin sauce or wet ricotta. Simmer the sauce until a spoon leaves an open trail, and pour off any liquid sitting on top of the ricotta tub. If the pan is already soupy, bake it uncovered 10 more minutes, then rest it a full 15 minutes while the noodles soak up the extra liquid.
Can I use jarred spaghetti sauce for baked spaghetti?
Yes, two 24 ounce jars replace the crushed tomatoes, tomato sauce, and tomato paste in baked spaghetti. Brown the beef and onion, stir in the jars, and simmer 10 minutes to thicken. Skip any jar that lists alcohol, and pick one without added sugar for a less sweet pan. Taste before adding dried herbs, since most jars arrive already seasoned and salted.
How long do you bake baked spaghetti at 350?
At 350°F, bake it covered for 35 minutes and uncovered for 15, about 10 minutes longer than at 375°F. The oven setting matters less than the middle of the pan, so push a thermometer into the center. A reading of 165°F means it is safe, and bubbling edges mean the sauce is hot. If the top browns first, tent it loosely with foil.
Can you use uncooked spaghetti noodles in baked spaghetti?
You can, but I do not recommend it here. Dry noodles drink liquid as they bake, so the pan needs extra sauce and a much longer covered bake, and in my two tries the ends stayed chewy while the middle went soft. Boiling the noodles 2 minutes short of the package time gives even texture and a bake time you can predict.
Final Thoughts on Baked Spaghetti
If you change one thing about how you cook pasta tonight, pull the noodles early. That small habit separates a casserole you can slice from a pan you have to spoon out. Baked spaghetti is forgiving after that: swap the cheese, double the pan, or leave out the beef, and nobody at the table will notice. My brother in law, a self-described pasta snob, went back for a second square at a Sunday game day and asked me to text him the sauce steps before he left.
If you loved this recipe, save it to your pasta dinner Pinterest board so you can find it easily later!

Baked Spaghetti with Creamy Ricotta and Meat Sauce
Ingredients
Equipment
Method
- Heat the oven to 375°F with a rack in the middle. Set the ricotta and egg out 20 minutes ahead, and bring 4 quarts of water with 1 tablespoon kosher salt to a boil while the sauce cooks.
- Heat 1 tablespoon olive oil in the skillet over medium high heat, add the beef, and break it into small crumbles. Cook 6 to 8 minutes, until no pink remains and the edges look browned. Leave it alone for the first 2 minutes so it sears instead of steams.
- Stir in the onion and cook 4 minutes, until soft and clear at the edges. Add the garlic and stir 1 minute, until fragrant.
- Add the tomato paste and cook 1 minute, stirring, until it darkens to brick red.
- Add the crushed tomatoes, tomato sauce, sugar, oregano, basil, pepper, and 1/2 teaspoon salt, then bring to a gentle bubble. Lower the heat to medium low and simmer 15 minutes, until a spoon dragged across the pan leaves an open trail.
- While the sauce simmers, boil the spaghetti 2 minutes less than the package says, usually 7 to 8 minutes, and drain without rinsing. A strand bitten in half should still show a chalky center.
- Return the spaghetti to the pot and toss with 2 1/2 cups of the sauce for 1 minute, until every strand looks red and glossy.
- Whisk the ricotta, egg, 1/2 cup Parmesan, parsley, and 1/4 teaspoon salt until no streaks of egg remain.
- Spread 1/2 cup sauce over the bottom of the dish and add half the saucy spaghetti. Dollop on the ricotta mixture, spread it to the edges until no noodles show, then sprinkle with 1 cup mozzarella.
- Add the remaining spaghetti, spoon over the rest of the sauce, and top with the remaining 2 cups mozzarella and 1/4 cup Parmesan until no bare red patches show.
- Cover with oiled foil and bake 25 minutes, until the sauce bubbles at the edges.
- Remove the foil and bake 15 minutes more, until the cheese is melted with golden spots and the center reads 165°F.
- Rest the pan 10 minutes, until the bubbling stops. Top with torn basil and cut into 8 squares.
Notes
Salt: Every salt amount uses Diamond Crystal kosher salt. If you use Morton kosher salt, use about three quarters of each amount.
Make ahead: Assemble the pan unbaked up to 24 hours ahead and add 10 to 15 minutes under the foil.



