Gluten-Free Cosmic Brownies
This post may contain affiliate links. See our disclosure policy for more.
Our homemade gluten-free Cosmic brownies recipe is a DELICIOUS from-scratch take on a childhood favorite. With their chewy, fudgy texture, rich chocolate flavor & signature colorful sprinkles, these gluten-free brownies are even better than the original!

I love a good gluten-free copycat recipe, whether it’s Gluten-Free Oatmeal Cream Pies, Gluten-Free Levain Bakery Cookies or Gluten-Free Magnolia Banana Pudding, but these brownies might just take the cake. (The brownie?) Why? Because…
This Classic Childhood Favorite Has Never Tasted Better
Our gluten-free cosmic brownie recipe is like turning up the volume on Little Debbie cosmic brownies. MORE chocolate flavor, BETTER texture, and higher quality ingredients. The only thing we’re removing is the gluten!
๐ฅฃ EASE: Made from simple ingredients, this homemade version doesn’t require any fancy equipment or skills, but you do need to follow the directions, for best results. Whisk, stir & bake as directed, and you’re good to go!
๐ซ FLAVORS: They’re the real deal! While the store-bought version can taste a bit weak or flat, our homemade cosmic brownies recipe is PACKED with deep chocolate flavor in both the brownie and the smooth chocolate ganache frosting. They have a fudgy chewy texture that tastes like heaven. YUM! . YUM!
๐๐ผ TOP TIPS: Weigh your dry ingredients for best results (or use the scoop & level method to avoid packing extra flour into the recipe). Then, make sure you let the brownies cool before frosting & set before slicing.
Happy baking! xo, Emily
Gather Your Ingredients

How To Make Gluten-Free Cosmic Brownies, Step By Step
As always, you can find the full recipe, with ingredient amounts, detailed instructions, and tips in the recipe card below.

First, Make The Brownies
- Preheat & Prep. To start, preheat the oven to 350 degrees F. Line a metal 8ร8 pan with parchment paper and set aside.
- Melt Chocolate & Butter. In a microwave safe bowl, combine 1 1/3 cups chocolate chips with the butter and melt in 15-20 second intervals until smooth. (If you have a low power or low heat setting, I recommend it here to avoid scorching the chocolate.) Let chocolate cool slightly while you work on the eggs and sugar.
- Whip Sugar & Eggs. In a large mixing bowl (glass works best!), combine granulated sugar and eggs. Whip with a whisk or handheld electric mixer for 2-3 minutes, or until doubled in volume, much lighter in color, and the sugar is almost completely dissolved. Do NOT rush this step!
- Combine Wet Ingredients. Add chocolate mixture to the egg mixture along with the vanilla and mix until smooth and evenly blended.
- Add Dry Ingredients. Next, add gluten-free flour, cocoa powder, and salt and mix until just combined and no dry patches remain.
- Bake & Cool Brownies. Smooth brownie batter into the prepared pan and bake in preheated oven 18-20 minutes, or until the top is set and glossy and a toothpick inserted in the center comes out clean with just a few moist crumbs. (It shouldn’t be full of wet batter.) Let the brownies cool completely before frosting. (You can speed this up by cooling on a wire rack 20 minutes at room temperature, then transferring to the fridge until cooled.)

Next, Make The Ganache & Decorate The Brownies
- Heat Cream (and corn syrup, if using!) until nearly boiling (either on the stovetop or in a microwave-safe bowl).
- Melt Chocolate. Add chocolate chips to steaming cream and let the mixture sit undisturbed for 5 minutes. Gently and slowly stir in one direction until the chocolate is melted, smooth, and glossy.
- Frost Brownies. Pour the ganache over the cooled brownies and spread into an even layer with an offset spatula. If your ganache has small air bubbles, you can gently tap the pan on the counter or gently shake the pan back and forth to remove them.
- Add Sprinkles & Set. Decorate the brownies with sprinkles, then let the brownies set completely before slicing. I recommend putting the brownies in the fridge for the neatest slices! Use a sharp knife to cut into slices & enjoy!
- Store. Keep leftover brownies in an airtight container 1-2 days at room temperature or 3-4 days in the fridge. Or, freeze up to 2 months in a freezer-safe container.


