Store fresh pesto in a mason jar or other airtight container in the refrigerator for up to one week.