This baked feta spaghetti squash brings together the creamy, salty richness of baked feta with the bright, herby punch of tomato pesto, all cradled in tender strands of roasted spaghetti squash. It’s a vegetarian main or side that feels indulgent but comes together with minimal hands-on work. The squash roasts until fork-tender, then gets tossed with a simple tomato pesto and creamy feta for a dish that’s both comforting and packed with flavor.
Ingredients
- 1 medium spaghetti squash (about 3 lb / 1.4 kg)
- 1 tablespoon olive oil, plus more for brushing
- 1/2 teaspoon salt
- 1/4 teaspoon black pepper
- 1 (8 oz / 225 g) block feta cheese
- 1 cup (240 ml) cherry tomatoes, halved
- 2 tablespoons tomato paste
- 1/4 cup (60 ml) olive oil
- 1/4 cup (25 g) grated Parmesan cheese
- 1/4 cup (30 g) pine nuts or walnuts
- 2 cloves garlic, minced
- 1 cup (30 g) fresh basil leaves, packed
- 1 tablespoon lemon juice
- 1/4 teaspoon red pepper flakes (optional)
Instructions
- Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper.
- Carefully cut the spaghetti squash in half lengthwise. Scoop out the seeds and stringy pulp with a spoon. Brush the cut sides with olive oil and season with salt and pepper.
- Place the squash halves cut-side down on the prepared baking sheet. Roast for 40–50 minutes, until the flesh is easily pierced with a fork and separates into strands. Let cool slightly until easy to handle.
- While the squash roasts, make the tomato pesto. In a food processor, combine the tomato paste, olive oil, Parmesan, pine nuts, garlic, basil, lemon juice, and red pepper flakes if using. Pulse until smooth, scraping down the sides as needed. Season with salt and pepper to taste. Set aside.
- When the squash is cool enough to handle, use a fork to scrape the flesh into strands. Transfer the strands to a large bowl.
- Add the tomato pesto to the squash and toss well to coat. Gently fold in the cherry tomatoes.
- Transfer the mixture to a 9×13-inch (23×33 cm) baking dish. Nestle the feta block into the center, pushing it slightly into the squash.
- Bake for 20–25 minutes, until the feta is soft and lightly golden on top and the dish is heated through.
- Remove from the oven. Stir the melted feta into the squash just before serving, or serve with the feta in chunks on top. Garnish with extra basil if desired.
Tips
- Cutting the squash: If the squash is too hard to cut, microwave it whole for 3–4 minutes to soften the skin, then slice. Always use a sharp knife and a stable cutting board.
- Substitutions: No feta? Use goat cheese or ricotta salata. Swap pine nuts for walnuts or sunflower seeds. For a dairy-free version, use a vegan feta-style block and omit the Parmesan.
- Don’t overcook the squash: Roast just until tender—overcooking makes it mushy. The strands should separate easily with a fork but still have a slight bite.
- Make ahead: You can roast the squash and make the pesto a day ahead. Store separately in the fridge, then assemble and bake when ready.
Serving Suggestions
Serve this as a hearty vegetarian main with a side of crusty bread and a simple green salad. It also works well as a side dish alongside grilled chicken, roasted salmon, or lamb chops. For extra protein, top with cooked chickpeas or shredded rotisserie chicken.
Variations
- Add protein: Stir in 1 cup (about 150 g) of cooked shredded chicken, ground turkey, or crumbled Italian sausage before baking.
- Make it a one-pan meal: After roasting the squash, keep the shells and fill them with the pesto-feta mixture, then bake as directed. This makes a beautiful presentation.
- Change the pesto: Use sun-dried tomato pesto instead of homemade tomato pesto for a deeper, tangier flavor. Reduce the salt in the recipe accordingly.
- Add greens: Fold in a handful of baby spinach or kale before baking for extra nutrients.
Storage and Reheating
Store leftovers in an airtight container in the refrigerator for up to 4 days. Reheat individual portions in the microwave for 1–2 minutes, or in a 350°F (175°C) oven for 10–15 minutes until heated through. The squash may release some liquid upon reheating; stir well before serving. This dish freezes well for up to 3 months—thaw overnight in the fridge and reheat in the oven.
Frequently Asked Questions
Can I use bottled pesto instead of making my own? Yes, use 1/2 cup (120 ml) of your favorite basil pesto and stir in 2 tablespoons of tomato paste to approximate the tomato flavor. Adjust salt to taste, as bottled pesto can be salty.
Do I have to bake the feta with the squash? No. You can simply crumble the feta over the hot squash after roasting and toss everything together. Baking it melts the feta into a creamy sauce, but skipping that step saves time.
Can I prepare this dish entirely in advance? Yes, assemble the dish (without baking) up to 24 hours ahead, cover, and refrigerate. When ready, bake as directed, adding 5–10 minutes to the baking time since it starts cold.
How do I know when the spaghetti squash is done? The skin should yield slightly when pressed, and a fork should easily pierce the flesh. The strands should separate with a fork but not be mushy.
Can I use a different type of squash? Yes, but the texture will differ. Butternut squash or acorn squash can be used, but they won’t shred into strands. You can also use pre-spiralized butternut squash noodles for a quicker version.
Is this dish gluten-free? Yes, as written it is gluten-free. Just ensure your feta and pesto are certified gluten-free if you have celiac disease.
Related
- Onion Rings Green Bag: Crispy Oven-Baked Recipe
- Air Fryer Onion Rings: Crispy in 15 Minutes
- National Onion Rings Day: Crispy Beer-Battered Recipe
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).