The Magic Cake is an item in EarthBound and Mother 3. It is a cake made from "leftover ingredients" which invokes a vision of distorted and colorful scenery. In EarthBound, the Magic Cake can be obtained from the cake vendor in Summers. This cake allows the player to briefly take control of Poo. After this scene, Poo will join the party.
In Mother 3, the Magic cake makes a brief appearance as an item that can be obtained in the Empire Porky Building on the Laboratory Level in a Present. That is the only time the item is ever seen, as no enemy in the game drops it, so one can assume that it was put in to add to the nostalgia referenced throughout the building. It recovers 50 points of PP.