Dinners

Gluten Free Cosmic Brownies Recipe

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
1 hr 10 min
Prep
20 min
hands-on
Cook
30 min
oven or stovetop
Serves
16
as written

Jump to recipe Save

Cocoa powder is the backbone of these gluten free cosmic brownies, delivering rich chocolate flavor and a dense, fudgy texture. Swirls of vanilla frosting and colorful sprinkles mimic the galaxy theme, making them a hit at birthday parties, school events and holiday gatherings. These brownies hold together well without wheat flour, relying on a blend of gluten-free flours and xanthan gum for structure.

Ingredients

  • 1 cup (200 g) granulated sugar
  • 1/2 cup (100 g) packed light brown sugar
  • 1/2 cup (113 g) unsalted butter, melted
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • 1/2 cup (60 g) cocoa powder, sifted
  • 1/2 cup (60 g) gluten-free all-purpose flour blend (with xanthan gum)
  • 1/4 teaspoon salt
  • 1/4 teaspoon baking soda
  • 1/2 cup (85 g) semi-sweet chocolate chips
  • 1/4 cup (50 g) rainbow sprinkles
  • 1/2 cup (120 g) vanilla frosting, store-bought or homemade

Prep

Preheat oven to 350°F (175°C). Grease an 8-inch (20 cm) square metal baking pan and line with parchment paper, leaving overhang on two sides for easy removal. Sift the cocoa powder into a small bowl to remove lumps. In another bowl, measure the gluten-free flour blend, baking soda and salt; whisk to combine. Melt the butter and let it cool slightly. Separate the eggs and ensure they are at room temperature to prevent the batter from splitting.

Mix

  • 1 cup (200 g) granulated sugar
  • 1/2 cup (100 g) packed light brown sugar
  • 1/2 cup (113 g) melted butter, cooled
  • 2 large eggs
  • 1 tsp vanilla extract
  • 1/2 cup (60 g) sifted cocoa powder
  • 1/2 cup (60 g) gluten-free flour blend
  • 1/4 tsp salt
  • 1/4 tsp baking soda
  • 1/2 cup (85 g) chocolate chips
  1. In a medium bowl, whisk together granulated sugar, brown sugar and melted butter until smooth.
  2. Add eggs one at a time, whisking well after each addition. Stir in vanilla extract.
  3. Fold in sifted cocoa powder until fully combined and no streaks remain.
  4. Add the gluten-free flour blend, baking soda and salt. Stir just until incorporated; do not overmix.
  5. Fold in chocolate chips.

Shape and Bake

  • 1/4 cup (50 g) rainbow sprinkles
  • 1/2 cup (120 g) vanilla frosting
  1. Pour batter into the prepared pan, spreading evenly with a spatula.
  2. Sprinkle rainbow sprinkles evenly over the top. Dollop vanilla frosting in small mounds across the surface.
  3. Use a butter knife to gently swirl the frosting into the batter with 3-4 figure-eight motions. Do not over-swirl or the pattern will disappear.
  4. Bake at 350°F (175°C) for 28–32 minutes, until a toothpick inserted in the center comes out with moist crumbs but no wet batter.
  5. Let cool completely in the pan on a wire rack, about 40 minutes, before lifting out with parchment overhang.

Cut

Use a sharp knife to cut into 16 even squares, wiping the blade between cuts for clean edges. For neater slices, chill the pan in the refrigerator for 30 minutes before cutting. Do not use a plastic knife or serrated blade, as they drag the edges and break the top.

Serve

Serve at room temperature on a platter. These brownies pair well with a scoop of dairy-free vanilla ice cream or a cold glass of almond milk. They suit lunchboxes, potlucks and after-school snacks. Avoid serving in direct sunlight or warm rooms above 75°F (24°C), as the frosting may soften and sprinkles bleed.

Storage

Wrap individual brownies in plastic wrap or store in an airtight container at room temperature for up to 2 days. For longer storage, refrigerate for up to 5 days. To freeze, place in a single layer in a freezer-safe container with parchment between layers; freeze up to 2 months. Thaw at room temperature for 1 hour before serving. Do not refreeze.

Variations

For a dairy-free version, replace butter with vegan stick margarine and use dairy-free chocolate chips and frosting. The texture remains fudgy, but the crust may be slightly softer. For a nut-free version, ensure the gluten-free flour blend and frosting contain no nut derivatives—check labels carefully. To make chocolate swirl brownies, omit sprinkles and swirl melted chocolate instead of vanilla frosting. Use 1/4 cup (60 g) melted dairy-free chocolate and swirl the same way.

Raw Egg and Flour Safety

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).