Rich, chocolatey brownie in a mug topped with melted chocolate and m&ms, an indulgent take on little Debbie’s cosmic brownies that comes together in less than 5 minutes.
Some nights just need a quick chocolate fix, and this mug cosmic brownie is exactly that kind of dessert. It’s rich, soft, and fudgy, with a glossy melted chocolate top and colourful candy pieces that make it feel playful without much effort.
I first tested this on one of those nights when I wanted a brownie but didn’t want to bake a whole tray. After a few microwave experiments, and one slightly dry little mug situation, I found the sweet spot where the centre stays soft and chocolatey.
It reminds me of the kind of fun, nostalgic desserts I loved playing with during my Zumbo days, but made tiny and cosy for one. It’s simple, comforting, and just right when you want something warm and chocolatey in minutes.
What is a cosmic brownie?
Cosmic brownies were originally created by little Debbie’s. They are chewy and fudgy chocolate brownies topped with fudge frosting and crunchy rainbow chocolate sprinkles.
They were a staple in childhood lunchboxes, and an all-around favorite childhood treat!
This version takes inspiration from the cosmic brownie. But instead, we are making it in a microwave so you can fix those chocolate brownie cravings ASAP. This microwave brownie recipe is so good you won’t be able to tell that it comes together in less than 5 minutes!

At-a-Glance Specs – What You’ll Need Before We Start Rolling
| Yield | Prep Time | Cook Time | Difficulty | Storage |
| 1 mug cake | 5 minutes | 2 minutes | Easy | Best eaten fresh and warm. For a denser brownie bite, cool and enjoy the same day |
Ingredients in a mug brownie
The ingredients needed in this brownie are pretty much all pantry staples. Here’s a run-down of all the ingredients you need!
- Unsalted butter: Melted butter gives these a delicious fragrance and plush texture. Make sure you use unsalted butter to prevent it from being too salty.
- Dark chocolate: I like to use real chocolate over cocoa powder for a fudgier texture!
- Granulated sugar: The sugar will give this cake its sweetness in conjunction with the chocolate. I wouldn’t change the amount used by much as it can affect the texture of the final brownie.
- Whole milk: Milk adds moisture to the batter!
- All-purpose flour: Flour is needed to give this cake structure and its cake-like crumb
- Baking powder: A little baking powder helps give the brownie a bit of rise, preventing it from being super rubbery or hard.
- Melted chocolate: This is optional but it really gives it a deeper chocolate flavor.
- M&Ms: I like using m&ms because they resemble the chocolate on cosmic brownies. If you can find what they use feel free to use that, or whatever you have in your pantry.

Optional – My Favourite Extras That Add a Little Magic
- Pinch of salt
Add a tiny pinch to the batter to balance the sweetness. It makes the chocolate taste deeper without making the brownie salty. - Vanilla extract
Add a small splash for a softer dessert flavour. It rounds out the chocolate nicely. - Instant coffee powder
Add a tiny pinch to deepen the chocolate flavour. You won’t taste strong coffee, but the brownie will taste richer. - Rainbow candy chips
Use these instead of regular candy pieces for a more classic cosmic brownie look. They sit neatly on the melted chocolate topping. - Chocolate ganache
Use a quick ganache-style topping instead of plain melted chocolate. It gives a thicker, glossier top that feels closer to the classic cosmic brownie style. - Freeze-dried raspberry crumbs
Sprinkle a tiny amount on top for colour and a sharp berry note. It gives the rich chocolate a little lift without making the dessert feel heavy.
Substitutions – Smart Ingredient Swaps That Still Taste Amazing
- Unsalted butter
Swap with salted butter if that’s what you have. Skip the extra pinch of salt so the brownie does not taste too salty. - Dark chocolate
Swap with milk chocolate for a sweeter, softer brownie. Use dark chocolate if you want a richer flavour. - Whole milk
Swap with oat milk, almond milk, or soy milk. The texture may be slightly different, but it still works for a quick mug dessert. - All-purpose flour
Swap with a measure-for-measure gluten-free flour blend. Start checking early because gluten-free mug desserts can cook faster. - Colourful candy pieces
Swap with mini candy-coated chocolates, rainbow chips, or chopped chocolate. The smaller pieces give the neatest cosmic-style finish. - Melted chocolate topping
Swap with quick ganache, chocolate hazelnut spread, or a thicker fudge-style topping. This gives the top more of that glossy brownie-shop look.
STEPS
- Combine the butter and chocolate in a mug and microwave for 30 seconds until melted
- Add the sugar, milk, flour and baking powder, mix until combined
- Microwave for 1 minute to 1 minute 30 seconds
- Top with melted chocolate and m&ms
Troubleshooting – Quick Fixes I’ve Learned from My Bakery Kitchen
| Issue | Why It Happens | Quick Fix |
| Brownie overflowed | Mug was too small or narrow | Use a wider microwave-safe mug with room at the top |
| Centre is too wet | Microwave time was too short | Cook in 10-second bursts until just set |
| Topping looks too runny | Chocolate was too hot when added | Let it sit for 30 to 60 seconds before adding candy pieces |
| Texture is too cakey | Too much flour or too much cooking time | Measure flour gently and stop while the centre is still soft |
| Candy sinks into topping | Chocolate topping was too warm | Let the topping thicken slightly before decorating |

