It is not required to toast nuts before using them in pesto. However, it can add a lovely flavor to homemade pesto! To toast nuts, simply spread them on a baking sheet and place in the oven for about 5 minutes. Allow to cool before using them in a pesto recipe.