Use it up
Spinach Pesto: Blend a Whole Bag of Spinach Into Sauce
A bag of spinach that won't survive another salad blends into bright green pesto with garlic, toasted nuts, cheese and lemon in 10 minutes. Toss it with pasta or freeze it in cubes.
- TIME
- 10 min
- SERVES
- 6

A bag of spinach is a race against the clock. The first handful goes into a salad, a few more into an omelette, and the rest sits in the fridge going soft at the edges. Spinach pesto is the fastest way to use the whole bag at once. Ten minutes and a food processor turn it into a bright green sauce for pasta, toast, eggs or roast vegetables, and pesto keeps far longer in the freezer than spinach ever will in the fridge.
It tastes milder and greener than basil pesto. You don’t need basil at all, though a handful of whatever soft herbs need using brings it closer to the classic.
Why spinach works as pesto
Pesto is a paste of leaves, garlic, nuts, hard cheese and olive oil. Basil gives the classic version its perfume; spinach gives it body. Because spinach is mild, the garlic, lemon and cheese do more of the talking, and the tender leaves blend easily.
The main risk is a watery, dull pesto. Dry the leaves well after washing, since water dilutes the flavour and stops the oil blending into a creamy paste. Toast the nuts first: it takes three minutes and makes the pesto taste rounder and less raw. Spinach pesto darkens where air touches it, so smooth the top and cover it with a thin layer of oil, or press a piece of wrap onto the surface, before you store it.
Which spinach is too far gone
Slightly wilted, soft or floppy spinach is exactly what you want for pesto. Slimy spinach is not. When leaves turn dark, wet and slimy, they’re breaking down, and blending them into a sauce won’t change that. Pick out any slimy leaves, and if the bag smells sour or most of it has turned, throw it away. Our page on using up spinach before it goes bad covers the signs in more detail, along with a five-minute way to cook a bag that’s still good.
How long homemade pesto keeps
Homemade pesto is raw garlic and leaves in oil, so keep it in the fridge at 40°F / 4°C or below and use it within four days. US food safety extension services give that limit for garlic and herb mixtures in oil because, left at room temperature, they can support the bacteria that cause botulism. Don’t keep it out on the counter.
For longer, freeze it. Spoon the pesto into an ice-cube tray, freeze it solid, then bag the cubes. They keep for up to three months, and one or two melt straight into a bowl of hot pasta. If you’re freezing it, leave the cheese out and stir it in after thawing for the freshest flavour.
Swaps for what you have
Any nuts work: walnuts are cheapest and mild, almonds are sweet, and pine nuts give the classic flavour. For a nut-free pesto, use sunflower or pumpkin seeds. No Parmesan? Pecorino, aged Cheddar or another hard cheese works, or a tablespoon of nutritional yeast for a dairy-free version. Kale, rocket (arugula), or carrot or beet tops can replace up to half the spinach; they’re more bitter, so add a little extra lemon and cheese. If parsley, coriander (cilantro) or basil needs using, add a handful, and see our flexible herb sauce for where else that idea goes.
What to do with it
Toss it through hot pasta with a splash of the cooking water, spread it on toast under a fried egg, or stir a spoonful into soup just before serving. It’s very good with a crispy leftover pasta frittata, and it turns roast vegetables or a plain chicken breast into dinner.
If you use Froodie, the bag of spinach sits on your pantry list with how long it has left, so the pesto happens while the leaves are still worth blending.
From fridge to table
How to make it
- 01
Toast the nuts or seeds in a dry frying pan over medium heat. Shake the pan for 3 to 4 minutes, until golden and fragrant, then tip them onto a plate to cool.
- 02
Pick through the spinach and throw out any slimy or mushy leaves. Rinse it if it isn't pre-washed, then dry it well; wet leaves make a watery pesto.
- 03
Pulse the garlic, cooled nuts and salt in a food processor or blender until finely chopped.
- 04
Add the spinach, cheese, lemon zest and juice, and any herbs. Pulse to chop everything, scraping down the sides once or twice.
- 05
With the motor running, pour in the olive oil and blend until smooth. If it's too thick to move, add 1 to 2 tbsp water.
- 06
Taste and add more salt or lemon if it needs it. Use it straight away, or spoon it into a jar, smooth the top and cover with a thin layer of oil before refrigerating.




