Roasted Spaghetti Squash with Basil Pesto and Cream

A creative fall dinner that transforms roasted spaghetti squash into a creamy pesto pasta alternative, optionally served inside a carved and roasted pumpkin for dramatic presentation. The dish combines tender squash strands with a rich sauce of butter, heavy cream, and bright basil pesto, finished with nutmeg and Parmesan cheese. The nutmeg adds unexpected warmth that complements the herbaceous pesto, while the cream creates a silky coating on the delicate squash. This recipe suits home cooks seeking vegetarian main courses or those looking to reduce carbs without sacrificing comfort-food appeal. Serve it as an elegant Halloween centerpiece or weeknight dinner. The pumpkin vessel transforms a straightforward pasta-adjacent dish into a conversation piece, while the flavors remain balanced and satisfying throughout.
Ingredients
- 1 medium spaghetti squash, cleaned and seeded
- 1 small pumpkin, cleaned, seeded, and carved
- 3 tablespoons olive oil, divided
- 3 teaspoons salt, divided
- 2 teaspoons pepper, divided
- 2 tablespoons butter
- ¼ cup basil pestosun-dried tomato pesto or arugula pesto1:1vegetarian:yes
shifts flavor profile but maintains creaminess
Full guide → - ⅛ teaspoon grated nutmeg
- 8 ounces heavy cream
- ¼ cup Parmesan cheesepecorino Romano or grana Padano1:1vegetarian:yesdairy-free
slightly sharper or milder depending on choice
Full guide →
Instructions
- 1
Cut the spaghetti squash in half lengthwise and scoop out the seeds.
- 2
If making the pumpkin version, cut off the top, remove seeds, and carve a face.
- 3
Brush the spaghetti squash flesh with olive oil and season with salt and pepper.
- 4
Place the spaghetti squash flesh-side down on a baking sheet. Add the pumpkin if using.
- 5
Roast at 425 degrees for 30 to 40 minutes until the squash is tender. Cool completely.
- 6
Use a fork to scrape the squash into strands.
- 7
Melt butter with the remaining olive oil in a large skillet over medium heat.
- 8
Add the squash strands, nutmeg, pesto, remaining salt, and pepper. Stir occasionally for 5 minutes.
- 9
Reduce heat to low and stir in the heavy cream and Parmesan cheese.
- 10
Cook 2 to 3 minutes more, then spoon into the carved pumpkin or a serving bowl.
Tips
Roast the pumpkin alongside the squash to save oven time and ensure both are tender by the same point, but monitor the pumpkin separately as it may cook faster depending on thickness.
Cool the spaghetti squash completely before scraping; it separates into strands far more easily when chilled and is safer to handle.
Warm the pesto briefly in the cream off-heat to preserve its color and basil flavor rather than cooking it aggressively over direct heat.
Good to Know
Refrigerate in an airtight container for up to 3 days. Do not freeze; the cream sauce separates and the squash texture degrades upon thawing.
Prepare and roast the squash and pumpkin one day in advance. Scrape the squash strands and store separately. Prepare the sauce components but do not combine until ready to serve. Reheat gently over low heat with a splash of cream to restore consistency.
Spoon into the carved pumpkin for visual impact or serve in bowls. Pair with a crisp white wine like Pinot Grigio or a light rosé. Serve warm immediately after the cream is incorporated.
Common Mistakes
Skip preheating the oven to 425 degrees; an oven that is not fully preheated will extend cooking time unpredictably and result in uneven roasting.
Overcook the squash at high temperature beyond 40 minutes to avoid mushy strands that shred into mush rather than distinct pasta-like pieces.
Add cream over high heat and skip the low-heat step to prevent the sauce from breaking and becoming grainy rather than silky.
Substitutions
Dairy-Free Swaps
slightly sharper or milder depending on choice
Full guide →General Alternatives
shifts flavor profile but maintains creaminess
Full guide →FAQ
Can I make this ahead and reheat it?
Yes, roast the squash and pumpkin one day ahead. Scrape and store separately. Prepare the sauce just before serving by warming the butter and oil, adding the squash, then cream and cheese over low heat. Reheating the finished dish risks breaking the cream sauce.
What if I don't have basil pesto?
Substitute sun-dried tomato pesto, arugula pesto, or even homemade spinach pesto at the same ratio. Store-bought versions work well. Adjust salt if your pesto already contains it. The dish adapts well to different pesto flavors without affecting texture.
How long does the carved pumpkin stay fresh?
A freshly carved pumpkin lasts 3 to 5 days at room temperature, longer if refrigerated. If serving immediately, carve just before roasting. For advance prep, carve and refrigerate separately, then roast when ready. Do not stuff more than 1 hour before serving.