The Feast

Home cooking recipes for everyday dinners and easy entertaining

Zucchini & Yellow Squash Gratin: Step-by-Step

· 5 min read · Dinners

This gratin layers tender zucchini and yellow squash with a creamy, cheesy sauce and a crisp golden topping. It’s a versatile side dish that goes with roast chicken, steak, or a simple green salad. You’ll need a 2-quart baking dish, a stovetop, and about 20 minutes of prep time before it bakes.

What You'll Need

  • 2 medium zucchini (about 1 lb total)
  • 2 medium yellow squash (about 1 lb total)
  • 1 tablespoon olive oil
  • 1 small onion, finely chopped
  • 2 cloves garlic, minced
  • 1 cup heavy cream (or half-and-half for a lighter version)
  • 1 cup shredded Gruyère or Swiss cheese (divided)
  • 1/2 cup grated Parmesan cheese (divided)
  • 1/2 cup panko breadcrumbs
  • 1 teaspoon fresh thyme leaves (or 1/2 teaspoon dried)
  • Salt and freshly ground black pepper
  • Butter for greasing the dish

Step-by-Step

  1. Preheat and prep: Preheat your oven to 375°F (190°C). Grease a 2-quart baking dish with butter. Wash the zucchini and yellow squash, then slice them into 1/4-inch thick rounds. Set aside.
  2. Sauté the aromatics: In a medium skillet, heat the olive oil over medium heat. Add the chopped onion and cook until soft and translucent, about 4–5 minutes. Add the minced garlic and cook for another 30 seconds until fragrant. Remove from heat.
  3. Make the sauce: In a medium bowl, combine the heavy cream, half of the Gruyère (1/2 cup), half of the Parmesan (1/4 cup), and the thyme. Add the cooked onion and garlic. Season with salt and pepper (about 1/2 teaspoon salt and 1/4 teaspoon pepper). Stir well.
  4. Layer the squash: Arrange half of the zucchini and yellow squash slices in the prepared baking dish, overlapping them slightly. Pour half of the cream mixture over the top. Repeat with the remaining squash slices and the rest of the cream mixture.
  5. Top with cheese and breadcrumbs: In a small bowl, mix the remaining Gruyère (1/2 cup), remaining Parmesan (1/4 cup), and the panko breadcrumbs. Sprinkle this mixture evenly over the top of the gratin.
  6. Bake: Place the dish on a baking sheet to catch any bubbling over. Bake in the preheated oven for 35–40 minutes, until the top is golden brown and the sauce is bubbling around the edges. If the top browns too quickly, loosely cover with foil for the last 10 minutes.
  7. Rest and serve: Let the gratin rest for 5–10 minutes before serving. This allows the sauce to set slightly and makes serving easier.

Common Mistakes

  • Using watery squash without salting: Zucchini and yellow squash release a lot of moisture as they cook. If you skip salting, your gratin can end up soupy. Lightly salt the sliced squash and let them sit in a colander for 15–20 minutes, then pat dry with paper towels before layering.
  • Overcrowding the dish: If you pile the squash too high, the gratin will steam rather than bake, resulting in a mushy texture. Use a single layer with slight overlap, and if you have too many slices, use a larger dish.
  • Slicing too thick or too thin: Slices thicker than 1/4 inch won’t cook through in the baking time, while paper-thin slices turn to mush. Aim for uniform 1/4-inch rounds.
  • Skipping the rest time: Cutting into the gratin immediately after baking causes the sauce to run. Let it rest so the sauce thickens and the layers hold together.

Tips

  • Salt the squash first: This is the single most important step for a firm, non-watery gratin. After salting and resting, rinse quickly and pat dry to remove excess salt.
  • Use a mix of cheeses: Gruyère melts beautifully and has a nutty flavor. You can substitute with Swiss, Fontina, or even sharp cheddar. Parmesan adds a salty, savory kick.
  • Make ahead: Assemble the gratin (without the breadcrumb topping) up to 24 hours in advance. Cover and refrigerate. When ready to bake, add the topping and increase the baking time by 10–15 minutes.
  • Add a crunchy topping variation: Mix the breadcrumbs with a tablespoon of melted butter for extra golden crispness.
  • Use a mandoline: For perfectly even slices, a mandoline slicer is a great tool. Just use the hand guard for safety.

Troubleshooting

  • Gratin is too watery: This usually means the squash wasn’t salted enough. Next time, salt and drain the slices for at least 15 minutes. To salvage a watery gratin, carefully spoon off excess liquid from the top after baking, or return it to the oven uncovered for an extra 10 minutes to evaporate some moisture.
  • Top is browning too fast: If the breadcrumb topping is getting dark while the inside is still not bubbling, cover the dish loosely with aluminum foil and continue baking until the sauce is hot and bubbly. Remove the foil for the last 5 minutes to re-crisp the top.
  • Gratin is undercooked in the center: This can happen if the dish is too deep or the squash slices are too thick. Insert a knife into the center; it should slide through easily. If not, bake for another 10 minutes, checking every 5 minutes.
  • Sauce curdled or separated: This is usually caused by high heat or adding acid too quickly. Make sure to use heavy cream (not milk) and keep the heat moderate. If it happens, whisk the sauce vigorously off the heat; it may come back together. In the future, avoid boiling the cream mixture.

Frequently Asked Questions

Can I use only zucchini or only yellow squash?

Yes, you can use all of one type. The flavor and texture are similar, though yellow squash is slightly more tender. Adjust the amount to about 2 pounds total.

Can I make this gratin dairy-free?

You can substitute the heavy cream with full-fat coconut milk (the canned kind) and use a dairy-free cheese alternative that melts well. The texture will be slightly different, but it will still be creamy and delicious.

How do I store leftovers?

Cool the gratin completely, then cover the dish or transfer to an airtight container. Refrigerate for up to 3 days. Reheat individual portions in the microwave or in a 350°F oven for 10–15 minutes.

Can I freeze zucchini gratin?

Yes, but the texture may become softer after thawing. Assemble the gratin without the breadcrumb topping, wrap tightly, and freeze for up to 2 months. Thaw in the refrigerator overnight, add the topping, and bake as directed, adding 10–15 minutes.

Do I need to peel the squash?

No, the skin is edible and adds color and texture. Just wash the squash well. If the skin is very tough (older squash), you can peel it, but it’s usually not necessary.

What can I serve with this gratin?

It pairs well with roasted chicken, grilled steak, pork chops, or fish. It also works as a vegetarian main dish when served over rice or with a side of crusty bread.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions