After the cake is frosted it can sit at room temperature for around 2-4 hours. Since the frosting on this banana cake has cream cheese and can spoil, it should be stored tightly covered in the refrigerator after that. The fridge can dry out cakes though so I prefer to store leftover cake slices in the freezer.