Store oatmeal cream pies in an airtight container for 3-4 days at room temperature or a week in the refrigerator.