Allow the pasta to cool down to room temperature, then transfer to an airtight container and store in the refrigerator for 3 to 4 days. To reheat: Toss the pasta gently with a little extra pesto or a touch of olive oil before reheating to refresh the flavors and textures. Reheat leftover pasta in the microwave or on the stovetop just until heated through.