Try to eat the pesto within 5 days. It will stay good enough to eat in an airtight container about 4-5 days.