How to Make Pesto: A Delicious Recipe to Preserve Garden Fresh Basil

Here’s how to make pesto from garden fresh basil to flavor pasta, sandwiches, and more. While there are plenty of variations, this homemade pesto with macadamia nuts will knock your socks off!

If you’re looking for another way to preserve your abundant crop, try dehydrating some basil for the pantry or making this dairy free basil sauce.

fresh basil pesto in a white dish with basil leaves and pine nuts


I’ve coaxed two basil plants to thrive in my very mediocre garden this year, so we’ve been having fresh homemade pesto for the past couple of months. (I’ve also been making it from radish leaves!) This is one of our favorite garden-grown condiments — a jar in the refrigerator doesn’t last long. (Scroll down for suggestions on ways to use it.)


The Handcrafted Pantry

Ready to DIY your pantry with more wholesome ingredients? Check out my ebook, The Handcrafted Pantry! Filled with delicious recipes for some of your favorite condiments, snacks, and toppings, it’s the guide you need to start skipping packaged products and embrace homemade.

How to make pesto at home

What we consider to be pesto — a sauce made from fresh basil and several other ingredients — is just one of many kinds of ‘pesto’ you might find in an Italian market.

The word pesto is derived from the Italian verb pestare, meaning to crush. 

So while you might think ‘basil’ when you hear the word pesto, you’d find broccoli, or artichoke, or any other number of flavors in Italy. It is made by crushing ingredients together, or often in this day and age, using a blender or food processor to puree them.

basil leaves in a food processor

Simply combine ingredients and process until pureed. If you’re using a blender, it’s helpful to have a tamper or pusher that you can safely use to push the ingredients down while the blender is running.

freshly made pesto in a food processor

Ingredients for a traditional basil pesto

You’ll only need a handful of ingredients to make pesto. Garden fresh basil is the star here, so if you’re not growing your own, find a friend or farmer who is.

Fresh basil: Opt for an Italian sweet basil or even Genovese basil. Wash and dry the basil and remove the leaves from the stems. Use only the leaves for making pesto.

Garlic cloves: Use whole fresh garlic cloves. 

Parmesan cheese: We’re talking freshly grated Parmesan here, not the canned stuff. You could also substitute Pecorino cheese if you like. If you prefer a vegan, non-dairy pesto, you can omit the cheese. Add several tablespoons of nutritional yeast instead. 

Olive oil: Choose a good quality extra virgin olive oil. 

Nuts: Traditional pesto calls for pine nuts. Pine nuts are expensive and often hard to find. I use macadamia nuts because they’re readily available to me locally. You can, of course, substitute walnuts, pecans, or even sunflower seeds. The flavor will vary as you change the type of nut you use. 

How to store homemade pesto

If you plan to use this within a day or two, store it in the refrigerator. 

To preserve for a longer amount of time, freeze the it. Portion this sauce into jars or fill an ice cube tray for smaller flavor bursts to add to soups. When I freeze pesto, I usually make it without the cheese and add it in upon use.

Whether freezing it or keeping it in the refrigerator, to prevent browning you can drizzle a layer of olive oil onto the surface.

fresh basil pesto in a white dish with basil leaves and pine nuts


★ Did you make this recipe? Don’t forget to give it a star rating below! ★

fresh basil pesto in a white dish with basil leaves and pine nuts

Homemade Macadamia Nut Pesto

This recipe calls for fresh basil and macadamia nuts. Not to worry, though. If you don't have mac nuts readily available, you can substitute a variety of nuts and the recipe will be just as delicious!
4.65 from 45 votes
Print Pin Rate
Prep Time: 10 minutes
Processing: 2 minutes
Total Time: 12 minutes
Servings: 8 servings
Author: Kris Bordessa


  • 5 cloves garlic
  • 4 cups freshly picked basil leaves
  • ¾ cup macadamia nuts
  • 1 cup extra virgin olive oil
  • ½ teaspoon sea salt
  • ½ teaspoon pepper
  • 1 cup Parmesan or Pecorino cheese


  • Wash and dry basil. Separate leaves from stems.
    4 cups freshly picked basil leaves
  • Drop garlic cloves and macadamia nuts into blender or food processor. Pulse until chopped coarsely
    5 cloves garlic, 3/4 cup macadamia nuts
  • Add remaining ingredients. Process on high until  nicely pureed.
    1 cup extra virgin olive oil, 1/2 teaspoon sea salt, 1/2 teaspoon pepper, 1 cup Parmesan or Pecorino cheese
  • Use immediately or store in the refrigerator for up to two days.
  • To freeze, transfer to freezer safe storage containers.


  • I use macadamia nuts because they're readily available to me locally. You can, of course, substitute walnuts, pine nuts, almonds, or pecans. 


