Cupcakes can last up to five days if stored in an airtight container in the fridge.