When stored in an airtight container in the refrigerator, cornichons can last for several months. However, it is always best to check the expiration date on the packaging for the recommended storage and usage guidelines.