As a good rule of thumb, any sweet pie containing dairy ingredients should not be left out for longer than 2 hours, and if it’s a hot day, then for an even shorter amount of time otherwise, the creamy ingredients will go off quickly.  It’s best to return this caramel banana cream pie to the refrigerator immediately after serving should you have any leftovers.