The first time I made this cheesy garlic zucchini gratin, my kitchen filled with the most tempting aroma — garlic and melted cheese dancing together. It was a hit with my family, even with the kids who usually shy away from veggies!
What sets this recipe apart is the creamy cheese topping that brings everything together, creating a rich, comforting dish that you'll find yourself craving again and again.
Why This Recipe Works
- Zucchini's High Water Content: Zucchini contains a lot of water, which helps create a smooth, creamy texture in the gratin as it bakes. The moisture released during cooking melds with the heavy cream, ensuring every bite is rich without being overly greasy.
- Garlic's Flavor Enhancement: When minced and sautéed, garlic releases its natural oils, intensifying its flavor and aroma. This step brings out the sweetness of the garlic, which beautifully complements the creamy sauce.
- Cheese Melting Characteristics: Using a combination of mozzarella and Parmesan not only gives a wonderful texture but also a depth of flavor. I’ve tried this with just mozzarella, but the addition of Parmesan makes the gratin richer and adds that tempting umami kick.
- Baking Creates a Golden Crust: The process of baking allows the top layer of cheese to melt and brown, creating a pleasureful contrast between the creamy interior and the crispy topping. I found that broiling for the last few minutes gives you that perfect golden finish.
Ingredients
What You'll Need
- 4 medium zucchini look for firm, glossy skin; avoid any soft spots for the best texture.
- 2 tbsp olive oil extra virgin adds a lovely depth of flavor during roasting.
- 1 tsp salt adjust based on your taste; it enhances all the flavors.
- 1/2 tsp black pepper freshly ground pepper gives a better aroma and taste.
- 3 cloves garlic fresh garlic brings a robust flavor; feel free to adjust based on your love for garlic.
- 1 cup heavy cream adds richness; half-and-half can be used for a lighter option.
- 1 cup shredded mozzarella cheese a gooey, melty texture is key, so go for high-quality cheese.
- 1/2 cup grated Parmesan cheese adds a nutty, salty depth of flavor that pairs beautifully with zucchini.
- 1 tsp dried thyme this herb complements the zucchini well; fresh is even better if you have it.
- 1/4 cup fresh parsley, chopped adds a bright, fresh finish to your cheesy garlic zucchini gratin.
When picking zucchini, choose ones that feel heavy for their size. They should be shiny and firm, indicating freshness. The combination of mozzarella and Parmesan creates a beautifully creamy and cheesy layer that enhances the dish.
Easy Substitutions
- Dairy-free: swap heavy cream for coconut cream — result changes to a slightly sweeter flavor and a creamier texture, but you'll lose some of the savory notes.
- Gluten-free: this recipe is naturally gluten-free, so no substitutions are necessary!
- Lower calorie: swap heavy cream for low-fat milk — result changes to a lighter dish, but it may not be as creamy.

