It's best to store carrot cake in the refrigerator. It can be left out for a couple of hours while serving. Cream cheese frosting spoils quickly and is best refrigerated.