While it's best to enjoy your mug cake fresh, you can store the leftover batter in an airtight container in the fridge for up to 24 hours.