Homemade Basil Pesto (Freezer-Friendly)
Bright, garlicky, and impossibly fresh, this classic basil pesto comes together in minutes and freezes beautifully for months of flavor on demand.
There is something almost magical about the moment fresh basil hits the food processor with toasted pine nuts, good olive oil, and a handful of salty Parmesan. The kitchen fills with that unmistakable herby, nutty, grassy aroma that instantly makes everything feel more alive. Homemade basil pesto is one of those recipes that tastes so far beyond what comes out of a jar that once you make it yourself, you will never want to go back. The color is vivid green, the texture is luscious and slightly chunky, and the flavor is layers deep in a way that store-bought versions simply cannot replicate.
This recipe is perfect for the height of summer when basil plants are bursting at the seams and you have more than you know what to do with, but it is honestly worth making any time of year with grocery store basil too. It is one of the most versatile sauces in any home cook's arsenal. Toss it with pasta, spread it on sandwiches, swirl it into soups, drizzle it over grilled chicken, or spoon it onto a cheesy flatbread. The real beauty here is the freezer-friendly method that lets you batch it up and stash it away so you always have a taste of summer just a thaw away.
I started making big batches of pesto every August when my backyard basil would go absolutely wild before the first cold snap threatened to take it all out. The idea of losing all those gorgeous, fragrant leaves felt heartbreaking, so I learned to preserve them the best possible way: blended into pesto and frozen in little cubes. Now I pull those cubes out all winter long and drop them straight into pasta water or warm pans, and it feels like a small gift from my past self every single time. This recipe is that kind of recipe, the one you will want to make on repeat.
Recipe at a Glance
Ingredients
Substitutions & Variations
Step-by-Step Instructions
Toast the Pine Nuts
Place the pine nuts in a small dry skillet over medium-low heat. Toast them, stirring frequently, for about 2 to 3 minutes until they turn golden and smell nutty and fragrant. Watch them closely because they go from perfectly toasted to burnt very quickly. Once golden, immediately transfer them to a plate to cool. This step deepens their flavor significantly and is worth the extra two minutes.
Prep the Basil
Pick the basil leaves off their stems and give them a gentle rinse under cool water. Spread them out on a clean kitchen towel or paper towels and pat them as dry as possible. Excess water on the leaves can dilute the pesto and cause it to darken more quickly, so take your time getting them dry. You should have about 2 loosely measured cups once cleaned.
Pulse the Garlic and Nuts
Add the peeled garlic cloves and cooled toasted pine nuts to the bowl of a food processor. Pulse about 8 to 10 times until the mixture is coarsely chopped. You want some texture here, not a paste just yet. Scrape down the sides of the bowl with a spatula before moving on.
Add the Basil and Dry Ingredients
Add the basil leaves, salt, and black pepper to the food processor with the nut and garlic mixture. Pulse another 10 to 12 times, stopping to scrape down the sides as needed, until the basil is finely chopped and everything looks evenly broken down. The mixture will be dry and crumbly at this point, and that is exactly right.
Stream In the Olive Oil
With the food processor running on low, slowly stream in the olive oil through the feed tube in a steady, thin stream. This gradual addition helps emulsify the oil into the pesto and gives it a smoother, more cohesive texture. Stop and scrape down the sides once or twice during this process. The pesto should come together into a loose, spreadable sauce. Add a splash more oil if it looks too thick for your liking.
Add the Parmesan and Lemon
Add the freshly grated Parmesan cheese and the teaspoon of lemon juice to the food processor. Pulse 5 to 6 more times just until the cheese is incorporated. The lemon juice brightens the entire sauce and helps the pesto hold onto its beautiful green color a little longer. Do not over-process at this stage since you want the Parmesan to maintain some texture in the final product.
Taste and Adjust Seasoning
Taste the pesto and adjust the seasoning to your preference. You might want more salt, a bit more lemon juice for brightness, or even a little extra Parmesan for more savoriness. Remember that if you are using this over pasta, the pasta cooking water and the dish itself will dilute the seasoning, so the pesto on its own should taste a touch more bold than you think you need.
Prep for Freezing
To freeze the pesto, spoon it into an ice cube tray, filling each compartment about three-quarters of the way full. Drizzle a very thin layer of olive oil over the top of each cube to create a seal that prevents browning and freezer burn. Place the ice cube tray in the freezer uncovered for 3 to 4 hours until the cubes are completely solid.
Transfer Frozen Cubes to a Bag
Once the pesto cubes are fully frozen, pop them out of the ice cube tray and transfer them to a zip-top freezer bag or an airtight freezer-safe container. Label the bag with the date and squeeze out as much air as possible before sealing. Each cube is roughly 2 tablespoons of pesto, making it super easy to grab just what you need without thawing the whole batch.
Store or Serve
If you plan to use the pesto within the next week, transfer it to a small airtight jar or container and store it in the refrigerator. Press a piece of plastic wrap directly against the surface of the pesto or add a thin drizzle of olive oil on top to minimize air exposure and browning. Use refrigerated pesto within 5 to 7 days for the best flavor and color.
Pro Baker Tips
Storage & Serving Notes
Serving Suggestions
Basil pesto is one of the most versatile condiments you can have on hand, and here are some of the best ways to put it to work.
Frequently Asked Questions
Go Make It!
Making homemade basil pesto is one of those small kitchen efforts that pays off in a big, lasting way. In just 15 minutes you get a sauce that is fresher, more flavorful, and more satisfying than anything from a store shelf, and with the freezer-friendly method you get to enjoy it all year long. Whether you are tossing it with pasta on a Tuesday night, spreading it on a sandwich for lunch, or pulling out a frozen cube to stir into a cozy winter soup, this pesto is the kind of recipe that earns a permanent spot in your rotation. Go grab that basil and get blending, because once you taste the real thing, there is no going back.