cut lengthwise: preheat your oven to 400degf. slice your spaghetti squash in half, lengthwise. scoop out the seeds and drizzle with olive oil, salt and pepper. flip your halves over so the cut side is on a baking sheet and bake for about 45 minutes.