Tessa’s Recipe Rundown
Taste: These homemade Cosmic Brownies have a much better chocolate flavor than the store-bought ones! No weird artificial flavors here.
Texture: Ultra-rich, fudgy, and chewy. So good.
Ease: Very easy!! Enjoy a batch of these in just over an hour.
Pros: Super fun copycat recipe that’s so much better when homemade.
Cons: None!
Would I make this again? Absolutely!
This post may contain affiliate links. Read our disclosure policy.
This Homemade Cosmic Brownie recipe will evoke all those childhood memories of snacking on those little plastic-wrapped store-bought brownies – but these babies are SO much better!
Real, decadent, and satisfying chocolate, without all the crazy artificial ingredients.

When I was a kid in elementary school, anytime I’d bring a sack lunch it was basically the same exact thing every time. I always ate a peanut butter sandwich, I didn’t even like jelly necessarily. There’d usually be some other element in my lunch bag – but I’d ALWAYS request my mom add in a Little Debbie brownie as my special treat.

Before Cosmic Brownies came into existence, it was just the Little Debbie brownies with the nuts on top. I would always pick off all the nuts. In my child mind, nuts shouldn’t be part of any dessert. Gross.
So you can imagine my excitement when I spotted Cosmic Brownies on the shelf at the store. Candy > Nuts any day! I freakin’ loved those Cosmic Brownies. Never did I think I’d grow up to make a copycat cosmic brownie, ha!

I knew I had to make my own version from scratch. I got started making the most fudgy, chewy brownies I could, using everything I learned from my Ultimate Brownie Guide.
These little brownies are ultra-rich and fudgy, almost like candy. I got as close to the texture of the store-bought kind as I possibly could. I hope you love them as much as I do!

Sprinkle of Science
How to Make Copycat Cosmic Brownies
What are Cosmic Brownies?
Cosmic Brownies, created by snack company Little Debbie, basically summarize a childhood in the 1990s in each bite. They are chewy with a rich, fudgy frosting that’s dotted with rainbow crunch sprinkles. They come individually wrapped and are super sweet and quite artificial tasting. In creating my copycat version, I opted for a fudgy chocolate ganache topping that delivers a much better burst of chocolate flavor. The store-bought version was one of my favorite childhood treats, so I’ve created a homemade version that’s more suited for an adult palette. No weird chemicals or artificial flavors in these homemade Cosmic Brownies!
Check out the side-by-side below – my homemade version is on the left and the store-bought is on the right:

Where to Find Rainbow Candy-Coated Chocolate Chips?
I used to use Wilton Rainbow Crunch for topping Cosmic Brownies (as seen in the pictures here), but those are increasingly difficult to find. This Baker’s Choice version is available on Amazon, but feel free to use rainbow sprinkles, mini M&Ms, or whatever you like to top these brownies.
Butter vs. Oil in Brownies: Which is Better?
I recently experimented with Butter vs. Oil in brownies to see how the type of fat used affects the final result. The brownies made with butter were fudgier and softer than the oil brownies. There were also shocking differences in the crusts of the two brownie batches! You’ll find these Cosmic Brownies call for all butter to provide the best flavor and melt-in-your-mouth texture.
Check out my Butter vs. Oil in Baking article for a full breakdown on each of these fats and how they affect tenderness, flavor, and texture in baked goods (and not just brownies).