Comparison – How This Recipe Stacks Up Against Other Desserts
| Dessert | Texture and Flavour | When I’d Make It |
| Mug cosmic brownie | Fudgy, quick, chocolatey, candy-topped | When I want a fast single-serve chocolate fix |
| Classic cosmic brownie | Chewy, frosted, sliceable, nostalgic | When I want a full batch for sharing |
| Chocolate mug cake | Softer, cakier, lighter | When I want a fluffy microwave dessert |

Tips – My Personal Tricks for a Professional-Looking Result
Use a Wide Microwave-Safe Mug
A wider mug helps the brownie cook more evenly.
A tall, narrow mug can leave the centre too soft while the edges overcook. I like using a mug that gives the batter space to rise without turning the microwave into a chocolate crime scene.
Start with the Shortest Microwave Time
Microwaves are cheeky little things.
Start at 1 minute, then add 10-second bursts if needed. The brownie should look set around the edges, but still soft in the centre.
Learn Your Microwave’s Mood
A high-power microwave can cook this very fast.
If your microwave is strong, check early. If it is lower wattage, it may need a little longer. The texture cue matters more than the timer.
Let the Brownie Rest Before Decorating
Give the brownie a short rest before adding the topping.
This helps the surface settle and keeps the melted chocolate from sliding straight into the middle. It also stops that first bite from being lava-hot.
Use 60 to 70 Percent Dark Chocolate
This is my favourite range for a balanced mug brownie.
It gives a rich chocolate flavour without going too bitter. If you use very dark chocolate, the brownie may lose that nostalgic sweet-shop feel.
Keep the Batter Gentle After Adding Flour
Once the flour goes in, stir softly and stop once it comes together.
Too much mixing can make the texture firmer. Mug brownies are tiny, but they still know when they’ve been overworked.
Make the Topping Thicker for a True Cosmic Feel
Plain melted chocolate works, but a slightly thicker topping feels more like a cosmic brownie.
Let the melted chocolate cool for a moment before spreading it. Then add the candy pieces while it is still tacky, not runny.
Cool It for a Denser Brownie Bite
Warm gives you a softer, gooier spoonful.
If you want the texture to feel more like a classic cosmic brownie, let it cool for a few minutes longer. It becomes denser, fudgier, and a little more lunchbox-style.

