Skip to main content

Roasted Garlic Walnut Pesto for Freezing

Jump to recipe ↓

Why it works: Garlic and walnut are a kitchen classic. They rank in the top 12% of all ingredient pairs, and 1,005 recipes mention both. Both carry 3-ethyl-2,5-dimethylpyrazine, which smells roasted, nutty. The science ↓

The recipe

12 servings
Prep15 min
Cook40 min

Ingredients

Contains: tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)

Directions

Method written by CompKitchen from the ingredient list. Not the original author's method, not kitchen-tested.

  1. Heat the oven to 400°F (200°C). Cut the tops off the garlic bulbs, drizzle the exposed cloves with the 1 tablespoon olive oil, wrap in foil, and roast for about 35 to 40 minutes until soft.

  2. Meanwhile, bring a pan of boiling water to a boil. Fill a large bowl with the ice water. Blanch the basil in the boiling water for about 15 seconds, then move it straight into the ice water.

  3. Drain the basil and squeeze out as much water as you can with your hands or a clean towel.

  4. Toast the chopped walnuts in a dry skillet over medium heat for 3 to 4 minutes, stirring often, until fragrant. Let them cool.

  5. Let the roasted garlic cool until safe to handle, then squeeze the soft cloves out of their skins.

  6. Put the basil, walnuts, roasted garlic, and salt and pepper to taste into a food processor. Pulse until coarsely chopped.

  7. With the processor running, slowly add the 1 cup extra-virgin olive oil in a steady stream until the pesto is smooth. Taste and adjust the salt and pepper.

  8. Spoon the pesto into freezer-safe containers or ice cube trays, leave about 1/2 inch (1 cm) of headspace, seal, label, and freeze.

By allrecipes. Recipe from Open Recipes.

Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.

Explore the science

The flavor team

The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.

  1. Garlic + walnuttop 12% of all pairs
    Aroma overlapmoderate
    Mentioned together1,005 recipes

    Shared aroma: 3-ethyl-2,5-dimethylpyrazine (roasted, nutty).

  2. Pepper + basiltop 3% of all pairs
    Aroma overlapstrong
    Mentioned together5,292 recipes

    Shared aroma: methyl cinnamate (strawberry).

  3. Garlic + olivetop 3% of all pairs
    Aroma overlapmoderate
    Mentioned together23,449 recipes

    Shared aroma: linalool (floral, citrus).

  4. Olive + basiltop 3% of all pairs
    Aroma overlapstrong
    Mentioned together4,868 recipes

    Shared aroma: 3-hexenal (apple, fruity).

  5. Garlic + basiltop 3% of all pairs
    Aroma overlapmoderate
    Mentioned together4,805 recipes

    Shared aroma: linalool (floral, citrus).

Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs

Flavor stand-ins for the basil

How well each one fits the dish's main ingredients (garlic, olive, pepper, walnut):

  1. Rosemaryabout as good a flavor fit
  2. Basilthe original
  3. Parsleyabout as good a flavor fit
  4. Thymeabout as good a flavor fit

Fit is the average pairing score against garlic, olive, pepper, walnut. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).