Cupcakes are fine at room temperature for up to 2 days. Make sure to store them in an airtight container. They will last longer in the refrigerator but will dry out faster in the fridge.