Do I Have to Use Cornstarch + Corn Syrup?
There is a small amount of both cornstarch and corn syrup in this recipe to help make the brownies super chewy and fudgy. Feel free to omit the corn syrup or use golden syrup if you prefer, but note that your brownies just won’t quite have that same Cosmic texture. Don’t skip the cornstarch – learn why here.
Extra Egg Yolk = Fudgy & Chewy!
You’ll notice in most of my brownie recipes I add an extra egg yolk. This adds fat and protein which translates to rich, fudgy, and chewy brownies.
How to Avoid Dry, Crumbly Cosmic Brownies
To get moist, fudgy, and chewy Cosmic Brownies, you want to be extra careful to measure your dry ingredients properly. It’s super easy to accidentally add too much flour and cocoa powder – unless you use a digital kitchen scale to ensure 100% accuracy. If you don’t have a scale, use the spoon and level method for both the flour and cocoa powder to ensure accuracy, and avoid dry, hard, cakey, or crumbly brownies. You can learn more about how to measure properly here.
The Best Brownie Baking Pan
- I highly recommend using a light-colored metal baking pan. This is my favorite baking pan for brownies, blondies, cheesecake bars, cookie bars, and more.
- Avoid using dark-colored metal pans; the darker the color, the more likely you are to burn the edges or have dry edges.
- Glass or ceramic baking pans will take LONGER to bake these brownies, and the texture may become dense and gummy. Learn more in my Glass vs. Metal Baking Pans article.

How to Cut Cosmic Brownies Perfectly
If you want to get perfectly clean, neat, and even brownie slices, check out my How to Cut Brownies Cleanly in 5 Steps article. Don’t worry – even if you don’t follow all these tips, your brownies will taste just as delicious.

How to Store Cosmic Brownies
Frosted, sliced Cosmic Brownies can be stored in an airtight container for 3 days at room temperature or for 1 week in the fridge. Cosmic Brownies are best served chilled, for maximum fudginess.

More Brownie Recipes:
More Copycat Recipes:
- Brown Butter Rice Crispy Treats
- Krispy Kreme Copycat Glazed Doughnuts
- Homemade Fudge Rounds
- Strawberry Pop Tarts
- Homemade Oreos
- Homemade Oatmeal Cream Pies

Become a Baking Genius!
Sign up for our free email newsletter for NEW recipes & baking science secrets.

Cosmic Brownies
Ingredients
For the brownies:
- 10 tablespoons (142 grams) unsalted butter
- 1 cup (200 grams) granulated sugar
- 1/3 cup (67 grams) packed light brown sugar
- 3/4 cup plus 2 tablespoons (88 grams) unsweetened cocoa powder, sifted
- 1/2 teaspoon vanilla extract
- 2 large eggs plus 1 egg yolk
- 1 tablespoon corn syrup
- 2/3 cup (85 grams) all-purpose flour
- 1 tablespoon cornstarch
- 1/4 teaspoon salt
For the frosting:
- 1/2 cup heavy cream
- 1 1/2 cups (255 grams) semisweet chocolate chips
Rainbow Candy-Coated Chocolate Chips , or mini M&M’s, sprinkles, or other candy, for topping
Instructions
Make the brownies:
- Preheat the oven to 350°F. Line an 8-by-8-inch metal baking pan with parchment or foil and spray with cooking spray.
- In a large microwave-safe bowl, melt the butter for about 90 seconds on high power. Stir in the granulated sugar, brown sugar, and cocoa powder. If still very hot, let cool slightly before adding in the vanilla, eggs, egg yolk, and corn syrup. Stir until very well combined. Add in the flour, cornstarch, and salt and stir until just combined. Batter will be thick. Pour into the prepared pan and bake for 25 minutes. Let cool completely in the pan.
Make the frosting:
- Place the cream in a small microwave-safe bowl and microwave on high for 1 minute. Add in the chocolate chips. Let stand for 3 minutes before stirring until smooth. Pour over the cooled brownies and smooth evenly. Sprinkle with the Rainbow Candy-Coated Chocolate Chips. Refrigerate for 1 to 2 hours, or until the frosting is set, before cutting.
- Brownies can be stored in an airtight container for 3 days at room temperature and for 1 week in the fridge. Brownies are best served chilled.
Recipe Notes
Where to Find Rainbow Candy-Coated Chocolate Chips?
I used to use Wilton Rainbow Crunch for topping Cosmic Brownies, but those are increasingly difficult to find. This Baker’s Choice version is available on Amazon, but feel free to use rainbow sprinkles, mini M&Ms, or whatever you like to top these brownies.This recipe was originally published in 2014 and has been updated with recipe improvements and new photos. Photos by Ashley McLaughlin.
April Baking Challenge
This recipe was the selection for the April 2020 baking challenge! See all the entries submitted below. Check out the current monthly challenge here.

