This vibrant green pesto sauce is loaded with all of the traditional ingredients (fresh basil, pine nuts, and olive oil) but made dairy free with the use of creamy, delicious roasted garlic as the stand-in for parmesan cheese. Spread it on crusty bread, toss it with pasta, or use it as a pizza sauce – you can’t go wrong!

This pesto has my heart, always and forever. It’s so rich and full of flavor, but somehow bright enough that I could (quite literally) eat it by the spoonful. I’ll settle for mixing it with chicken (pesto chicken salad-style), serving it alongside plantain chips or arugula salad, or tossing it with pasta and salmon for the most delicious salmon pesto pasta dish ever – that’s more sensible, right?!

If you’re looking for another delicious spread option, try our bold, briny homemade olive tapenade!

A bowl of dairy-free pesto on a light gray surface next to a bowl of toasted pine nuts, roasted garlic, and toast.

Pesto is a delicious, flavorful green sauce that is typically made with garlic, pine nuts, basil leaves, olive oil, and (in many cases, but not this one) cheese. It originated in Italy and is SUPER flavorful and versatile!

This dairy-free pesto recipe includes roasted garlic to offset the missing cheese flavor, toasted pine nuts (for even more flavor), and a lot of really fresh basil. Don’t worry, the pesto doesn’t scream “GARLIC!” … it screams “holy cow what is in this magic green paste that tastes so amazing?!”

Ingredient Notes and Substitutions

Below, you’ll find everything needed for a delicious dairy-free pesto sauce. Substitutions are listed when applicable, and exact amounts can be found in the recipe card!

Ingredients for dairy free pesto sit in a variety of bowls on a marble countertop.
  • Fresh basil leaves – a signature ingredient in pesto! Fresh is key here.
  • Garlic – garlic is the star of this pesto show!
  • Pine nuts – we’re keeping things traditional with pine nuts here, but if you want to save a few dollars, feel free to grab walnuts or sunflower seeds instead.
  • Lemon – fresh lemon juice adds some zing and acidity to the pesto.
  • Salt and pepper

Recipe Step by Step

First, roast the garlic…

Roasting the garlic is the most time-consuming part, which is compensated by the fact that your house will smell like an Italian villa for the rest of the day. I love the smell of roasted garlic. Don’t be intimidated by the process! It’s super easy.

A person chopping off the tip of a bulb of garlic on a wooden cutting board.
A bulb of garlic wrapped up in a muffin tin
A bulb of garlic sitting in parchment paper in a muffin tin.
Roasted garlic wrapped in parchment paper and sitting in a muffin tin.
  1. Prep – preheat the oven to 375°F, and peel the outer layers of the garlic skin off, leaving the cloves still attached. Then, cut the top of the bulb off (making sure to cut the tops of cloves hiding on the side).
  2. Wrap – wrap the prepped garlic bulb in parchment paper with the cut side up, then place the wrapped garlic in a muffin tin to balance.
  3. Bake – roast the garlic at 375°F for 30-45 minutes.
  4. Let cool – remove the garlic from the oven and let cool before handling.

Then, make the pesto…

Now that the garlic is roasted, you’re closer than EVER to having a delicious herby sauce at your disposal – lucky you! Here’s how you’ll pull the rest of the recipe together:

Pine nuts toasted in a small stainless steel pan.
Roasted garlic being squeezed into a food processor.
A top view of homemade dairy-free pesto after being pulsed for the first time.
Fresh basil being added into a food processor.
A lemon being juiced using a bright yellow citrus juicer into a food processor.
Olive oil being added to a food processor of pesto.
Toasted pine nuts being poured into a food processor.
Olive oil being poured into a food processor.
Smooth, creamy, bright green pesto in a food processor.
  1. Toast the pine nuts – stirring constantly, toast the pine nuts in a small/medium-sized pan over low/medium heat. Remove them from heat when they’re slightly brown and fragrant.
  2. Pulse ingredients in a food processor – add the basil, lemon juice, roasted garlic, toasted pine nuts, and half of the EVOO to a food processor, and pulse until everything is evenly combined.
  3. Pulse the rest of the ingredients – add the salt, pepper, and remaining EVOO to the food processor, and pulse until the pesto is smooth and creamy.

