Spaghetti Squash Gratin

Introduction
The oven exhales a warm, nutty sigh as strands of golden squash loosen into silk, ready to cradle a creamy, cheesy embrace. A subtle crust forms like a memory on the surface—small, precise, inevitable. If you love the slow, consoling geometry of gratins, this recipe echoes the same comfort as a classic potatoes au gratin.

Why make this recipe
This Spaghetti Squash Gratin is an honest offering: lighter than a potato-based dish, yet rich in texture and molten, savory layers. It celebrates the squash’s delicate threads, coaxing them into a velvety béchamel that gleams with Gruyere and cheddar. For evenings when you yearn for something both restorative and refined, it carries you there, much as a simple potatoes au gratin does for colder nights.

How to make Spaghetti Squash Gratin
Begin by honoring the squash—roasting it slowly so each strand keeps its shape yet invites sauce to cling. Build a slow, fragrant roux with butter, onion, and garlic; let the milk thicken until it becomes a satin cloak. Fold the squash into the cheese sauce gently, so the threads remain distinct but wholly surrounded. Finish with a crisp, golden topping that crackles under the fork.

Ingredients:

  • 1 large spaghetti squash (about 3-4 pounds)
  • 4 tablespoons unsalted butter, divided
  • 1 medium yellow onion, finely chopped
  • 2 cloves garlic, minced
  • 4 tablespoons all-purpose flour
  • 3 cups whole milk
  • 1/2 teaspoon salt, plus more to taste
  • 1/4 teaspoon black pepper, plus more to taste
  • 1/4 teaspoon nutmeg
  • 1 cup grated Gruyere cheese, divided
  • 1 cup grated sharp cheddar cheese, divided
  • 1/2 cup grated Parmesan cheese, divided
  • 1/4 cup panko breadcrumbs
  • 2 tablespoons chopped fresh parsley, for garnish (optional)

Directions:

  1. Preheat oven to 400 F (200 C).
  2. Cut the spaghetti squash in half lengthwise, scoop out the seeds, drizzle with 2 tablespoons melted butter and season with salt and pepper. Place cut-side down on a baking sheet and roast for 45-60 minutes until tender.
  3. Once cool, shred the spaghetti squash with a fork.
  4. In a saucepan, melt the remaining butter over medium heat, sauté onion until softened, then add garlic and cook for 1 more minute.
  5. Sprinkle flour over the onion and garlic, cook to form a roux.
  6. Gradually whisk in the milk until smooth; bring to a simmer, stirring constantly for 5-7 minutes until thickened.
  7. Stir in salt, pepper, nutmeg, and 3/4 cup each of Gruyere and cheddar cheese until melted.
  8. Combine the shredded squash with the cheese sauce.
  9. Transfer to a greased 9×13 inch baking dish.
  10. In a bowl, mix remaining cheeses and panko for topping, sprinkle over the squash mixture.
  11. Bake for 20-25 minutes until golden brown and bubbly.
  12. Let rest for 5-10 minutes; garnish with parsley and serve hot.

How to serve Spaghetti Squash Gratin
Serve this gratin straight from the oven while the interior is still sighing with warmth. Spoon generous portions onto warm plates so the cheese remains molten and the breaded top keeps its crackle. It pairs beautifully with a crisp green salad and, if you would like to close the meal with something small and rustic, consider a light-spiced apple dessert such as an applesauce cake with cinnamon cream cheese frosting.

How to store Spaghetti Squash Gratin
Cool completely, then cover tightly and refrigerate for up to 3–4 days. Reheat in a 350 F (175 C) oven until warmed through and the topping regains a little of its crunch—about 15–20 minutes—so texture returns to its original, inviting state. For longer storage, freeze in an airtight container for up to 2 months; thaw overnight in the refrigerator before baking to refresh.

Tips to make Spaghetti Squash Gratin

  • Roast the squash cut-side down to concentrate sweetness and encourage even tenderness.
  • Drain any excess liquid from shredded squash if it seems wet; you want threads that hold sauce, not swim in it.
  • Use whole milk for richness; a splash of cream can be substituted for a silkier texture.
  • Let the béchamel become noticeably thick—when it coats the back of a spoon it is ready to embrace the squash.
  • Reserve some cheese for the topping to ensure a deeply browned, savory crust.

