This cheesy baked spaghetti recipe is a hearty dinner made with tender spaghetti, savory ground beef or Italian sausage, rich marinara sauce, creamy ricotta, Parmesan, and a blanket of melted mozzarella. It takes about 20–25 minutes to prepare, bakes at 350°F for 30–35 minutes, and serves 6–8 people.
Every forkful brings together saucy pasta, browned meat, creamy cheese, and golden, bubbling mozzarella. The spaghetti is cooked slightly under package directions before baking, helping the finished casserole stay pleasantly firm instead of soft or mushy.
Jump to RecipeWhy You’ll Love This Recipe

Cheesy baked spaghetti has all the comfort of a classic pasta dinner, but it arrives at the table as a bubbling casserole with crisp, golden edges. The layered method gives each serving a balanced combination of sauce, pasta, meat, and cheese.
This recipe is also practical for busy evenings. You can assemble the dish while the oven heats, and the 9-by-13-inch pan makes enough for 6–8 servings, so it works equally well for a family dinner or a casual gathering.
The ricotta or cottage cheese mixture adds a soft, creamy layer without requiring a complicated white sauce. Parmesan brings savory depth, while mozzarella melts into the stretchy topping everyone looks forward to.
- Comforting: Warm pasta, rich tomato sauce, and bubbling cheese make a satisfying meal.
- Family-friendly: Choose ground beef for a mild flavor or Italian sausage for extra seasoning.
- Simple: Everyday ingredients create a generous casserole with minimal fuss.
- Make-ahead friendly: The dish can be assembled before baking and stored safely until you are ready to cook it.
Ingredients You’ll Need

Start with 1 pound of dry spaghetti and cook it in well-salted water. The pasta should be just shy of fully tender because it will continue cooking in the oven and absorb flavor from the sauce.
For the savory base, use 1 pound of lean ground beef or Italian sausage, 1 small diced yellow onion, and 3 minced garlic cloves. A 24-ounce jar or container of marinara or spaghetti sauce keeps the recipe convenient while providing plenty of tomato flavor.
The cheese mixture includes 2 large eggs, 1/2 cup grated Parmesan, and 1 cup ricotta or small-curd cottage cheese. Use 2 cups shredded mozzarella for the topping, plus up to 1/2 cup shredded cheddar or additional mozzarella if you want a more abundant cheese finish.
- 1 tablespoon olive oil
- 1 teaspoon Italian seasoning
- 1/2 teaspoon kosher salt, plus more for the pasta water
- 1/4 teaspoon black pepper
- Chopped parsley for optional garnish
If you enjoy serving a vegetable side with a cheesy dinner, our cauliflower casserole idea makes a cozy companion to this pasta bake.
How to Make It Step-by-Step

Step 1: Heat the oven to 350°F and lightly grease a 9-by-13-inch baking dish. Greasing the dish helps the saucy edges release more easily when you serve the casserole.
Step 2: Bring a large pot of salted water to a boil and cook the spaghetti 1–2 minutes less than the package directions. Drain it well, but do not rinse it, since a little surface starch helps the cheese mixture cling to the strands.
Step 3: Heat the olive oil in a large skillet over medium heat. Add the ground beef or Italian sausage and diced onion, then cook for 6–8 minutes, stirring and breaking up the meat, until it is browned and the onion is tender.
Step 4: Drain any excess fat from the skillet before adding the garlic. Cook the garlic for about 30 seconds, just until fragrant, so it flavors the sauce without turning bitter.
Step 5: Stir the marinara sauce, Italian seasoning, kosher salt, and black pepper into the skillet. Let the sauce simmer for 5 minutes, giving the meat time to absorb the tomato seasoning and allowing the flavors to come together.
Step 6: In a medium bowl, whisk the eggs with the Parmesan and ricotta or cottage cheese. Add the drained spaghetti and toss thoroughly until the creamy mixture coats the strands from end to end.
Step 7: Spread about half of the meat sauce across the bottom of the prepared baking dish. Add the cheese-coated spaghetti and arrange it in an even layer, then top it with the remaining sauce.
Step 8: Scatter the 2 cups of mozzarella over the surface and add the optional cheddar or additional mozzarella. Cover the dish loosely with foil so the cheese is protected during the first part of baking.
Step 9: Bake for 20 minutes, then remove the foil and bake for another 10–15 minutes. The casserole is ready when the cheese is fully melted and lightly browned in spots.
Step 10: Let the baked spaghetti rest for 10 minutes before cutting into it. Finish with chopped parsley if desired, then serve generous portions while the cheese is warm and stretchy.
Pro Tips for the Best Baked Spaghetti

