Loading…

By Reading time

Golden on top, custardy in the middle, and packed with zucchini that tastes clean instead of watery, this zucchini pie earns its place on the table fast. The ricotta turns what could have been a loose vegetable bake into something sliceable and soft, almost like a savory custard, while the parmesan and sun-dried tomatoes keep every bite from drifting into bland territory. It’s the kind of dish that looks simple at first glance and then gets a second look when the first wedge comes out intact.

The part that matters most is the zucchini. It has to be squeezed aggressively, not just patted dry, or the filling will go slack in the oven and the center won’t set the way it should. Grated onion and garlic melt right into the mixture, which gives the pie a built-in savory base without leaving obvious chunks behind. Ricotta adds creaminess, but it also helps the texture stay tender after baking, which is why this version feels richer than the egg-only kinds that can lean rubbery.

Below you’ll find the exact method that keeps the pie from turning soggy, plus a few smart swaps and storage notes for the days when you want to make it ahead and reheat cleanly.

The zucchini needed that extra squeeze, but once I did it, the pie baked up with a creamy center and a crisp, golden top. The sun-dried tomatoes were the best part — little bursts of flavor in every slice.

★★★★★— Melissa K.

Save this zucchini pie for brunch, picnics, and any time you want a creamy, golden slice with sun-dried tomato pockets.

Save to Pinterest

The Zucchini Mistake That Turns Pie Watery Instead of Set

Most zucchini pies fail for the same reason: the vegetable goes in holding too much water, and the oven can’t recover from it. Zucchini releases moisture as it bakes, so if you start with a wet pile, the filling turns loose before the eggs have a chance to set. Squeezing it hard is not a side note here. It’s the difference between a slice that stands up and one that puddles on the plate.

The other trap is overloading the filling with flour to fix moisture problems after the fact. That only gives you a denser, heavier pie. This recipe works because the ricotta, eggs, and a small amount of flour are balanced from the start, which keeps the texture creamy without losing structure. Bake it until the center is just set and the top has a deep golden color. If it still looks pale, the middle usually hasn’t finished cooking.

What Each Ingredient Is Actually Doing in This Zucchini Pie

Zucchini pie creamy golden basil

Zucchini — This is the bulk of the pie, but it only behaves if you remove the water first. Squeeze it until it feels almost dry in your hands. Any extra moisture stays in the custard and weakens the set.

Ricotta — This is what gives the filling its soft, creamy interior. Use full-fat ricotta if you can; part-skim works, but the texture is a little leaner and less lush. If your ricotta looks very wet, drain it briefly before mixing.

Eggs — They hold everything together and give the pie its custard structure. Four eggs sound like a lot, but they’re carrying both the zucchini and the cheese. If you cut them down, the center gets fragile and won’t slice as cleanly.

Parmesan — This adds salt, depth, and a little firmness to the filling. Grate it finely so it melts into the custard instead of sitting in little grains. Pecorino can work here, but it’s sharper and saltier, so reduce any extra salt if you use it.

Sun-dried tomatoes in oil — These are the flavor pockets that keep the pie interesting. The oil-packed kind are softer and more savory than dry-packed tomatoes, which matters in a baked custard where you want tender bites, not chewy ones.

Flour and baking powder — The flour gives the filling a little body, while the baking powder helps it rise just enough to keep the texture light. You don’t want a cake, only enough lift to keep the pie from feeling dense. Measure the flour lightly so the pie doesn’t turn heavy.

How to Build the Filling So the Center Bakes Creamy, Not Loose

Dry the Zucchini First

Shred the zucchini, then squeeze it in a clean towel or a few layers of paper towels until the strands stop dripping. The pile should look smaller and feel springy rather than soggy. If you skip this, the oven has to spend its time evaporating water instead of setting the custard, and the middle stays soft for too long.

Mix the Base Before the Flour Goes In

Whisk the eggs and olive oil first, then stir in the ricotta, parmesan, zucchini, grated onion, and garlic. That order gives the ricotta a chance to break up evenly, which keeps the filling smooth. Once the mixture looks uniform, fold in the flour, baking powder, tomatoes, basil, oregano, salt, and pepper. Overmixing after the flour goes in can tighten the batter and make the finished pie feel dense.

Bake Until the Center Has Just Set

Pour the filling into a greased 9-inch pie dish and bake at 375°F until the top is deeply golden and the center no longer sloshes when you nudge the pan. The pie should have a slight wobble in the very middle, not a wet shimmer. If the edges darken before the center sets, give it a few more minutes and cover loosely with foil for the last stretch.

Let It Rest Before Slicing

Give the pie 10 minutes on the counter before cutting into it. That short rest lets the custard finish settling so the slices hold together instead of collapsing. Fresh basil on top adds a bright finish right before serving, and it keeps the herbs from dulling in the oven.

Three Useful Ways to Change This Zucchini Pie Without Ruining It

