Preheat oven to 400 degrees Fahrenheit and prepare a baking sheet by lining it with parchment paper.
Wash and cut 1-inch off the top and bottom of 1 medium spaghetti squash. Then cut the squash in half lengthwise.
Using a spoon, scrape out the seeds.
Drizzle with 1 tablespoon olive oil and sprinkle with 1 teaspoon salt and 1/2 teaspoon black pepper.
Place on the prepared baking sheet, cut side down and pierce the skin with a fork several times across the length of the squash.
Roast in oven, cut side down, for 40 to 50 minutes until the center is soft. Flip over and let cool for 5 minutes.
Once lightly cooled, gently scrape strands of the squash with a fork, which should look similar to al dente pasta. Serve hot as a side dish or in place of pasta.