This post may contain affiliate links. Read our disclosure policy.
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 could 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.
I even managed to find the exact candies Little Debbie tops the brownies with, they’re Wilton Rainbow Chip Crunch and I found them at Michael’s and I’ve seen them at Joanne’s, but they’re also available by a different brand on Amazon.

I think I managed to create this Homemade Cosmic Brownie recipe that will evoke all those childhood memories of snacking on those little plastic-wrapped store-bought brownies. But these babies are SO much better! Real and satisfying chocolate taste with no crazy artificial ingredients.
How to Make FUDGY Brownies
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.
What are Cosmic Brownies?
They’re an invention of Little Debbie that basically summarize a childhood in the 1990s in each bite. Cosmic brownies are ultra 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, so making them from scratch tastes SO much better. I opted for a fudgy chocolate ganache topping that delivers such a better burst of chocolate flavor than store-bought. 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!

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! Your brownies just won’t quite have that same Cosmic texture.
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.
Crumbly brownies? Make sure to measure properly!
To get moist, fudgy, and chewy brownies you want to be extra careful to measure your dry ingredients properly. Namely the flour and cocoa powder. I like to use a digital kitchen scale to ensure 100% accuracy. If you don’t have a scale, then use the spoon and level method for both the flour and cocoa powder to ensure you don’t add too much and create dry & crumbly brownies. You can learn more about how to measure properly here.
The Best Brownie Baking Pan
For the best brownie recipe, I highly recommend using a metal baking pan. I like this baking pan, or any quality metal baking pan that isn’t too dark in color. 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 more dense. Learn more in my Glass vs. Metal Baking Pans article.

How to cut brownies perfectly
Science has shown our visual perception of food actually influences how tasty we perceive food to be. 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 brownies
These brownies, with the frosting, can be stored in an airtight container for 3 days at room temperature and for 1 week in the fridge. Brownies are best sliced and served chilled for neat squares.

More Brownie Recipes
More Copycat Recipes
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
-
Wilton Rainbow Chip Crunch or mini M&M’s, sprinkles, or other candy
To 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 and 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.
To 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 Crunch 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.
This recipe was originally published in 2014 and recently 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.
Loved how these turned out! Super fudgy and delicious. They were a hit with everyone
Does the frosting harden/set as it cools? Wondering if these are stackable once finished.
Hi Katie! The frosting will set, but we recommend keeping the frosted brownies in the fridge, inside an airtight container, for best results. This way, they’ll stack nicely and still look pretty for presentation 🙂 Let us know what you think once you’ve given these a try!
I made two batches of the brownies and took then to my senior center…..boy were they a HIT!!
I had so many rave reviews, they thought they were professionally done and the best they ever had. I definitely will be making them again!
Thank you for the great recipe.
The best brownie recipe ever.
These are amazing! So rich and fudgy. I used half and half instead of cream for the ganache and they still turned out so good!
Amazing! Lovveeee these! Chocolate lovers brownie!!
I would like to double this recipe. What size pan would I use?
Hi Deb! Double this recipe using a 9×13-inch pan. We recommend a light-colored metal pan, like this one – avoid glass or ceramic (learn why here!) You may need to add a few additional minutes to the bake time, but that’s the only adjustment needed to double this recipe. Let us know what you think once you’ve given these brownies a try! Happy baking 🙂
Love the recipe. Found my rainbow sprinkles at Aldi. Made this recipe a couple of times from another website, and liked it but Especially liked yours because of the weighing of the ingredients, seems more precise. They are chillin’ in the fridge right now. Can’t wait to try them.