Why it works: Basil and pepper match in chemistry and in kitchens. They rank in the top 3% of all ingredient pairs, and 5,292 recipes mention both. Both carry methyl cinnamate, which smells strawberry. The science ↓
The recipe
Ingredients
Contains: milk, tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Prepare
Preheat the oven to 425 °F (220 °C).
If using, toast the pine nuts in an ovenproof pan for 10–15 minutes, checking every 5 minutes to prevent excessive browning or burning.
In a small frying pan (skillet), heat 2 tbsp of the olive oil on medium heat.
Crush the garlic and sauté in the oil until soft, about 2–3 minutes.
Make the pesto
Combine the basil, garlic, cheese, pine nuts and oil in a mortar and pestle until it forms a smooth paste, or use a food processor or blender and chop finely, slowly adding the oil to reach the paste-like consistency.
Steps grouped into stages for easier reading; the method is the source's own.
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.
-
Basil + peppertop 3% of all pairsAroma overlapstrongMentioned together5,292 recipes
Shared aroma: methyl cinnamate (strawberry).
-
Olive + garlictop 3% of all pairsAroma overlapmoderateMentioned together23,449 recipes
Shared aroma: linalool (floral, citrus).
-
Basil + pinetop 3% of all pairsAroma overlapstrongMentioned together332 recipes
Shared aroma: 4-methoxybenzaldehyde (sweet, anise).
-
Basil + olivetop 3% of all pairsAroma overlapstrongMentioned together4,868 recipes
Shared aroma: 3-hexenal (apple, fruity).
-
Basil + garlictop 3% of all pairsAroma overlapmoderateMentioned together4,805 recipes
Shared aroma: linalool (floral, citrus).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Fresh basil
- Provides the main aroma and green leafy flavour of the sauce.
- Extra virgin olive oil
- Carries the flavours and gives the pesto its smooth, paste-like texture.
- Pecorino romano or parmigiano-reggiano cheese
- Adds salty, savoury depth and helps thicken the paste.
- Pine nuts
- Add rich, buttery body and a toasted nutty flavour.
- Garlic
- Adds sharp, pungent aroma that mellows when cooked gently.
The step that matters
Toast the pine nuts carefully. Nuts go from golden to bitter within moments once they darken. Checking every few minutes and stopping at light browning keeps their flavour sweet and nutty rather than burnt.
Flavor stand-ins for the garlic
How well each one fits the dish's main ingredients (basil, olive, cheese, pine, pepper):
- Rosemarybetter flavor fit
- Thymebetter flavor fit
- Oreganobetter flavor fit
- Garlicthe original
Fit is the average pairing score against basil, olive, cheese, pine, pepper. 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).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
More pesto recipes
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration