Greens Rosemary Walnut Pesto Recipe
| ~6 min read | Pasta Sauces
Sections
This is a pesto built around whatever greens you have and a handful of rosemary, thickened with toasted walnuts instead of pine nuts. Blanching the greens first tames bitterness and keeps the sauce a bright green, while rosemary adds a resinous, savory note that stands up to pasta, roasted vegetables, and grilled bread. It comes together in about 20 minutes and freezes well, so you can make a double batch and keep some on hand.
Ingredients
- 4 cups (about 4 oz / 115 g) packed mixed greens, such as spinach, kale, chard, or arugula
- 1 cup (4 oz / 115 g) walnut halves
- 2 medium garlic cloves, peeled
- 1 tbsp fresh rosemary leaves, stripped from the stem (about 1 sprig)
- 1/2 cup (1.5 oz / 45 g) finely grated Parmesan or Pecorino Romano
- 1/2 tsp fine sea salt, plus more for the blanching water
- 1/4 tsp freshly ground black pepper
- 1/2 to 2/3 cup (120-160 ml) extra-virgin olive oil
- 1 tbsp fresh lemon juice (optional, to brighten and preserve color)
Instructions
- Bring a large pot of water to a boil and add about 1 tbsp salt. Fill a bowl with ice water and set it nearby.
- Drop the greens into the boiling water and blanch for 30 to 60 seconds, until just wilted and bright green. Do not overcook, or the pesto turns dull and loses its fresh flavor.
- Transfer the greens with tongs or a slotted spoon straight into the ice water and chill for 1 to 2 minutes. Drain well, then squeeze handfuls firmly in a clean kitchen towel or paper towels to remove as much water as possible. Wet greens make a watery pesto.
- While the water heats, toast the walnuts in a dry skillet over medium heat for 4 to 6 minutes, stirring often, until fragrant and lightly browned. Watch closely, since walnuts scorch quickly. Transfer to a plate to cool.
- In a food processor, combine the cooled walnuts, garlic, rosemary, and salt. Pulse 8 to 10 times until the nuts are finely chopped but not pasty.
- Add the squeezed greens and pulse in short bursts, scraping down the sides, until the mixture is coarsely chopped. You want texture, not a smooth puree.
- With the machine running on low, drizzle in the olive oil in a steady stream until the pesto is thick but spoonable, about 30 to 45 seconds. Stop and scrape down once or twice.
- Add the grated cheese, black pepper, and lemon juice if using. Pulse 3 to 4 times just to combine. Taste and adjust salt. Use immediately, or transfer to a jar and press plastic wrap against the surface before sealing.
Tips
- Balance the rosemary. Rosemary is strong, so start with 1 tbsp and add more only after tasting. Too much makes the pesto taste like a pine forest and overwhelms the greens.
- Toast the walnuts. Raw walnuts taste flat and slightly bitter. Toasting for 4 to 6 minutes brings out their oils and gives the pesto a rounder, nuttier flavor.
- Do not overprocess. Running the food processor too long turns the nuts and greens into a paste and can make the oil taste metallic. Short pulses keep the texture pleasant.
- Use the right cheese. Parmesan or Pecorino both work, but grate it finely and add it last so the pesto stays smooth. Skip pre-shredded cheese, which contains anti-caking agents that can make the sauce grainy.
Serving Suggestions
Toss the pesto with 1 lb (450 g) of hot pasta, such as spaghetti, penne, or fusilli, cooked to al dente in well-salted water. Reserve about 1/2 cup of the pasta water before draining, then loosen the pesto with a splash of it off the heat until the sauce coats the noodles. The pesto is also good spooned over roasted potatoes, spread on grilled bread, stirred into white bean soup, or used as a sandwich spread with mozzarella and roasted peppers. For a quick sauce, thin a few spoonfuls with lemon juice and olive oil and drizzle it over grilled fish or chicken.
Variations
Swap the walnuts for pecans, almonds, or pistachios, toasting them the same way. Use all basil or all parsley in place of the mixed greens for a more traditional flavor, or try arugula alone for a peppery kick. Add 1/4 tsp red pepper flakes with the garlic for heat, or a tablespoon of capers for a briny note. For a dairy-free version, omit the cheese and add 1 tbsp nutritional yeast plus an extra pinch of salt. A vegan version can use the same substitution. If you want a looser sauce for drizzling, add up to 1/4 cup more olive oil.
Storage and Reheating
Store the pesto in an airtight container in the refrigerator for up to 5 days. Press a piece of plastic wrap directly onto the surface to slow oxidation, or pour a thin layer of olive oil over the top. For longer storage, freeze in ice cube trays, then transfer the cubes to a freezer bag; use within 3 months for the best flavor. Thaw frozen pesto overnight in the refrigerator. To reheat, warm gently in a saucepan over low heat with a splash of water or pasta water, or stir it into hot pasta off the heat. Do not boil pesto, since high heat can make it taste bitter and split the oil. Any pesto left at room temperature for more than 2 hours should be discarded.
Frequently Asked Questions
Can I use the greens without blanching them?
Yes, but the flavor will be sharper and more bitter, especially with kale or chard. If you skip blanching, use tender greens like spinach or arugula and add them raw. The pesto will also be a darker, less vibrant green and may not keep as long in the fridge.
Why did my pesto turn brown?
Oxidation causes the browning. Pressing plastic wrap against the surface, adding lemon juice, and storing the pesto in a small jar with little headspace all slow it down. A thin layer of olive oil on top also helps. Brown pesto is still safe to eat, though the flavor may be slightly duller.
How much pesto should I use per pound of pasta?
About 1/2 to 2/3 cup of pesto is enough for 1 lb (450 g) of pasta. Start with 1/2 cup, then add more to taste. Loosen it with reserved pasta water so it coats evenly rather than clumping.
Can I make this pesto without nuts?
Yes. Replace the walnuts with sunflower seeds or pepitas, toasted the same way, or use 1/2 cup of breadcrumbs for a nut-free version. The texture will be slightly different, but the pesto will still work well.
Is it safe to eat pesto made with raw garlic?
Yes, for most people. The garlic is finely chopped and mixed with oil and acid, which limits bacterial growth. Store the pesto in the refrigerator and use it within 5 days. Do not store garlic-in-oil mixtures at room temperature, as that can allow harmful bacteria to grow.
Can I freeze pesto in a jar?
Freeze it in a freezer-safe container or ice cube tray, leaving about 1/2 inch of headspace for expansion. Thaw overnight in the refrigerator and stir well before using. Frozen pesto keeps for about 3 months.