The Best Cake in a Cup Recipe (Ready in Minutes)

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
Chocolate Cake in a Mug Recipe
Print Recipe
4 from 4 votes

Cake in a Cup Recipe

Prep Time3 minutes
Cook Time3 minutes
Total Time6 minutes
Course: Dessert
Cuisine: American
Servings: 1 cup

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

According to the printed recipe that came from my sister-in-law's mugs, "This recipe is very flexible!
You can use cake or all-purpose flour (or even self-rising flour), other flavorings instead of vanilla, water instead of milk, change baking time to get the amount of moistness you prepare.
You can add the dry ingredients before the web if you prefer. Others have substitute pudding mix for the cocoa powder for pancake mix for the flour."
Frustrated cook making common mistakes.

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
Mug Cakes Cookbook

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

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.

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

  1. 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

  2. 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!

  3. I’ve finally found the perfect cake in a cup recipe!!!! SO yummy! It has a spongy texture, but super good.

  4. 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.

  5. 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!!

  6. We don’t use a microwave in our home. Is there a way to make this without the use of a microwave?

    1. 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:)

  7. 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!!

  8. 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.

  9. 5 stars
    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.

  10. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.