This classic homemade pesto recipe uses just a handful of simple, fresh ingredients to create an unbeatable pesto sauce. The best part? It’s incredibly easy and takes less than 5 minutes! This is one of my favorite recipes for elevating other dishes, and I’m excited to share it with you!

A bowl of penne pasta coated in homemade pesto, with a fork lifting a bite-sized portion. Fresh herbs and kitchen items are visible in the blurred background.

Why Homemade Pesto is the Best

Store-bought or shelf-stable pesto has its place, but it doesn’t even compare to fresh. Once you taste real fresh pesto, it’s hard to go back to jars of pesto that have been sitting on the pantry shelf for months.

With this classic pesto recipe, you get:

  • Brighter color
  • Stronger basil aroma
  • No preservatives
  • A fresher, cleaner taste

This easy basil pesto sauce is the top dog when it comes to pesto.

Ingredients for homemade pesto sauce arranged on a white surface: fresh basil, grated Parmesan, olive oil, minced garlic, salt, black pepper, pine nuts, with a green-striped kitchen towel and white measuring spoons nearby.

Easy Basil Pesto Sauce Ingredients

Homemade pesto is easy to make, and so much better than store-bought. Here’s a summary of what you’ll need (jump to the recipe card for the full recipe):

  • Fresh basil (just the basil leaves, stems removed)
  • Extra virgin olive oil
  • Toasted pine nuts
  • Freshly grated parmesan cheese: You can also sub pecorino romano
  • Minced garlic (or finely chopped garlic cloves)
  • Salt
  • Black Pepper
  • Lemon Juice (optional): A small squeeze of lemon juice gives it a brighter flavor and helps preserve the green color.

Equipment Needed

A white bowl filled with homemade pesto sauce, garnished with fresh basil leaves. Pine nuts are scattered on the surface nearby, with blurred green basil leaves in the background.

How to Make Traditional Homemade Pesto

Homemade pesto is a delicious mix of pine nuts, basil, and just a few other simple ingredients that has the best flavor when combined correctly. Here are the easy steps (jump to the recipe card for the full recipe):

  1. Remove stems from the fresh basil so only the tender basil leaves remain.
  2. To toast your pine nuts, add them in a single layer to a pan on your stovetop of medium heat, gently stirring constantly. When they start to brown and become fragrant, immediately remove from the heat. Pine nuts will go from toasted to burnt very fast.
  3. Add all ingredients to the bowl of a food processor.
  4. Blend until smooth and creamy, stopping to scrape down the sides as needed.
  5. Transfer to an airtight container or sealed container and refrigerate.

That’s it, a good pesto that’s better than any jar of pesto you’ll ever open!

Overhead view of a bowl of penne pasta topped with homemade pesto and grated cheese, surrounded by fresh basil, garlic bulbs, and pine nuts on a white surface. A fork rests in the bowl.

How Long Does Fresh Pesto Last?

When stored properly in the fridge in an airtight container or sealed container, fresh pesto will last about 5–7 days. At about the week mark, your pesto shelf life is over. 

Here’s what affects how long your pesto lasts:

  • Exposure to air (always cover the top of your pesto with plastic wrap before sealing)
  • Temperature
  • Clean utensils (to prevent growth of bacteria)

If you leave unrefrigerated pesto at room temperature for more than 2 hours, it should be discarded due to the risk of harmful pathogens and even the risk of botulism.

While homemade pesto doesn’t last long compared to the shelf life of your store-bought pesto, it still reigns supreme. Fresh is always best.

Signs of Spoilage

Throw it out if you notice:

  • A funky odor
  • Mold
  • Watery separation
  • A bitter or sour taste

Always check before using leftover pesto, especially once you’re past the expiration date window.

A spoon holds a portion of homemade pesto above a small white bowl filled with more pesto. Fresh basil, garlic, and other ingredients are visible in the blurred background.

Storage Tips for Fresh Pesto

Store your homemade basil pesto in an airtight container in the refrigerator. I do not recommend freezing this recipe, as freezing changes the texture and flavor

Favorite Ways to Use Pesto

Traditional pesto works in so many different ways. Here are a few of my favorite ways to enjoy it:

  • Toss with a plate of hot pasta (even better if it’s homemade pasta, but I’m not on that level yet!)
  • Spread on a breakfast sandwich
  • Drizzle over chicken or veggies
  • Add to homemade pizza or flatbread
  • Flavor up your pasta salad
  • Spoon over eggs
  • Add to a salad as a dressing, and sprinkle some extra parmesan on top
  • Mix into mayo for sandwiches
A white bowl filled with homemade pesto sauce, topped with fresh basil leaves, sits on a white surface. Blurred wooden containers and a ceramic item are in the background.

Fun Flavor Variations

I love homemade pesto the traditional way, but you can also change it up. Here are some ideas:

  • Swapping some basil for thai basil
  • Adding baby spinach for a milder taste
  • Using roasted garlic instead of raw
  • A pinch of red pepper flakes for heat

More Recipes You’ll Love:

A bowl of homemade pesto garnished with basil, surrounded by fresh basil leaves, pine nuts, garlic, eggplants, and two white measuring spoons on a white surface.

Basil Pesto Recipe

This classic homemade pesto recipe uses just a handful of simple, fresh ingredients to create an unbeatable pesto sauce. The best part? It's incredibly easy and takes less than 5 minutes! This is one of my favorite recipes for elevating other dishes, and I'm excited to share it with you!
Prep Time 3 minutes
Course Side Dish
Cuisine American, Italian
Servings 8 ounces

Equipment

  • Food processor

Ingredients
  

  • 2 Cups Fresh Basil
  • ½ Cup Olive Oil
  • ¼ Cup Toasted Pine Nuts
  • ¼ Cup Freshly Grated Parmesan
  • 1 Tablespoon Minced Garlic
  • 1/8 Teaspoon Salt
  • 1/8 Teaspoon Pepper

Instructions
 

  • Remove stems from the fresh basil so only the tender basil leaves remain.
  • To toast your pine nuts, add them in a single layer to a pan on your stovetop of medium heat, gently stirring constantly. When they start to brown and become fragrant, immediately remove from the heat. Pine nuts will go from toasted to burnt very fast.
  • Add all ingredients to the bowl of a food processor.
  • Blend until smooth and creamy, stopping to scrape down the sides as needed.
  • Transfer to an airtight container or sealed container and refrigerate.
Keyword basil pesto, homemade pesto