This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. If you click a link and make a purchase, I may receive a small commission at no extra cost to you.
How long do you cook spaghetti squash in the oven?
You cook spaghetti squash in the oven for about 40 to 50 minutes at 400°F.
That’s the short answer if you’re in a hurry.
But the exact time depends on the size of your squash, whether you roast it cut-side up or down, and how tender you like those famous noodle-like strands.
If you’ve been asking how long to cook spaghetti squash in the oven, you’re in the right place.
In this post, I’ll walk you through exactly how long you should bake spaghetti squash, the best temperature to use, and a few simple tricks to get perfect strands every single time.
Let’s dive in.
How Long Do You Cook Spaghetti Squash in the Oven?
You cook spaghetti squash in the oven for roughly 40 to 50 minutes at 400°F, depending on its size.
That’s the baseline, but let’s break it down so you know exactly what to expect.
1. The 40 to 50 Minute Sweet Spot
For a medium spaghetti squash that weighs around 2 to 3 pounds, 40 to 50 minutes at 400°F is the sweet spot.
This gives the flesh enough time to soften while the inside stays slightly firm, so the strands separate cleanly instead of turning to mush.
2. Smaller Squash Cook Faster
If you’re working with a small spaghetti squash under 2 pounds, you can cut that time down to about 30 to 40 minutes.
Smaller squash have less flesh to heat through, so they cook quicker and can easily overcook if you’re not watching.
3. Larger Squash Need More Time
A big 4 to 5 pound spaghetti squash can take 50 to 60 minutes in the oven.
When you cook spaghetti squash in the oven that’s on the larger side, you may want to check it at the 45-minute mark to be safe.
4. How to Tell When It’s Done
The easiest way to know your spaghetti squash is ready is to pierce the flesh with a fork.
If the fork slides in easily with no resistance, it’s done.
You can also press the skin gently.
A fully cooked spaghetti squash will give slightly under your thumb.
Best Temperature to Cook Spaghetti Squash in the Oven
The ideal oven temperature for cooking spaghetti squash is 400°F.
That’s hot enough to caramelize the edges slightly and bring out a nutty, sweet flavor.
It’s also gentle enough that the strands don’t dry out before the center is tender.
If you prefer a slightly faster roast and don’t mind a bit more browning, 425°F works too.
Just cut the cooking time by about 10 minutes and check it early.
How to Cook Spaghetti Squash in the Oven Step by Step
Knowing how long to cook spaghetti squash in the oven is half the battle.
Here’s the simple method that gets it right every time.
1. Prep the Squash
Start by preheating your oven to 400°F.
Then carefully slice the spaghetti squash in half lengthwise.
A sharp chef’s knife and a steady hand make this much easier.
Once it’s halved, scoop out the seeds and the stringy pulp with a spoon.
2. Season the Flesh
Drizzle the cut sides with olive oil.
Then season with salt and pepper.
You can also add garlic powder, smoked paprika, or dried herbs if you want extra flavor.
3. Choose Your Roasting Method
You can cook spaghetti squash in the oven either cut-side up or cut-side down.
Cut-side down gives you steamier, more noodle-like strands because the moisture stays trapped.
Cut-side up gives you slightly firmer strands with more roasted flavor.
Both work great, so pick whichever texture you prefer.
4. Roast Until Tender
Place the halves on a lined baking sheet.
Roast for 40 to 50 minutes, depending on size.
Check at the 40-minute mark by piercing the flesh with a fork.
If it goes in easily, it’s ready.
5. Rest, Then Shred
Let the squash cool for about 10 minutes before handling it.
Then take a fork and scrape the inside lengthwise.
The flesh will pull apart into those spaghetti-like strands.
Tips for Perfectly Cooked Spaghetti Squash
A few small tweaks make a big difference when you cook spaghetti squash in the oven.
Don’t overcook it.
Once the strands start looking mushy, you’ve gone too far.
For firmer, pasta-like strands, roast cut-side up.
For softer, more noodle-like strands, roast cut-side down.
And if you’re short on time, you can microwave the halves for 5 minutes first, then finish them in the oven for 20 to 25 minutes.
That shortcut works surprisingly well when you need dinner fast.
So, How Long Do You Cook Spaghetti Squash in the Oven?
You cook spaghetti squash in the oven for 40 to 50 minutes at 400°F for a medium squash.
Small squash take 30 to 40 minutes, while large ones need 50 to 60 minutes.
The key is to pierce the flesh with a fork and pull it out when it slides in easily.
Once you know how long to cook spaghetti squash in the oven, this veggie becomes one of the easiest, most versatile side dishes you can make.
So grab a squash, preheat that oven, and enjoy.