Craving chocolate cake but don’t want leftovers staring you down for three days? This mug cake delivers a rich, warm dessert in under 3 minutes—with pantry ingredients and zero cleanup.
Fast Answer
A cake in a cup is a single-serving dessert made in a mug using simple ingredients and cooked in the microwave in about 1–3 minutes.
Start Here
- Ready in under 3 minutes
- Uses pantry ingredients
- Single serving (no leftovers)
- Customizable: chocolate, vanilla, peanut butter
3-Minute Chocolate Mug Cake (Soft, Rich, Foolproof)
A cake in a cup, also known as a mug cake, is a single-serving cake that’s cooked in a mug or a microwave-safe cup. It’s a quick and easy way to satisfy a craving for cake without having to bake a whole cake.
Mug cakes typically consist of basic cake ingredients like flour, sugar, egg, milk, and oil or butter, mixed in the mug and then microwaved for a short time until it’s cooked through. You can customize mug cakes with various flavors and add-ins like chocolate chips, vanilla extract, cocoa powder, or fruit.
It’s a popular option for a fast dessert or snack, especially for those who want a homemade treat without the hassle of baking a full-sized cake.
Why This Recipe Works
- Balanced liquid-to-flour ratio keeps the cake moist in the microwave
- Oil instead of butter prevents dryness
- Short cook time avoids rubbery texture
- Single mug traps steam for even cooking
Cake in a Cup Recipe
Ingredients
- 4 tablespoons flour
- 4 tablespoons sugar
- 2 tablespoons unsweetened cocoa powder
- pinch salt
- 2 tablespoons vegetable oil
- 3 tablespoons milk
- 1 egg
- splash vanilla extract or other flavoring like cinnamon or peppermint
Instructions
- In a medium sized mug (be sure it is microwave safe), add the vegetable oil, egg, milk and whatever flavoring you are using. Mix up these ingredients until well combined.
- Add the flour, sugar, cocoa powder and salt. Again mix until well combined. If you are using any of the suggested add ins, now's the time to add them.
- Cook in the microwave on high for about 2 1/2 minutes depending on your brand of microwave. The end result should look like the photo at the top.
Notes
What Most Cooks Get Wrong
- Overcooking → dry, rubbery cake
- Too much flour → dense texture
- Not mixing well → pockets of dry powder
- Using too small a mug → overflow disaster
Quick Fixes & Pro Tips
- Undercooked? Microwave in 10-second bursts
- Too dry? Add a splash of milk next time
- Want richer flavor? Add chocolate chips or a pinch of espresso powder
- Want lighter texture? Use cake flour instead of all-purpose
When This Recipe Is Perfect
- Late-night dessert cravings
- Cooking with kids
- No oven available (dorms, offices)
- Quick single-serving treat
More Cake-in-a-Cup Ideas
- Classic Chocolate: Rich, fudgy, and ready in about 1 minute.
- Vanilla Bean: Light and fluffy—perfect base for berries or sprinkles.
- Red Velvet: Slightly tangy with a hint of cocoa.
- Lemon Poppy Seed: Bright, citrusy, and refreshing.
- Peanut Butter: Dense and nutty—great with chocolate chips.
- Funfetti: Colorful, sweet, and perfect for celebrations.
- Carrot Cake: Moist, spiced, and hearty.
- Molten Lava: Gooey center, ultra-decadent.
- Banana Bread: Naturally sweet and cozy.
- Pumpkin Spice: Warm, aromatic, and perfect for fall.
- Coffee Cake: Cinnamon-spiced with a crumb topping.
Love Chocolate Cake? Try These Next
- Chocolate Three Layer Cake – A classic celebration cake with rich frosting and tender layers.
- Chocolate Cake – Simple, reliable, and perfect for everyday baking.
- Molten Chocolate Cake – Molten Chocolate Cake – Warm cake with a gooey, flowing center.
- Flourless Chocolate Cake – Dense, fudgy, and naturally gluten-free.
- Chocolate Fudge Cake – Deep chocolate flavor with a rich, moist crumb.
Who Came Up With This Idea
The exact origin of the mug cake is unclear, as it’s the type of recipe that likely evolved as people sought quick and easy ways to make single-serving desserts. However, mug cakes became particularly popular in the early 2000s with the rise of the internet and food blogs.
One of the earliest known mentions of a mug cake recipe can be traced back to the website “Recipezaar” (now known as Food.com) in 2006. Since then, countless variations and recipes for mug cakes have circulated online, with each person adding their own twist to the concept.
So, while it’s difficult to attribute the invention of the mug cake to a single person, it’s safe to say that its creation is a result of the collective creativity and innovation of home cooks and food bloggers over the years.
Cake in a Cup FAQ
What is cake in a cup?
Cake in a cup, also called mug cake, is a single-serving cake mixed in a mug and cooked in the microwave. It gives you a warm dessert in minutes without baking a full cake.
How long does cake in a cup take to cook?
Most cake in a cup recipes cook in about 60 to 90 seconds, depending on your microwave. Start with the shorter time, then microwave in 10-second bursts if the center still looks wet.
Why is my mug cake rubbery?
A mug cake usually turns rubbery when it cooks too long or has too much flour. Microwaves cook fast, so even 15 extra seconds can make the cake dry and springy.
Why is my cake in a cup dry?
Dry mug cake usually comes from overcooking or not using enough liquid or fat. Add a little more milk or oil next time, and stop cooking when the top looks set but still soft.
More FAQ
Can I make cake in a cup without eggs?
Yes. Many mug cakes do not need eggs because the serving size is so small. Milk, oil, and baking powder can provide enough moisture and lift for a soft cake.
What size mug should I use?
Use a microwave-safe mug that holds at least 10 to 12 ounces. A larger mug gives the batter room to rise and helps prevent overflow.
Can I make cake in a cup without milk?
Yes. You can use water, almond milk, oat milk, soy milk, or another liquid. Milk gives the cake better flavor and texture, but water works in a pinch.
Can I make cake in a cup without cocoa powder?
Yes. Leave out the cocoa powder and add more vanilla for a vanilla mug cake. You may need to add a little extra flour if the batter seems too thin.
Can I add chocolate chips?
Yes. Chocolate chips melt into the cake and make it richer. Stir some into the batter or sprinkle them on top before microwaving.
How do I know when a mug cake is done?
A mug cake is done when the top looks set and springs back lightly. It should still look moist, not dry. If the center looks raw, microwave it for 10 more seconds.
Can I make cake in a cup ahead of time?
Cake in a cup tastes best right after cooking. You can mix the dry ingredients ahead of time, then add the wet ingredients and microwave when ready.
Can I bake a mug cake instead of microwaving it?
Yes, but use an oven-safe ramekin or dish instead of a regular mug. Bake at 350°F until the cake is set, usually about 12 to 18 minutes.
Why did my mug cake overflow?
A mug cake overflows when the mug is too small or the batter rises too quickly. Use a larger mug and avoid filling it more than halfway.
Can kids make cake in a cup?
Yes, with adult supervision. Kids can help measure, stir, and add toppings, but an adult should handle the hot mug when it comes out of the microwave.
What toppings go well with cake in a cup?
Good toppings include whipped cream, ice cream, chocolate chips, caramel sauce, powdered sugar, berries, peanut butter, or chopped nuts.