Variations – Fun Twists and Flavours Inspired by My TuCha Dessert Experiments
Espresso Fudge Cosmic Brownie
Add a tiny pinch of instant coffee powder to the batter.
It deepens the chocolate without making the brownie taste like coffee. This is one of those quiet pastry tricks that makes chocolate taste more chocolatey.
Cookies and Cream Cosmic Brownie
Crush half a chocolate sandwich cookie into the batter before microwaving.
The cookie softens into the brownie and gives little creamy bites. Add a few crumbs on top for that dessert-shop finish.
Hazelnut Fudge Cosmic Brownie
Swirl a small spoonful of chocolate hazelnut spread through the top after microwaving.
It melts into the warm brownie and gives a creamy, nutty finish. Keep it light so the mug still tastes like brownie, not just spread.
Mint Chocolate Cosmic Brownie
Add the tiniest drop of peppermint extract to the batter.
It gives the brownie a cool chocolate-mint feel. Use a careful hand because peppermint loves to take over the room.
Birthday Cake Cosmic Brownie
Top the melted chocolate with rainbow candy chips and a tiny pinch of colourful sprinkles.
The brownie stays rich and chocolatey, but the top feels playful and party-ready. Very quick birthday mood, no cake tin needed.
Salted Dark Chocolate Cosmic Brownie
Use a darker chocolate and finish with a tiny pinch of flaky salt.
The salt balances the sweetness and makes the chocolate feel deeper. This one feels a little more grown-up but still cosy.
Matcha White Chocolate Cosmic Brownie
Drizzle a small amount of melted white chocolate mixed with matcha over the top.
It adds a soft bitter note and a pretty green contrast. This is the kind of playful flavour test I’d sneak onto a TuCha-style dessert tray.
Coconut Fudge Cosmic Brownie
Sprinkle a little toasted coconut over the chocolate topping.
It adds crunch and a warm nutty finish. The brownie still feels classic, but with a tiny café-style twist.
Serving Suggestions – How I Like to Present These for Maximum Wow
Serve in a Clear Glass Mug
A clear mug lets you see the soft brownie, glossy top, and colourful candy pieces.
It makes the dessert feel more styled without any real extra work. Very handy when you want something cute for a quick photo.
Add a Thick Glossy Top
Use a slightly thicker melted chocolate or quick ganache-style topping.
Let it settle for a minute before adding candy pieces. It gives that smooth cosmic brownie lid, just in mug form.
Make a Tiny Dessert Tray
Place the mug on a small tray with a spoon, extra candy pieces, and a little napkin.
It turns a five-minute dessert into a proper treat. This is very much my “small dessert, big main character energy” approach.
Serve with Cold Milk Tea
The brownie is rich, so a cold drink works beautifully beside it.
Milk tea, iced coffee, or cold milk all balance the warm chocolate. I’d happily serve this with a simple milk tea at TuCha for a cosy little chocolate moment.
Let It Cool for a Lunchbox-Style Texture
If you want a denser cosmic brownie feel, let it cool before eating.
The chocolate sets a little, and the brownie becomes more fudgy than gooey. It is a different texture, but a very good one.
Top with Extra Mini Candy Pieces Just Before Serving
Add a few fresh candy pieces right before serving.
They keep their colour and crunch better. It makes the top look bright, neat, and ready for its tiny close-up.
Serve with a Small Spoon
A small spoon makes each bite feel more dessert-like.
You get a little brownie, a little topping, and a little candy crunch each time. It’s a small thing, but desserts are often built on small things.
Dust the Rim with Cocoa
Lightly dust the mug rim with cocoa before serving.
It adds a soft chocolate aroma and makes the mug look a bit more finished. Keep it light so it does not taste powdery.

Common Mistakes to Avoid – Lessons I’ve Learned After Dozens of Batches
Choosing a Mug That Is Too Small
A small mug can overflow quickly.
Use a mug with extra space at the top. The batter needs room to puff without making a dramatic microwave exit.
Trusting the Timer More Than the Texture
Microwave times are only a guide.
Check the brownie early and look at the centre. It should be soft, not soupy, and not dry.
Using Very Bitter Chocolate
High cocoa chocolate can taste too intense in a tiny dessert.
For a balanced mug cosmic brownie, stay around 60 to 70 percent dark chocolate. It keeps the flavour rich but still sweet and nostalgic.
Adding Candy Before the Chocolate Settles
If the topping is too hot, the candy can sink or smear.
Let the chocolate sit for a short moment first. You want the candy to sit on top like a little colourful crown.
Scooping Flour Straight from the Bag
This can pack too much flour into the spoon.
Spoon and level the flour instead. A little too much flour can shift the brownie from fudgy to cakey very fast.
Skipping the One-Minute Rest
The brownie needs a moment after microwaving.
That short rest helps the texture settle and the heat even out. It is also the difference between dessert and burning your tongue.
Doubling the Recipe in One Mug
A double batch in one mug often cooks unevenly.
The edges can go dry while the centre stays too soft. If you want two servings, make two mugs.
Forgetting the Cosmic Part
A plain mug brownie is lovely, but the topping makes this one feel special.
Use glossy chocolate and colourful candy pieces. That little top layer is where the nostalgia lives.

