The Feast

Home cooking recipes for everyday dinners and easy entertaining

Vegan Baked Spaghetti Pie Recipe

· 5 min read · Baking and Desserts

This vegan baked spaghetti pie turns humble pasta into a hearty, sliceable main dish that holds together beautifully without eggs or dairy. The secret is a creamy tofu-ricotta layer and a generous amount of melted vegan mozzarella, all baked into a golden, crispy-edged pie that slices like a dream. It’s a fun, family-friendly dinner that’s easier than it looks and perfect for using up leftover spaghetti.

Ingredients

  • 12 oz (340 g) dry spaghetti (or other long pasta)
  • 1 tbsp olive oil
  • 1 medium yellow onion, finely chopped
  • 3 cloves garlic, minced
  • 1 (24 oz / 680 g) jar marinara sauce (or 3 cups homemade)
  • 1 tsp dried Italian seasoning
  • 1/2 tsp salt, plus more for pasta water
  • 1/4 tsp black pepper
  • 1 (14 oz / 400 g) block extra-firm tofu, pressed and crumbled
  • 2 tbsp nutritional yeast
  • 1 tbsp lemon juice
  • 1/2 tsp garlic powder
  • 1/2 cup plain unsweetened almond milk (or other plant milk)
  • 1 1/2 cups (about 6 oz / 170 g) shredded vegan mozzarella, divided
  • Fresh basil or parsley for garnish (optional)

Instructions

  1. Preheat your oven to 375°F (190°C). Lightly grease a 9-inch springform pan or a deep-dish pie pan. If using a springform, wrap the outside with foil to catch any leaks.
  2. Bring a large pot of salted water to a boil. Cook the spaghetti according to package directions until just al dente (about 1 minute less than the recommended time). Drain and set aside.
  3. While the pasta cooks, heat the olive oil in a large skillet over medium heat. Add the onion and cook until soft and translucent, about 5 minutes. Add the garlic and cook for another minute until fragrant.
  4. Pour the marinara sauce into the skillet, then stir in the Italian seasoning, salt, and pepper. Let the sauce simmer gently for 5 minutes, then remove from heat.
  5. In a medium bowl, combine the crumbled tofu, nutritional yeast, lemon juice, garlic powder, and almond milk. Mash with a fork until the mixture resembles ricotta. Season with a pinch of salt and pepper.
  6. In a large mixing bowl, toss the cooked spaghetti with the tofu-ricotta mixture until the pasta is well coated.
  7. Spread half of the marinara sauce evenly over the bottom of the prepared pan. Add half of the spaghetti mixture, pressing it down firmly. Sprinkle with 1/2 cup of the vegan mozzarella.
  8. Add the remaining spaghetti mixture, pressing down again. Pour the remaining sauce over the top, spreading it to cover the pasta. Sprinkle the remaining 1 cup of vegan mozzarella over the top.
  9. Cover the pan with foil (tent it so it doesn’t touch the cheese) and bake for 25 minutes. Then remove the foil and bake for another 15–20 minutes, until the cheese is melted and bubbly and the edges are golden brown.
  10. Let the pie rest for at least 10 minutes before slicing. This step is crucial for the layers to set. Garnish with fresh basil or parsley, if desired.

Tips

  • Press the tofu well: Extra moisture in the tofu will make the filling watery. Wrap the block in a clean kitchen towel and press it with a heavy pan for 10 minutes before crumbling.
  • Use a springform pan for clean slices: The removable sides make it easy to unmold the pie without breaking it. If using a regular pie dish, line it with parchment paper for easier lifting.
  • Don’t skip the resting time: Slicing too soon will cause the layers to slide apart. Letting it rest allows the starches to set and the cheese to firm up.
  • Adjust the sauce consistency: If your marinara is very watery, simmer it longer to thicken before assembling. A thicker sauce prevents a soggy pie.

Serving Suggestions

Serve slices of this spaghetti pie with a simple green salad dressed with lemon and olive oil, or a side of roasted broccoli or garlic bread. It’s also great with a drizzle of extra marinara or a sprinkle of red pepper flakes for heat.

Variations

  • Gluten-free: Use gluten-free spaghetti and ensure your marinara and vegan cheese are certified gluten-free.
  • Add veggies: Sauté 1 cup of chopped mushrooms, zucchini, or bell peppers with the onion for extra texture.
  • Spicy: Add 1/2 tsp red pepper flakes to the sauce for a kick.
  • Herb swap: Replace the Italian seasoning with fresh basil and oregano, stirring them into the sauce just before assembling.

Storage and Reheating

Store leftovers in an airtight container in the refrigerator for up to 4 days. To reheat, place a slice on a baking sheet and warm in a 350°F (175°C) oven for 10–12 minutes, or microwave for 1–2 minutes. The pie can also be frozen (whole or in slices) for up to 2 months; thaw overnight in the fridge before reheating.

Frequently Asked Questions

Can I use a different pasta shape?

Yes, any long pasta like linguine or fettuccine works, but you can also use penne or rigatoni. Just adjust the cooking time slightly and make sure the pieces are small enough to press into the pan.

What can I use instead of tofu?

For a nut-based ricotta, blend 1 1/2 cups raw cashews with 1/2 cup water, 2 tbsp nutritional yeast, 1 tbsp lemon juice, and a pinch of salt until smooth. Or use 1 1/2 cups of store-bought vegan ricotta.

Why is my pie falling apart?

Most likely you didn’t let it rest long enough, or the pasta wasn’t pressed firmly enough into the pan. Make sure to press each layer down well and rest for at least 10 minutes after baking.

Can I make this ahead of time?

Yes, assemble the pie completely, cover, and refrigerate for up to 24 hours before baking. Add about 10 minutes to the covered baking time since you’re starting from cold.

Is this recipe oil-free?

As written, it uses olive oil. To make it oil-free, sauté the onion and garlic in a splash of water or vegetable broth, and skip the oil in the pan.

Can I use a store-bought vegan cheese that doesn’t melt well?

If your vegan cheese doesn’t melt, try mixing it with a tablespoon of cornstarch before sprinkling on top. This helps it get gooier when baked.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions