There’s nothing quite like the golden, bubbly top of a perfectly baked Zucchini Tomato Gratin emerging from the oven, filling your kitchen with that warm, aromatic promise of summer comfort.
My first attempt at this layered masterpiece was, well, let’s just say it resembled vegetable soup more than a gratin. I learned the hard way that properly salting and draining your zucchini isn’t optional – it’s absolutely essential for avoiding a watery mess.
Now this Zucchini Tomato Gratin has become my go-to way to satisfy both my craving for comfort food and my need to use up those endless summer vegetables.
Ingredients for Zucchini Tomato Gratin Recipe
- Zucchini: Choose medium-sized zucchini for the best texture – they’re less watery than large ones and slice beautifully into even rounds for perfect layering.
- Tomatoes: Ripe but firm tomatoes work best here, as they hold their shape during baking while releasing just enough juice to meld with the cheese sauce.
- Yellow Onion: Adds sweet, caramelized flavor that bridges the gap between the mild zucchini and acidic tomatoes – don’t skip this crucial flavor builder.
- Garlic: Fresh minced garlic infuses the entire dish with aromatic depth that makes this gratin absolutely irresistible and restaurant-worthy.
- Butter: The foundation of our creamy cheese sauce – use real butter for the richest flavor and smoothest texture in your roux base.
- All-Purpose Flour: Creates the thickening power for our cheese sauce – cook it well with the butter to avoid any raw flour taste in the final dish.
- Whole Milk: Warm it slightly before adding to prevent lumps in your sauce – the fat content creates that luxuriously creamy texture we’re after.
- Gruyère Cheese: This nutty, melting cheese is the star of the sauce, providing complex flavor that pairs perfectly with summer vegetables without overpowering them.
- Parmesan Cheese: Adds sharp, salty notes and helps create that gorgeous golden top we all crave in a proper gratin – freshly grated melts better.
- Nutmeg: Just a pinch enhances the cheese sauce with warm, aromatic notes that make this dish feel sophisticated and French bistro-worthy.
- Kosher Salt: Essential for drawing moisture from zucchini and seasoning every layer – don’t be shy, vegetables need more salt than you think.
- Fresh Thyme: These tiny leaves pack huge flavor that complements both vegetables beautifully – strip them from stems just before using for maximum potency.
- Fresh Basil: Adds bright, peppery notes that scream summer – add it between layers and save some for garnishing the finished golden gratin.
- Olive Oil: Helps vegetables caramelize slightly and prevents sticking – use good quality oil since you’ll taste it in the finished dish.
- Panko Breadcrumbs: Creates that coveted crispy, golden top layer that provides textural contrast to the tender, creamy vegetables underneath – regular breadcrumbs work too.
How to Make Zucchini Tomato Gratin Recipe
- Prep Vegetables:
- Slice zucchini and tomatoes into 1/4-inch rounds. Toss zucchini with 1 teaspoon salt, let drain in colander for 15 minutes, then pat completely dry with paper towels.
- Make Sauce:
- Melt butter in saucepan over medium heat. Whisk in flour, cook 2 minutes. Gradually add warm milk, whisking constantly until smooth and thickened, about 5 minutes.
- Add Cheese:
- Remove sauce from heat. Stir in Gruyère, half the Parmesan, nutmeg, remaining salt, and pepper until cheese melts completely and sauce is silky smooth.
- Sauté Aromatics:
- Heat olive oil in large skillet over medium heat. Cook onion until softened and lightly golden, about 8 minutes. Add garlic, cook 1 minute until fragrant.
- Layer Gratin:
- Spread thin layer of cheese sauce in buttered 9×13 baking dish. Layer half the zucchini, onion mixture, tomatoes, thyme, and basil. Repeat layers, top with remaining sauce.
- Add Topping:
- Combine panko with remaining Parmesan, sprinkle over top. Cover with foil, bake at 375°F for 30 minutes. Remove foil, bake 15 minutes until golden and bubbly.
- Rest & Serve:
- Let gratin rest 10 minutes before serving to allow layers to set properly. The top should be golden brown and the sauce should be bubbling around the edges.
There’s something so satisfying about watching that first golden forkful of Zucchini Tomato Gratin disappear, knowing you’ve transformed humble summer vegetables into something truly special. Sure, my kitchen usually looks like a cheese sauce explosion happened, and I always forget to buy enough Gruyère the first time, but when I see everyone going back for seconds, all that chaos feels worth it. This dish reminds me that the best comfort food doesn’t have to be complicated – sometimes it’s just about layering simple ingredients with a little love and a lot of good cheese.
How to Store Zucchini Tomato Gratin Recipe
Store leftover gratin covered in the refrigerator for up to 4 days in an airtight container or tightly wrapped with plastic wrap. The flavors actually improve overnight as everything melds together beautifully.
You can assemble this gratin completely up to 24 hours ahead – just cover and refrigerate, then add 10 extra minutes to the baking time. To reheat, cover with foil and warm in a 350°F oven for 15-20 minutes until heated through and bubbly again.