Frequently Asked Questions
What Size Mug Should I Use for a Mug Cosmic Brownie?
Use a medium to large microwave-safe mug with room at the top.
A wider mug cooks more evenly than a tall narrow one. It also helps stop the brownie from bubbling over.
Is This Mug Cosmic Brownie Eggless?
Yes, this recipe is eggless.
That helps keep the texture soft and less rubbery. For one serving, butter and chocolate give plenty of richness without needing an egg.
What Chocolate Percentage Works Best?
I like dark chocolate around 60 to 70 percent.
It tastes rich but still sweet enough for that cosmic brownie feeling. Very dark chocolate can make the brownie taste a bit too serious.
Can I Use Cocoa Powder Instead of Chocolate?
This recipe is built around real chocolate, so cocoa powder will change the texture.
Real chocolate gives more richness and a fudgier bite. If you only have cocoa, you may need to adjust the fat and sugar, so it becomes a slightly different mug brownie.
How Do I Make the Top More Like a Cosmic Brownie?
Use a thicker melted chocolate or quick ganache-style topping.
Let it sit for a minute, then add mini candy pieces or rainbow chips. This gives you that glossy, colourful top without baking a full tray.
Can I Make This Dairy-Free?
Yes, use plant-based butter, dairy-free milk, and dairy-free chocolate.
The texture may be a little softer, but it still works. Check the candy pieces too if you need the full dessert to be dairy-free.
Can I Make This Gluten-Free?
Yes, use a measure-for-measure gluten-free flour blend.
The texture may be more delicate, so start checking early. Gluten-free mug brownies can go from soft to overdone quickly.
Can I Double This Recipe?
You can, but I recommend making two separate mugs.
A double batch in one mug can cook unevenly. Two mugs give you better texture and fewer microwave surprises.
How Can I Make It Less Sweet?
Use darker chocolate and go lighter on the topping.
You can also add a tiny pinch of salt to balance the sweetness. I would not cut too much sugar from the batter because it helps the texture.
Why Did My Mug Brownie Overflow?
The mug was likely too small, or the batter rose too much for the space.
Use a wider mug with room at the top. It gives the brownie space to puff without escaping.
Why Is the Centre Still Soft?
That can be a good thing.
The centre should stay a little soft for a fudgy texture. If it looks wet rather than softly set, microwave in 10-second bursts.
Should I Eat It Warm or Cooled?
Warm gives you a gooey, soft brownie.
Cooled gives you a denser, fudgier bite that feels more like a classic cosmic brownie. I like both, just for different chocolate moods.
Can I Make This Without the Candy Topping?
Yes, but it will taste more like a regular mug brownie.
The colourful candy pieces are what make it feel like a mug cosmic brownie. If you skip them, I’d still use the glossy chocolate topping.

Let’s Get Cooking
If you liked this recipe make sure to leave me a comment and rating down below. I’d love to know how it went! Also, don’t forget to tag me on Instagram @catherine.desserts.
Follow me on Facebook, Pinterest, YouTube, and TikTok for more of my baking creations and updates!
Cosmic Brownie in a Mug
Rich, chocolatey brownie topped with melted chocolate and m&ms, an indulgent take on little Debbie’s cosmic brownies that comes together in less than 5 minutes.
- Prep Time: 5 minutes
- Cook Time: 2 minutes
- Total Time: 7 minutes
- Yield: 1 Mug Cake 1x
- Category: Cake
- Method: Easy
- Cuisine: American
Ingredients
- 2 tbsp Unsalted butter
- 30g Dark chocolate (1 oz) (approx 6 squares)
- 2 tbsp Granulated sugar
- 2 tbsp Whole milk
- 4 tbsp All-purpose flour
- 1/4 tsp Baking powder
- Melted chocolate and m&ms for decorating
Instructions
- Combine the butter and chocolate in a mug and microwave for 30 seconds until melted
- Add the sugar, milk, flour and baking powder, mix until combined
- Microwave for 1 minute to 1 minute 30 seconds
- Top with melted chocolate and m&ms

Hi Catherine! These look amazing! I was just curious what percentage of cocoa do you prefer for your dark chocolate? Ghirardelli makes several darks chocolates ranging from 60%, 72%, and 86%. What do you recommend for this recipe?
Thanks!
Barry
Thanks Catherine! That is helpful as always! Thank you so much for your response and your amazing work!
This was so easy to make and delicious! It will be my go-to recipe from now on.
It’s alright. Just no it’s not really a cosmic browny