How to Cook Spaghetti Squash
Quick answer
Halve the squash lengthwise, scoop out the seeds, brush with oil, and roast cut side down at 400°F (200°C) for 30 to 45 minutes. In a hurry? Microwave the halves in a dish with a little water for 8 to 12 minutes, or pressure cook on high for 7 minutes. It is ready when a fork pulls the flesh into long strands with almost no effort.

Handy for this: What can I make? · Grams to cups converter
At a glance
- Microwave the whole squash for 2 to 3 minutes so it is easier to cut, then halve it lengthwise.
- Scoop out the seeds and stringy center with a spoon.
- Brush the cut sides with oil and season with salt and pepper.
- Roast cut side down on a sheet pan at 400°F (200°C) for 30 to 45 minutes.
- Test with a fork: the strands should pull away from the skin easily.
- Rest 5 minutes, then fluff the strands out with a fork and season.
The short answer
The easiest way to cook spaghetti squash is to roast the halves at 400°F (200°C) for 30 to 45 minutes, cut side down. The microwave gets you there in about 10 minutes, and an Instant Pot does it in 7 minutes at high pressure plus the time to come up to pressure.
Whichever method you choose, the test is the same: drag a fork across the flesh. When it falls into long, golden strands with almost no effort, dinner is ready.
Spaghetti squash cooking times
These times are for a medium squash, about 2 to 3 pounds (900 g to 1.4 kg). Bigger squash need the upper end of each range, so start checking early and keep going until the fork test says yes.
| Method | Prep | Temp or setting | Time | Texture |
|---|---|---|---|---|
| Oven, halves cut side down | Halved, seeded, oiled | 400°F (200°C) | 30 to 45 min | Tender, moist strands |
| Oven, halves cut side up | Halved, seeded, oiled | 400°F (200°C) | 40 to 50 min | Drier strands, browned rim |
| Oven, rings | 1-inch rings, seeded | 400°F (200°C) | 25 to 35 min | Longest strands, light browning |
| Oven, whole | Pierced all over | 375 to 400°F (190 to 200°C) | 45 to 75 min | Soft, steamy |
| Microwave, halves | Cut side down in 1 inch of water | High | 8 to 12 min | Tender, slightly wetter |
| Instant Pot, halves | On trivet with 1 cup water | High pressure, quick release | 7 min (6 for under 2 lb) | Very tender |
How to cut spaghetti squash (the easy way)
A raw spaghetti squash has a hard, smooth shell, so give yourself a head start. Pierce it a few times with a sharp knife and microwave it whole for 2 to 3 minutes. The skin softens just enough that your knife glides through.
Trim a thin slice off one side so the squash sits flat and steady on your board. Then cut it lengthwise from stem to tail. Scoop out the seeds and the stringy pulp with a large spoon. You can rinse the seeds and roast them like pumpkin seeds for a snack.
Want longer strands? Cut the squash crosswise into 1-inch rings instead. The strands run around the squash in circles, so rings give you the longest, most noodle-like pieces.
How to cook spaghetti squash in the oven
Roasting gives the deepest, sweetest flavor and the best texture, the same way it does in our guide on how to roast vegetables. Heat the oven to 400°F (200°C) and line a sheet pan with parchment.
- Brush the cut sides with about 1 teaspoon of olive oil per half and sprinkle with salt and pepper.
- Place the halves cut side down. The trapped steam cooks the flesh evenly while the rim browns on the pan.
- Roast 30 to 45 minutes. A 2-pound squash is often ready near 30 minutes; a 4-pound one may need closer to an hour.
- Flip one half over and do the fork test. If the strands still cling to the shell, return it for 5 to 10 minutes.
- Rest 5 minutes, then scrape the strands into a bowl with a fork, working from the outside in.
Roasting cut side up works too. It takes a little longer and gives drier, slightly caramelized strands that hold onto sauce well. If your oven is free and you are making a full meal, roast a tray of cubes for sweet potatoes in the oven on the rack below at the same temperature.
The same halve-and-roast method works for its sweeter cousin: see how to cook acorn squash.
How to microwave spaghetti squash
The microwave is the fastest everyday route and needs no preheating. Halve and seed the squash as above, then set the halves cut side down in a microwave-safe dish with about 1 inch of water.
Microwave on high for 8 minutes, then check with a fork. Keep going in 2-minute bursts until the strands separate easily. Microwaves vary a lot by wattage, so a small squash in a powerful oven may be done at 7 minutes, while a large one can take 12 or more.
Use oven mitts when you lift the dish and tilt the squash away from you, because the trapped steam is very hot. The strands come out a bit wetter than roasted ones, so let them drain a minute in a colander.
How to cook spaghetti squash in an Instant Pot
Pressure cooking is hands-off and very quick. Pour 1 cup (240 ml) of water into the pot and set the trivet inside. Place the seeded halves on the trivet, cut side up, stacking them if needed.
Lock the lid and cook on high pressure for 7 minutes, or 6 minutes if your squash weighs less than 2 pounds. Quick release the pressure right away so the strands stay firm. Remember that the pot takes about 10 minutes to come up to pressure, so the total time is closer to 20 minutes.
If you prefer a tender but toothsome bite, start with the shorter time. You can always seal it and add a minute or two.
“The fork is sliding right through and the strands are lifting away from the skin. Pull it out and let it rest.”
How to tell when spaghetti squash is done
Spaghetti squash is a vegetable, so there is no safety temperature to hit. You are cooking for texture, and your senses tell you exactly when to pull it. For more cues across every kind of food, see our guide on how to tell when food is done.
Sight
- The flesh turns from pale ivory to a deeper golden yellow and looks slightly translucent.
- The rim that touches the pan goes golden brown when roasted cut side down.
- The skin may look a little wrinkled or give slightly where you press it.
Sound
- In the oven, a gentle sizzle and bubbling under the halves means moisture is cooking out onto the pan. When the sizzle softens, the squash is nearly there.
Smell
- A sweet, nutty aroma, a little like roasted pumpkin, fills the kitchen when the sugars on the rim caramelize.
Touch
- The fork test is the one that counts: scrape the flesh crosswise. Done squash releases long strands with almost no pressure, all the way to the skin.
- Press the outside with a mitt. It should give slightly, like a ripe avocado.
- If the center strands feel crunchy, give it 5 more minutes. If you like it al dente, pull it as soon as the strands separate.
This is the moment Pan watches for: the color deepening and the fork lifting strands clean from the shell.
What to do with your strands
Treat spaghetti squash like a lighter, sweeter pasta. Toss the strands with butter, garlic and Parmesan, or spoon a warm tomato sauce over the top. It also loves pesto, browned sausage and sautéed spinach.
For crispier strands, cook them in a hot skillet with a little oil for 3 to 4 minutes, tossing once, so the extra moisture steams off. The same hot-pan approach from our guide on how to cook vegetables on the stove works here: one layer, medium-high heat, and patience before the first toss.
A medium squash gives about 4 to 5 cups of strands. If your recipe lists the squash by weight, our grams to cups converter helps you measure it out. And if there is half a squash and a few odds and ends in your fridge, try our what can I make with my ingredients tool for ideas.
Tips for the best spaghetti squash
- Pick a heavy squash with a firm, evenly pale yellow shell and no soft spots. Heavier means more moisture and sweeter flesh.
- Salt the halves first and let them sit 15 minutes if you want firmer, drier strands. Pat them dry before roasting.
- Season generously. Spaghetti squash is mild, so salt, pepper, garlic and a little acid make it shine.
- Sauce right before serving. The strands release a little water as they sit, so toss and serve together.
- Store whole squash cool and dry. Uncut, it keeps for a month or more in a cool pantry.
Common questions
Do you roast spaghetti squash cut side up or down?
Cut side down gives tender, evenly steamed strands because the moisture stays trapped under the squash. Cut side up gives drier strands with a little browning on the rim. Both work, so pick the texture you like.
How do you know when spaghetti squash is done?
A fork should slide through the skin with little pressure and the flesh should separate into long strands when you scrape it. If the strands resist or the center feels firm, give it another 5 to 10 minutes.
Can you cook spaghetti squash whole?
Yes. Pierce it all over with a knife and roast it whole at 375 to 400°F for roughly 45 to 75 minutes depending on size, or microwave it whole for about 10 to 15 minutes. Halving it after cooking is much easier, though the seeds come out with a bit more mess.
How do I keep spaghetti squash from getting watery?
Salt the cut halves and let them sit 15 minutes, then pat them dry before roasting. After cooking, let the strands rest in a colander for a few minutes, and toss them with sauce right before serving rather than letting them sit.
How long does cooked spaghetti squash last?
Store it in an airtight container in the fridge for 3 to 4 days. Reheat it in a skillet over medium heat for a few minutes so extra moisture cooks off.
Why is my spaghetti squash still crunchy?
It needs more time. Turn it back cut side down and roast 5 to 10 minutes more, or microwave it in 2-minute bursts, until a fork shreds the flesh easily all the way to the skin.
Can you freeze cooked spaghetti squash?
Yes. Drain the strands well, squeeze out extra moisture in a clean towel, and freeze them flat in bags for up to a few months. Reheat from frozen in a hot skillet so the water cooks off.
Sources
Keep cooking
- Thanksgiving & holidaysHow to Cook Sweet PotatoesBake whole sweet potatoes at 400°F for 45 to 60 minutes, roast cubes at 425°F, or cook them on the stove. Clear times, doneness cues, plus easy acorn squash.
- Vegetables & fruitHow to Cook Vegetables on the StoveCook asparagus, carrots, potatoes, sweet potatoes, green beans and broccoli on the stove with one simple method, clear times, and easy cues for tender-crisp.
- Start hereHow to Tell When Food Is DoneHow to tell when chicken, steak, fish, chorizo, eggs, pasta, rice, cheesecake and pecan pie are done, with safe temperatures and simple sight and touch cues.
- Vegetables & fruitHow to Cook BeetsCook beets three easy ways: roast at 400°F for 45 to 60 minutes, boil or steam for 20 to 45. Clear times, simple peeling, and the knife test for tender beets.
- Vegetables & fruitHow to Cook EggplantPan-fry ½-inch eggplant slices 3–4 minutes per side, or roast cubes at 425°F for 20–25 minutes, until golden and creamy inside. Prep, times and cues.
- Vegetables & fruitHow to Cook Frozen CornSauté frozen corn in butter over medium-high for 6–8 minutes, boil it 3–5 minutes, microwave 4–5 minutes or roast at 425°F for 20–25 minutes. No thawing needed.
- Free toolWhat can I make?Type what is in your fridge and get simple recipes you can cook right now.
- Free toolGrams to cups converterConvert grams to cups (and back) for flour, sugar, butter, rice and 30 more ingredients.