This cheesy Zucchini Gratin is a simple, flavorful way to use up all that summer squash. We start with fresh zucchini and layer it with our easy keto cheese sauce and then top it off with extra shredded cheese. This comes out so decadent and flavorful – even the kids love this one!

Would you like to save this recipe?
We planted a decent sized garden for the first time in many years and I am so darn excited for the zucchini and yellow squash I have planted.
It remains to be seen if they’ll survive me and my random watering patterns. I swear, one week I water them daily. The next week…nothing. So far they seem to be tolerating my novice gardening skills fairly well though!
Fingers are crossed though, because we have this cheesy zucchini gratin on repeat in my house and I can’t wait to try it with my home grown zucchini!
This eats like a decadent comfort food dish that Grandma made, but the macros are a bit more friendly than anything my Grandma ever considered cooking. 😉
The best part? Even my kids (who normally treat vegetables like they’re personally offensive) actually ask for seconds. I’m talking about the same child who once staged a protest over a single green bean.
This gratin has become my go-to side dish for basically everything. Ranch grilled chicken? Yes. Steak bites? Absolutely. That random Tuesday when I’m too tired to think of vegetables? This is my answer.
♥ 3 Reasons You’ll Love This Recipe:
- It’s ridiculously easy. Most of the “work” is just waiting around while salt does its magic on the zucchini.
- The flavor combo is pure magic. Sharp cheddar meets nutty gruyere in a creamy sauce that makes vegetables actually craveable.
- You’ll look like a kitchen genius. People will think you spent hours on this when really, you just layered stuff in a dish and stuck it in the oven.
Step by Step Instructions for Zucchini au Gratin:

Slice the zucchini into 1/4 inch rounds and lay them on a rimmed baking sheet that’s lined with paper towels. Sprinkle salt over the zucchini and let set for about 45 minutes. This will draw moisture from the zucchini. Wipe any excess salt off with a paper towel.

While the zucchini is doing it’s thing, add some cream and cream cheese to a sauce pan and let those melt together. Add in your seasonings, turn off the heat, and then stir in the shredded cheddar and gruyere. The hot cream will melt the cheese.

Arrange the slices of zucchini in your baking dish and pour over half of the cheese sauce. Repeat the layers and sprinkle the remaining shredded cheese over the top. Bake for 35 minutes.
Swaps & Tips
Want to switch things up? Here’s what I’ve learned works (and what doesn’t):
For the cheese, you can easily swap the gruyere for more cheddar or try monterey jack for a milder flavor. I wouldn’t recommend using pre-shredded cheese here though. It doesn’t melt as smoothly and you’ll miss out on that creamy texture we’re going for. Trust me, grating your own cheese is worth the extra few minutes.
If you’re not into zucchini, yellow squash works exactly the same way. Just make sure to salt it like we do with the zucchini. I’ve also had readers tell me they’ve tried this with thinly sliced eggplant, but I haven’t tested that myself.
For a lighter version, you could try half-and-half instead of heavy cream, but the sauce won’t be quite as rich. If you go this route, maybe add an extra ounce of cream cheese to help with the thickness.
One thing I’ve learned the hard way: don’t skip the resting time after you take it out of the oven. I know it’s tempting when it smells so good, but those 5 minutes really help everything set up properly.
Storage:
Fridge life: Keeps for up to 4 days covered – reheats beautifully in the microwave without getting weird like some cheese dishes do.
Freezer situation: Honestly haven’t tried it because we eat it too fast, but cream sauces can get funky when thawed (let me know if you test this out!).

Recipe FAQs:
It’s 100% normal for there to be a bit of liquid in the dish…zucchini just has a lot of water in it. We minimized it by salting the zucchini and draining away the excess, but there will still be a bit in the bottom of the dish. Use a slotted spoon to serve and it’s no problem at all.
Nope! Because of the water content in the zucchini, we’re doing everything we can to get that extra liquid out. Leaving the dish uncovered helps some of that liquid to evaporate.
MORE LOW CARB SIDE DISH RECIPES!
- Baked Feta Veggies
- Garlic Parmesan Green Beans
- Roasted Cauliflower and Brussels Sprouts
- Szechuan Green Beans
- Loaded Cauliflower Salad
- Air Fryer Vegetables


