Yes, it is a good idea to refrigerate leftover carrot cake. Because it is a moist cake and typically includes a cream cheese frosting, it will last longer stored in an airtight container in the refrigerator. Carrot cake will last for 5-7 days refrigerated.