Can I bake these in mini cupcake pans instead? What about with cupcake liners?
Hi Wendy! We haven’t tried that, so I couldn’t say for sure, sorry! Feel free to experiment and let us know how it goes!! 🙂
We made these for our book club. It would have been 5 stars if the frosting was different. I think there was too much, as it is very rich. If I made this again I would halve the frosting/ganache recipe, or even just not have frosting at all. Even then it’s so rich maybe a half and half mix of milk and semi sweet chocolate chips might be necessary, the frosting is definitely the weakest link. Brownies are excellent, just tread lightly with the frosting.
If frosting is to sweet, add a pinch of salt, it helps balance the sweetness!
These are sooo gooooodddd. We will be making these again. So easy to make and so much better than the original cosmic brownie.
Wow, what a compliment! So glad you enjoyed them, Christine!
Can the corn syrup be subbed for anything else?
Hi Athena! Please check out the pink tip box above the recipe for more details 🙂
Does anyone know the breakdown of the total grams of sugar per brownie ?
I don’t know if I’m doing something wrong but these came out wayyyyy too bitter. The brownie itself was bitter and the ganache was bitter as well. I followed the directions to a t using a scale. I’m not sure why everyone’s reviews are so great bc I just don’t get it. I’m making them again to see if I messed up somewhere
Hi Morgan! Sorry to hear your brownies were bitter! They definitely should not be. I’m so glad you used a scale to measure your ingredients, did you substitute any ingredients? Or is it possible some of the sugar may have accidentally been left out or measurements been mixed up? I really hope you give this recipe another try, please let me know if you do!
I just made the brownies (not frosting) this weekend and everyone loved them and complimented them a lot! The batter was extremely thick and a bit hard to spread so I was nervous but they turned out soooo fudgey and chewy and chocolatey. Seriously delicious- I’m saving this as my favorite recipe for brownies 🙂
Thanks so much for your feedback, Madison! I just updated the recipe to note that the batter will be thick 🙂 So happy you loved this recipe!
Why is there no baking powder in this recipe?
Hi Mark! With our brownie recipes, we usually prefer a very small amount or no chemical leavener. The reason (especially for this recipe) is because we prefer brownies to be very rich and on the denser side, not even remotely cakey. We wanted to perfect the texture of these brownies so they’re as close to a replica of the Little Debbie’s as possible. I hope that helps!
Is the batter supposed to be super thick? It was hard to mix after adding the dry ingredients.
Hi Stephanie! Yes, the batter is pretty thick. How did your brownies turn out?
Question: my oven is very uneven in its cooking. At 25 minutes, is a toothpick supposed to come out wet or dry? I used regular metal 8×8 pan.
Thanks!
Hi Julie! There should be some crumbs stuck to the toothpick, though brownies can be a little tricky at times knowing when they’re completely done. Luckily, slightly underdone brownies are just a bit more fudgy 🙂 Let us know how it goes!
I made these for my Granddaughter’s 21st family dinner dessert. The consensus was unanimously that the frosting was way too sweet. The brownie part tasted just like Cosmic Brownies!
So if I make them Again I’ll try using half the amount of frosting and possibly Milk Chocolate chips to make it less sweet.
Thanks for your feedback, Christi!
This recipe is so incredibly dangerous.
I doubled the recipe and what a mistake. No one could stop eating them, I did add some pecans in the batter, and it gave an incredibly good crunch.
This are by far one of the best brownie recipe ever.
Ooo love the addition of pecans! So happy to hear how much everyone loved this recipe! Thanks for letting us know 🙂