This Butternut Squash with Pumpkin Seed Pesto is one of the best side dish recipes of all time. A salty, crunchy, basil-pumpkin seed pesto is tossed onto sweet, caramelized roasted butternut squash for a sweet-salty, soft-crunchy combo. It’s gluten free, dairy free, vegan, and nut free, making it the perfect side dish for weeknight dinners or holiday celebrations.

My mom used to make a variation of this butternut squash recipe when I was in high school and I absolutely loved it. I would easily eat a whole batch in 1-2 days. When I got to college, I made my own version and I'm finally sharing it with you! Since I have a dairy allergy, I made a vegan version of the pumpkin seed pesto without parmesan cheese. Don't worry, it's still as delicious. And I love that this pesto uses pumpkin seeds instead of pine nuts for those with nut allergies.
Why You'll Love This Butternut Squash with Pumpkin Seed Pesto
- Allergy friendly: made with simple, whole-food ingredients and completely gluten free, dairy free, paleo, and vegan.
- No nuts: we replace the pine nuts traditionally used in pesto with pumpkin seeds, making this pesto completely nut free (and way better).
- Easy to make: roast the squash, blend the pesto, then mix everything together. It's that simple.
- A delicious flavor combination: sweet roasted butternut squash, fresh basil, and salty pumpkin seeds make this side dish addicting. Make sure everyone has a large plate because this recipe is so good, everyone will want a huge serving.
- Great for the holidays: this is one of my favorite fall side dishes and is especially good alongside a Thanksgiving or holiday dinner.

Ingredients for Butternut Squash with Pumpkin Seed Pesto
- Butternut squash: 1 large squash (about 3 lb) cut into 1-inch cubes. You can also use pre-cut squash.
- Pumpkin seeds: you'll need raw, unsalted pumpkin seeds, also called pepitas. Toasting them gives a nutty flavor to this pesto without nuts.
- Olive oil: used for roasting the squash and making the pesto.
- Garlic-infused olive oil: adds garlic flavor without using fresh garlic. I use it as a lower FODMAP option. We only need 1 tablespoon oil, so you can use fresh garlic cloves instead, if tolerated. You can find garlic-infused olive oil at specialty olive oil stores or online.
- Basil leaves: fresh basil for the base of the pesto.
- Salt: I prefer to use table salt for the pesto and add flaky salt (like Maldon salt) as a finisher.
How to Make Roasted Butternut Squash with Pumpkin Seed Pesto
Roast the Butternut Squash
- Preheat the oven to 425°F and line a large baking sheet with parchment paper.
- Peel the butternut squash and cut it into 1-inch cubes. Toss with olive oil and ¼ teaspoon of salt. Spread the squash in a single layer.
- Roast for 35–40 minutes, until fork tender and golden brown on the edges.
How to Make Pumpkin Seed Pesto (Nut Free + Vegan)
While the squash roasts, make the pesto.
- Heat a skillet over medium-low heat and add the pumpkin seeds. Toast, stirring often, for 5–10 minutes, until the seeds start popping, smell nutty, and turn golden. Pull them fast; pepitas go from golden to gone in about 30 seconds.
- Let the seeds cool for 10 minutes, then set aside ¼ cup for topping.
- In a high-speed blender or food processor, add the basil, ½ cup of olive oil, and the garlic-infused oil (or garlic cloves). Blend until the basil is broken down.
- Add ½ cup of pumpkin seeds and ¼ teaspoon of salt. Pulse, don't purée, until you have a rough, slightly chunky pesto. Taste and add more salt as needed.
Toss and Serve
- Let the roasted squash cool for 5 minutes.
- Transfer the squash to a large bowl and gently toss with the pesto.
- Right before serving, sprinkle with the ¼ cup of reserved toasted pumpkin seeds and some flaky salt.




Substitutions and Variations
- Butternut squash: I have not tested this recipe with any other squash, but pumpkin, kabocha squash, or delicata squash would all still be delicious options. Sweet potato will have a slightly different flavor, but would still be good.
- Pumpkin seeds: I do not suggest substituting the pumpkin seeds as that is what makes this recipe so special. You can use roasted and salted pumpkin seeds instead of raw pumpkin seeds, just skip the toasting step and decrease the salt added.
- Garlic olive oil: you can use 1–2 cloves in place of the garlic oil.
- Variations: you can add a handful or two of spinach leaves to the pesto to bump up the nutrient density. You may need to add a couple extra tablespoons of olive oil. Add 1-2 fresh sage leaves, diced, to the pesto for a flavor variation.
Tips for the Best Roasted Butternut Squash with Pumpkin Seed Pesto
- Don't crowd the pan: over-crowding the baking sheet when roasting the squash can result in steamed, mushy squash. Give those cubes personal space, and use 2 pans if needed.
- Watch the pumpkin seeds: pepitas go from golden to gone in about 30 seconds, so don't walk away and mix the seeds regularly. Burnt pumpkin seeds result in bitter pesto.
- Don't over-blend pesto: pulse the pesto rather than continuously blending it so it doesn't get soupy.
- Add the topping seeds before serving: otherwise they can get soggy.

