how long does sun-dried tomato pesto last? your sun-dried tomato pesto will last about a week in the fridge. it will firm up, so just let it return to room temperature before using it again. if you have leftovers, you can also freeze the pesto for about 6 months.