
Traditional pesto leans on parmesan for its savory, slightly funky edge, and nutritional yeast happens to carry a similar umami quality without any dairy behind it at all.
Blended with fresh basil, pine nuts, garlic, and good olive oil, this pesto comes together in a food processor in the time it takes the pasta water to boil.
This recipe is written to be dairy-free, not as medical advice. If you have a diagnosed milk allergy rather than an intolerance or preference, always check every packaged ingredient's label yourself.
A Short History
Pesto originates from Genoa, in the Liguria region of northwest Italy, where the local basil, olive oil, and pine nuts grew abundantly and the sauce was traditionally ground by hand in a marble mortar with a wooden pestle, which is where the name comes from. Parmesan and pecorino were added later, once cheese trade routes made them widely available in the region.
Nutritional yeast itself has a very different history, developed and popularized in the twentieth century as a byproduct of the brewing industry and later adopted widely in vegetarian and vegan cooking for its cheese-like, savory flavor. Using it in pesto is a modern substitution that keeps the sauce's core Ligurian technique intact while replacing only the one dairy ingredient.
The Four Components
- Protein. Pine nuts, which carry some plant protein.
- Starch. Pasta of your choice.
- Vegetable. Fresh basil and cherry tomatoes.
- Sauce. A basil, nutritional yeast, and olive oil pesto.
Choosing the Basil
Use fresh basil leaves, not dried; dried basil has almost none of the bright, peppery aroma that makes pesto work, since most of that aroma lives in the oils of the fresh leaf and is lost in drying. Pick leaves that are deep green with no dark or slimy spots, a sign the basil is starting to break down.
Wash and dry the basil thoroughly before blending, since trapped water dilutes the pesto and can shorten how long it keeps. A salad spinner works well for this, or pat the leaves dry with a towel after a quick rinse.
The Technique That Makes It: The Emulsified Blend
Good pesto is technically a rough emulsion, not just a puree; the olive oil needs to be worked into the basil, nuts, and garlic gradually enough that it coats everything evenly rather than pooling separately at the bottom of the processor bowl. Streaming the oil in slowly with the motor running achieves this far better than dumping it all in at once.
Pulsing rather than running the processor continuously also matters, since basil bruises and oxidizes quickly under prolonged blending, which can turn a bright green pesto dull and slightly bitter. Short pulses keep the leaves from overheating against the blade, preserving both the color and the fresh, grassy flavor that defines the sauce.
Dairy-Free Pesto Pasta
Serves four. Prep fifteen minutes, cook fifteen minutes, total about thirty minutes.
Ingredients
Protein
- 1/3 cup pine nuts
Starch
- 12 ounces pasta of your choice
Vegetable
- 2 cups fresh basil leaves, packed
- 1 cup cherry tomatoes, halved
- 2 cloves garlic
Sauce
- 3 tablespoons nutritional yeast
- 1/2 cup olive oil
- Salt and black pepper, to taste
Method
The pasta
- Bring a large pot of salted water to a boil and cook the pasta according to package directions. Reserve 1/2 cup pasta water before draining.
The pesto
- While the pasta cooks, blend the basil, pine nuts, nutritional yeast, and garlic in a food processor, pulsing to combine. With the motor running, stream in the olive oil slowly until smooth.
Bringing it together
- Toss the drained pasta with the pesto, adding reserved pasta water a little at a time to loosen the sauce.
- Fold in the cherry tomatoes and season with salt and black pepper before serving.

Doneness
The pasta itself should be cooked to al dente, tender but with a slight bite at the center; check a strand a minute before the package time suggests, since it will soften a touch more once tossed with the warm pesto and pasta water.
Nutrition (per serving, estimated)
Estimated from the ingredients as written, not lab-verified. This is not medical or nutrition advice; if you have a diagnosed milk allergy, verify every ingredient label yourself.
- Calories 520
- Fat 27 g
- Saturated fat 4 g
- Cholesterol 0 mg
- Sodium 210 mg
- Carbohydrates 58 g
- Fiber 4 g
- Sugar 3 g
- Protein 14 g
Get Ahead: A Timing Plan
- Up to three days ahead: the pesto keeps well refrigerated with a thin layer of olive oil on top.
- While the pasta cooks: blend the pesto so it's ready the moment the pasta drains.
- Last step: loosen the sauce with reserved pasta water for the best coating consistency.
Wine Pairing
A bright, herbaceous pesto wants a white with its own green, grassy notes rather than something heavy or oaky.
- Vermentino is the Ligurian sauce's natural regional partner and matches the basil beautifully.
- Sauvignon Blanc brings its own herbaceous, green edge that echoes the pesto.
- Pinot Grigio if you want something lighter and more neutral alongside the tomatoes.
Building the Meal Around It
A complete plate on its own, or pair with Turkey and Zucchini Skillet for extra protein. A simple green salad with lemon vinaigrette rounds it out without competing with the basil.
Cooking for a Crowd
The pesto scales up cleanly in a food processor, though very large batches may need to be blended in two rounds so the blade can actually reach and process all of the basil. Cook the pasta in batches if your pot isn't large enough for the full amount, then toss everything together in the biggest bowl you have so the pesto coats evenly.
Troubleshooting
- Dull, brownish pesto. The basil was over-processed or blended too long, which bruises and oxidizes the leaves. Pulse rather than run the processor continuously.
- Sauce won't coat the pasta. It's too thick straight from the processor. Loosen it gradually with reserved pasta water until it clings rather than pools.
- Bitter pesto. The basil was old, or too much garlic was used relative to the other ingredients. Use fresh basil and taste the raw garlic first if you're unsure of its strength.
- Watery pasta. Too much pasta water was added at once. Add it a splash at a time, stirring between additions.
Variations
- Swap the nuts. Walnuts or almonds work well and are usually more affordable than pine nuts.
- Add protein. Grilled chicken or white beans stirred in turn this into a heartier one-bowl meal.
- Use different greens. A mix of basil and baby spinach stretches the pesto and mellows its intensity.
- Make it a cold pasta salad. Toss the pesto pasta and rest it in the fridge for a make-ahead salad.
Frequently Asked Questions
Can I use walnuts instead of pine nuts?
Yes, walnuts work well and are usually more affordable than pine nuts.
What does nutritional yeast taste like?
It has a savory, slightly nutty and cheese-like flavor, and is available in most grocery stores near the health food section.
Why did my pesto turn brown?
Over-blending bruises the basil and causes oxidation. Pulse the processor rather than running it continuously, and use the pesto soon after making it.
Can I freeze pesto?
Yes, freeze it in an ice cube tray for easy portioning, then transfer the cubes to a bag once solid.
Can I make this nut-free?
Sunflower seeds work as a nut-free substitute for the pine nuts, with a slightly different but still pleasant flavor.
How long does the pesto keep in the fridge?
Up to three days, kept fresher longer with a thin layer of olive oil poured over the top to limit air exposure.
More Dairy-Free Recipes
Looking for something else? Dairy-Free Chicken Marsala, Turkey and Zucchini Skillet, and the full Dairy-Free collection.
Who Is Writing This
I'm Chef Alan. I have spent 35 years in professional kitchens, I have formal culinary education in New Hampshire, and I have been honored as a 6-Time 4-Diamond Chef. More about me here.
If a recipe is missing something you needed, or a step didn't make sense, tell me. Get in touch and I'll fix it.
Cook Bolder, Serve Wiser, Eat Better.