You can store leftover cheesy pumpkin and potato gratin in an airtight container in the fridge for up to 5 days. You can also store it in an airtight container and freeze it for up to 2 weeks. Potato gratin can be frozen in the dish it was baked in, but cover it tightly with aluminum foil or plastic wrap and let it come to room temperature before reheating.