Variations (if any)

  • Herb-forward: stir in chopped fresh thyme or basil into the sauce for an aromatic lift.
  • Mushroom and shallot: sauté thinly sliced mushrooms with the onion for an earthy addition.
  • Lighter: swap half-and-half for milk and reduce cheeses slightly for a more delicate finish.
  • Basil accent: fold in finely chopped basil for a bright note reminiscent of Mediterranean gratins.

FAQs
Q: Can I use pre-shredded spaghetti squash from the store?
A: Freshly roasted and shredded squash has the best texture and flavor, but pre-shredded squash can work in a pinch—be sure to squeeze out excess moisture before combining with the sauce.

Q: Can I make this dairy-free or vegan?
A: Yes. Use a plant-based butter and a creamy non-dairy milk (like oat or cashew), thicken carefully with the flour, and substitute vegan cheeses designed to melt; flavor will be slightly different but still comforting.

Q: How can I prevent the gratin from becoming watery?
A: Roast the squash thoroughly and let it cool slightly before shredding; press out any lingering liquid. Also allow the sauce to thicken fully so it clamps to the strands rather than separating.

Q: Is it possible to prepare this ahead of time?
A: Assemble the gratin up to the baking step and refrigerate, covered, for up to 24 hours. Add a few extra minutes to the baking time when cooking from chilled.

Conclusion

For a different take on this dish, you might enjoy the detailed sister-recipe found at The Buttered Home’s spaghetti squash gratin, which explores subtle textural tweaks. For a basil-accented variation that brightens the gratin’s palette, see the thoughtful approach at NYT Cooking’s spaghetti squash gratin with basil.

There is a quiet pleasure in tending to layers—of squash, sauce, and crust—and in watching patience transform ordinary ingredients into something luminous.

Baked Spaghetti Squash Gratin topped with cheese and herbs

Spaghetti Squash Gratin

A lighter alternative to classic potatoes au gratin, this dish combines roasted spaghetti squash with a creamy béchamel sauce and a crispy cheese topping.
Prep Time 20 minutes
Cook Time 1 hour 15 minutes
Total Time 1 hour 35 minutes
Servings: 6 servings
Course: Main Course, Side Dish
Cuisine: American
Calories: 360

Ingredients
  

For the Gratin
  • 1 large spaghetti squash (about 3-4 pounds)
  • 4 tablespoons unsalted butter, divided 2 tablespoons for roasting, 2 tablespoons for the roux
  • 1 medium yellow onion, finely chopped
  • 2 cloves garlic, minced
  • 4 tablespoons all-purpose flour
  • 3 cups whole milk Use for richness
  • 1/2 teaspoon salt, plus more to taste
  • 1/4 teaspoon black pepper, plus more to taste
  • 1/4 teaspoon nutmeg
  • 1 cup grated Gruyere cheese, divided Reserve some for topping
  • 1 cup grated sharp cheddar cheese, divided Reserve some for topping
  • 1/2 cup grated Parmesan cheese, divided Reserve some for topping
  • 1/4 cup panko breadcrumbs For crispy topping
  • 2 tablespoons chopped fresh parsley, for garnish (optional)

Method
 

Preparation
  1. Preheat oven to 400 F (200 C).
  2. Cut the spaghetti squash in half lengthwise, scoop out the seeds, drizzle with 2 tablespoons melted butter and season with salt and pepper.
  3. Place cut-side down on a baking sheet and roast for 45-60 minutes until tender.
  4. Once cool, shred the spaghetti squash with a fork.
Making the Sauce
  1. In a saucepan, melt the remaining butter over medium heat, sauté onion until softened, then add garlic and cook for 1 more minute.
  2. Sprinkle flour over the onion and garlic, cook to form a roux.
  3. Gradually whisk in the milk until smooth; bring to a simmer, stirring constantly for 5-7 minutes until thickened.
  4. Stir in salt, pepper, nutmeg, and 3/4 cup each of Gruyere and cheddar cheese until melted.
Assembling the Gratin
  1. Combine the shredded squash with the cheese sauce.
  2. Transfer to a greased 9x13 inch baking dish.
  3. In a bowl, mix remaining cheeses and panko for topping, sprinkle over the squash mixture.
Baking
  1. Bake for 20-25 minutes until golden brown and bubbly.
  2. Let rest for 5-10 minutes; garnish with parsley and serve hot.

Notes

Serve with a crisp green salad and consider a light-spiced apple dessert like applesauce cake for dessert. For storage, cool completely, cover tightly, and refrigerate for up to 3-4 days. Reheat in a 350 F oven until warmed through, about 15-20 minutes.

Leave a Comment

Recipe Rating