An easy cake in a cup is a single-serving microwave mug cake that comes together in about five minutes. Stir flour, sugar, cocoa, milk, oil, vanilla, and chocolate chips directly in a microwave-safe cup, then microwave until the center is just set for a warm, soft dessert with almost no cleanup.
This cake in a cup tastes rich, tender, and wonderfully chocolatey, with a texture between a fluffy cake and a soft brownie. It is perfect when you want a homemade sweet treat without preheating the oven, measuring a full cake recipe, or waiting for a large dessert to cool.
Jump to RecipeWhy You’ll Love This Recipe

This easy cake in a cup recipe is made for small cravings, busy evenings, and spontaneous dessert moments. You need one cup, one spoon, a handful of pantry staples, and a microwave.
There is no mixer, cake pan, oven, or complicated preparation. The batter is stirred directly in the serving cup, which keeps the process simple and leaves very little washing up.
The finished cake is warm and tender with a deep cocoa flavor. Chocolate chips melt into little pockets throughout the crumb, making every spoonful taste especially rich.
- Fast: The cake is ready in roughly six minutes.
- Small-batch: It makes one generous dessert instead of an entire cake.
- Flexible: You can change the toppings and mix-ins to suit your mood.
- Beginner-friendly: The instructions are simple enough for a first-time baker.
Ingredients You’ll Need

All-purpose flour forms the structure of this small cake, while sugar adds sweetness and helps the edges become lightly chewy. Unsweetened cocoa powder supplies the chocolate flavor without making the batter excessively sweet.
Milk adds moisture, and neutral oil keeps the crumb soft even after the cake cools slightly. Oil works particularly well in microwave cakes because it remains liquid and helps prevent a dry texture.
Baking powder gives the cake a gentle lift, while a pinch of salt balances the sweetness and sharpens the cocoa taste. Vanilla extract rounds everything out with a warm bakery-style aroma.
- Use dairy or unsweetened plant-based milk.
- Choose canola, sunflower, grapeseed, or another mild oil.
- Use a cocoa powder you enjoy, since its flavor will be noticeable.
- Keep the chocolate chips small or mini-sized so they distribute well.
A 12-ounce microwave-safe mug is the best choice because it gives the batter enough space to rise. Avoid narrow cups, metal decorations, or any container that is not labeled microwave-safe.
How to Make It Step-by-Step

Step 1: Add the flour, sugar, cocoa powder, baking powder, and salt to a microwave-safe cup. Stir the dry ingredients with a fork or small spoon, paying special attention to the bottom and corners where flour can hide.
Step 2: Add the milk, neutral oil, and vanilla extract to the cup. Stir slowly at first to prevent dry cocoa from puffing out, then mix more firmly until the batter is smooth and no dry streaks remain.
Step 3: Fold in the chocolate chips, reserving a few for the top if you like. Scrape down the inside of the cup so the batter sits in an even layer and cooks consistently.
Step 4: Place the cup in the center of the microwave and cook on high for 60 seconds. The cake should rise noticeably, but the top may still look a little glossy at this stage.
Step 5: Continue cooking in 10-second bursts until the top is mostly set and the center springs back lightly when touched. Most microwaves take 70 to 90 seconds, although a lower-powered model may need a little longer.
Step 6: Carefully remove the cup because it may be hot. Rest the cake for 1 minute, then add your preferred topping and eat it while warm for the best texture.
Pro Tips for a Tender Mug Cake

The biggest secret to a soft cake in a cup is stopping the microwave as soon as the batter is cooked. Overcooking removes moisture quickly and can turn a tender crumb rubbery, so check early and use short bursts at the end.
Measure the flour with a spoon and level it rather than scooping a packed amount directly from the bag. Too much flour is one of the most common reasons mug cakes become dense or dry.
Mix until the dry ingredients are incorporated, but do not keep stirring for a long time after the batter is smooth. A few tiny lumps are harmless, while excessive mixing can make the cake heavier.
- Use a wide mug for more even cooking and easier serving.
- Leave at least 2 inches of space above the batter.
- Place a small plate beneath the mug in case the cake bubbles over.
- Let the cake rest before eating so the center can finish setting.
- Add toppings after cooking to keep them fresh and attractive.
If your microwave is especially powerful, reduce the first cooking time to 50 seconds. If your cake repeatedly rises high and collapses, it probably needs less cooking time rather than more.
Flavor Variations
This chocolate version is a reliable starting point, but the cup format makes it easy to create different desserts. Stir in a teaspoon of peanut butter before microwaving for a nutty center, or add a small spoonful of raspberry jam for a fruity contrast.
For a mocha cake, mix a quarter teaspoon of instant coffee into the dry ingredients. A pinch of cinnamon or a tiny amount of orange zest can also add character without requiring extra preparation.
- Peanut butter: Swirl in 1 teaspoon for a chocolate-peanut treat.
- Mint chocolate: Add 1 or 2 drops of peppermint extract and use dark chocolate chips.
- White chocolate: Replace the semi-sweet chips with white chocolate chips.
- Birthday cake: Omit the cocoa, add 1 extra tablespoon of flour, and stir in sprinkles.
- Cookies and cream: Fold in two crushed chocolate sandwich cookies.
For a vanilla cake in a cup, leave out the cocoa and add 1 extra tablespoon of flour. Increase the sugar to 2 1/2 tablespoons and finish with vanilla frosting or fresh berries.
Storage & Serving

This dessert is at its best immediately after cooking, when the center is warm and the chocolate chips are soft. If you have leftovers, cover the cup and refrigerate it for up to 24 hours.
To reheat, microwave the cake for 10 to 15 seconds at a time until just warm. Longer reheating can dry the crumb, so use short intervals and stop as soon as it reaches the temperature you want.
Serve the cake straight from the cup with a scoop of vanilla ice cream, a spoonful of whipped cream, or a light dusting of powdered sugar. Fresh strawberries, sliced banana, toasted nuts, and caramel sauce also pair beautifully with the chocolate flavor.
For a party-style presentation, divide the batter between two small microwave-safe cups and reduce the cooking time. Watch closely because smaller portions cook faster than one full mug.

Easy Cake in a Cup Recipe
Ingredients
Method
- Choose a microwave-safe 12-ounce cup or mug. Add the flour, sugar, cocoa powder, baking powder, and salt, then stir thoroughly so the cocoa and leavening are evenly distributed.
- Pour in the milk, oil, and vanilla extract. Stir from the bottom and around the sides until no dry pockets remain, then fold in the chocolate chips.
- Microwave the cup on high for 60 seconds. Check the center, then continue in 10-second bursts until the cake has risen and the top looks mostly set, usually 70 to 90 seconds total.
- Let the cake rest in the cup for 1 minute because the interior will finish cooking from the residual heat. Serve warm with whipped cream, ice cream, powdered sugar, or a few extra chocolate chips.
Notes
Final Thoughts
This easy cake in a cup recipe proves that homemade dessert does not need to be a major project. With a few everyday ingredients and a microwave, you can make a warm chocolate cake whenever the craving arrives.
Remember to use a roomy microwave-safe cup, mix the batter thoroughly, and cook it only until the top is just set. A short resting period and a favorite topping turn this quick recipe into a comforting dessert that feels far more special than the effort required.
Try the classic chocolate version first, then experiment with peanut butter, berries, coffee, mint, or extra chocolate chips. Keep the recipe nearby for late-night treats, after-school snacks, or any time you want one freshly made cake without leftovers.





