Pumpkin pies also have a high moisture and protein content. They must be kept at a refrigerated temperature of 41° F or cooler. If the pies are left out of the refrigerator for more than 2 hours, bacteria grows more rapidly and can cause a foodborne illness.