Prepare the Mug: Lightly grease a microwave-safe mug (240–350 ml / 8–12 fl oz) with soft butter, coating the base and sides. Set aside.
Mix Dry Ingredients: In a small mixing bowl, whisk together the flour, cornstarch, sugar, baking powder, and salt until evenly combined.
Add Wet Ingredients: Add the melted butter, oil, water, and vanilla extract to the dry mixture. Whisk just until the batter is smooth and combined, avoiding overmixing, just until streaks of flour disappear, then stop.
Transfer to Mug: Pour the batter into the greased mug and gently smooth the top.
Microwave: Microwave on full power/high for 60-70 seconds before checking and until it has risen. The surface will look dry and set rather than glossy. You shouldn’t see any wet batter on top. The cake will pull away from the sides of the mug slightly, which is a good sign it’s cooked through. If needed, continue microwaving in 10-15 second bursts until just cooked. Microwave Wattage Note: This timing is based on my 900-watt microwave. If your microwave is more powerful, start checking earlier, around 50–60 seconds, to avoid overcooking.
Cooling: Let the mug cake rest for 2 minutes before eating.
Serve: Enjoy warm straight from the mug, or carefully loosen the edges and lift out. Delicious on its own or topped with sprinkles, whipped cream or a small dollop of frosting if desired. Enjoy!