Cosmic brownies brought me back to childhood like nothing else. Ever try to sneak one into your lunchbox and hope your siblings didn’t see? It’s the kind of sweet treat you think you outgrow, but then one box disappears in a blink. I wanted to make a killer batch at home and wow, the copycat recipe actually tastes JUST as magical. If you’re on the hunt for ways to relive snack time nostalgia or looking to jazz up your dessert game, you’re in the right spot. Oh, one last thing before we get messy: Check out my tips for easy chocolate desserts or maybe you’ll want to try these no-bake cheesecake brownie cups too.
Table of Contents
Cosmic Brownies
A nostalgic recipe for rich and fudgy cosmic brownies topped with rainbow candies.
- Prep Time: 15 minutes
- Cook Time: 20 minutes
- Total Time: 35 minutes
- Yield: 12 servings 1x
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Ingredients
- 1/2 cup unsalted butter
- 1 cup white sugar
- 1/2 cup brown sugar
- 2 large eggs (room temperature)
- 1 teaspoon vanilla extract
- 1 cup all-purpose flour
- 1/3 cup unsweetened cocoa powder
- 1/4 teaspoon salt
- 1/2 teaspoon baking powder
- 1/2 cup dark chocolate chips (for ganache)
- 1/2 cup heavy cream
- Rainbow candy-coated chips (or mini M&Ms)
Instructions
- Melt the butter in the microwave for about 30 seconds.
- Stir in the white and brown sugars until glossy.
- Add in the eggs and vanilla, mixing well.
- Mix in the dry ingredients: flour, cocoa, salt, and baking powder until just combined.
- Pour the batter into a lined pan and bake at 350°F for 18-20 minutes.
- For the ganache, melt the dark chocolate chips with the heavy cream, then cool slightly and spread over baked brownies.
- Top with rainbow candies while the ganache is still warm.
- Let the brownies set before cutting into squares.
Notes
Chill brownies before slicing for neater cuts. Use a metal pan for best results.
Nutrition
- Serving Size: 1 brownie
- Calories: 300
- Sugar: 25g
- Sodium: 150mg
- Fat: 15g
- Saturated Fat: 8g
- Unsaturated Fat: 6g
- Trans Fat: 0g
- Carbohydrates: 40g
- Fiber: 2g
- Protein: 4g
- Cholesterol: 30mg
What are Cosmic Brownies?
Alright, quick rewind for those who missed the school-lunch era. Cosmic brownies? They’re those dense, fudgy chocolate squares topped with crunchy rainbow chips. Kinda chewy but somehow melt-in-your-mouth at the same time (a paradox I will never solve). Honestly, they’re like the VIPs of the snack world at any party, potluck, or just when you need a pick-me-up.
I remember fighting my little cousin for the last one at a sleepover. It wasn’t pretty, but it was worth it. The real kicker: those bright candies don’t just look good, they’re the best part. Kids adore ‘em for the colors, adults for the memories. Seriously, if you haven’t tried cosmic brownies, you’re missing out on a bite-sized time machine.
“As someone with a ridiculous sweet tooth, these homemade cosmic brownies totally crushed my store-bought cravings. My kids thought I was some kind of dessert wizard!”

Ingredients
You’re not going to need anything weird here. Just simple, honest stuff that’s probably chilling in your pantry already.
- Unsalted butter (need those brownies rich)
- White sugar
- Brown sugar (it adds a hint of caramel flavor, trust me)
- Eggs (room temp is best)
- Vanilla extract
- All-purpose flour
- Cocoa powder (go for unsweetened)
- Salt
- Baking powder
- Dark chocolate chips (for the ganache)
- Heavy cream
- Rainbow candy-coated chips (or mini M&Ms if you can’t find the originals)
How to Make Copycat Cosmic Brownies
Okay, let’s get real: this isn’t a five-star restaurant, so don’t stress if things get messy. Melt the butter first. Just zap it in the microwave for 30 seconds or so. Stir in the sugars until kinda glossy. Add the eggs and vanilla, mixing like you mean it.
Dump in the dry stuff: flour, cocoa, salt, and baking powder. Stir just till combined. Don’t overmix or you’ll end up with cake, not brownies. Bake at 350°F in a lined pan – helps to keep the edges extra chewy. About 18-20 minutes should do (every oven is its own beast).
As for the ganache, melt chocolate chips with heavy cream. Let it cool a touch then spread over your brownies. Sprinkle those rainbow candies on top while the ganache is still oozy. That’s it. Let it set before cutting so you get those sharp, bakery-style edges.
Tips and Tricks
Okay, some weird things will happen. Sometimes I overbake the brownies and they get dry. Here’s what helps: use a metal pan. Glass ones can mess up the texture.
Also, don’t skip the lining paper. Peeling brownies off the pan is not fun. If you can, chill the brownies before slicing. They cut easier and the ganache stays pretty.
Another thing, don’t get greedy with the rainbow chips or you’ll have more candy than brownie. (Not saying that’s bad, just… different.)
Easy Variations
Maybe chocolate-overload isn’t your thing. You can totally switch it up. Add chopped nuts for crunch or put a peanut butter swirl in the batter. Grown up tastes? A pinch of sea salt flakes on top is, honestly, a level up.
You want to get wild? Drizzle white chocolate over the ganache, or swap the rainbow chips for crushed pretzels. Oh, and if you’re baking for a crowd, double the recipe and use a bigger pan – just don’t forget to watch the bake time.
You’re the captain of your cosmic brownies ship. Do whatever makes you happy. Sometimes I add a dash of instant coffee powder to the batter just for that extra kick. Shh, don’t tell my kids.
Tips for Perfect-Looking Brownies
If you’ve got a birthday bash or you just want Instagram bragging rights, here’s what I do:
- Chill brownies before slicing for super clean cuts.
- Wipe your knife after every slice, trust me on this.
- Pop the pan in the fridge for 10-15 minutes so the ganache firms up perfectly.
- If your candy starts melting, just chill everything longer before slicing.
Common Questions
Can I use Dutch cocoa powder instead?
Yup, it’ll just make the brownies even darker and richer. Can’t argue with that.
How long do cosmic brownies keep?
Three days at room temp or a week in the fridge (if they somehow survive that long).
Can I freeze them?
Absolutely. Wrap in foil and stash in an airtight container. Thaw overnight for best taste.
Can I make them gluten-free?
Substitute a cup-for-cup gluten-free flour blend and keep the rest the same. Easy.
Why did my brownies turn out cakey?
Probably over-mixed the batter or baked too long. Stick to just mixing until combined and check the bake at the 18-minute mark.
Bring Back the Nostalgia (Really, Try These!)
So, cosmic brownies aren’t just a treat they’re a throwback, a conversation starter, and straight-up comfort food. It’s kind of wild how easy it is to whip up this recipe at home (seriously, you don’t even need fancy tools). Don’t let any of your doubts hold you back. Dive in. Share ‘em around, or squirrel them away for yourself no judgment here. If you want another well-tested take, check out these Cosmic Brownies – Handle the Heat recipes or maybe peek at the originals from Cosmic Brownies | Little Debbie for more inspo. Go ahead, treat yourself and let your inner kid do a victory dance.

Hi, I’m Lina! I’m a 43-year-old home cook and mom of two, serving up easy, soul-hugging recipes for real-life families. Join me for delicious and reliable baking recipes. Everything from cakes, brownies, cheese cake and cookies to bars, quick breads, and more. Every recipe is tested, perfected, and made to inspire confidence in your kitchen. Happy baking!

