This satisfying dish transforms roasted spaghetti squash into a creamy, cheesy gratin. The squash strands are combined with sautéed onion and garlic, then mixed with sour cream, milk, and a blend of Gruyère and Parmesan cheeses. A touch of nutmeg adds warmth to the rich sauce. Baked until bubbling and golden, this creates a comforting low-carb alternative to potato gratin that delivers all the creamy, savory satisfaction you crave.
I stumbled onto spaghetti squash by accident during a grocery store misadventure when butternut was sold out. The cashier mentioned it strands like pasta when cooked and something in my brain clicked that maybe I could make a gratin without all the carbs. Now its the dish my sister requests for every family dinner.
Last winter my neighbor brought over a squash from her garden and I just roasted it plain. Later that night staring at the leftover strands I wondered what would happen if I treated it like my mothers potato gratin recipe. That experiment turned into the version Ive made twenty times since.
Ingredients
- 1 large spaghetti squash: About 3 pounds gives you the perfect ratio of squash to sauce without overwhelming the baking dish
- 2 tablespoons olive oil: One tablespoon for coating the squash before roasting another for sautéing the aromatics
- 1 small yellow onion: Finely chopped so it melts into the sauce rather than creating chunky bites
- 2 cloves garlic: Minced fresh because garlic powder would disappear in all that cheese
- 1 cup shredded Gruyère cheese: This melts into that incredible velvety texture sharp cheddar works too but Gruyère feels more elegant
- 1/2 cup grated Parmesan cheese: Adds that salty nutty punch that cuts through the creaminess
- 1/2 cup sour cream: The secret ingredient that makes the sauce feel decadent without using heavy cream
- 2 tablespoons unsalted butter: For sautéing the onion and adding just enough richness
- 1/4 cup milk: Whole or 2 percent thins the sour cream into a pourable sauce
- 1/2 teaspoon salt: Divided between seasoning the squash and the final mixture
- 1/4 teaspoon ground black pepper: Freshly cracked makes a huge difference here
- 1/4 teaspoon ground nutmeg: Just a whisper because nutmeg transforms cream sauces into something special
- 1 tablespoon chopped fresh parsley: Optional but pretty for serving and adds a fresh pop against all that cheese
Instructions
- Roast the squash base:
- Preheat your oven to 400°F and line a baking sheet with parchment paper. Cut the spaghetti squash in half lengthwise scoop out the seeds and drizzle the cut sides with 1 tablespoon olive oil and a pinch of salt and pepper. Place the halves cut side down and roast for 35 to 40 minutes until the flesh shreds easily with a fork.
- Build the flavor foundation:
- While the squash roasts heat the remaining olive oil and butter in a skillet over medium heat. Cook the onion until soft and translucent about 5 minutes then add the garlic for just 1 minute more until fragrant.
- Shred and combine everything:
- Let the roasted squash cool slightly then scrape the flesh into strands with a fork and transfer to a large bowl. Add the cooked onion mixture sour cream milk half of both cheeses nutmeg and remaining salt and pepper. Mix until every strand is coated in that creamy sauce.
- Bake until golden:
- Spread the mixture into a greased 2 quart baking dish and top with the remaining Gruyère and Parmesan. Reduce the oven temperature to 375°F and bake for 20 to 25 minutes until the cheese is bubbling and starting to brown in spots. Sprinkle with parsley before serving if you want it to look as good as it tastes.
My friend Sarah who swears she hates squash took one skeptical bite and immediately asked for the recipe. Now she makes it for her book club and tells everyone she invented it herself which I consider the highest form of flattery.
Make It Your Own
Sometimes I add a pinch of smoked paprika or cayenne to the cheese mixture for subtle warmth that cuts through the richness. Sharp cheddar or fontina work beautifully in place of Gruyère if you want to switch up the flavor profile.
Serving Suggestions
This works as a vegetarian main with a simple green salad or as a hearty side alongside roasted chicken or pork. The leftovers reheat surprisingly well though I rarely have any to save.
Getting Ahead
You can roast the squash and sauté the onion mixture up to two days in advance. Keep everything in separate containers in the refrigerator then combine and bake when youre ready.
- Let the roasted squash cool completely before storing to prevent condensation
- Bring everything to room temperature for 20 minutes before the final bake
- Add 5 minutes to the baking time if assembling cold from the fridge
Theres something magical about watching skeptical eaters become converts after just one bite of this unexpected comfort food.
Recipe FAQ
- → How do I know when the spaghetti squash is fully roasted?
-
The squash is ready when the flesh is tender and easily shreds into strands with a fork. This typically takes 35-40 minutes at 400°F. You should be able to scrape the flesh effortlessly without any resistance.
- → Can I make this ahead of time?
-
Yes, you can assemble the entire dish up to a day in advance and refrigerate it before baking. When ready to serve, bake at 375°F for 25-30 minutes, adding 5-10 minutes if baking from cold.
- → What other cheeses work well in this dish?
-
Sharp cheddar adds bold flavor, fontina creates exceptional meltiness, and Swiss cheese provides a nutty profile similar to Gruyère. You can also experiment with Monterey Jack for a milder taste or use a combination for depth.
- → Is this suitable for keto or low-carb diets?
-
Yes, this dish is naturally low-carb and keto-friendly. Spaghetti squash contains about 10 grams of carbs per cup, significantly less than potatoes or pasta. The remaining ingredients are all low-carb staples.
- → Can I freeze the leftovers?
-
Freshly baked leftovers freeze well for up to 3 months. Portion into airtight containers and thaw overnight in the refrigerator before reheating at 350°F for 15-20 minutes. The texture may become slightly softer after freezing.
- → How can I add more protein to this dish?
-
Consider adding shredded cooked chicken, crumbled bacon, or ham directly into the squash mixture. You can also serve alongside roasted chicken, pork chops, or incorporate white beans for a vegetarian protein boost.