Zucchini Gratin with Yellow Squash

Loading…

By Reading time
Servings 4–6 people

Thin slices of zucchini and yellow squash turn into something much better than a plain vegetable side once they’re layered with cream, onions, and a sharp cheese crust. The squash softens just enough to stay tender, not watery, and the top bakes into a golden lid that crackles when you spoon through it. It’s the kind of dish that looks calm on the table but disappears fast once people taste the browned edges and the creamy center.

The trick is handling the squash with a little restraint. Zucchini and yellow squash hold a lot of moisture, so this gratin works because the oven does the reducing while the breadcrumbs and cheese build the final texture. Gruyère gives you that nutty, savory pull, while a little parmesan sharpens the finish so the dish doesn’t taste flat.

Below, I’ll walk through the part that matters most: keeping the gratin creamy without turning it soupy, plus a few easy ways to adapt it if you need a different cheese or want to make it ahead.

The squash stayed tender, the sauce thickened up beautifully, and that breadcrumb top turned crisp without burning. I made it with a roast chicken and everyone went back for seconds.

★★★★★— Melissa R.

Like this zucchini gratin with yellow squash? Save it to Pinterest for the nights when you want a creamy vegetable side with a crisp, cheesy crust.

Save to Pinterest

The Secret to Keeping Zucchini Gratin Creamy, Not Watery

The biggest mistake with squash gratin is treating zucchini like a sturdy root vegetable. It isn’t. Zucchini and yellow squash release liquid as they heat, and if the dish starts with too much moisture, the cream turns thin before the top has a chance to brown. That’s why the sauce here is built with a modest amount of broth and cream instead of drowning the vegetables in liquid.

The other thing that matters is the bake itself. Covering the dish for the first part of baking gives the squash time to soften in the hot steam, but the foil comes off while there’s still enough liquid left for the sauce to finish reducing. If you uncover too early, the top can dry out before the center is tender. Leave it covered until the vegetables are just about there, then let the oven do the browning work at the end.

What Each Ingredient Is Actually Doing in This Gratin

Zucchini Gratin with Yellow Squash creamy golden

Here’s what matters most in the pan and dish:

  • Zucchini and yellow squash — These are the body of the gratin, and both need to be sliced thin enough to soften at the same rate. If one squash is much thicker than the other, you’ll end up with uneven texture in the finished dish.
  • Heavy cream — This gives the dish its rich, silky finish. Half-and-half works in a pinch, but the sauce will be thinner and a little less stable after baking.
  • Broth — A small amount loosens the cream just enough to move between the layers. Chicken broth adds a little more depth, while vegetable broth keeps the dish vegetarian without changing the method.
  • Gruyère — This is the cheese that gives you that nutty, savory pull on top. Swiss cheese works if that’s what you have, but it won’t be quite as bold.
  • Parmesan and panko — Parmesan brings salt and sharpness, while panko keeps the topping light instead of heavy. Regular breadcrumbs work, but they brown a little more densely.
  • Butter — Butter belongs both in the onion mixture and on the topping. It carries the garlic and thyme, and it helps the crumb layer bake into a crisp crust instead of a dry blanket.

Building the Layers So the Top Browns Before the Bottom Turns Soft

Cooking the Onion Base

Start by softening the onion in butter until it turns translucent and loses its raw bite. Add the garlic and thyme only for the last 30 seconds, just until fragrant, because garlic burns fast and turns bitter before you notice it. This base should smell savory and sweet, not browned. If the pan runs too hot, pull it off the heat for a moment before adding the garlic.

Arranging the Squash

Layer the zucchini and yellow squash in overlapping rows so the slices are mostly the same thickness across the dish. Tuck them in tightly, but don’t stack them high in random piles or the center will steam unevenly. The alternating colors matter here too; they make the finished gratin look intentional and help you see whether the slices are spread evenly.

Adding the Cream and Cheese

Whisk the cream, broth, salt, and pepper together before pouring it over the vegetables so the seasoning doesn’t land in one salty pocket. Sprinkle most of the gruyère over the top, then finish with the parmesan-panko mixture. That layered topping gives you a creamy middle and a crisp, browned surface. If the top looks dry before baking, the butter in the crumb mixture was probably not evenly mixed through.

Baking Until Bubbling and Golden

Cover the dish with foil and bake until the squash is nearly tender, then uncover it for the final stretch. You’re looking for bubbling around the edges, softened squash, and a top that has turned deep golden with a few darker toasted spots. If the top browns too quickly before the center is done, lay the foil back over loosely. The finished dish should spoon cleanly, not pour liquid onto the plate.

How to Adapt This for Different Tables and Pantry Situations

Make It Vegetarian

