Desserts
A 4-ingredient mug cake recipe transforms your microwave into a dessert factory in just 3 minutes. No mixing bowls, no oven—just grab a mug, crack an egg, and let the microwave work its magic. I developed this after years of craving something sweet without the cleanup, and it’s become my go-to for late-night treats or quick dessert cravings.
The beauty of this recipe lies in its simplicity: flour, sugar, egg, and oil are all you need to create a rich, moist cake with a golden crust. The egg binds everything together while the sugar caramelizes slightly under the microwave’s heat, giving it that irresistible texture. It’s the perfect solution for when you want dessert but don’t have time—or patience—for elaborate baking.
By the time you’re done, you’ll have a warm, fudgy or tender cake (depending on your flour choice) that’s ready to eat straight from the mug. Top it with melted chocolate, a dollop of whipped cream, or a sprinkle of cinnamon for extra indulgence. The best part? No leftovers to deal with—just one perfect serving.
This mug cake is ideal for busy weeknights, dorm-room desserts, or when you’re craving something sweet but don’t want to dirty a whole kitchen. Let’s get started—your microwave is about to become your new best friend for dessert.
Ingredients for 4 ingredient mug cake
Four ingredients, one mug, and three minutes to dessert heaven—this is magic in its simplest form.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | ¼ cup | Sifted for even texture |
| Granulated Sugar 🍚 | ¼ cup | White or brown for variation |
| Large Egg 🥚 | 1 whole | Room temperature for best binding |
| Vegetable Oil 🫒 | 1 tbsp | Any neutral oil works |
| Vanilla Extract 🌸 | ½ tsp | Pure vanilla for authentic flavor |
| Baking Powder 🧂 | ¼ tsp | Ensures proper rise |
| Salt 🧂 | ⅛ tsp | Fine grain preferred |
| Milk 🥛 | 1 tbsp | Any kind, optional for moisture |
The flour here is your secret weapon—King Arthur or Bob's Red Mill are my go-tos for that perfect tender crumb. Grab whatever you've got, but if you're feeling fancy, cake flour gives a lighter texture. Sugar? White for classic sweetness, brown for that caramelized depth. The egg is non-negotiable—it's the glue holding this whole thing together. Room temperature eggs mix better, so take it out of the fridge 10 minutes early if you're really committed to perfection. Vanilla extract? Pure Madagascar bourbon is worth the splurge, but imitation works in a pinch.
No vanilla? Almond extract at half the amount works surprisingly well. Short on milk? Water or even melted butter (yes, really) keeps it moist. The baking powder and salt are tiny but mighty—don't skip them. Need to make this gluten-free? Swap the flour for gluten-free 1:1 blend and add 0.5 tsp xanthan gum. The oil can be any neutral kind—canola, vegetable, or even coconut oil—just don't use flavored oils like olive. And if you're feeling wild, add a pinch of cinnamon or cocoa powder to the flour mix for instant flavor upgrades.
This cake is best eaten straight from the mug—no waiting required. For extra decadence, microwave a tablespoon of chocolate chips on top for 15 seconds before eating. Leftovers? There shouldn't be any, but if you somehow have extra, it reheats beautifully in 10-second bursts. Store any components at room temperature—flour in a cool, dark place, sugar in an airtight container, and eggs in their carton. The oil and vanilla keep indefinitely, so don't stress about those. This recipe is all about convenience, so keep it simple and enjoy your single-serving dessert without the fuss.
Why You'll Love This Recipe
- No Mic Needed: I swear by this for lazy mornings—just crack an egg, dump in flour and sugar, and zap it. The microwave does all the work while I sip coffee.
- Vanilla Hug: That single teaspoon of extract turns this into something ridiculously comforting. It’s like a warm, buttery cloud with just a hint of sweetness—no fancy mixers required.
- Crowd-Pleaser Basics: Hosting a last-minute gathering? These disappear faster than my willpower at a bakery. Serve plain or add chocolate chips—everyone’s happy, and you didn’t stress.
- Pantry Goldmine: I keep these ingredients stocked anyway, so this recipe costs me pennies. No wasted leftovers—eat it fresh or reheat a slice the next day without drying out.
Step-by-step instructions for single-serve mug cake
This method delivers restaurant-quality texture and flavor with minimal effort.
Prepare Your Microwave-Safe Mug
Place a microwave-safe mug in the microwave for 10 seconds to preheat. This ensures your cake rises evenly from the first second. While it's warming, measure out all your ingredients precisely—this isn't a recipe where you can eyeball. The 0.25 cup all-purpose flour should be sifted first for a lighter texture, and the 0.25 cup granulated sugar should be packed lightly into your measuring cup for accurate volume.
I like to use a tablespoon to level off the flour and sugar right in the mug after measuring. This saves cleanup and prevents spills. The 1 whole large egg should be room temperature—cold eggs can create dense cakes. If it's straight from the fridge, let it sit at room temperature for 10 minutes before using. The 1 tbsp vegetable oil should be at room temperature too—this helps with even mixing and better texture.
Combine Wet Ingredients for Perfect Texture
Crack the egg directly into the mug and add the 1 tbsp vegetable oil. Stir vigorously with a fork for 10 seconds to emulsify the fat. This step is crucial—proper emulsification creates that tender crumb we're after. Next, add the 0.5 tsp vanilla extract and stir again for 5 seconds to distribute the flavor evenly. The aroma will fill your kitchen, and that's your first sign you're on the right track.
Now add the 1 tbsp milk (if using) and stir again for another 10 seconds. This liquid helps create steam during microwaving, which gives your cake that perfect rise. If you're skipping the milk, don't worry—the recipe still works, but the cake will be slightly denser. The mixture should look like a thin batter at this point, almost like pancake batter.
Add Dry Ingredients and Mix Thoroughly
In a small bowl, whisk together the 0.25 cup all-purpose flour, 0.25 tsp baking powder, and 0.125 tsp salt. This pre-mixing prevents lumps in your final cake. Sprinkle this dry mixture evenly over the wet ingredients in the mug. Here's the thing—don't stir immediately. Let the dry ingredients sit on top for 10 seconds to absorb some of the moisture before gently folding everything together with a fork.
Stir just until combined—you should still see some dry spots. Overmixing develops gluten, which makes your cake tough instead of tender. The batter should be smooth with no visible flour streaks. If you're using a brown sugar variation, now's the time to add it—just replace the white sugar with the same amount of brown sugar and mix it in with the wet ingredients.
Microwave to Golden Perfection
Place the mug in the center of your microwave and cook on high power (1000 watts) for 60 seconds. Immediately after microwaving, you'll notice the cake has risen dramatically—this is the steam at work. Let it sit for 10 seconds to allow the center to set slightly. Then, carefully run a knife or toothpick through the center. It should come out with a few moist crumbs but no wet batter.
If the cake appears underdone, microwave for an additional 10-second intervals until fully set. The top should be golden brown with a slightly crisp texture. Here's a pro tip: If your microwave isn't powerful, you might need to increase the time slightly. The cake is done when it springs back slowly when touched—like a perfect cupcake. Let it cool in the mug for 1 minute before enjoying.
Customize and Serve Immediately
While the cake is still warm, you can customize it however you like. Top with a dollop of whipped cream, a sprinkle of powdered sugar, or even a few chocolate chips if you have them on hand. The warm cake will melt the chocolate beautifully. Serve immediately while it's still warm and gooey—this is when it's at its best texture.
Real talk: The first bite should be warm, moist, and slightly springy. If you let it cool completely, it will firm up but still taste delicious. For best results, make this cake when you're ready to eat—it doesn't reheat well. The beauty of this recipe is its versatility: you can make four individual cakes in the time it takes to bake a full sheet pan of cookies.
Pro Tips For Making 4 Ingredient Mug Cake
- MEASURE THE OIL RIGHT: I learned this the hard way—eyeballing vegetable oil leads to either a dry, crumbly cake or a greasy mess. Use exactly 1 tablespoon (about 15ml) and pour it directly over the sugar before mixing. This ensures even distribution without overdoing it.
- WHISK THE EGG FIRST: Skip the lazy pour-and-stir approach. Crack the egg into a separate bowl, whisk it vigorously for 10 seconds, then mix it into the dry ingredients. This creates tiny air pockets that make your cake lighter and fluffier—no extra leavening needed.
- STOP WHEN THE EDGES SPRING: That microwave timer is a lie. Your cake is done when the edges pull away from the mug and the center still looks slightly undercooked (it’ll finish steaming). Overcooking turns it into a rubbery brick—trust the touch test, not the beep.
- USE COLD VANILLA EXTRACT: I was skeptical until I tried it: chilling the vanilla extract in the fridge for 10 minutes before adding it intensifies the flavor. The cold extract blends more smoothly into the batter and doesn’t get lost in the heat of mixing. (Yes, even if you’re impatient like me.)
Make-ahead tips for this recipe
Prep Ahead Components
Measure and mix all your dry ingredients—flour, sugar, baking powder, and salt—into a small bowl or airtight container. Store this dry mix in the fridge for up to 1 week or freeze for 3 months. I keep mine in a quart-sized mason jar with a tight-sealing lid. This saves time when cravings hit, and you can just grab the jar while your egg and oil come to room temperature. 💡
Egg Prep Shortcut
Pre-crack 4 eggs into a small container with a lid and store them in the fridge for 3 days. This is perfect for when you're making multiple mug cakes in a row. Just grab one egg at a time and let it sit at room temperature for 5 minutes before using. I use glass ramekins for this because they're easy to stack and see through. 🥚
Oil and Vanilla Storage
Keep your vegetable oil in its original bottle at room temperature—it lasts indefinitely. The vanilla extract should be stored in a cool, dark place like your pantry. If you're using almond extract instead, keep it refrigerated to preserve its potency. I like to keep both extracts in amber glass bottles to protect them from light. 🌸
Milk Substitute Options
If you want to prep ahead with milk, store it in an ice cube tray and freeze. Pop out a cube when needed—it'll melt quickly at room temperature. For non-dairy options, almond milk or coconut milk work well and can be pre-measured in small containers. I keep mine in small silicone cupcake liners for easy portioning. 🥛
Flavor Boosters Pre-Made
Create flavor packets by combining 1 tsp cocoa powder + ½ tsp cinnamon or 1 tsp lemon zest + ½ tsp cardamom in tiny ziplock bags. Store these in your freezer for up to 3 months. Just toss one into your mug cake mix before microwaving for instant flavor. I use 1-inch square bags that fit perfectly in my mug. 🌶️
Microwave Prep Tips
Clean your mug before prepping—any food residue can affect cooking time. If you're making multiple cakes, place them in the microwave in a circle pattern rather than a row to ensure even cooking. I like to use microwave-safe silicone mugs because they're easy to clean and don't retain odors. Always let your mug cool completely between uses to prevent overheating. ⚡
Nutrition facts
Frequently asked questions
Can I make this mug cake without an egg?
Yes! For a vegan version, replace the egg with 1 tbsp ground flaxseed + 3 tbsp water (let it sit for 5 minutes to thicken). Or use 1 tbsp applesauce or mashed banana for a fruit-based binder. The texture will be slightly denser but still delicious. Just stir well to avoid lumps.
Why did my mug cake come out raw in the middle?
This usually happens if your microwave isn't powerful or the cake didn't cook long enough. For 800-watt microwaves, increase time to 70-80 seconds. Always check doneness with a toothpick—it should have moist crumbs, not wet batter. Let it rest 10 seconds after microwaving before testing.
How do I make this cake chocolate?
Replace 2 tbsp of flour with 2 tbsp cocoa powder and add 1 tbsp milk or water to compensate. For extra richness, melt 1 tbsp chocolate chips on top while microwaving (last 10 seconds). The chocolate will melt beautifully into the warm cake.
Can I use this recipe for a larger cake?
Not recommended for traditional ovens—this recipe is designed for single-serving mug cakes. For a larger cake, use a 6-inch ramekin and double the ingredients, microwaving for 90-100 seconds. For best results, stick to individual mug portions for perfect texture every time.
What's the secret to making it extra moist?
Add 1 tbsp yogurt or sour cream to the wet ingredients for incredible moisture. Also, don't overmix—just combine until no dry spots remain. The milk or water creates steam during microwaving, which keeps the cake tender. For extra insurance, microwave for 5 seconds less than directed and let it finish setting in the mug.
