Store cooked and cooled apple pie filling in an airtight container in the refrigerator for a week or up to 2 months in the freezer. Allow to defrost in the fridge or at room temperature.