Step-by-Step Instructions
Prep & Toss
- 1. Preheat your oven to 400°F; this ensures the gratin bakes evenly and develops that beautiful golden crust.
- 2. In a large bowl, toss the sliced zucchini with olive oil, salt, and pepper until they're evenly coated — this helps the zucchini soften and absorb flavors while baking. You want each slice glistening with oil, not too greasy, but just enough to keep them moist.
- 3. In a medium saucepan over medium heat, sauté the minced garlic in a little olive oil for 1-2 minutes until fragrant — that rich aroma signals the garlic is ready, and it adds depth to the cheese sauce.
Make the Sauce & Assemble
- 4. Add the heavy cream and dried thyme to the saucepan, stirring for another 2-3 minutes until warmed through — the cream thickens slightly, creating a smooth sauce that clings to the zucchini. If it looks too thin, just let it simmer a bit longer to thicken up.
- 5. Remove the saucepan from heat, then stir in the mozzarella and Parmesan cheese until melted and combined — this creates that gooey, cheesy goodness you crave in a cheesy garlic zucchini gratin.
- 6. In a greased 9x13 inch baking dish, layer the zucchini rounds evenly — make sure they're not overlapping too much so all pieces cook properly.
- 7. Pour the cheese sauce over the zucchini, ensuring all pieces are well coated. You want every bite cheesy and creamy, not dry or bland.
- 8. Sprinkle additional mozzarella cheese on top for that extra flavor boost and a wonderfully melty finish.
Bake & Serve
- 9. Bake in the preheated oven for 25-30 minutes, or until the top is golden and bubbly — you'll hear that delightful bubbling sound as it cooks, and the top should be a lovely golden brown.
- 10. Remove from the oven and let it cool for 5 minutes before serving — this resting time helps everything set a bit, making it easier to scoop.
- 11. Garnish with fresh chopped parsley before serving to add a splash of color and freshness on top of the rich flavors.
Tips & Tricks
Choosing the Right Zucchini
I always look for medium-sized zucchini when making cheesy garlic zucchini gratin. Smaller zucchini can be too watery, while larger ones might have tough seeds. Look for firm, glossy skin and feel the weight in your hand — that’s a sign of freshness. Trust me, using the right zucchini makes a world of difference in texture and flavor.
Mind the Garlic
When it comes to garlic, fresh is always best. I used to rely on pre-minced garlic, but I found that freshly minced garlic has a brighter, more vibrant flavor. Plus, don’t be shy about adding extra if you love that garlicky punch — just make sure to sauté it gently until fragrant, so it doesn’t burn. Overcooked garlic can turn bitter, and you definitely don’t want that in your gratin!
Pro Tips
- Use a mandoline for even slices: A mandoline slicer gives you perfectly uniform zucchini slices, which cook evenly for that ideal texture. I made this gratin with and without one, and the difference in cooking time and doneness was noticeable!
- Layer with fresh herbs for depth: Adding fresh herbs like thyme or oregano between layers boosts the flavor profile and adds aromatic notes. I love to sprinkle in some fresh basil right before serving for a touch of color and freshness.
- Pre-cook zucchini to reduce moisture: Sautéing the zucchini for a few minutes before layering helps to draw out excess moisture, preventing a soggy gratin. I learned this the hard way after my first batch turned out too watery.
- Experiment with cheese blends: Mixing different cheeses like Gruyère and mozzarella creates a unique flavor and texture. I often use a combination for the ultimate cheesy pull and rich taste.
- Use panko for extra crunch: Topping your gratin with panko breadcrumbs instead of regular breadcrumbs gives a pleasureful crunch. I like to mix in some grated Parmesan for an added layer of flavor and a golden finish.
Variations & Customizations
Flavor Twists
Mediterranean Delight
Add 1 cup halved cherry tomatoes and 1/2 cup pitted Kalamata olives to the zucchini before baking. This version bursts with vibrant colors and a tangy flavor, making each bite a pleasureful Mediterranean escape.
Spicy Kick
Incorporate 1/2 teaspoon red pepper flakes into the garlic mixture before tossing with the zucchini. The result is a warm, zesty gratin that has a nice heat to balance the creamy texture.
Unexpected Surprises
Zucchini and Sweet Potato Fusion
Mix in 1 cup finely grated sweet potato with the zucchini. This adds a natural sweetness and a pop of orange color, creating a slightly sweeter, earthier flavor profile that’s surprisingly delicious.
Storage & Meal Prep
Room Temperature
Cheesy garlic zucchini gratin should be kept at room temperature for no more than 2 hours. Store it in an airtight container to prevent it from drying out or absorbing any unwanted odors.
Refrigerator
In the refrigerator, it will stay fresh for up to 3 days. Make sure to let the gratin cool completely before transferring it to an airtight container to avoid sogginess. You can also cover the container with plastic wrap for extra protection.
Freezer
If you want to freeze it, it can last up to 2 months. Flash freeze it on a baking sheet first, then wrap individual portions tightly in plastic wrap and place them in a freezer-safe bag. When you're ready to enjoy it, thaw in the refrigerator overnight before reheating.
Meal Prep
For meal prep, I recommend doubling the recipe so you have plenty on hand. Prepare it the night before and store in individual portions in glass containers. It will stay fresh for about 3 days in the fridge, and to reheat, pop it in the oven at 350°F for about 20 minutes, or until heated through.
Frequently Asked Questions
Can I use yellow squash instead of zucchini?
Yes, yellow squash can be used as a substitute for zucchini in this gratin. It has a slightly sweeter flavor and similar texture, making it a great alternative.
Why did my cheesy garlic zucchini gratin turn out watery?
A common reason for a watery gratin is not salting the zucchini beforehand. Salting helps draw out excess moisture, so be sure to let them sit for about 15 minutes before assembling.
Can I make this gratin ahead of time?
Absolutely! You can prepare the gratin up to the baking step and refrigerate it for a day. When you're ready to bake, just pop it in the oven; you may need to add a few extra minutes to the cooking time.
Is there a way to make this recipe dairy-free?
To make a dairy-free version, swap out the cheese for a plant-based alternative like nutritional yeast or dairy-free cheese. You can also use coconut cream to add creaminess without the dairy.
What can I serve with cheesy garlic zucchini gratin?
This gratin pairs wonderfully with grilled chicken or fish for a light meal. You can also serve it alongside a fresh salad for a delicious, balanced dinner.
This cheesy garlic zucchini gratin is a pleasureful way to enjoy summer's bounty, with its creamy texture and rich flavors making it a family favorite in my home. For the best results, don’t skip the fresh garlic — it really enhances the dish! I can’t wait for you to try it, so please leave a comment or share your version with me on Pinterest!