The most important detail is the pasta texture. Fully cooked spaghetti may seem convenient, but it can become soft or mushy after spending time in the oven, so follow the instruction to cook it 1–2 minutes less than the package directions.
Drain the pasta well before mixing it with the eggs, Parmesan, and ricotta. Excess water can thin the cheese mixture and make the casserole less cohesive, while properly drained strands hold onto the creamy coating.
Do not skip the 10-minute resting period. Straight from the oven, the layers are very hot and loose; resting gives the cheese time to set slightly, making cleaner portions and keeping more sauce on each serving.
- Use freshly shredded mozzarella when possible for a smooth, attractive melt.
- Keep the foil loose rather than pressing it onto the cheese.
- Remove the foil for the final 10–15 minutes so the top can lightly brown.
- For a milder casserole, choose ground beef and ricotta; for a more seasoned version, choose Italian sausage and cottage cheese.
- Serve with a crisp green salad or warm bread to round out the meal.
For another cozy, cheese-forward side dish, take a look at these cheesy garlic scalloped potatoes. They are especially fitting for a larger comfort-food spread.
Storage, Make-Ahead, and Reheating

Allow leftovers to cool, then cover and refrigerate them promptly. Stored in the refrigerator, individual portions are convenient for next-day lunches or quick dinners.
To reheat a portion, place it in a microwave-safe dish and heat until hot throughout, checking in short intervals. For a larger amount, cover the casserole dish with foil and warm it in the oven until heated through, then uncover it briefly if you want the cheese topping to regain some of its texture.
To prepare ahead, assemble the spaghetti, sauce, and cheese layers in the greased baking dish, cover it, and refrigerate it until you are ready to bake. Since chilled food may need additional warming time, check that the center is hot and the cheese is melted before serving.
If you are planning a menu with several vegetable dishes, our baked cauliflower casserole is another comforting option to place beside the spaghetti.
What to Serve with Cheesy Baked Spaghetti

This casserole is substantial enough to stand alone, but simple sides add freshness and contrast. A crisp green salad with a bright vinaigrette balances the rich cheese and tomato sauce, while steamed broccoli or roasted vegetables add color to the plate.
Warm garlic bread is a classic choice for catching every bit of the remaining marinara. If you prefer something lighter, serve toasted slices of crusty Italian bread with a small dish of olive oil.
For a family-style dinner, place the rested casserole in the center of the table with parsley scattered over the top. The lightly browned cheese makes an inviting presentation, and the layers hold together better once each portion has had time to cool slightly.
Cheesy Baked Spaghetti
Ingredients
Method
- Heat the oven to 350°F and lightly grease a 9-by-13-inch baking dish.
- Bring a large pot of salted water to a boil. Cook the spaghetti 1–2 minutes less than the package directions, then drain it well.
- Heat the olive oil in a large skillet. Cook the ground beef or Italian sausage with the diced onion for 6–8 minutes, until the meat is browned and the onion is tender. Drain excess fat.
- Add the minced garlic and cook for about 30 seconds. Stir in the marinara sauce, Italian seasoning, kosher salt, and black pepper, then simmer for 5 minutes.
- In a bowl, whisk the eggs with the Parmesan and ricotta or cottage cheese. Toss the drained spaghetti with this cheese mixture until the strands are evenly coated.
- Spread about half of the meat sauce in the prepared baking dish. Add the spaghetti mixture, then spoon the remaining sauce over the top.
- Sprinkle the mozzarella over the casserole and add the optional cheddar or extra mozzarella.
- Cover the dish loosely with foil and bake for 20 minutes. Remove the foil and continue baking for 10–15 minutes, until the cheese is melted and lightly browned.
- Let the baked spaghetti rest for 10 minutes before slicing. Garnish with chopped parsley if desired.
Notes
Final Thoughts
This cheesy baked spaghetti recipe turns familiar pantry ingredients into a generous, bubbling dinner that feels special without being difficult. Slightly firm pasta, seasoned meat sauce, creamy ricotta, Parmesan, and plenty of mozzarella create the ideal combination of texture and flavor.
Remember to bake it covered first, uncover it for the final 10–15 minutes, and rest it for 10 minutes before slicing. Serve it with salad, vegetables, or garlic bread, and enjoy a comforting meal that is just as welcome on a busy weeknight as it is at a relaxed weekend gathering.