This satisfying dish transforms roasted spaghetti squash into a rich, creamy gratin. The squash strands are tossed with a velvety blend of sour cream, milk, and melted Gruyère and Parmesan cheeses, accented with fragrant onions, garlic, and a hint of nutmeg. After roasting the squash until tender, it's combined with the luxurious cheese sauce and baked again until the top becomes golden and irresistibly bubbly. Each serving delivers comfort food satisfaction while keeping carbs low and flavor high.
The first time I served this at a dinner party, my friend who swore she hated squash went back for thirds. There is something magical about how the creamy Gruyère sauce clings to those tender strands, transforming humble vegetables into something that feels indulgent and comforting all at once.
Last winter, when we were all tired of heavy holiday food, this dish appeared on our table and immediately became the comfort food we craved. My husband actually said he liked it better than the traditional potato gratin his grandmother used to make, which is saying something.
Ingredients
- 1 large spaghetti squash: Pick one that feels heavy for its size with a firm, unblemished skin
- 2 tablespoons olive oil: Divide between roasting the squash and sautéing the aromatics
- 1 small yellow onion: Finely chopped so it melts into the sauce
- 2 cloves garlic: Minced fresh, never jarred for the best flavor
- 1 cup shredded Gruyère cheese: The nutty, melting cheese that makes this dish special
- 1/2 cup grated Parmesan cheese: Adds that salty, umami depth to the sauce
- 1/2 cup sour cream: Creates the velvety texture without needing flour
- 2 tablespoons unsalted butter: For sautéing the onions into sweet perfection
- 1/4 cup milk: Whole milk gives the best results, but 2% works too
- 1/2 teaspoon salt: Plus more for seasoning the squash before roasting
- 1/4 teaspoon ground black pepper: Freshly cracked makes all the difference
- 1/4 teaspoon ground nutmeg: The secret ingredient that makes creamy sauces taste professional
- 1 tablespoon chopped fresh parsley: Optional garnish that adds a pop of color
Instructions
- Get the oven going:
- Preheat to 400°F and line a baking sheet with parchment paper for easy cleanup
- Prep the squash:
- Cut it in half lengthwise, scoop out the seeds, then drizzle with 1 tablespoon oil and season with salt and pepper
- Roast until tender:
- Place cut-side down and roast for 35 to 40 minutes until a fork easily pierces the flesh
- Build the flavor base:
- While squash roasts, cook the onion in remaining oil and butter until soft, then add garlic for 1 minute
- Shred the squash:
- Let it cool slightly, then scrape with a fork to create those beautiful strands in a large bowl
- Make it creamy:
- Mix in the onion, garlic, sour cream, milk, half of both cheeses, nutmeg, salt, and pepper
- Assemble and top:
- Transfer to a greased 2-quart baking dish and sprinkle with remaining cheeses
- Bake until bubbly:
- Reduce heat to 375°F and bake for 20 to 25 minutes until golden and irresistible
- Finish and serve:
- Garnish with parsley if you like and bring it to the table while still steaming hot
This recipe saved me during a week when I had three friends on different diets visiting at once. It felt like a small victory to put something on the table that everyone could enjoy and actually get excited about.
Choosing The Right Squash
I have learned that spaghetti squash can vary wildly in flavor and texture. Look for ones with a deep golden yellow color rather than pale yellow, they seem to roast better and shred into more defined strands that really mimic pasta.
Make Ahead Magic
You can roast the squash and prepare the onion mixture up to two days ahead. Keep everything separate in the refrigerator, then toss together and bake when you are ready. The texture holds up surprisingly well.
Serving Suggestions
This works beautifully as a vegetarian main alongside a crisp green salad with bright vinaigrette. I have also served it alongside roasted chicken or as part of a holiday spread where it somehow manages to compete with all the traditional sides.
- A simple arugula salad with lemon dressing cuts through the richness perfectly
- Leftovers reheat at 350°F for 15 minutes covered with foil
- The dish actually tastes better the next day as flavors meld
There is something deeply satisfying about serving comfort food that happens to be good for you too. Watch people go quiet when they take that first bite.
Common Questions
- → Can I make this ahead of time?
-
Yes, you can assemble the entire dish up to 24 hours in advance and refrigerate. When ready to bake, add 5-10 minutes to the baking time since it will be cold.
- → What other cheeses work well?
-
Sharp cheddar, fontina, or Swiss cheese make excellent alternatives to Gruyère. You can also use a combination of different cheeses for more complex flavor.
- → Is this dish keto-friendly?
-
Yes, this is naturally low-carb and keto-friendly. The main carbohydrates come from the squash, which is much lower in carbs than traditional pasta or potatoes used in gratins.
- → How do I store leftovers?
-
Store in an airtight container in the refrigerator for up to 4 days. Reheat in the microwave or covered in the oven at 350°F until heated through.
- → Can I freeze this dish?
-
You can freeze the assembled, unbaked dish for up to 2 months. Thaw overnight in the refrigerator before baking. Already-baked leftovers can also be frozen but may have slightly softer texture.