New gardeners, THIS is the easiest way to start!Learn More

attainable sustainable book cover
Check out my book!

A Publishers Weekly top ten pick from National Geographic Books!

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

May contain affiliate links. Please see my privacy policy and affiliate disclosure.

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.

pesto in a white bowl from above

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.)

pesto ingredients in a food processor

The Handcrafted Pantry

Ready to DIY your pantry with healthier 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.

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.

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 almonds. The flavor will vary as you change the type of nut you use. 

green pesto in jars from above

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.

close up of green sauce in a white bowl

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

green pesto in jars from above

Homemade Macadamia Nut Pesto

Yield: 8 servings
Prep Time: 10 minutes
Processing: 2 minutes
Total Time: 12 minutes

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!



  1. Wash and dry basil. Separate leaves from stems.
  2. Drop garlic cloves and macadamia nuts into blender or food processor. Pulse until chopped coarsely
  3. Add remaining ingredients. Process on high until  nicely pureed.
  4. Use immediately or store in the refrigerator for up to two days.
  5. 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. 

Nutrition Information:
Yield: 8 Serving Size: 1 grams
Amount Per Serving: Calories: 169Total Fat: 15gSaturated Fat: 3gUnsaturated Fat: 0gCholesterol: 8mgSodium: 201mgCarbohydrates: 3gFiber: 1gProtein: 5g

Did you make this recipe?

Share an image on Instagram and tag @attainablesustainable with #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!

Meet the Author

Kris Bordessa

Kris Bordessa founded Attainable Sustainable as a resource for revitalizing vintage skills. Her book, Attainable Sustainable: The Lost Art of Self-Reliant Living (National Geographic) offers a collection of projects and recipes to help readers who are working their way to a more fulfilling DIY lifestyle.

5 comments… add one
  • Susan Jul 7, 2020, 6:51 pm

    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 am

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

  • barbara morris Jul 7, 2020, 2:50 pm

    love pesto and thanks for the recipes.

  • Michelle Mar 24, 2018, 7:29 pm

    A great alternative to store bought pesto. So tasty.

  • Sarah Sep 2, 2015, 5:33 pm

    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 Comment