21 Responses
super easy great when dieting so I can make just 1 and not be tempted. Thankyou
How many points on weight watchers ?
I tried this recipe and it was horrible, the texture was nothing like cake
I loved this!! So quick and yummy!! It is a diff texture than regular cake but it’s not regular cake! We turned ours into sundaes with choc syrup, nuts, and Ice cream. Fabulous
Yum! I used Special dark cocoa and stevia added shredded coconut and dark choc chips than after it was done I added greek yogurt as a topping! Next time I will add a bit more stevia but oh so good thanks!
I’ve finally found the perfect cake in a cup recipe!!!! SO yummy! It has a spongy texture, but super good.
Best cake ever
I actually used cake mix. I used about 6 to 8 tablespoons of store bought cake batter, added the egg, the milk and the oil. About three minutes in the microwave.
this was actually not very nice but perhaps i didn’t do it properly
Oh so delicious! I made this for a little pre-baking-the-actual-cake treat for my husbands birthday the night before it was the actual day. It’s thick, spongy, moist, and wonderfully decadent. I highly recommend this recipe, but certainly don’t be afraid to play with it! Add what you want! So much fun and so good!!
We don’t use a microwave in our home. Is there a way to make this without the use of a microwave?
Donna, I’ve only seen this recipe be made in a microwave so I can’t help you with this one.
Donna, we don’t microwave either so I’m sticking it in the oven, when I can smell it, I’ll check it out. Wish me luck:)
I recommend mixing it in a separate bowl and then pouring it in because then you won’t have clumps of ingredients in your cake. But this cake was delish!!
Great suggestion Anza. thanks
It had the taste and texture of a chocolate flavored scrambled egg. I guess I should have figured that from the proportions — one egg to four tablespoons flour? You have to be pretty desperate for cake to eat this.
Interesting analogy. It’s meant to be fast and fun and the kids enjoy making them for their friends.
This was a really great recipe, it was spongey and tasted like an actually cake. I cooked mine for 2 minutes as we have a quite high powered microwave. It turned out perfect. Thanks for the recipe.
It was fantastic. Only thing is that the bottom was soggy. Thank you for the recipe!
I substituted the egg with vinegar (1/2 t.) and soda (1/4 t.). Used water. Added an extra 1/2 T of oil. Used 1/2 t. vanilla rather than a splash (which could be nearly nothing to a couple tablespoons!), and 1/8 t. salt instead of a dash which wasn’t enough the first time. The idea came from an old recipe book entitled, The “I Hate to Cook” Cookbook by Peg Bracken. It was called a Cockeyed Cake, or what we called Crazy Cake. I also sifted the dry ingredients so there wouldn’t be any lumps, then added the liquid ingredients except for the vinegar, got it all mixed, then added the vinegar last, poured into the mug and cooked for 2-2.25 minutes. Not as ‘fluffy’ without the egg, but a good substitute with great flavor.
Sift in small mixing bowl 1/4 c. flour (same at 4 T.), 1/4 c. sugar, 2 T. powdered cocoa, 1/8 t. salt, 1/4 t. baking soda.
Pour on top 2-1/2 T. veggie oil, 3 T. water, 1/2 t. vanilla, mix well. Add 1/2+ t. white vinegar and mix well again, pour into mug and cook 2.25 minutes.
Appreciate your tips and feedback. Thanks.