Roasted Spaghetti Squash with Basil Pesto and Cream

Prep: 30 minCook: 10 min8 servingsmediumAmerican
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

8 servings
  • 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 pesto
    sun-dried tomato pesto or arugula pesto1:1vegetarian:yes

    shifts flavor profile but maintains creaminess

    Full guide →
  • teaspoon grated nutmeg
    sage1/8:1/16vegetarian:yes

    earthier flavor, less warmth

    Full guide →
  • 8 ounces heavy cream
    Greek yogurt or sour cream1:1dairy-free:no

    tangier result, thinner consistency

    Full guide →
  • ¼ cup Parmesan cheese
    pecorino Romano or grana Padano1:1vegetarian:yesdairy-free

    slightly sharper or milder depending on choice

    Full guide →

Instructions

  1. 1

    Cut the spaghetti squash in half lengthwise and scoop out the seeds.

  2. 2

    If making the pumpkin version, cut off the top, remove seeds, and carve a face.

  3. 3

    Brush the spaghetti squash flesh with olive oil and season with salt and pepper.

  4. 4

    Place the spaghetti squash flesh-side down on a baking sheet. Add the pumpkin if using.

  5. 5

    Roast at 425 degrees for 30 to 40 minutes until the squash is tender. Cool completely.

  6. 6

    Use a fork to scrape the squash into strands.

  7. 7

    Melt butter with the remaining olive oil in a large skillet over medium heat.

  8. 8

    Add the squash strands, nutmeg, pesto, remaining salt, and pepper. Stir occasionally for 5 minutes.

  9. 9

    Reduce heat to low and stir in the heavy cream and Parmesan cheese.

  10. 10

    Cook 2 to 3 minutes more, then spoon into the carved pumpkin or a serving bowl.

Tips

Tip 1

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.

Tip 2

Cool the spaghetti squash completely before scraping; it separates into strands far more easily when chilled and is safer to handle.

Tip 3

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

Storage

Refrigerate in an airtight container for up to 3 days. Do not freeze; the cream sauce separates and the squash texture degrades upon thawing.

Make Ahead

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.

Serve With

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.

See pairing guide →

Common Mistakes

Watch

Skip preheating the oven to 425 degrees; an oven that is not fully preheated will extend cooking time unpredictably and result in uneven roasting.

Watch

Overcook the squash at high temperature beyond 40 minutes to avoid mushy strands that shred into mush rather than distinct pasta-like pieces.

Watch

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

Parmesan cheese
pecorino Romano or grana Padano1:1vegetarian:yesdairy-free

slightly sharper or milder depending on choice

Full guide →
heavy cream
Greek yogurt or sour cream1:1dairy-free:no

tangier result, thinner consistency

Full guide →

General Alternatives

basil pesto
sun-dried tomato pesto or arugula pesto1:1vegetarian:yes

shifts flavor profile but maintains creaminess

Full guide →
nutmeg
sage1/8:1/16vegetarian:yes

earthier flavor, less warmth

Full guide →
Find more substitutions →

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.