Cheesy Baked Zucchini Gratin
This recipe for Cheesy Baked Zucchini Gratin features summer squash and onions in a creamy sauce topped with crispy, buttery breadcrumbs. It tastes light and rich at the same time with a delicate, mouthwatering flavor and can be on your table in under an hour.
This post may contain affiliate links.
I've never met a gratin I didn't love. From the classic Potato Gratin to a more unique Celery Root and Parsnip Gratin to this Cheesy Baked Zucchini Gratin, there's something about soft veggies in a luxurious cheesy cream sauce topped with a crunchy top that I just can't seem to get enough of.

Why this recipe works
- Using milk instead of cream keeps it light while still tasting rich and creamy.
- A pinch of nutmeg brings out the creamy notes in the sauce.
- Aged Gruyere cheese gives it a rich, full flavor without having to use a ton.
- Panko breadcrumbs form an ultra crispy topping that is a great contrast to the soft zucchini.
- Adapted from the one and only Ina Garten.

Essential Ingredients
- Zucchini - Green zucchini, also known as courgettes, are the most commonly used, but this recipe can be made with any summer squash variety such as yellow zucchini, yellow squash, pattypan squash, Zephyr squash, Cousa squash, or 8 ball zucchini.
- Gruyere Cheese - Gruyere cheese is classic in gratins and gives great flavor to the zucchini. Comté, Jarlsberg, Emmental or a high quality Swiss cheese would all make good substitutes if you can't get Gruyere.
- Nutmeg - Freshly grated nutmeg is best, otherwise make sure your ground nutmeg is fresh and hasn't been sitting in your pantry for years. The flavor degrades over time so it won't have the same impact. If you can't remember when you bought it, it's time to get a new one.
- Breadcrumbs - My recipe calls for Panko breadcrumbs becuase I always have them on hand and they're always light and crunchy, but the original recipe calls for fresh breadcrumbs, so if you have them, use those instead.

Helpful Equipment
- Mandoline - A mandoline slicer makes it faster, easier to cut the zucchini and onions into even, uniform slices, which in turn will cook more evenly. I like to use a cut-proof glove instead of the guard that comes with the slicer because it's safer and more effective.

Step by step instructions
- Preheat the oven to 400 degrees.
- Butter a small, shallow baking dish, about 7" x 10", or a 9-inch cast iron skillet and set aside.
- Melt 3 tablespoons of butter in a large sauté pan over medium heat. Add the onions and cook for about 6-8 minutes, stirring occasionally, until they are softened but not browned.
- Add the zucchini, toss around, then cover and cook for about 8 minutes until softened.
- Add the salt, pepper and nutmeg, then sprinkle the flour over top and mix.
- Add the milk, stir and continue cooking until the mixture has thickened, about 3-4 minutes.
- Pour the zucchini mixture into the prepared baking dish.
- Combine the breadcrumbs with the Gruyere cheese and sprinkle over the zucchini, then dot the remaining tablespoon of butter evenly over the top.
- Bake for about 20 minutes or until the top is golden brown and bubbling.
- Sprinkle chopped parsley or chives over the top to garnish, if desired. Allow to cool at least 10 minutes before serving.

Tips for success
- If using very large zucchini from the garden, they can sometimes have tough skin and large, hard seeds. In this case, it's best to peel and remove the seeds with a spoon before slicing.
- For a richer, more decadent zucchini gratin, swap out the milk for heavy cream and double the cheese.
- If baking in a convection oven, lower the heat to 375 degrees F or the top could brown too quickly.
- If the top of the gratin isn't browned enough by the time it's finished baking, pop it under the broiler for a minute or two. Watch it carefully so it doesn't burn.
Faq about Zucchini Gratin
Yes! Just substitute the flour for a 1-1 all purpose gluten free flour blend and use gluten free panko breadcrumbs for the top.