Calories: 387kcal | Carbohydrates: 4g | Protein: 5g | Fat: 40g | Saturated Fat: 7g | Polyunsaturated Fat: 3g | Monounsaturated Fat: 28g | Cholesterol: 11mg | Sodium: 366mg | Potassium: 114mg | Fiber: 1g | Sugar: 1g | Vitamin A: 742IU | Vitamin C: 3mg | Calcium: 147mg | Iron: 1mg
Did you make this recipe?Mention @attainablesustainable or tag #attainablesustainable!

Using your freshly made homemade pesto

The obvious way to use your pesto is to toss it with pasta. Or serve it up over low-carb spaghetti squash for a healthy vegetarian meal.

You can use it as is, or make a creamy sauce by stirring 1/2 cup of pesto into a cup of heavy cream.

But you can also use it many other ways!

  • Spread some on your tortilla when you’re making wraps.
  • Mix it into mayonnaise for a sandwich spread.
  • Add it to a sun-dried tomato quiche.
  • Toss a cube in for flavoring when you’re making marinara sauce or minestrone soup.
  • Slather it on pizza (it’s great with cubed chicken). My pizza dough recipe is here.
  • Brush some onto focaccia.
  • Add a spoonful or two when you make hummus for a different flavor.
  • Make a pesto/mozzarella quesadilla.
  • Try a grilled eggplant and pesto sandwich.
  • When you’re making an egg salad sandwich, slather one slice of bread with this green goodness. Sounds weird, but trust me.
  • Stir a spoonful into your favorite vinaigrette salad dressing.
  • Top a baked potato.
  • Slice a ciabatta roll, spread the cut sides with pesto and fill with chopped sun-dried tomatoes and sliced mozzarella. Broil to melt the cheese (or use a panini maker).
  • Add a dollop to your morning omelet.
  • Serve it over bowtie pasta made from scratch.

Originally published September 2015; this post has been updated.

Click to save or share!

About the author: Kris Bordessa is an award-winning National Geographic author and a certified Master Food Preserver. Read more about Kris and how she got started with this site here. If you want to send Kris a quick message, you can get in touch here.

7 comments… add one
  • Roberto Apr 29, 2021 @ 22:23

    Ciao Kris, just wanted to congratulate you on your book being a top ten pick from Publishers Weekly. The book is full of ideas that I can put to use in our garden. As for the Basil Pesto, I grow some Basil in our Serra and usually give it to our guests so they can use it when they cook in their guest room. However, we just purchased a pizza oven and now the plan for the Basil is to make your pesto and use it on Pizzas for the pizza parties. Looks easy to make and should make a big difference when combined with your pizza dough recipe. We will update this next week after the pizza party. Thanks again!

    • Kris Bordessa Apr 30, 2021 @ 9:25

      Ah, if *I can’t be in Italy, at least I’m happy knowing that you’re enjoying pesto pizza!

  • Susan Jul 7, 2020 @ 18:51

    The pesto sounds yummy. I just wish I could print the recipe without the ads. On my first try they covered up part of the recipe.

    • Kris Bordessa Jul 11, 2020 @ 9:00

      Thanks for letting me know. I’ll look into this.

  • barbara morris Jul 7, 2020 @ 14:50

    love pesto and thanks for the recipes.

  • Michelle Mar 24, 2018 @ 19:29

    A great alternative to store bought pesto. So tasty.

  • Sarah Sep 2, 2015 @ 17:33

    Oh, I love pesto! I have a huge bouquet of basil on my counter right now, just waiting to become pesto. I try to freeze enough cubes of it to last me until the next summer. I haven’t tried it in minestrone soup though, so I may need to try that this fall! Great list of ideas!

Leave a Reply

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

Recipe Rating