Pineapple upside-down cake can last at room temperature for up to 24 hours. After that point, store in the refrigerator for up to four days.