Recipe Tips and Tricks

  • Squeeze the roasted garlic – instead of trying to peel the roasted garlic cloves, use your fingers to squeeze them out!
  • Don’t burn the pine nuts – toasting the pine nuts adds A LOT of flavor to the finished sauce. Be sure to toast them just until they’re slightly brown and fragrant, though – they can go from perfectly toasted to downright burnt REALLY quickly.
  • Use a blender – if you don’t have a food processor, just a blender (individual or regular) to make the pesto instead!
A person using a spoon to spoon out some dairy-free pesto from a white bowl.

How to Use Pesto Sauce

Pesto is insanely delicious on SO MANY things. Here are a few of our favorite uses for it:

How to Store

Store your pesto in an airtight container (a mason jar works GREAT) in the refrigerator. Stored this way, it’ll last for up to 5 days.

For long-term storage, freeze your pesto for up to 3 months.

Pesto sauce on a toasted slice of crusty white bread.

Is pesto unhealthy or healthy?

Whether or not pesto is healthy or not is really dependent on your body and how it reacts to different kinds of foods. If you do well with the ingredients in this pesto recipe, then it’s a delicious, healthy option for you that is chock-full of anti-inflammatory, heart-healthy fat.

What do you eat pesto with?

You can truly eat pesto with ANYTHING! It’s incredibly delicious on a sandwich or pizza and can also be used as a toast or scrambled egg topper for breakfast.

Is pesto Italian or Mexican?

Pesto is an Italian basil sauce originally created in Genoa, Italy.

Is pesto usually served hot or cold?

Pesto can be served either way! You can heat it up for pasta or pizza or leave it cold for a sandwich spread. Either way is totally delicious.

Is it worth making your own pesto?

There are definitely some jarred pestos that are really yummy and made with simple ingredients, but honestly, nothing beats homemade, so if you’ve got the time, I recommend whipping up a batch of your own.

What can I use instead of pine nuts in pesto?

Pine nuts are typically pretty pricy, so if you’re looking to save some dollars, feel free to swap them for walnuts or sunflower seeds.

Dairy-Free Pesto with Roasted Garlic

5 — Votes 4 votes
By Amber Goulden
Prep: 5 minutes
Cook: 45 minutes
Total: 50 minutes
Servings: 8 Servings
Pesto minus the dairy, but still full of the flavor!

Ingredients  

  • 1 cup packed (4 ounces) fresh basil leaves
  • 1 garlic bulb
  • ¼ cup pine nuts
  • Juice of 1 lemon
  • ¼ cup extra-virgin olive oil
  • ¼ teaspoon salt
  • Cracked pepper to taste

Instructions 

  • Roasted Garlic
  • Preheat the oven to 375°F.
  • Peel the outer layers of the garlic skin off, leaving the cloves still attached. Then, cut the top of the bulb off (making sure to cut the tops of cloves hiding on the side).
  • Wrap the prepped garlic bulb in parchment paper with the cut side up, then place the wrapped garlic in a muffin tin to balance.
  • Roast the garlic at 375°F for 30-45 minutes.
  • Remove the garlic from the oven and let cool before handling.
  • Pesto
  • Stirring constantly, toast the pine nuts in a small/medium-sized pan over low/medium heat. Remove them from heat when they’re slightly brown and fragrant.
  • Add the basil, lemon juice, roasted garlic, toasted pine nuts, and half of the EVOO to a food processor, and pulse until everything is evenly combined.
  • Add the salt, pepper, and remaining EVOO to the food processor, and pulse until the pesto is smooth and creamy.

Recipe Notes

Nutrition information above is for 2 tablespoons of pesto sauce.