Make It Gluten-Free

Swap the all-purpose flour for a good 1:1 gluten-free blend. You still need the flour element for structure, so don’t leave it out entirely. The texture stays close to the original, though the slice will be a touch more tender and less springy.

Make It Dairy-Free

Use a thick dairy-free ricotta-style cheese and replace the parmesan with a dairy-free hard cheese alternative or a small spoonful of nutritional yeast for savoriness. The pie won’t taste exactly the same, but you’ll still get a creamy set and a savory finish. Choose a substitute that’s thick, not runny, or the filling will loosen.

Swap the Herbs Based on What’s in the Fridge

Basil is the brightest choice, but parsley, dill, or a little chives all work. Dill pushes it toward a more brunch-y, almost frittata-like flavor, while parsley stays neutral and clean. Use fresh herbs at the end if you can; dried herbs are fine in the batter, but they won’t give the same fresh lift.

Storage and Reheating

  • Refrigerator: Store for up to 4 days. The texture tightens a little as it chills, but the flavor holds well.
  • Freezer: It freezes, but the custard softens on thawing and the zucchini can release a little extra moisture. Freeze slices tightly wrapped, then thaw overnight in the fridge for best results.
  • Reheating: Warm slices in a 325°F oven until heated through, about 10 to 15 minutes. The mistake is blasting it in the microwave, which makes the eggs weep and the crustless edges go rubbery before the center is hot.

Answers to the Questions Worth Asking

Can I make this zucchini pie ahead of time?+

Yes. Bake it, cool it, and refrigerate it once it’s fully set. The flavor gets even better after a few hours, and it slices more cleanly once it has had time to firm up.

How do I keep my zucchini pie from getting soggy?+

Squeeze the zucchini until it’s much drier than you think it needs to be. That step matters more than any other because the pie can only set properly if the filling starts out with low moisture. If the center still seems wet after baking, it usually means the zucchini wasn’t dried enough.

Can I use frozen zucchini instead of fresh?+

You can, but thaw it completely first and squeeze out every bit of water. Frozen zucchini usually gives off even more liquid than fresh, so this step is non-negotiable. Expect a slightly softer texture, but the pie will still work.

How do I know when the center is done?+

The top should be deep golden and the center should have only a slight wobble when you nudge the dish. It shouldn’t look wet or sloshy. If you slice too early, the custard won’t have time to finish setting and the pieces will fall apart.

Can I leave out the ricotta?+

You can, but the pie will lose the creamy, custardy texture that makes this version special. If you skip it, replace it with another thick dairy element, like well-drained cottage cheese blended smooth, or the filling will bake up more eggy and less tender.

Zucchini Pie

Zucchini pie with a creamy ricotta-set custard and a deeply golden top. Shredded zucchini squeezed very dry helps the pale ribbons stay tender, while chopped sun-dried tomatoes create deep-red pockets throughout each slice.
Prep Time 50 minutes
Cook Time 40 minutes
Total Time 1 hour 30 minutes
Servings: 6 servings
Course: Dinner
Cuisine: Mediterranean
Calories: 260

Ingredients
  

Zucchini pie base
  • 3 cup shredded zucchini Squeezed very dry.
  • 4 eggs
  • 1 cup ricotta cheese
  • 0.5 cup grated parmesan
  • 0.25 cup all-purpose flour
  • 1 tsp baking powder
  • 3 tbsp olive oil
  • 1 small onion Grated.
  • 2 clove garlic
  • 0.25 cup sun-dried tomatoes in oil Chopped.
  • 2 tbsp fresh basil Chiffonade.
  • 0.5 tsp dried oregano
  • 1 salt and pepper To taste.

Equipment

  • 1 sheet pan
  • 1 cast iron skillet

Method
 

Prepare and mix
  1. Preheat the oven to 375°F and grease a 9-inch pie dish.
  2. Squeeze all moisture from the shredded zucchini aggressively so the pie bakes up set instead of watery.
  3. Whisk the eggs and olive oil, then mix in the ricotta, parmesan, zucchini, onion, and garlic until evenly combined.
  4. Fold in the flour, baking powder, sun-dried tomatoes, basil, oregano, salt, and pepper just until the batter looks uniform with no dry spots.
Bake and finish
  1. Pour the mixture into the greased pie dish, then bake for 35–40 minutes at 375°F until deeply golden and set in the center.
  2. Cool for 10 minutes, then top with extra fresh basil before slicing.

Notes

For the best custard texture, squeeze the zucchini firmly until it feels almost springy and not wet. Store leftovers covered in the refrigerator for up to 3 days; rewarm in the oven until just heated through. Freezing is not recommended because the zucchini can release moisture when thawed. For a dairy-light swap, use part-skim ricotta and reduce parmesan slightly to keep the custard creamy without as much richness.
About the author
Stacey

Leave a Comment

Recipe Rating