🎃

How Long to Cook Spaghetti Squash

Spaghetti squash, halved and roasted until the flesh separates into spaghetti-like strands.

The Short Answer

In the oven at 400°F, spaghetti squash takes 35–45 minutes. Scroll down for all cooking methods, detailed instructions, and tips from the Professor.

Cooking Methods

🔥 Oven

Temperature: 400°F

Time: 35–45 minutes

Rest: 5 minutes

Halve lengthwise, scoop seeds, brush with oil, place cut-side down on a lined sheet pan. Done when a fork easily shreds the flesh into strands.

⚡ Instant Pot / Pressure Cooker

Pressure: High

Time: 7–10 minutes

Release: Quick release

Halve and seed. Place cut-side up on trivet with 1 cup water. 7 minutes for al dente strands, 10 for very tender. Fork out the strands after cooking.

The Professor
The Professor says:

Cut side down is important. It concentrates heat on the flesh and the steam from the cut surface helps it cook evenly. Scrape the strands out with a fork after a 5-minute rest.

Frequently Asked Questions

A medium spaghetti squash yields about 4 cups of strands, roughly 2-4 servings depending on how you serve it.

The Bottom Line

Spaghetti Squash is straightforward to cook when you know the time and temperature. Use the method that fits your equipment and schedule, and always let the food rest before cutting or serving. Resting allows juices to redistribute and carryover cooking to finish the job.

Source: Culinary reference | Last verified: March 19, 2026 | Our methodology