30-Minute Vegetarian Baked Ziti
This vegetarian baked ziti is a hearty, cheesy pasta casserole that I turn to when I want a no-fuss dinner on a busy weeknight. It leans on a few smart shortcuts, so you get all the comfort of baked pasta without a sink full of pots.

Spinach and mushrooms give it heft, ricotta keeps it creamy, and the whole thing bakes up in half an hour. No boiling, no separate saucepans, just one dish straight to the table.
Why This One Stays in the Rotation
The no-boil ziti trick is the real reason this meal keeps its 30-minute promise. The pasta bakes right in the sauce and soaks up all that tomato richness, so you skip the boiling water and the extra pot.
I love how the ricotta rich, slightly tangy filling stays creamy as it bakes, instead of drying out the way a plain mozzarella-only bake sometimes can. And the sautéed mushrooms add that deep, savory note that makes a vegetarian main feel substantial.
Ingredients

- 1 lb ziti pasta: use one labeled oven-ready or no-boil, regular ziti works with a different method, see the tips
- 2 tbsp olive oil
- 8 oz cremini mushrooms, sliced: any mushroom works, but cremini hold their texture nicely
- 2 garlic cloves, minced
- 5 oz fresh baby spinach, roughly chopped
- 1 (24 oz) jar marinara sauce: pick a brand you genuinely like, this carries the dish
- 1 cup water
- 15 oz whole-milk ricotta: full-fat makes the filling silky, part-skim is okay but may release a little liquid
- 1 large egg
- 1/2 tsp kosher salt
- Freshly ground black pepper, to taste
- 2 cups shredded low-moisture mozzarella: grating your own block melts creamier than pre-shredded
- 1/2 cup grated Parmesan: divided
Variations / Substitutions
- Swap the spinach: chopped kale or chard works, just sauté an extra minute or two to soften.
- Cottage cheese for ricotta: blend 15 oz full-fat cottage cheese until smooth and use it the same way, the tang is a little brighter.
- Add heat: fold a pinch of red pepper flakes into the ricotta mixture or sprinkle them on top before baking.
- Make it gluten-free: use a gluten-free oven-ready penne or ziti, check the label to confirm it works in oven-bake recipes.
- Other vegetables: diced bell pepper or a handful of halved cherry tomatoes can join the mushrooms in the pan.
If you like this one, our cheesy baked rigatoni with broccoli is another weeknight winner.
How to Make 30-Minute Vegetarian Baked Ziti
Step 1: Sauté the Mushrooms and Spinach

Heat your oven to 400°F (200°C). In a large skillet, warm the 2 tbsp olive oil over medium-high heat. Add the sliced mushrooms and cook, stirring a few times, until they release their liquid and start to get golden brown, about 5 minutes. Stir in the minced garlic and cook 30 seconds more.
Add the chopped spinach by the handful, tossing with tongs until it wilts, roughly 1 minute. You want that bright green color and a little bite left in it. Take the skillet off the heat and set it aside.
Step 2: Mix the Ricotta Filling

In a medium bowl, stir together the 15 oz ricotta, the large egg, 1/4 cup of the grated Parmesan, the 1/2 tsp kosher salt, and a few cracks of black pepper. Mix until it looks uniformly creamy and thick.
This mixture will be spread in dollops later, so a little texture contrast is nice. Keep the remaining 1/4 cup Parmesan for the top.
Step 3: Assemble the Layers

Grab a 9×13 inch baking dish. Pour the jar of marinara sauce, the 1 cup of water, the sautéed mushroom and spinach mixture, and the dry ziti right into the dish. Stir everything together until the pasta is well coated and the liquid reaches most of the way up the pasta. Spread it into an even layer.
Now drop spoonfuls of the ricotta mixture evenly over the pasta, about half of it. Sprinkle 1 cup of the shredded mozzarella on top. Repeat with the remaining ricotta in dollops, then finish with the last 1 cup of mozzarella and the reserved 1/4 cup Parmesan scattered over the surface.
Step 4: Bake and Serve the Ziti

Cover the dish tightly with foil and bake for 20 minutes. The pasta should be tender when you poke a knife through the center and the sauce will be bubbling around the edges. If you want a deeper golden top, slide the dish under the broiler for 1 to 2 minutes with the foil off, watching carefully.
Let the ziti rest for 5 minutes before serving. Scoop generous portions onto plates, and the cheese will pull in long, satisfying strings. That resting time helps the layers settle so each bite holds together.
A Few Notes Before You Start
- Give the mushrooms room in the pan so they brown instead of steam, that browning adds a deep savory layer you will taste later.
- The ricotta dollops do not need to be perfect, they spread as they bake and create creamy pockets throughout the pasta.
- If you only have regular ziti, boil it for half the package time, drain, and skip the added water in the assembly step. The bake time stays the same.
- Leftovers reheat beautifully in the microwave or a covered dish in a 350°F oven, the pasta stays tender for days.
Storing Leftovers
- Refrigerate: Cooled ziti keeps well in an airtight container for up to 4 days.
- Reheating: A quick zap in the microwave works, or warm individual portions in a covered skillet with a splash of water. For a whole pan, cover with foil and reheat at 350°F until hot through, about 15 minutes.
What To Serve With Vegetarian Baked Ziti
A simple green salad with a sharp vinaigrette cuts through the richness of the cheese. Garlic bread or crusty toast is obvious but a quick sautéed broccoli with lemon is the pairing I reach for most, the brightness wakes up the whole plate.
Frequently Asked Questions
Can I assemble this ahead of time?
Yes, you can assemble the entire dish up to a day in advance, cover it, and refrigerate. Add 5 to 10 minutes to the covered bake time since you start from cold.
Can I freeze baked ziti?
Assemble the ziti in a freezer-safe dish, wrap tightly, and freeze for up to 3 months. Thaw overnight in the fridge, then bake as directed, adding extra time as needed to heat through.
My ziti came out a little watery. What happened?
Extra moisture usually comes from low-fat ricotta or frozen spinach that was not squeezed dry. Stick with whole-milk ricotta and make sure to let the dish rest those 5 minutes before serving so any liquid can settle.
Do I really need the egg in the ricotta mixture?
The egg helps the ricotta set into soft, creamy pockets rather than breaking into a grainy liquid. If you skip it, the texture will be looser but still tastes good.
Can I use other vegetables instead of mushrooms and spinach?
Absolutely. Roasted eggplant, zucchini, or even a bag of thawed frozen mixed vegetables work, just sauté or roast them first to remove excess water before layering.

Vegetarian Baked Ziti Recipe
Ingredients
Method
- Preheat oven to 400°F (200°C). In a skillet over medium-high heat, sauté mushrooms in olive oil until golden, about 5 minutes. Add garlic and cook 30 seconds, then wilt spinach. Remove from heat.
- Mix ricotta, egg, 1/4 cup Parmesan, salt, and pepper until smooth.
- In a 9×13-inch baking dish, combine pasta, marinara, water, and the mushroom mixture. Layer half the ricotta dollops and 1 cup mozzarella. Repeat with remaining ricotta, then top with remaining mozzarella and Parmesan.
- Cover with foil and bake 20 minutes. Broil 1 to 2 minutes if a golden top is desired. Rest 5 minutes, then scoop and serve.
