Homemade pumpkin pie needs to be refrigerated, especially when using fresh pumpkin puree. It should last 4-5 days in the fridge.