How to Make Pesto: Basil, Pine Nuts and Storage

Fresh basil pesto takes about 15 minutes and five ingredients. This guide gives exact amounts, numbered steps, pine nut swaps, and safe storage rules.

By Galactic News Editorial · Published 2026-11-23T22:52:23+00:00 · Updated 2026-11-23T22:52:23+00:00

How to make pesto with basil pine nuts and olive oil

How to Make Pesto: Basil, Pine Nuts and Storage

Fresh basil pesto takes about 15 minutes and five ingredients. Blend basil, pine nuts, garlic, Parmesan, and olive oil into a bright green sauce. Use it on pasta, sandwiches, grilled vegetables, or soup. This guide gives exact amounts, numbered steps, swaps that work, and safe storage rules. Pesto is garlic in oil, so storage matters. Keep it cold and freeze what you will not use within a few days.

How to make pesto: ingredients

This recipe makes about 1 cup of pesto, enough for 8 servings of 2 tablespoons. Use these amounts.

Pick small, bright basil leaves. They taste sweeter than large, coarse ones. Use sweet basil, the kind sold for pesto. Skip Thai basil. It is too pungent for this sauce. Use only the leaves. Stems add bitterness. Grate the Parmesan finely so it blends in. A good olive oil matters here. The oil is a main flavour, not a background note. Lemon juice is optional, but it brightens the sauce and helps slow browning.

How to make pesto step by step

  1. Toast the pine nuts. Stir them in a dry skillet over medium-low heat for about 4 minutes. They should turn light golden and smell fragrant. Watch them closely. Pine nuts burn fast.
  2. Cool the nuts. Tip them onto a plate. Let them cool to room temperature for about 5 minutes. Hot nuts wilt the basil.
  3. Wash and dry the basil. Rinse the leaves under running water. Spin them in a salad spinner or pat them dry. Wet basil makes thin, dull pesto. Dry leaves are essential.
  4. Pulse the nuts and garlic. Put the cooled pine nuts and garlic in a food processor. Pulse about 10 times until finely chopped.
  5. Add the basil. Add the basil leaves and a pinch of salt. Pulse until finely chopped. Scrape down the sides once.
  6. Stream in the oil. With the machine running, pour the olive oil in a slow, steady stream. Stop when the pesto is smooth but still has a little texture. Do not over-blend. Pesto should keep some body.
  7. Stir in the cheese. Add the Parmesan and lemon juice. Pulse once or twice to combine. Taste and adjust the salt.

You can also make pesto with a mortar and pestle, the traditional method from Genoa. Pound the garlic and salt first, then the nuts, then the basil. Stir in the cheese and oil last. It takes longer, but the texture is coarser and the flavour is brighter. A blender works too. Use short pulses and stop often to scrape the sides. Chilling the bowl and blade for 30 minutes before blending helps keep the basil green.

Pine nuts and swaps that work

Pine nuts are traditional in pesto alla Genovese. They add a soft, buttery nuttiness. They are also expensive and go rancid quickly. Store spare pine nuts in the freezer. If pine nuts are too costly, walnuts are the best swap. They add a slightly bitter edge. Almonds, pistachios, and cashews also work. Toast any substitute lightly first. It improves flavour and texture. Sunflower seeds suit a nut-free version. Use the same amount by volume. For the cheese, Pecorino Romano can replace Parmesan. It is saltier, so reduce the added salt. A hard vegan cheese can work for a dairy-free version, but the flavour will differ. For the basil, spinach or rocket can stretch a small basil harvest. Use half basil and half spinach to keep the pesto flavour. Do not use dried basil. It cannot replace fresh leaves in this sauce.

How to use pesto

Pesto is more than a pasta sauce. Toss it with hot pasta and a splash of pasta water. The starchy water loosens the sauce and helps it coat the pasta. Spread it on sandwiches and wraps. Stir a spoonful into soup just before serving. Spoon it over grilled chicken, fish, or roasted vegetables. Mix it with soft cheese for a quick dip. Thin it with a little more olive oil and lemon juice for a salad dressing. Add pesto to hot food off the heat. Long cooking dulls the fresh basil flavour. Stir it in at the end.

How to fix common pesto problems

ProblemLikely causeFix
Pesto turned brownOxidation from air exposurePress plastic wrap onto the surface; add a thin oil layer; add lemon juice next time
Pesto tastes bitterOver-blended basil or old nutsBlend less; use fresh nuts; add a pinch more salt and cheese
Pesto is too thickNot enough oilStir in olive oil a tablespoon at a time
Pesto is too oilyToo much oil or over-blendingStir in more basil and cheese to balance
Pesto tastes flatNot enough salt or acidAdd salt and a squeeze of lemon juice
Garlic is too strongLarge or raw garlic clovesUse one clove next time; toast the garlic briefly first

Browning is the most common complaint. It is oxidation, not spoilage. The pesto is still safe to eat if it has been stored cold. A thin layer of oil on top blocks air and slows browning. So does pressing plastic wrap directly onto the surface before sealing the container.

How to store pesto safely

Pesto needs cold storage. It is garlic in oil. The National Center for Home Food Preservation says pesto should be made fresh, kept in the refrigerator for no more than 3 days, and frozen for longer storage. Garlic-in-oil mixtures carry a botulism risk at room temperature. Keep pesto at 40°F (4°C) or colder. Never store pesto at room temperature.

WhereHow longTip
RefrigeratorUp to 3 daysCover the top with a thin layer of oil
FreezerUp to several monthsFreeze in cubes, then bag them
Room temperatureNever for storageRefrigerate right after making

To freeze pesto, spoon it into an ice cube tray. Leave about 1/2 inch of headspace in freezer jars or containers. Cover with a thin layer of oil. Freeze until solid, then move the cubes into a freezer bag. Label the bag with the date. Thaw cubes in the refrigerator or add them straight to hot pasta. Use clean, sanitised jars. Discard pesto that smells sour, shows mould, or has been left out for more than 2 hours. When in doubt, throw it out.

Bottom line

Toast the pine nuts, dry the basil well, pulse rather than over-blend, and stream in the oil last. Use walnuts if pine nuts are too dear. Keep fresh pesto in the fridge for up to 3 days. Freeze the rest in cubes. That is how to make pesto that stays bright, safe, and ready when you need it.