Tips For The Prettiest Brownies
- Consider Corn Syrup. I know it’s not everyone’s favorite ingredient, but corn syrup (which is different from high-fructose corn syrup!) adds a slight glossy sheen to the frosting that makes these homemade cosmic brownies GORGEOUS.
- Tap Our Air Bubbles. If your ganache frosting gets small air bubbles in it (a common issue!), gently tap the pan on the counter, or gently shake the pan back and forth to help bring the bubbles up to the surface before adding the sprinkles. It’ll give you a much more level, even surface to work with.
- Maybe Get Fussy? If you really want to go over the top, consider placing sprinkles on by color one at a time. Use a glove (or super clean hands!) and add one color evenly before adding the next. This is a food styling trick bloggers and bakeries use that can be worth it if these brownies are for a special occasion!
- Chill Before Slicing. Last, but not least, I recommend chilling the brownies before slicing to help you get even cuts. Clean your knife off in between slices for best results!

FAQ + Tricks For The Best Cosmic Brownies
What Kind of Sprinkles Do You Use For Cosmic Brownies? If you’re making copycat cosmic brownies, you want to get the sprinkles just right! Look for rainbow bit chips–candy-coated chocolate sprinkles that are like colorful mini chocolate chips. It can be hard to find brands that are gluten-free, but we love these gluten-free rainbow bit chips from Sweetapolita! Can’t find any? Try using rainbow quins or your favorite rainbow sprinkles (or even mini m&m’s!) instead.
Don’t Rush The Eggs & Sugar! Make sure to beat the eggs and sugar the full 2-3 minutes to properly dissolve the sugar. It’s the key to the shiny, crinkly brownie tops we’re going for!
Your Pan Matters! I recommend a light-colored metal 8×8 pan, since brownies baked in a metal pan bake more evenly. If you use a glass or ceramic pan, the brownies may “climb” the sides during baking, then sink afterward, creating an uneven surface. Brownies baked in glass and ceramic pans also take longer to bake.
Can I Make Them Dairy-Free? I haven’t tested them, but using vegan butter, dairy-free chocolate chips, and coconut milk or coconut cream in the ganache topping would be a good place to start. (The sprinkles are probably not possible to get dairy-free, though!)
๐ Did You Make This Recipe?
Tell me all about it! Leave a star rating below when you try our Gluten-Free Cosmic Brownies recipe. I can’t wait to hear how it goes!

