Pasta with Pesto: How to Make it Perfectly Every Time
In this article
Making pasta with pesto is a simple process of boiling a high-quality pasta and combining it with a vibrant, aromatic sauce made from fresh basil, pine nuts, garlic, parmesan cheese, and olive oil. The goal is to create a creamy, emulsified coating that clings to every strand of pasta without separating or losing its bright green color. To achieve this, you must avoid heating the pesto directly over high heat, as the fresh basil will oxidize and turn brown, and the cheese may clump.
What You'll Need
- Pasta: 1 lb (450g) of your choice. Long shapes like linguine or spaghetti work well, as do shapes with ridges like fusilli or penne which trap the sauce.
- Fresh Basil Leaves: 2 cups of packed, fresh basil leaves (stems removed).
- Pine Nuts: 1/3 cup of pine nuts, lightly toasted for deeper flavor.
- Garlic: 3 medium cloves, peeled and roughly chopped.
- Parmesan Cheese: 1/2 cup of freshly grated Parmigiano-Reggiano.
- Extra Virgin Olive Oil: 1/2 cup of high-quality oil.
- Salt: For both the pesto and the pasta water.
- Black Pepper: To taste.
- Lemon Juice: 1 tablespoon (optional, for brightness and color preservation).
- Equipment: A food processor or blender, a large pot for boiling water, a colander, and a large mixing bowl.
Step-by-Step
- Toast the Pine Nuts: Place the pine nuts in a small dry skillet over medium-low heat. Stir them constantly for 3 to 5 minutes until they are fragrant and golden brown. Be careful not to leave them unattended, as they burn very quickly. Remove them from the pan immediately and let them cool slightly.
- Prepare the Basil: Wash the basil leaves under cold water and pat them completely dry with a paper towel. Excess water in the pesto can lead to a thin, watery consistency and may cause the sauce to separate.
- Pulse the Aromatics: Place the toasted pine nuts and chopped garlic cloves into the food processor. Pulse several times until they are finely minced but not yet a paste. This ensures the garlic is evenly distributed and doesn't leave large, pungent chunks in the final dish.
- Add Basil and Oil: Add the packed basil leaves to the processor. While the motor is running on low, slowly drizzle in the extra virgin olive oil. Process until the mixture is smooth and combined. If using lemon juice, add it now to help maintain the vivid green hue.
- Incorporate the Cheese: Add the grated Parmesan cheese and a pinch of salt and black pepper. Pulse a few more times just until the cheese is integrated. Do not over-process at this stage, as the friction from the blades can heat the cheese and oil, potentially causing the sauce to break.
- Boil the Pasta: Fill a large pot with water and add a generous amount of salt (the water should taste like the sea). Bring to a rolling boil. Add the pasta and cook according to the package instructions until it reaches "al dente" (firm to the bite).
- Reserve Pasta Water: Before draining the pasta, dip a measuring cup into the pot and reserve about 1 cup of the starchy pasta cooking water. This is the secret to a silky sauce.
- Drain and Cool Slightly: Drain the pasta in a colander. Let it sit for about 30 seconds so the surface water drains away, but do not rinse the pasta, as the surface starch is necessary for the pesto to adhere.
- Combine: Transfer the pasta to a large mixing bowl or back into the pot (off the heat). Pour the pesto over the pasta.
- Emulsify the Sauce: Stir the pasta and pesto together. If the sauce seems too thick or doesn't coat the noodles evenly, add the reserved pasta water one tablespoon at a time, stirring constantly. The starch in the water helps the oil and cheese emulsify into a creamy coating.
- Final Touch: Taste the pasta and add more salt or pepper if needed. Serve immediately while warm, garnished with extra Parmesan or a few fresh basil leaves.
Common Mistakes
The most frequent error when making pesto pasta is cooking the pesto in a pan over direct heat. Pesto is a raw sauce; heating it causes the basil to oxidize, turning the bright green color into a dull olive brown. Furthermore, high heat can cause the cheese to separate from the oil, resulting in a greasy texture rather than a creamy one. Always mix the pesto into the pasta off the heat or in a bowl.
Another common mistake is using pre-grated cheese from a can. These products often contain anti-caking agents (like cellulose) that prevent the cheese from melting smoothly into the sauce, leading to a grainy or sandy mouthfeel. Always grate your own Parmigiano-Reggiano for the best emulsion.
Over-processing the ingredients in a food processor is also a risk. If the blades run for too long, they generate heat. This heat can "cook" the basil and break the oil emulsion. Use the pulse setting to maintain control over the texture and temperature.
Tips
To keep your pesto exceptionally green, you can blanch the basil leaves. Quickly dip the leaves in boiling water for 5 to 10 seconds, then immediately plunge them into an ice-water bath. Squeeze out all the excess water before blending. This locks in the chlorophyll and prevents browning for several days.
For a nut-free version, substitute the pine nuts with toasted walnuts, sunflower seeds, or pumpkin seeds. Walnuts provide a similar earthy richness, while sunflower seeds offer a more neutral profile. If you find pine nuts too expensive or hard to find, these alternatives work effectively.
Enhance the flavor profile by adding a pinch of nutmeg to the pesto. Nutmeg complements the creaminess of the cheese and the sweetness of the basil without being overpowering. Additionally, using a high-quality, cold-pressed extra virgin olive oil will significantly impact the final taste, as the oil is a primary ingredient.
Troubleshooting
The sauce is too thick or clumpy: This usually happens if too much cheese was added or if the pasta has cooled too much. The solution is to add the reserved pasta water. The heat and starch in the water will loosen the pesto and help it glide over the noodles. Stir vigorously to incorporate.
The sauce is too oily: If the pesto feels greasy, it may be because the oil didn't emulsify with the cheese and basil. Adding a splash of pasta water and stirring rapidly can help. Alternatively, stir in a tablespoon of Greek yogurt or ricotta cheese to add body and absorb some of the excess oil.
The pesto turned brown: Once pesto turns brown, the color cannot be reversed. However, the flavor is usually still good. To prevent this in the future, add a squeeze of lemon juice or store the pesto in a jar with a thin layer of olive oil poured over the top to seal out the air.
The taste is too pungent: If the garlic is overwhelming, you can balance the flavor by adding a small amount of lemon zest or a pinch of sugar. In the future, you can mellow the garlic by removing the germ (the small green sprout inside the clove) before blending.
Frequently Asked Questions
Can I freeze pesto?
Yes, pesto freezes well. Store it in an airtight container or freeze it in ice cube trays. To prevent browning, pour a thin layer of olive oil over the top before freezing. Thaw it in the refrigerator overnight before using.
What is the best pasta shape for pesto?
Fusilli, trofie, and farfalle are excellent because their twists and folds trap the sauce. For long pasta, linguine or spaghetti are traditional choices. Avoid very smooth pastas if you want maximum sauce adherence.
Do I have to use pine nuts?
No, while pine nuts are traditional, you can use walnuts, almonds, or cashews. Toasted walnuts are the most common substitute and provide a similar depth of flavor.
Can I make this recipe vegan?
Yes. Replace the Parmesan cheese with nutritional yeast or a vegan Parmesan alternative. You may need to add a bit more salt or a squeeze of lemon to mimic the salty, tangy profile of the cheese.
How long does homemade pesto last in the fridge?
Homemade pesto typically stays fresh for 5 to 7 days when stored in an airtight container in the refrigerator, provided it is covered with a layer of olive oil to prevent oxidation.
Should I salt the pesto and the pasta water?
Yes, both. The pasta water needs salt to season the noodle from the inside out. The pesto needs a small amount of salt to enhance the flavors of the basil and garlic, though be mindful that the Parmesan cheese is already quite salty.