It keeps well for about 1 week in the fridge, stored in a clean glass jar or container. You might find the olive oil solidifies in the fridge, but after sitting at room temperature for a few minutes it will start to liquefy again. You can also freeze the pesto for up to 3 months - a great hack is to freeze it in ice cube trays, so you can easily pop out a portion to use.