I get so many questions about how to cook spaghetti squash, so I thought I’d share my go-to method for roasting it, a few tips, and a couple of my favorite spaghetti squash recipes.
First things first: cut it in half lengthwise. Then, scoop out the seeds.
Next, drizzle the insides lightly with olive oil and sprinkle with salt and pepper. I find that adding too much oil and too much salt at this stage makes the squash a bit watery, so a light drizzle and a light sprinkle will do.
Then, poke a few holes in the skin of the squash with a fork and place it cut side down on a baking sheet. Pop it in a pre-heated 400°F oven.
A mistake I used to make was roasting my squash too long. I used to roast it for an hour or longer, but now I roast it for 30 to 40 minutes. I initially thought the squash needed to be super soft and fork tender in order for the strands to “spaghetti,” but over the years I’ve learned that I prefer my strands to be more al dente (and less mushy), and that the 1 hour mark was too long. Of course, the timing will entirely depend on the size of your squash and the heat of your particular oven. It can also vary from squash to squash, so adjust your cooking time accordingly.
Once it’s roasted and cool enough to touch, use a fork to scrape the strands. I like to start from the outside and work my way in, fluffing them up as I go.
That’s it! Season it with more salt and pepper and serve it as a simple veggie side. Or incorporate it into your favorite spaghetti squash recipes. Here are two of mine (pictured below): Spaghetti Squash with Chickpeas and Kale and Lemon Pesto Spaghetti Squash.
How to Cook Spaghetti Squash
- 1 spaghetti squash
- extra-virgin olive oil
- sea salt and freshly ground black pepper
- Preheat the oven to 400°F.
- Slice the spaghetti squash in half lengthwise and scoop out the seeds and ribbing. Drizzle the inside of the squash with olive oil and sprinkle with salt and pepper.
- Place the spaghetti squash cut side down on the baking sheet and use a fork to poke holes. Roast for 30 to 40 minutes or until lightly browned on the outside, fork tender, but still a litte bit firm. The time will vary depending on the size of your squash. I also find that the timing can vary from squash to squash.
- Remove from the oven and flip the squash so that it’s cut side up. When cool to the touch, use a fork to scrape and fluff the strands from the sides of the squash.

Really simple and works out great. I agree with your roasting time. I didn’t care for the resulting texture (i.e., too soft and mushy) when I roasted the squash for an hour. When I roasted the squash for about 35 minutes and then let it cool, it was just how I wanted it. The nice thing about it being “al dente” is that one can further cook it if desired.
I’m glad you enjoyed the al dente squash!
I used your basic recipe to cook the spaghetti squash which was perfect!! I sauteed chopped onions and black beans together which I used to to top the spaghetti squash along with Mexican cheese and Pace chunky salsa!! Our lunch was yummy!!!
I’m so glad you loved it!
Can you cook in the air fryer ?
thanks
I haven’t tried so i’m not sure of the timing. I think it would be fine.
I made this and found it quite bland. This is my first time eating spaghetti squash but wanted to try something new:. I’m sure the recipe is good maybe I’m just accustomed to eating yellow squash.
I just made this and it came out so good!! Cooked it 40 minutes, it was perfect & so delicious! Thank you!
Can you freeze the roasted spaghetti squash?
Hi Jeni, yep, you can freeze it.
I like to prepare healthy, fresh food, but cooking for one, it must be simple. I’ve been craving squash and had two spaghetti squash given to me. Your recipe was simple, but more importantly, IT WAS SO GOOD! Thank you.
I’m so glad your squash turned out well!
I followed every step of your recipe and the results were absolutely delicious. It was also my first time cooking spaghetti squash. Thank you so much!
I’m so glad you loved it!
Can you cook in the air fryer ?
Hi Judith, I haven’t tried so I’m not sure.