What to Serve with Zucchini Tomato Gratin Recipe
This gratin pairs perfectly with grilled chicken, roasted salmon, or a simple green salad for a complete meal. It also works beautifully as part of a vegetarian spread alongside crusty bread and a crisp white wine.
My personal favorite way to enjoy this is as the star of a summer lunch with just a handful of fresh arugula dressed with lemon vinaigrette – the peppery greens cut through the rich, creamy cheese sauce perfectly.

Frequently Asked Questions
- → Can I make this zucchini tomato gratin ahead of time for entertaining guests?
Yes! Assemble completely up to 24 hours ahead, cover and refrigerate. Add 10 extra minutes to baking time when cooking from cold.
- → What can I substitute for Gruyère cheese if I cannot find it anywhere?
Swiss cheese or fontina work well as substitutes. Even sharp cheddar works, though the flavor will be different but still delicious.
- → Why is my gratin watery even though I followed the recipe exactly?
You likely didn’t salt and drain the zucchini long enough. They need 15 minutes minimum, then thorough patting dry with paper towels.
- → Can I add other vegetables to this layered gratin for more variety?
Absolutely! Thinly sliced eggplant, yellow squash, or bell peppers work beautifully. Just maintain the same total vegetable volume for best results.
- → How do I know when the gratin is perfectly done and ready to serve?
The top should be golden brown and bubbling around edges. A knife inserted in center should meet little resistance from tender vegetables.

Zucchini Tomato Gratin Recipe
- Prep Time: 20 Minutes
- Cook Time: 45 Minutes
- Total Time: 1 Hour 5 Minutes
- Yield: 8 Servings 1x
- Cuisine: French
Description
How to make creamy zucchini tomato gratin with fresh herbs and melted cheese that turns summer vegetables into the most comforting layered dish.
Ingredients
Vegetables
- 3 medium zucchini, sliced into 1/4-inch rounds
- 4 large ripe tomatoes, sliced into 1/4-inch rounds
- 1 medium yellow onion, thinly sliced
- 3 cloves garlic, minced
Cheese Sauce
- 3 tablespoons butter
- 3 tablespoons all-purpose flour
- 1 1/2 cups whole milk, warmed
- 1 cup Gruyère cheese, grated
- 1/2 cup Parmesan cheese, grated
- 1/4 teaspoon nutmeg
Seasonings & Herbs
- 2 teaspoons kosher salt
- 1/2 teaspoon black pepper
- 2 tablespoons fresh thyme leaves
- 1/4 cup fresh basil, chopped
- 2 tablespoons olive oil
- 1/2 cup panko breadcrumbs
Instructions
- Prep Vegetables: Slice zucchini and tomatoes into 1/4-inch rounds. Toss zucchini with 1 teaspoon salt, let drain in colander for 15 minutes, then pat completely dry with paper towels.
- Make Sauce: Melt butter in saucepan over medium heat. Whisk in flour, cook 2 minutes. Gradually add warm milk, whisking constantly until smooth and thickened, about 5 minutes.
- Add Cheese: Remove sauce from heat. Stir in Gruyère, half the Parmesan, nutmeg, remaining salt, and pepper until cheese melts completely and sauce is silky smooth.
- Sauté Aromatics: Heat olive oil in large skillet over medium heat. Cook onion until softened and lightly golden, about 8 minutes. Add garlic, cook 1 minute until fragrant.
- Layer Gratin: Spread thin layer of cheese sauce in buttered 9×13 baking dish. Layer half the zucchini, onion mixture, tomatoes, thyme, and basil. Repeat layers, top with remaining sauce.
- Add Topping: Combine panko with remaining Parmesan, sprinkle over top. Cover with foil, bake at 375°F for 30 minutes. Remove foil, bake 15 minutes until golden and bubbly.
- Rest & Serve: Let gratin rest 10 minutes before serving to allow layers to set properly. The top should be golden brown and the sauce should be bubbling around the edges.
Notes
- Salt and drain zucchini for at least 15 minutes to prevent watery gratin.
- Warm milk before adding to roux to prevent lumps in cheese sauce.
- Assemble up to 24 hours ahead for easy entertaining – just add extra baking time.
- Let rest 10 minutes after baking for clean slices that hold their shape.
- Grate cheese fresh from block for better melting than pre-shredded varieties.
- Cover with foil first 30 minutes to prevent over-browning of top layer.
Allergy Information: Dairy, Gluten
Nutrition
- Calories: 285 calories
- Fat: 18g
- Carbohydrates: 16g
- Protein: 14g







