are mug cakes safe to eat? yes! mug cakes are safe to eat as long as you microwave them long enough to thoroughly cook the flour and any egg that may be in the recipe. this mug cake recipe is 100% vegan, so eggs aren't a concern, but you will want to make sure you cook it thoroughly because raw flour can be dangerous.