Properly frozen and stored basil pesto can last in the freezer for up to 6 months, or even up to a year if vacuum-sealed. Always label your pesto with the date it was made to help keep track of its freshness.