Use vegetable broth instead of chicken broth and keep everything else the same. The gratin still comes out rich because the cream and cheeses carry the flavor, so you won’t lose anything important.

Make It Gluten-Free

Swap the panko for a gluten-free breadcrumb or crushed gluten-free crackers. You’re still after a dry, buttery topping that browns, so choose something with enough texture to toast instead of melt into the cheese.

Use Only One Kind of Squash

If you only have zucchini or only yellow squash, go ahead and use all of one kind. The texture will be just as good; you’ll only lose the color contrast in the layers.

Storage and Reheating

  • Refrigerator: Store covered for up to 3 days. The topping softens a little, but the flavor stays good.
  • Freezer: Not my first choice. The cream sauce and squash both soften more after thawing, so the texture gets looser than it should.
  • Reheating: Reheat covered at 350°F until hot, then uncover for the last few minutes to bring back some crispness on top. Microwaving works in a pinch, but it softens the breadcrumb crust.

Questions I Get Asked About This Recipe

Can I make zucchini gratin with yellow squash ahead of time?+

You can assemble it a few hours ahead, then bake it just before serving. For the best texture, hold back the breadcrumb topping until right before it goes in the oven so it stays crisp instead of absorbing moisture from the squash.

How do I keep my squash gratin from turning watery?+

Use thin slices, bake it covered first, and don’t overload it with liquid. Squash releases moisture as it cooks, so the covered bake lets it soften while the cream reduces instead of pooling at the bottom of the dish.

Can I use mozzarella instead of gruyère in this recipe?+

You can, but the flavor will be milder and the topping will lean stretchier than nutty. If you use mozzarella, keep the parmesan in place so the gratin still has enough salt and sharpness to taste finished.

How do I know when the zucchini gratin is done baking?+

The edges should be bubbling, the squash should yield easily when pierced with a knife, and the top should be deeply golden. If the top is browned but the center still feels firm, cover it again and give it a little more time.

Can I make this zucchini gratin without cream?+

Yes, but the dish will be less rich and a little looser. A good swap is half-and-half or evaporated milk, though neither gives quite the same velvety finish as heavy cream once the gratin bakes.

Zucchini Gratin with Yellow Squash

Zucchini gratin with yellow squash layered in overlapping rows and baked until creamy and golden with a bubbling gruyère crust. This French-style summer vegetable gratin bakes with a breadcrumb topping for crackly edges.
Prep Time 20 minutes
Cook Time 45 minutes
Total Time 1 hour 5 minutes
Servings: 6 servings
Course: Side Dish
Cuisine: French-American
Calories: 420

Ingredients
  

vegetables
  • 2 zucchini thinly sliced
  • 2 yellow squash thinly sliced
  • 1 onion thinly sliced
  • 3 garlic minced
  • 1 tsp fresh thyme
dairy and seasoning
  • 2 tbsp butter for sautéing
  • 1 cup heavy cream
  • 0.5 cup chicken or vegetable broth
  • 0.5 tsp salt to taste
  • 0.25 tsp black pepper to taste
cheese and topping
  • 1 cup gruyère or Swiss cheese shredded (divided)
  • 0.25 cup parmesan grated
  • 0.33 cup panko breadcrumbs
  • 2 tbsp butter melted (for topping)

Equipment

  • 1 sheet pan

Method
 

Prep and preheat
  1. Preheat the oven to 375°F and grease a 9x13 baking dish.
Sauté aromatics
  1. Sauté the onion in butter over medium heat for 4 minutes.
  2. Add the garlic and thyme and cook for 30 seconds.
Assemble the gratin
  1. Layer the zucchini and yellow squash slices in the baking dish in overlapping rows, alternating colors.
  2. Scatter the sautéed onion and garlic over the top.
  3. Whisk the heavy cream, broth, salt, and black pepper, then pour over the vegetables.
  4. Sprinkle 3/4 cup of gruyère or Swiss cheese over the top.
  5. Mix the remaining gruyère or Swiss cheese, parmesan, and panko breadcrumbs with melted butter, then scatter over everything.
Bake
  1. Cover with foil and bake at 375°F for 25 minutes.
  2. Uncover and bake for 15–20 minutes at 375°F until golden and bubbling, with a crackly breadcrumb-cheese surface.

Notes

For the creamiest texture, slice the zucchini and yellow squash thinly and evenly so they cook at the same rate; aim for a similar thickness across the whole dish. Store leftovers covered in the refrigerator up to 3–4 days. This gratin also freezes well up to 2 months; thaw overnight in the fridge and reheat until hot and bubbling. Dietary swap: use half-and-half or a lactose-reduced cream plus lactose-reduced cheese to reduce dairy lactose while keeping the same gratin bake.

You might also like these recipes

Leave a Comment

Recipe Rating