Zucchini Gratin
Ingredients
- 4 medium zucchini
- 1/2 tablespoon kosher salt
- 1 cup heavy cream
- 2 ounces cream cheese
- 2 cups shredded cheddar divided
- 1/2 cup shredded gruyere divided
- 1 teaspoon garlic powder
- 1 teaspoon onion powder
- ½ teaspoon ground mustard
- pepper to taste
Instructions
- Slice the zucchini into ¼ inch rounds. Place on a paper towel lined baking sheet and sprinkle with the salt. Let set for 45 minutes to remove moisture from the zucchini.
- Preheat oven to 400 degrees.
- While the zucchini is setting, make the cheese sauce by adding the cream and cream cheese to a small sauce pan over low heat. Stir until the cream cheese has melted and the mixture is hot.
- Add the garlic powder, onion powder, and ground mustard and whisk to combine.
- Remove from the heat and stir in 1 ½ cups of cheddar and ¼ cup of Gruyere. Whisk until smooth and creamy.
- Pat zucchini dry, wiping off any large amounts of salt, and place half of the zucchini in a greased 8×8 baking dish. Sprinkle with ground pepper.
- Spoon half of the cheese sauce over the zucchini and spread to coat.
- Place remaining zucchini in the dish, top with the remaining cheese sauce, and sprinkle with the remaining cheddar and Gruyere.
- Bake uncovered for 30-35 minutes. Let set for 5 minutes before serving.
Becky Hawkins says
Would I need to salt the crook neck squash also prior to prep??
Karly Campbell says
Yes, I would. 🙂
April Harvey says
Excellent recipe. I opted to double it and use a 11X7 pyrex glass baking dish. I used 1/2 cream cheese and 1/2 Boursin cheese garlic and herbs. I also changed the powdered garlic to freeze dried garlic and powdered onion for dehydrated chopped onion. When I doubled it I lessoned the cream by 1/4 cup. I added a sprinkle of uncured chopped cooked bacon on top. The flavor profile in the original is excellent as is I just used what I had on hand. This was a crowd please even from nonketo people. Yummy
Karly Campbell says
Sounds delicious! I’m glad it was a hit for you!
Karen Perrine says
Does this freeze well?
Karly Campbell says
I haven’t tried freezing this one. I’m really not sure how would it do.
Karen Perrine says
We loved this!! Made it with pork chops. Yummy!!
Karly Campbell says
I’m so glad you enjoyed it! Thanks for sharing!
Toni says
Absolutely delicious made it tonight with pork chops. Next time will add a little bacon on top!
Karly Campbell says
Great idea to add bacon! My husband would approve, haha. 🙂
Missy says
Can you tell me how many cups of zucchini to use? I know 4 med zucchini, but medium is dependent upon each person’s interpretation. Lolol. Especially if They’re home grown. They tend to be larger.
Karly Campbell says
Hi Missy! I didn’t measure the slices. You really can’t mess this up though…if you have less zucchini, it will be more cheesy. If you use more zucchini, it will be less cheesy. 🙂
Brenda says
Can this be made a day a head and reheated?
Karly Campbell says
While you can definitely do this, it’s going to look and taste best when it’s freshly made. The zucchini will continue to release liquid as it sets and the cheese sauce will start to separate.
Brenda says
Thank you Karly! Making this for the first for Thanksgiving.
Stacey Ann Downs Smith says
If I can’t find greyere cheese, can I substitute another?
Karly Campbell says
Sure! Any cheese you like would work well here.
Lorena Pena says
Hi Karly! I will be making this tonight. What main dish do you serve it with? Any suggestions?
Thank you!
Karly Campbell says
Hi Lorena! We really serve this alongside just about any protein – grilled chicken or steak in the summer, baked chicken legs, ham, roasted chicken in the cooler months… You can’t go wrong. You can find all of our main dish recipes here: https://thatlowcarblife.com/category/low-carb-main-dishes/
Berni says
I just made this, smells delish!!!
Sharon FREY says
Looks so delicious! Want to do it NOW haha
I love how you give hints and explain everything!
You are great at what you do!
Karly Campbell says
Thank you so much, Sharon! Really appreciate that! 🙂
Vanessa says
This looks soooo good. I can’t believe I never thought to au gratin zucchini before. Also the salting tip is very helpful.
Thank you