Store cooked pasta in an airtight container in the refrigerator for up to 5 days.