Nutrition

Calories: 89kcal | Carbohydrates: 1g | Protein: 1g | Fat: 10g | Saturated Fat: 1g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 6g | Sodium: 73mg | Potassium: 36mg | Fiber: 0.2g | Sugar: 0.2g | Vitamin A: 160IU | Vitamin C: 1mg | Calcium: 7mg | Iron: 0.4mg

Additional Info

Course: Condiment
Cuisine: Italian
Servings: 8 Servings
Calories: 89
Keyword: pesto

Like this recipe?

Leave a comment


About the Author

Cassy Joy Garcia, NC

Cassy Joy Garcia, a New York Times best-selling author, of Cook Once Dinner Fix, Cook Once Eat All Week, and Fed and Fit as well as the creative force behind the popular food blog Fed & Fit.


More Like This

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating




49 Comments

  1. This was my first go at homemade pesto, and wow! I’m in love. That’s so much!

    1. Homemade is so much better than the store bought varieties! So glad you liked it Sara!

  2. Can’t wait to try this! Can you tell me how you store it (freezer vs. fridge)? How long will it last in the fridge?

    1. Absolutely! I’ve stored it both ways before. In the fridge, it’ll last about 7 days. To store in the freezer, I’ll actually spoon it into ice cube molds to freeze, then transfer to a freezer-safe Ziploc bag for a couple months. That way, you can just grab the exact amount you need without defrosting the whole batch. Hope that helps!

  3. I just made a jar of this and used a couple of spoonfuls to top my barramundi, broccolini and pumpkin and holy crap it was amazing!! I have always loved pesto but gave it up and now I can enjoy it again! I love all your recipes!

    1. That sounds SO delicious! I’m so glad that you can enjoy pesto again! Thanks for the awesome feedback 🙂

  4. Hi Cassy

    I just made it now, and it tastes amazingly delicious. Wow. Thank you lots 🙂

  5. Hi! I was wondering.. I recently went paleo and am now experimenting with different recipes. I make my own pesto any time I need pesto, but instead of using pine nuts I use walnuts, can I do that with this recipe as well?? Have you tried other nuts?
    Thanks!

  6. Thank you so much for this amazing recipe, Cassandra, I couldn’t believe how delicious this was. Please try it over roasted spaghetti squash, so good!

  7. OH MY GOD. This is the first recipe I’ve tried for pesto (ever!), and my god its amazing!!!! Literally eating it with a spoon. Thanks for the easy to follow instructions!

    1. Haha nice!! Welcome to the world of pesto obsession. I’m so glad you like it!

  8. I made this tonight and slathered some on grilled chicken. Ahhhh-mazing!!!! So delicious, thanks for the recipe….and the house smells amazing, too!

  9. The Husband and I are CrossFitters, and while we generally adhere to clean eating, we haven’t taken on the paleo challenge. Until now, that is. I made this delicious pesto and used it, along with some tomatoes, to top our freshly caught fish tonight and we loved it! Thanks for the recipes. Keep ’em coming!

    1. It’s my pleasure, Rachel! Thank you for the note! I’m so glad y’all liked the pesto.

  10. I love the tip on roasting garlic in foil. I’ve tried that before it works great if you seal the garlic very tight.

    1. Thanks, Chloe! You’re so right – sealing it very tight is important!

  11. I made this pesto, and although tastes amazing, it’s not as creamy looking at yours. suggestions?

    1. Hi Jordan! Hmm … the difference could be in how quickly you added the olive oil to the rest of the pesto. Next time you give it a try, add the olive oil in more slowly (not quite as slowly as you would when making mayo) and see if that helps the texture.

  12. Mm, the pesto looks divine! I’ll have to try this on my favorite summer dish: zucchini noodles and cherry tomatoes (usually mixed lightly with olive oil and black pepper). The little jar is charming as well.

    1. That sounds delicious!! Zucchini and cherry tomatoes just made my weekly grocery shopping list! Thank you 🙂