Pesto freezes really well, and can be stored in the freezer for up to a month. I like to freeze it in individual portions in an an ice cube tray so that I can just grab and use whenever I need it. Freezing it in an ice cube tray is also a great way to cut down on storage space! You can also freeze a larger batch in an airtight container. Once the pesto cubes are frozen, simply pop them out of the tray and place them in a freezer bag. Grab as many as you require, place them in a bowl or container and thaw in the fridge before using.