Gluten-Free Cosmic Brownies
Equipment
- 1 Metal 8×8 Pan
Ingredients
For The Brownies
- 1 โ cups Semi-Sweet Chocolate Chips (226 grams/8 oz)
- 5 Tablespoons Butter
- ยพ cup Granulated Sugar (150 grams)
- 2 Large Eggs
- 1 teaspoon Vanilla Extract
- โ cup Gluten-Free Measure-For-Measure Flour (40 grams)
- 3 Tablespoons Unsweetened Cocoa Powder (24 grams) – I prefer natural cocoa powder rather than Dutch processed here
- ยฝ teaspoon Kosher Salt
For The Ganache & Topping
- 1 cup Semi-Sweet Chocolate Chips (170 grams/6 oz)
- ยฝ cup Heavy Whipping Cream
- 1 teaspoon Corn Syrup (Optional, for glossier ganache)
- 2 Tablespoons Candy Coated Chocolate Chip Sprinkles *See notes!
Instructions
First, Make The Brownies
- Preheat & Prep. To start, preheat the oven to 350 degrees F. Line a metal 8×8 pan with parchment paper and set aside.
- Melt Chocolate & Butter. In a microwave safe bowl, combine 1 1/3 cups chocolate chips with the butter and melt in 15-20 second intervals until smooth. (If you have a low power setting, I recommend it here to avoid scorching the chocolate.) Let chocolate cool slightly while you work on the eggs and sugar.
- Whip Sugar & Eggs. In a large bowl (glass works best!), combine granulated sugar and eggs. Whip with a whisk or handheld electric mixer for 2-3 minutes, or until doubled in volume, much lighter in color, and the sugar is almost completely dissolved. Do NOT rush this step!
- Combine Wet Ingredients. Add chocolate mixture to the egg mixture along with the vanilla and mix until smooth and evenly blended.
- Add Dry Ingredients. Next, add gluten-free flour, cocoa powder, and salt and mix until just combined and no dry patches remain.
- Bake & Cool Brownies. Smooth batter into the prepared pan and bake 18-20 minutes, or until the top is set and glossy and a toothpick inserted in the center comes out clean with just a few moist crumbs. (It shouldn't be full of wet batter.) Let the brownies cool completely before frosting. (You can speed this up by cooling on a wire rack 20 minutes at room temperature, then transferring to the fridge until cooled.)
Next, Make The Ganache & Decorate The Brownies
- Heat Cream (and corn syrup, if using!) until nearly boiling (either on the stovetop or in a microwave-safe bowl).
- Melt Chocolate. Add chocolate chips to steaming cream and let the mixture sit undisturbed for 5 minutes. Gently and slowly stir in one direction until the chocolate is melted, smooth, and glossy.
- Frost Brownies. Pour the ganache over the cooled brownies and spread into an even layer. If your ganache has small air bubbles, you can gently tap the pan on the counter or gently shake the pan back and forth to remove them.
- Add Sprinkles & Set. Decorate the brownies with sprinkles, then let the brownies set completely before slicing. I recommend putting the brownies in the fridge for the neatest slices! Use a sharp knife to cut into slices & enjoy!
- Store. Keep leftover brownies in an airtight container 1-2 days at room temperature or 3-4 days in the fridge. Or, freeze up to 2 months in a freezer-safe container.
Notes
- Gluten-Free Flour. We recommend King Arthur Measure-For-Measure gluten-free flour blend for these brownies. If you use another 1:1 gluten-free flour blend, be sure it contains xanthan gum. Always weigh flour with a scale for best results, or use the scoop and level method to spoon flour into the measuring cup.ย
- Cocoa. We’re using natural cocoa powder rather than Dutch processed cocoa powder for this recipe.ย
- Use The Right Sprinkles. Cosmic brownie sprinkles are called all kinds of things, but look for key words like “candy coated chocolate sprinkles,” “candy coated chocolate chips,” or “Rainbow Bit Chips.” Most brands are not labeled gluten-free even if they aren’t made from gluten ingredients, but we like the ones from Sweetapolita (which ARE gluten-free). If you can’t find them, mini m&ms or rainbow sprinkles will do in a pinch!ย
- Corn Syrup is not *strictly* necessary, but will give your ganache a beautiful glossy sheen. Feel free to leave it out, if needed.ย
Video
Find the recipe:
sweetsandthankyou.com/gluten-free-cosmic-brownies/










This is so nostalgic! It tastes like all the best a cosmic brownie has to offer
These are sooo good! Like real cosmic brownies, but better! I’m normally not a brownie person, but I loved these SO much and I want to have them again!
These were so good! They are a perfect match for the Little Debbie version–minus that weird plastic taste. If you’re looking for a very fudgy brownie, these are for you. I was a little worried at first because it didn’t look like a lot of batter, but my fear was in vain. It turned out to be just right. The ratio of ganache to brownie was spot on. We are not a gluten-free family, so I used regular all purpose flour. I liked them best right out of the fridge, but they were also great at room temperature. No notes. We have leftover candy topping, so we will be making them again soon.
Kirsten, you are THE BEST. Thank you so much for taking the time to leave such a kind review!! We LOVE these. I’m so glad you enjoyed them as much as we do!