Preheat the Oven:
Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper or foil for easy cleanup.
Prepare the Squash:
Carefully cut the spaghetti squash in half lengthwise. Use a spoon to scoop out the seeds and stringy pulp from the center.
Drizzle the cut sides with olive oil and season generously with salt and pepper.
Roast the Squash:
Place the squash halves cut side down on the prepared baking sheet.
Roast in the oven for 35-45 minutes, depending on the size of the squash. The squash is done when you can easily pierce the skin with a fork.
Shred into Strands:
Remove the squash from the oven and let it cool for a few minutes.
Use a fork to gently scrape the flesh into spaghetti-like strands. Transfer the strands to a bowl.
Serve:
Top the spaghetti squash with your favorite sauce, like marinara, Alfredo, or pesto. Alternatively, toss it with olive oil, garlic, and Parmesan cheese for a simple and delicious side dish.