This comforting dish transforms roasted spaghetti squash into a creamy, cheesy gratin that rivals traditional potato versions. The squash is roasted until tender, then tossed with sautéed onions and garlic in a luxurious blend of sour cream, milk, and shredded cheeses. A hint of nutmeg adds warmth to the sauce, while generous amounts of Gruyère and Parmesan create that signature golden, bubbly topping.
Perfect as a vegetarian main course or hearty side, this low-carb gratin delivers all the satisfaction of classic comfort food. The naturally sweet squash pairs beautifully with the savory, creamy cheese sauce, and the golden crust adds delightful texture to every forkful.
The first time I made this, my kitchen mate walked in mid-shred and asked why I was making pasta strings out of a vegetable. We both stood there scraping away, completely mesmerized by how much this squash actually resembles spaghetti. That dinner turned into a laugh-filled experiment we still talk about.
I served this at a winter dinner party when my friend announced she was going low-carb and felt awkward about it. Watching her face light up when she realized she could still have something this indulgent was exactly the kind of kitchen moment that makes cooking worthwhile.
Ingredients
- 1 large spaghetti squash: Pick one that feels heavy for its size with a firm, unblemished skin about 3 pounds works perfectly
- 2 tablespoons olive oil: Divide this between roasting the squash and sautéing the aromatics
- 1 small yellow onion, finely chopped: The foundation of flavor that sweetens as it cooks down
- 2 cloves garlic, minced: Add this after the onion softens so it doesnt burn and turn bitter
- 1 cup shredded Gruyère cheese: This melts into gorgeous ribbons and brings that nutty, sophisticated flavor
- 1/2 cup grated Parmesan cheese: Adds salty depth and helps create that irresistible golden crust
- 1/2 cup sour cream: The secret to making the sauce incredibly lush without using much milk
- 2 tablespoons unsalted butter: Use this when cooking the onions for that rich, restaurant-quality base
- 1/4 cup milk: Whole milk gives the best consistency but 2 percent works fine too
- 1/2 teaspoon salt: Split between seasoning the squash before roasting and the final mixture
- 1/4 teaspoon ground black pepper: Freshly cracked makes a noticeable difference here
- 1/4 teaspoon ground nutmeg: Just a pinch creates that classic gratin warmth people cant quite identify
- 1 tablespoon chopped fresh parsley: Totally optional but the bright green looks stunning against all that golden cheese
Instructions
- Get the oven going:
- Preheat to 400°F and line a baking sheet with parchment paper while you prep the squash.
- Prep the squash:
- Cut it in half lengthwise this takes some muscle so use your sharpest knife and scoop out those seeds.
- Start roasting:
- Drizzle the cut sides with half the olive oil and season with some salt and pepper before placing cut-side down on the baking sheet.
- Roast until tender:
- Let it go for 35 to 40 minutes until a fork easily shreds the flesh into those amazing strands.
- Build the flavor base:
- While the squash roasts heat the remaining olive oil and butter in a skillet over medium heat.
- Cook the aromatics:
- Add the chopped onion and let it soften for about 5 minutes then toss in the garlic for just 1 minute more.
- Shred the squash:
- Let it cool slightly then use a fork to scrape all that flesh into spaghetti-like strands right into a large mixing bowl.
- Mix everything together:
- Add the onion and garlic sour cream milk half the Gruyère half the Parmesan nutmeg and remaining salt and pepper.
- Transfer to baking dish:
- Pour the mixture into a greased 2-quart baking dish and scatter the remaining cheeses all over the top.
- Bake until golden:
- Reduce the oven to 375°F and bake for 20 to 25 minutes until everything is bubbling and beautifully browned.
- Finish and serve:
- Sprinkle with fresh parsley if you want that pop of color and serve while its still steaming hot.
My sister called me mid-bite once asking why hers never tasted quite like mine. Turns out she was skipping the nutmeg and that tiny quarter teaspoon was the whole difference between good and absolutely incredible.
Making It Ahead
You can assemble everything up to a day before baking and keep it covered in the refrigerator. Just add 5 to 10 minutes to the final bake time if its coming straight from the cold.
Cheese Options
Sharp cheddar brings a bolder bite while fontina melts into the creamiest texture imaginable. Sometimes I do half Gruyère and half cheddar for the best of both worlds.
Serving Ideas
This works beautifully as a vegetarian main with a simple green salad dressed in vinaigrette. It also pairs perfectly alongside roasted chicken or pork chops for a more substantial meal.
- Try a drizzle of balsamic reduction over the top for a restaurant-style finish
- A handful of crispy breadcrumbs mixed with the topping cheese adds irresistible crunch
- Leftovers reheat surprisingly well in the microwave for next-day lunch
Theres something magical about taking something so simple and making it feel this special and comforting. Hope this brings cozy moments to your table too.
Recipe FAQs
- → Can I make spaghetti squash au gratin ahead of time?
-
Yes, you can assemble the entire 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 other cheeses work well in this gratin?
-
Sharp cheddar, fontina, Swiss cheese, or aged Gouda all make excellent substitutes or additions to the Gruyère. Each brings a slightly different flavor profile while maintaining that creamy, melty texture.
- → How do I know when the spaghetti squash is properly roasted?
-
The squash is ready when a fork easily pierces through to the skin and the flesh shreds into strands with minimal resistance. This typically takes 35-40 minutes at 400°F.
- → Can I freeze leftover spaghetti squash gratin?
-
Freshly baked gratin can be frozen for up to 2 months. Wrap tightly and thaw overnight in the refrigerator before reheating at 350°F until warmed through. The texture may be slightly creamier after freezing.
- → What can I serve with this au gratin?
-
This pairs beautifully with roasted chicken, pork tenderloin, or grilled fish. For a vegetarian meal, serve alongside a crisp green salad with vinaigrette to balance the rich, creamy flavors.