
This simple vegan gluten free pesto is a fresh, no-cook sauce made with basil, pine nuts, garlic, nutritional yeast, olive oil and lemon. Blend it in minutes, then spoon it over pasta, roasted vegetables, sandwiches or anything that could use a bright, savory finish.
The balance is what makes this version work: basil stays front and center, pine nuts bring buttery richness, and nutritional yeast adds a mellow, savory note in place of Parmesan. Lemon keeps the flavor lively, while a gradual pour of olive oil gives the pesto a spoonable texture. Expect a fragrant, garlicky sauce with a little citrus tang and no dairy or gluten-containing ingredients.
Why This Recipe Works
Toasting the pine nuts is optional, but a brief toast deepens their flavor and makes the pesto taste fuller. Let them cool before blending so they do not warm the basil or encourage it to lose its fresh aroma. Watch closely: small nuts can go from lightly golden to over-toasted quickly.
Blending in stages helps prevent a smooth, oily paste. First break down the garlic and nuts; then add the basil, nutritional yeast and lemon and pulse just until chopped. Pouring in the oil gradually lets you stop when the texture is right. Short pulses also limit heat from the machine and keep the basil from being worked more than necessary.
Finally, seasoning after blending matters. Pine nuts, nutritional yeast and lemons vary, and the sauce will taste different depending on how salty its eventual pasta or other dish is. Start with a modest amount of salt, taste, and adjust before serving.
Ingredients
- 2 cups fresh basil leaves, loosely packed, rinsed and thoroughly dried
- 1/2 cup pine nuts
- 2 to 3 medium garlic cloves, peeled
- 1/2 cup nutritional yeast
- 1/2 cup extra-virgin olive oil
- 2 tablespoons fresh lemon juice, about the juice of 1 lemon
- 1/4 teaspoon fine salt to start, plus more to taste
- 1/8 teaspoon freshly ground black pepper to start, plus more to taste
Ingredient Notes
Basil: Use fresh leaves with a clean, sweet aroma and no slimy or blackened patches. Dry the leaves well after rinsing; excess water can make the pesto thin and can dilute its flavor. If you need a substitute, replace up to half the basil with flat-leaf parsley for a milder, greener sauce. A full swap changes the classic basil flavor.
Pine nuts: Their mild, buttery flavor blends smoothly, but they can be expensive or unavailable. Raw walnuts or blanched almonds are useful substitutes; toast them the same way and expect a more pronounced nut flavor. For a nut-free version, use raw sunflower seeds, checking that they suit the dietary needs of everyone eating.
Garlic: Two cloves give the pesto a noticeable but balanced garlic flavor; use three for a sharper sauce. Garlic varies in size and intensity, so start with two if you are unsure. There is no need to cook it.
Nutritional yeast: This adds a savory, lightly toasted flavor and gives the sauce some of the rounded quality associated with cheese. It is not the same as Parmesan, so the result will taste distinct. If gluten avoidance is important, check the package label for a gluten-free statement and any cross-contact information.
Olive oil: Extra-virgin olive oil contributes both body and flavor. A peppery or very robust oil will be more noticeable in the finished sauce; use a milder one if you want the basil to dominate. For a less intense flavor, replace part of the oil with a neutral-tasting oil, though that changes the character of the pesto.
Lemon, salt and pepper: Fresh lemon juice brightens the rich nuts and oil; bottled juice can work in a pinch but may taste less lively. Salt brings the flavors into focus, and black pepper adds gentle warmth. Adjust both only after blending.
Instructions
- Toast the pine nuts (optional, 5 to 7 minutes): Heat the oven to 350°F. Spread the pine nuts in one layer on a small baking sheet and bake for 5 minutes, then check every minute until they are pale gold and smell nutty. Their color should be even, without dark brown spots. They continue to toast slightly from residual heat, so transfer them to a plate and cool for about 10 minutes before blending. Skip this step if you prefer a raw, milder flavor.
- Prepare the basil (about 2 minutes): Rinse the leaves under cool running water if needed, then dry them thoroughly with a clean towel or salad spinner. Pick away thick stems or damaged leaves. The basil should feel dry rather than damp; water clinging to it can thin the sauce and make it harder to judge the final texture.
- Break down the garlic and nuts (about 20 seconds): Put the garlic and cooled pine nuts in a food processor. Pulse 5 to 8 times, stopping to scrape the bowl if needed, until the nuts are roughly chopped and no large garlic pieces remain. Do not run the machine continuously at this stage; a coarse mixture gives the leaves room to blend without turning everything into a dense paste.
- Add the basil, nutritional yeast and lemon (about 15 to 20 seconds): Add the basil leaves, nutritional yeast and lemon juice. Pulse in short bursts until the basil is finely chopped and the mixture looks evenly green, scraping down the sides once if leaves are stuck above the blade. Stop before it becomes completely smooth. A little texture is a good sign and helps avoid warming the herbs.
- Blend in the olive oil (about 20 to 30 seconds): With the processor running, pour in the oil in a slow, steady stream. Stop as soon as the ingredients come together in a thick, spoonable sauce. If the pesto looks dry or clings in a stiff mound, add a little more oil from the measured amount if any remains, then pulse briefly. Avoid prolonged blending: the mixture should look glossy, not separated or foamy.
- Season and adjust (about 1 minute): Stir or pulse in 1/4 teaspoon salt and 1/8 teaspoon pepper, then taste. Add more salt, pepper or lemon a little at a time until the basil tastes vivid and the sauce is balanced. It should be well seasoned on its own, especially if you plan to toss it with unsalted pasta or vegetables. Use right away or transfer to a clean container.
Servings: about 1 cup (4 servings as a pasta sauce) Prep time: 10 minutes Cook time: 7 minutes, including optional nut toasting Total time: 17 minutes
Tips for Success
- Dry the basil completely. Water left on the leaves can make the pesto watery and mute its flavor. If you wash the basil, spin it dry and pat away any remaining droplets.
- Use short pulses. A food processor is convenient, but long blending can heat the ingredients and make the texture overly uniform. Pause to scrape down the bowl rather than blending for a long stretch.
- Let toasted nuts cool. Warm nuts can soften the basil’s fresh aroma. Spread them on a cool plate instead of leaving them on the hot baking sheet.
- Keep an eye on the oven. Pine nuts are small and toast quickly. Check at 5 minutes and then in short intervals; remove them when just golden and fragrant.
- Season for the dish you are making. Pasta water, bread and toppings may already contribute salt. Taste the pesto first, then make a final adjustment when you combine it with the rest of the meal.
- Loosen it at serving time. For pasta, reserve a little cooking water before draining. Toss the pesto with the pasta off the heat, adding the water a spoonful at a time until the sauce coats the noodles.
- Limit air exposure. Basil darkens when exposed to air. Press the pesto into a container and smooth the top; a thin film of olive oil can reduce contact with air, though it does not replace refrigeration.
Troubleshooting
The pesto is too thick: Stir in olive oil a teaspoon at a time, or loosen it with a little pasta cooking water when serving with pasta. Add liquid gradually so the sauce does not turn runny.
The pesto is too thin: Blend in a small amount of extra basil or nutritional yeast if you have it, or use less oil next time. If it is already made, serve it as a drizzle or toss it with additional pasta rather than trying to remove liquid.
It tastes bitter: Some extra-virgin olive oils have a naturally assertive or bitter finish, and over-toasted nuts can add bitterness too. Stir in a little more lemon juice and a pinch of salt, then taste again. Next time, use a milder oil and take the nuts out as soon as they are lightly golden.
The garlic overwhelms the basil: Add more basil and a little extra oil to soften the balance if available. For the next batch, begin with two cloves; you can always blend in a third after tasting.
The color looks dull: Old or bruised basil, excess blending, warm nuts or prolonged air exposure can all make the green less vivid. Use fresh, dry leaves, cool the nuts fully, pulse briefly and store the pesto promptly in a covered container. Lemon helps brighten the flavor but cannot guarantee that the color will stay bright.
The sauce tastes flat: Add salt a pinch at a time, then consider a little more lemon. Salt sharpens the other flavors, while lemon adds contrast to the rich oil and nuts. Taste after each addition rather than changing both in a large amount.
Variations
Nut-free pesto: Replace the pine nuts with an equal amount of raw sunflower seeds. Their flavor is earthier, so taste and adjust the lemon and salt after blending. If avoiding nuts because of an allergy, check labels on all packaged ingredients and prevent contact with utensils or surfaces that have touched nuts.
Walnut or almond pesto: Use 1/2 cup walnuts or blanched almonds in place of the pine nuts. Toast them at 350°F, checking frequently, until fragrant and lightly colored; walnuts may taste more robust, while almonds make a firmer, subtler sauce.
Less-garlicky pesto: Start with one or two cloves and blend, then taste before adding more. Raw garlic can become more pronounced as the pesto sits, so a restrained start is useful if you are making it ahead.
Herb blend: Replace up to half the basil with parsley for a fresher, less sweet profile. Tender leaves from a small amount of mint can also add a noticeable cooling note, but use it sparingly so it does not cover the basil.
Thicker spread: Use a little less olive oil and pulse only until the mixture holds together. The thicker texture works well in sandwiches or as a topping for baked potatoes and roasted vegetables.
More lemon-forward: Add extra lemon juice in small increments after blending. Since additional liquid loosens the pesto, balance it with a small amount of nutritional yeast or use it as a dressing for grains and vegetables.
What to Serve With It
Toss the pesto with hot pasta after taking the pan off the heat; direct, prolonged cooking can dull the fresh basil flavor. Reserve pasta water before draining and use it to help the sauce cling. For a gluten-free meal, choose pasta labeled gluten-free and cook it according to its package directions.
Use a spoonful on roasted vegetables, baked potatoes, rice bowls or warm grains. It also makes a flavorful sandwich spread, a dip for raw vegetables, or a finishing sauce for white beans, chickpeas or baked tofu. Spread a thin layer on toast and add sliced tomato or roasted vegetables for a quick lunch.
For a simple meal, pair pesto pasta with a crisp green salad or cooked vegetables. Because the pesto is rich, something fresh, lightly dressed or simply steamed makes a good contrast. Add the pesto near serving time rather than cooking it into a dish for a long period.
Make-Ahead, Storage and Reheating
Make the pesto up to a day ahead for the freshest basil flavor. Transfer it promptly to a clean, airtight container, press it into an even layer and refrigerate at 40°F or below. Refrigerate within 2 hours of making it, and use it within 3 to 4 days. Discard it if it has been left at room temperature longer than 2 hours (or 1 hour when the surrounding temperature is above 90°F). Do not rely on smell or appearance alone to determine whether food has been stored safely.
For longer storage, freeze the pesto in a freezer-safe container or in small portions in an ice-cube tray, then transfer the frozen portions to a sealed freezer bag or container. Keep it frozen at 0°F; for best flavor and texture, use within 2 to 3 months. Thaw it in the refrigerator, not on the counter. The texture or color may change slightly after freezing, but stirring it well usually brings it back together.
Pesto is generally used as a cool or room-temperature sauce, so it does not need reheating by itself. For pasta, stir it into hot noodles off the heat with a splash of pasta water. If reheating leftover pasta that already contains pesto, warm the pasta gently; the basil may lose some of its fresh character if heated for a long time. Refrigerate leftovers promptly and follow the same 3-to-4-day storage window.
Frequently Asked Questions
Is this pesto really gluten free?
Its listed ingredients do not inherently contain gluten, but packaged nutritional yeast and other products can differ by brand or be exposed to cross-contact during processing. If you need to avoid gluten, check each label and choose products that meet your needs.
Can I make it without a food processor?
Yes. Chop the garlic and pine nuts very finely with a knife, then finely chop the basil and mix everything with the nutritional yeast, lemon and oil. A mortar and pestle also works; crush the garlic and nuts first, then work in the basil before stirring in the remaining ingredients. The texture will be less uniform, but it will still make a good sauce.
Can I use dried basil?
Fresh basil is important for this recipe’s aroma, color and texture. Dried basil does not blend into the same kind of pesto and has a different flavor. If fresh basil is unavailable, it is better to choose another sauce than to substitute dried basil cup for cup.
Can I use a blender instead of a food processor?
Yes, though a blender may need more frequent scraping and can make the mixture smoother. Add the ingredients in stages and use short pulses. If the blades cannot catch the mixture, stop the blender, scrape down the sides and stir rather than adding a large amount of extra oil.
Why does pesto turn brown?
Basil can darken when its cut surfaces are exposed to air, and extended blending or warm ingredients may contribute. Use dry, fresh leaves, pulse briefly, cool toasted nuts fully and cover the pesto before refrigerating. Lemon can help keep the flavor bright, but some color change is normal.
Can I make the pesto less oily?
Use less oil for a thicker spread, then add a small amount of pasta water or another liquid only when you are ready to serve it. Oil is part of the sauce’s texture, so reducing it will make the pesto denser rather than identical to the original.
Can I freeze pesto with nutritional yeast?
Yes. Freeze it in small, sealed portions and thaw them in the refrigerator. It may separate or look less vivid after thawing; stir it well and adjust with a little olive oil or lemon if needed.
How much pesto should I use for pasta?
Start with a few spoonfuls per serving, toss, and add more until the pasta is lightly coated to your liking. The amount depends on pasta shape and whether you loosen the sauce with pasta water, so add it gradually rather than pouring in all of the pesto at once.
