This comforting low-carb dish transforms roasted spaghetti squash into a rich, creamy gratin. The squash strands are tossed with a velvety sauce made from sour cream, milk, and melted butter, then loaded with shredded Gruyère and grated Parmesan. A hint of nutmeg adds warmth while onion and garlic provide aromatic depth. After roasting the squash until tender, everything gets mixed together and baked until the top turns golden brown and bubbly. The result is a satisfying vegetarian main or hearty side that delivers all the comfort of traditional potato gratin with fewer carbohydrates.
The first time I made this, my husband actually thought it was regular pasta au gratin. He took three bites before pausing and asking why the noodles felt lighter. Watching someone realize they have been happily eating vegetables the whole time is one of my favorite kitchen moments.
Last winter when my sister was doing a low carb experiment, she was craving something that felt like a proper comfort meal. We made this together on a snowy Sunday afternoon. She took one bite and literally said this changes everything about diet food. That is the moment this recipe became a weekly regular in our house.
Ingredients
- 1 large spaghetti squash: Look for one that feels heavy for its size with a hard, dull rind. The 3 pound size yields exactly the right amount of strands without leaving you swimming in squash.
- 2 tablespoons olive oil: One for coating the squash before roasting and one for sautéing the aromatics. Extra virgin adds a nice fruity base note.
- 1 small yellow onion, finely chopped: Yellow onions become sweeter and more mellow as they cook, which balances the tangy cheese sauce perfectly.
- 2 cloves garlic, minced: Fresh garlic, not the jarred stuff. The difference matters here since the garlic flavor shines through the creamy sauce.
- 1 cup shredded Gruyère cheese: Gruyère melts into that gorgeous velvety consistency and brings a nutty complexity that sharp cheddar just cannot match.
- 1/2 cup grated Parmesan cheese: Use the wedge you grate yourself, not the shaker can. The salty umami punch transforms the whole dish.
- 1/2 cup sour cream: This is the secret weapon. It adds tang and richness without making the sauce too heavy or gloppy.
- 2 tablespoons unsalted butter: For sautéing the onions and garlic. Butter makes everything taste like home.
- 1/4 cup milk: Whole milk gives the best consistency. Anything thinner and the sauce might separate on you.
- 1/2 teaspoon salt: Split between seasoning the squash and the sauce. Taste as you go since the cheese adds salt too.
- 1/4 teaspoon ground black pepper: Freshly cracked makes a noticeable difference in brightness and depth.
- 1/4 teaspoon ground nutmeg: Just a whisper. It is a classic French béchamel trick that makes the cheese sauce taste more sophisticated and complete.
- 1 tablespoon chopped fresh parsley: Optional but that hit of green and fresh flavor makes the finished dish look like something from a restaurant.
Instructions
- Roast the squash:
- Preheat your oven to 400°F and line a baking sheet with parchment. Carefully cut the squash in half lengthwise, scoop out the seeds, drizzle the cut sides with 1 tablespoon olive oil, and sprinkle with salt and pepper. Place cut side down and roast for 35 to 40 minutes until tender.
- Sauté the aromatics:
- While the squash roasts, heat the remaining olive oil and butter in a skillet over medium heat. Cook the onion about 5 minutes until soft and translucent, then add garlic for just 1 minute more until fragrant.
- Shred the squash:
- Let the cooked squash cool until you can handle it, then use a fork to scrape the flesh into strands. It should pull away from the skin in beautiful spaghetti like threads.
- Make the sauce mixture:
- In a large bowl, combine the squash strands with the onion and garlic, sour cream, milk, half the Gruyère, half the Parmesan, nutmeg, salt, and pepper. Mix until everything is evenly coated.
- Assemble and bake:
- Transfer to a greased 2 quart baking dish and top with the remaining cheeses. Reduce oven temperature to 375°F and bake for 20 to 25 minutes until the top is golden and bubbling around the edges.
This became my go to for potlucks after I brought it to a Thanksgiving gathering and watched two people who claim to hate squash go back for seconds. There is something magical about a dish that feels indulgent while secretly being good for you.
Make It Ahead
You can assemble the entire gratin up to 24 hours in advance and keep it refrigerated. Just add 5 to 10 minutes to the baking time if it is cold from the fridge. The flavors actually meld better this way.
Cheese Swaps
While Gruyère is traditional, I have made this with sharp cheddar for a more kid friendly version, fontina for extra creaminess, or a mix of smoked Gouda and Monterey Jack when I want something more assertive. Stick to cheeses that melt well.
Serving Ideas
This works as a satisfying vegetarian main or pairs beautifully with roasted chicken, pork loin, or even as part of a holiday spread alongside heavier sides. The portion size is generous enough that most people treat it as a main dish.
- Try adding a pinch of cayenne to the sauce if you like a little heat
- Crispy pancetta or crumbled bacon makes an excellent garnish
- A simple green salad with bright vinaigrette balances the richness perfectly
There is something deeply satisfying about a dish that tricks you into loving vegetables. That golden, bubbling cheese crust never fails to make everyone gravitate toward the kitchen.
Recipe FAQs
- → Can I make spaghetti squash au gratin ahead of time?
-
Yes, you can assemble the dish up to 24 hours in advance and refrigerate it before baking. Add 5-10 minutes to the baking time if baking cold from the refrigerator.
- → What cheeses work best in this gratin?
-
Gruyère offers excellent melting properties and nutty flavor, but you can substitute sharp cheddar, fontina, or Swiss. Parmesan adds salty depth and creates a beautiful golden crust.
- → Is spaghetti squash au gratin keto-friendly?
-
Yes, this dish is naturally low in carbohydrates and suitable for keto diets. Spaghetti squash contains about 10 grams of carbs per cup compared to 40+ grams in pasta.
- → How do I know when the squash is properly roasted?
-
The squash is ready when a fork easily pierces through to the skin and the flesh shreds into strands without resistance. This typically takes 35-40 minutes at 400°F.
- → Can I freeze leftover gratin?
-
Leftovers freeze well for up to 3 months. Portion into airtight containers and thaw overnight in the refrigerator before reheating in a 350°F oven until warmed through.