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.
You can cook a squash in the oven by roasting it whole or cutting it into halves, cubes, or slices, depending on the variety and the texture you want.
It’s one of the easiest and most rewarding ways to prepare squash because the oven brings out its natural sweetness.
Whether you’re working with butternut, acorn, spaghetti, or delicata, oven roasting is the way to go.
All you need is a little oil, some salt, and a hot oven.
In this post, we’ll walk through exactly how to cook a squash in the oven, plus prep tips, flavor ideas, and timing for different types.
Let’s get into it.
How Do You Cook a Squash in the Oven?
You cook a squash in the oven by prepping it, seasoning it, and roasting it at the right temperature until the flesh is tender and lightly caramelized.
The method changes slightly based on the squash variety.
Here’s the basic process:
1. Choose and Prep Your Squash
Start by picking a firm, heavy squash with no soft spots.
Wash the outside, then decide if you want to peel it.
Butternut and acorn have tough skins, so peeling is often easier after roasting.
Delicata and honeynut have thin skins you can eat.
Cut the squash in half lengthwise and scoop out the seeds.
If you’re roasting cubes, peel first, then cut into even chunks.
2. Season and Arrange
Drizzle the squash with olive oil or melted butter.
Sprinkle salt and black pepper generously.
Place halves cut-side down on a parchment-lined baking sheet for a caramelized edge.
If you’re doing cubes, spread them in a single layer so they roast instead of steam.
3. Roast at the Right Temperature
Set your oven to 400°F (205°C).
Whole small squash can roast for 40–60 minutes, depending on size.
Halves usually take 35–45 minutes.
Cubes roast faster, around 25–30 minutes.
Flip cubes halfway through so they brown evenly.
4. Check for Doneness
The squash is done when a fork slides in easily with no resistance.
The edges should look golden and slightly crispy.
If the center is still firm, give it another 10 minutes and check again.
Best Squash Varieties for Oven Roasting
Not all squash cook the same, but most do well in the oven.
Here are some favorites:
1. Butternut Squash
Butternut is sweet, nutty, and smooth.
It’s perfect for roasting halves or cubes and works in soups, salads, and pasta.
Peel it before cubing, or roast halves and scoop the flesh out.
2. Acorn Squash
Acorn squash has a mild, slightly peppery flavor.
Roast it cut-side down, then flip and add butter and brown sugar for a classic side.
The skin is edible once soft.
3. Spaghetti Squash
Spaghetti squash is famous for its stringy flesh.
Roast it halved cut-side down until tender, then scrape with a fork to make “noodles.”
It takes about 40–50 minutes at 400°F.
4. Delicata Squash
Delicata is small, creamy, and has a thin edible skin.
Slice it into rings, remove seeds, and roast for 20–25 minutes.
It’s great with herbs like thyme and sage.
Tips for Perfectly Cooked Squash in the Oven
To get the best results when you cook squash in the oven, keep these tips in mind:
1. Cut Pieces Evenly
Uneven pieces cook unevenly.
Aim for similar-sized cubes or halves so everything finishes at the same time.
2. Don’t Crowd the Pan
If you pile squash together, it steams instead of roasts.
Use two baking sheets if needed.
3. Use High Heat for Caramelization
400°F is the sweet spot.
It browns the edges without burning the inside.
4. Flip Halfway Through
For cubes, flip at the 15-minute mark.
For halves, you can leave them cut-side down the whole time.
5. Season After Roasting Too
A squeeze of lemon, a drizzle of maple syrup, or a sprinkle of parmesan can take roasted squash to the next level.
6. Save the Seeds
Don’t toss the seeds.
Rinse, toss with oil and salt, and roast them for 10–15 minutes for a crunchy snack.
So, How Do You Cook a Squash in the Oven?
You cook a squash in the oven by prepping it, seasoning it, and roasting at 400°F until tender and golden.
Whether you halve it, cube it, or roast it whole, the oven method is simple and forgiving.
Just remember to cut evenly, avoid crowding, and check for doneness with a fork.
Once you know how to cook a squash in the oven, you’ll do it all season long.