Don't fill the mug more than half full with batter. Also, you can place a small, microwave-safe plate under the mug when it's cooking to catch any spills.