Tomato pesto can be refrigerated in an airtight container for up to 2 days.