Cosmic Brownie Recipe
Homemade cosmic brownies bring back the lunchbox favorite with a richer, more grown-up flavor. The base is a dense, fudgy brownie made with melted bittersweet chocolate and cocoa powder, and the top is a smooth layer of semisweet chocolate ganache scattered with colorful candy-coated chips. One 8×8-inch pan makes 16 squares.
Unlike the packaged version, these are made with real butter and chocolate, and you control how thick the ganache is. The brownies bake for 35 to 40 minutes, cool completely, and then the ganache sets in the fridge in about half an hour. They are perfect for birthday parties, school bake sales or anyone who grew up trading for cosmic brownies at lunch.
Why you’ll love it
Why This Recipe Works
- Two kinds of chocolate. Melted bittersweet chocolate and cocoa powder together give a deep, layered chocolate flavor.
- An extra egg yolk adds chew. Two whole eggs plus one yolk make the brownies dense and fudgy rather than cakey.
- Cornstarch keeps them tender. A spoonful of cornstarch helps the crumb stay soft and smooth, much like the store-bought original.
- A simple two-ingredient ganache. Hot cream poured over chocolate chips makes a glossy topping without any special equipment.
What you need
Ingredients You’ll Need
Exact quantities are in the recipe card below.
For the brownies:
- Unsalted butter: 3/4 cup, cubed so it melts evenly with the chocolate.
- Bittersweet chocolate: 4 ounces, chopped.
- Granulated and light brown sugar: white sugar gives a crackly top, and brown sugar adds moisture and a hint of caramel.
- Unsweetened cocoa powder: 1/4 cup for extra chocolate depth.
- Eggs: two large eggs plus one yolk, at room temperature.
- Flour, cornstarch, salt and vanilla: just enough flour to hold the brownies together.
For the topping:
- Semisweet chocolate chips: 1/2 cup for the ganache.
- Heavy cream: 1/3 cup, heated until steaming.
- Rainbow candy-coated chips: about 1 tablespoon to finish.
The method
How to Make It
- Prepare the pan. Heat the oven to 350°F. Grease an 8×8-inch pan and line it with parchment, leaving some overhang for lifting.
- Melt the chocolate. Warm the butter and chopped bittersweet chocolate in a small saucepan over medium-low heat, stirring now and then, until fully melted. Pour into a large bowl.
- Mix the batter. Whisk in both sugars, the cocoa powder and vanilla until smooth. Add the eggs and the yolk one at a time, whisking well after each.
- Fold in the dry ingredients. Add the flour, cornstarch and salt and fold gently with a spatula until no dry streaks remain. Spread the batter evenly in the pan.
- Bake. Bake for 35 to 40 minutes, until the edges are set and a toothpick in the center comes out with a few moist crumbs. Cool completely in the pan, about an hour.
- Make the ganache. Put the chocolate chips in a heatproof bowl. Heat the cream over medium-low for 1 to 2 minutes, until very steamy but not boiling, then pour it over the chips. Let it sit for 5 minutes and stir until smooth. If a few pieces remain, microwave at 50% power in 10-second bursts.
- Frost and decorate. Spread the ganache over the cooled brownies. Chill for about 20 minutes, until mostly set but still slightly tacky, then sprinkle with the candy chips. Chill for 10 minutes more before slicing into 16 squares.
Tips & common mistakes
Practical Cooking Tips
- Pull the brownies when a toothpick shows moist crumbs, not wet batter and not completely clean. Overbaking is the main cause of dry, cakey brownies.
- Let the brownies cool all the way before adding the ganache, or it will melt into the top instead of forming a neat layer.
- Add the candy chips once the ganache has started to set so they stay on the surface and do not sink or bleed color.
- Lift the whole slab out with the parchment and slice it on a cutting board. Wipe the knife between cuts for clean edges.
- Use room-temperature eggs so the melted chocolate mixture does not seize.
Make it your way
Substitutions and Variations
- No rainbow chips: use mini candy-coated chocolates or a mix of rainbow sprinkles and mini chocolate chips.
- Darker ganache: swap the semisweet chips for bittersweet chocolate.
- Sweeter ganache: milk chocolate chips make a softer, sweeter topping.
- Cocoa choice: natural or Dutch-process cocoa both work; Dutch-process gives a darker, more intense flavor.
- Party pan: cut the slab into smaller bites for a dessert table.
Serving
What to Serve With It
A cold glass of milk is the classic pairing, but these brownies also shine on a party platter. If you love the ganache, our chocolate ganache recipe explains how to vary its thickness for other bakes. For a mixed brownie tray, add red velvet brownies or a batch of brownie cookies.
Storage
Make-Ahead, Storage and Reheating
Cosmic brownies are a good make-ahead treat. Store them in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to a week if your kitchen is warm. The ganache firms up when chilled, so let refrigerated brownies sit out for about 15 minutes before serving. To freeze, wrap the uncut slab or individual squares tightly and freeze for up to 2 months, then thaw in the fridge overnight.
Questions
Frequently Asked Questions
Why did my brownies turn out cakey?
Cakey brownies usually come from overbaking or overmixing after the flour goes in. Fold just until the streaks disappear and take the pan out while the center still has moist crumbs.
Can I use a glass baking dish?
Yes, but glass heats differently from metal, so start checking for doneness a few minutes early.
Where do I find rainbow candy-coated chips?
Look in the baking aisle near the chocolate chips, or use mini candy-coated chocolates instead.
Can I double the recipe?
You can double it in a 9×13-inch pan. The baking time may change, so rely on the toothpick test rather than the clock.
How many brownies does one pan make?
One 8×8-inch pan makes 16 squares.

Cosmic Brownie Recipe
Ingredients
Method
- Preheat the oven to 350°F. Lightly grease an 8×8-inch baking pan with butter or baking spray and line it with parchment paper.
- In a small saucepan, combine the butter and chopped chocolate. Place over medium-low heat and cook, stirring occasionally, until both are fully melted. Transfer the mixture to a large mixing bowl.
- Add the granulated sugar, brown sugar, cocoa powder, and vanilla and whisk vigorously until smooth. Add the eggs and egg yolk one at a time, whisking until each one is combined before adding the next.
- Add the flour, cornstarch, and salt and gently fold the dry ingredients into the chocolate mixture using a silicon spatula until no dry streaks remain. Transfer the batter to the prepared pan and smooth it into an even layer.
- Bake for 35 to 40 minutes or until the edges are set and a toothpick inserted in the center comes out with a few moist crumbs. Let the brownie layer cool completely in the pan.
- Place chocolate chips in a medium heatproof bowl and set aside.
- Heat the cream in a small saucepan over medium-low heat until very steamy, 1 to 2 minutes. (Do not boil.) Pour the hot cream over the chocolate chips, and set aside for 5 minutes for the chocolate to melt.
- Stir the chocolate and cream together until fully combined and smooth. If a few pieces of chocolate remain, microwave at 50% power for 10 seconds at a time, then stir until smooth.
- Pour the frosting over the cooled brownies and spread it into an even layer. Refrigerate for 20 minutes or until frosting is mostly set but not hard on top. Sprinkle the candy-coated chips on top. Chill for another 10 minutes before slicing.