The structural integrity of this dish depends on a 2:1 ratio of cooked pasta to cheese filling; the starch from the noodles binds the ricotta mixture so it holds its shape when sliced. Without enough pasta, the pie collapses into a loose casserole, and too much cheese makes it greasy.
Ingredients for Pasta Base
- 12 ounces (340g) spaghetti or linguine
- 1 tablespoon olive oil
- 1 teaspoon salt, divided
Ingredients for Filling
- 15 ounces (425g) whole milk ricotta cheese
- 1 large egg
- 1/2 cup (50g) grated Parmesan cheese
- 1/2 cup (56g) shredded mozzarella cheese
- 1 clove garlic, minced
- 1/2 teaspoon dried oregano
- 1/4 teaspoon black pepper
- Salt to taste
Ingredients for Sauce Layer
- 2 cups (480ml) marinara sauce
- 1/2 cup (56g) shredded mozzarella cheese
Prep the Noodles
Bring a large pot of water to a rolling boil. Add 1/2 teaspoon of salt and the spaghetti. Cook the pasta until it is al dente, which usually takes about 8 to 10 minutes depending on the brand. Drain the pasta in a colander and rinse briefly with cold water to stop the cooking process. Toss the drained noodles with 1 tablespoon of olive oil to prevent them from sticking together as they cool. Set aside to cool slightly while you prepare the filling.
Mix the Ricotta Filling
In a medium mixing bowl, combine the ricotta cheese, egg, Parmesan cheese, mozzarella cheese, minced garlic, oregano, black pepper, and the remaining 1/2 teaspoon of salt. Whisk these ingredients together vigorously until the mixture is smooth and uniform. The egg acts as a binder, ensuring the cheese layer stays cohesive during baking. If the ricotta seems very wet, drain it in a fine-mesh sieve for 10 minutes before mixing to remove excess moisture.
Assemble the Pie
Preheat your oven to 375°F (190°C). Grease a 9-inch (23cm) round springform pan or a deep-dish pie plate with non-stick spray or butter. Spread half of the marinara sauce evenly across the bottom of the prepared pan. Place half of the cooked spaghetti over the sauce, pressing it down gently to form a flat, even base layer. Spoon the ricotta mixture over the pasta and spread it into a smooth, level layer using a spatula. Top the cheese layer with the remaining spaghetti, arranging the noodles to cover the entire surface. Pour the rest of the marinara sauce over the top pasta layer, spreading it carefully to coat the noodles completely. Sprinkle the final 1/2 cup of shredded mozzarella cheese evenly over the sauce.
Bake Until Set
Place the assembled pie in the center of the preheated oven. Bake for 25 to 30 minutes. The pie is done when the cheese on top is melted and bubbly, and the edges show signs of browning. Use a knife to check the center; it should feel firm and set, not jiggly like liquid. The internal temperature of the egg-based filling should reach 160°F (71°C) for safety. Remove the pan from the oven and let it rest on a wire rack for at least 15 minutes. This resting period is critical because the structure needs time to stabilize before slicing.
Serving Suggestions
This dish works well as a main course for family dinners or potlucks. Serve slices with a simple green salad dressed in vinaigrette to cut through the richness of the cheese. Garlic bread or roasted broccoli pairs nicely with the tomato sauce. For a lighter meal, serve smaller portions alongside steamed spinach or sautéed zucchini.
Storage Instructions
Allow any leftover pie to cool to room temperature within two hours of baking. Store leftovers in an airtight container in the refrigerator for up to four days. Reheat individual slices in the microwave for 1-2 minutes or in a 350°F (175°C) oven for 15 minutes until heated through. Do not leave cooked pasta dishes at room temperature for more than two hours, or one hour if the ambient temperature is above 90°F (32°C), due to bacterial growth risks.
Freezing Guidelines
You can freeze unbaked spaghetti pie for up to three months. Assemble the pie completely in a freezer-safe pan, wrap tightly with plastic wrap and aluminum foil, and label with the date. Thaw in the refrigerator overnight before baking according to the instructions above. Baked leftovers can also be frozen for up to three months; reheat from frozen in a covered dish at 350°F (175°C) for about 45 minutes.