Related Recipes
Did you make this recipe and LOVE it? Please leave a star ⭐️ rating and/or comment to help other readers. I absolutely love hearing from you and do my best to answer all questions and comments. I love seeing when you make my recipes, so please tag me @ColeyCooks on Instagram and I will repost!
Want to Save This Recipe?
Enter your email & I'll send it to your inbox.
By submitting this form, you consent to receive emails from Coley Cooks.
Zucchini Gratin
Ingredients
- 4 tablespoons unsalted butter divided, plus more for buttering the baking dish
- ½ lb yellow onions about 2 medium cut in half and sliced
- 1 lb zucchini 2 medium or 1 extra large, sliced ¼ inch thick
- 1 teaspoon salt
- ½ teaspoon freshly ground black pepper
- ⅛ teaspoon freshly grated nutmeg
- 2 tablespoons flour
- ½ cup whole milk
- ¾ cup panko or fresh bread crumbs
- ¾ cup grated Gruyere cheese
- Minced fresh parsley or chives to garnish optional
Instructions
- Preheat the oven to 400 degrees.
- Butter a small, shallow baking dish, about 7" x 10", or a 9-inch cast iron skillet and set aside.
- Melt 3 tablespoons of butter in a large sauté pan over medium heat. Add the onions and cook for about 6-8 minutes, stirring occasionally, until they are softened but not browned.
- Add the zucchini, toss around, then cover and cook for about 8 minutes until softened.
- Add the salt, pepper and nutmeg, then sprinkle the flour over top and mix.
- Add the milk, stir and continue cooking until the mixture has thickened, about 3-4 minutes.
- Pour the zucchini mixture into the prepared baking dish.
- Combine the breadcrumbs with the Gruyere cheese and sprinkle over the zucchini, then dot the remaining tablespoon of butter evenly over the top.
- Bake for about 20 minutes or until the top is golden brown and bubbling.
- Sprinkle chopped parsley or chives over the top to garnish, if desired. Allow to cool at least 10 minutes before serving.
Notes
- If using very large zucchini from the garden, they can sometimes have tough skin and large, hard seeds. In this case, it's best to peel and remove the seeds with a spoon before slicing.
- For a richer, more decadent zucchini gratin, swap out the milk for heavy cream and double the cheese.
- If baking in a convection oven, lower the heat to 375 degrees F or the top could brown too quickly.
- If the top of the gratin isn't browned enough by the time it's finished baking, pop it under the broiler for a minute or two. Watch it carefully so it doesn't burn.
Nice presentation for a really flavorful dish. Will make it again and again and again with a little less onion!
So glad you enjoyed it!
Love this simple way of using up all the zuchs from my garden!
We loved this. Had enough for leftovers too and was just as good the next day. Saving to make again, thanks
So good!!! I used the onion I got with my CSA so now sure what kind I used, but it was delicious!
Thank you so much Sue!! 🙂
Needs more Jeffrey.
duh.
I can't wait to make this!!
yay! I hope you do!!
- The simplest inniedregts are usually the most beautiful, and you've proved this once again! Those eggs look like pure sunshine. I could just about taste the persimmons (possibly because I've been eating them all day); and the pasta dish reminded me that I have some sun-dried tomatoes in the fridge that need some attention!Enjoy!
The more cheese the better! I love zucchini, I'll have to give this a shot. And PS- I totally pretend I know all of the Food Network chefs too hahah. Hey, I know you!
Haha! Glad I'm not alone
I like how Ina says gratin all fancy, not at all like we say it in the south. Those photos! I can almost taste that crispy buttery crust.
Haha, totally! Crispy buttery crusts are my kryptonite!
What? No video this time? I'm bummed... BUT, you gave me yet another wonderful recipe to use for our ever-abundant supply of zucchini and yellow squash this year. I'm feeling a little like Forrest Gump's friend this past week (when he's talking about all the different ways to cook shrimp)... "There's Zucchini and Potato Pancakes, Pickled Zucchini, Zucchini Bread, Zucchini and Carrot Casserole, Eggs and Zucchini, Zucchini Spaghetti ... okay, I better stop now. Thank you, thank you, thank you! I'm adding this to the arsenal!
Videos are every Friday! Regular old picture blogs every Tuesday. I know, it's confusing for me too, hehe. So glad I could give you a new zucchini recipe! Working on a video for my favorite zucchini fritters now 🙂
This looks so good! I have a ton of zucchini sitting on my counter begging to be gratin-ified...totally going to try this!
Awesome! You can never go wrong with Ina 🙂