When stored in an airtight container, in the fridge, this pesto will stay fresh for up to 5 days. You can also freeze it for longer storage. I recommend using an ice cube tray! Transfer the pesto to an ice cube tray and store in the freezer for up to 6 months.