The best oil to use for pesto is extra virgin olive oil. As pesto contains a lot of oil, you'll want to make sure it's good quality. I recommend using the same quality extra virgin olive oil that you would use to make homemade salad dressings. You can also use olive oil or a more neutral tasting oil if you prefer.