Au gratin vegetables will last for up to 5 days in the refrigerator when properly stored in an airtight container, or for up to 2 weeks in the freezer.