Storage and Make Ahead
Store leftover pumpkin seed pesto butternut squash in the fridge for 3–4 days. Reheat in the oven at 300°F for 20-30 minutes until warmed through. You can add extra pumpkin seeds when ready to serve.
- Make ahead:
- Cube the squash 3 days ahead.
- Make the pesto 2 days ahead and store in an airtight container in the fridge. For longer storage, freeze the pesto for up to 2 months. Freeze in ice cube trays then pop the cubes out and transfer to a freezer safe container until ready to use. Thaw in the fridge before using.
- Toast the pumpkin seeds up to a week ahead and keep them stored in an airtight container at room temperature.
- Freezing: I have not frozen leftovers and, quite frankly, it gets eaten up right away so there are never leftovers to freeze!
What to Serve with Butternut Squash with Pumpkin Seed Pesto
This butternut squash with pepita pesto is a delicious side dish with almost any meal. It’s especially good alongside roasted chicken, salmon, or a holiday dinner. For a Thanksgiving or holiday spread, serve it with some of my other favorite side dishes:
- Skillet Herbed Japanese Sweet Potatoes
- Mashed Sweet Potatoes and Rutabaga
- Cinnamon & Ginger Roasted Rainbow Carrots
- Sage Roasted Butternut Squash with Chickpeas
- Brussels Sprouts Salad with Apples and Chickpeas
And if you have leftovers, toss the squash and pesto with gluten-free pasta for an easy lunch or dinner.

FAQ
Fresh squash is best, but you can use frozen in a pinch. No need to thaw, just toss in the olive oil and salt and roast. Note that the squash may need to cook for longer and is often softer with less browning and crisping.
Yes, it is completely nut free! Just be sure to check the package labeling for any cross-contact.
Yes, you can make the entire dish a day before (add the extra pumpkin seeds before serving) or make the components up to two days before then toss together when ready to serve. The pumpkin seed pesto can be made up to 2 months in advance and frozen in ice cube trays.
The pumpkin seed pesto recipe itself is great on other roasted vegetables, in pasta, or any other dishes you like to use pesto in. Try it with scrambled eggs (perfect way to use up leftovers if there's only a little left).
Yes, this recipe is paleo and Whole30 friendly, but it is not AIP friendly as it contains seeds.

Ready to make this dish? Get all the ingredients you need delivered to your door! Here is a a pre-filled grocery cart, just click order.
Let me know if you tried this Butternut Squash with Pumpkin Seed Pesto by leaving a rating and review below. I'd love to hear how you served it in the comments and if you think it's as delicious as I do!
Roasted Butternut Squash with Pumpkin Seed Pesto
Equipment
Ingredients
- 1 large butternut squash
- 1 tablespoon olive oil
- ½ teaspoon salt, divided
- ¾ cup raw, unsalted pumpkin seeds
- 1 cup fresh basil leaves, packed
- ½ cup olive oil
- 1 tablespoon garlic infused olive oil you can use 1-2 garlic cloves instead
- flaky salt
Instructions
Roast Butternut Squash
- Preheat the oven to 425°F and line a large baking sheet with parchment paper.
- Peel the butternut squash and cut it into 1-inch cubes. Toss with 1 tablespoon of olive oil and ¼ teaspoon of salt. Spread the squash in a single layer.
- Roast for 35–40 minutes, until fork tender and golden brown on the edges.
Pumpkin Seed Pesto
- While the squash roasts, make the pesto.
- Heat a skillet over medium-low heat and add the pumpkin seeds. Toast, stirring often, for 5–10 minutes, until the seeds turn golden. Watch them as they can burn quickly.
- Let the seeds cool for 10 minutes, then set aside ¼ cup for topping.
- In a high-speed blender or food processor, add the basil, ½ cup of olive oil, and the garlic-infused oil (or garlic cloves). Blend until the basil is broken down.
- Add ½ cup of pumpkin seeds and ¼ teaspoon of salt. Pulse, don't purée, until you have a rough, slightly chunky pesto. Taste and add more salt as needed.
Toss and Serve
- Let the roasted squash cool for 5 minutes.
- Transfer the squash to a large bowl and gently toss with the pesto.
- Right before serving, sprinkle with the reserved toasted pumpkin seeds and some flaky salt.






Randy Brittell says
Looks delicious. I have both the butternut and pumpkin seeds. Just have to get some fresh basil.
For those who may not know, you can make garlic infused olive oil in your kitchen.
1/2 cup olive oil with 4 cloves garlic or double the amounts to make 1 cup.
Also the infusion will not spoil. Since garlic has no acid or fat to preserve it, the fat in the olive oil will. Just put any leftovers in a mason jar and store in a dark place. Since the infusion is good for many uses, you will use it up soon.
Victoria Faling says
Thanks for sharing this, Randy! I didn't even think to make my own. I will have to try this!