Gluten-Free Flag Cookie Cake Recipe for Patriotic Celebrations

This Gluten Free Flag Cookie Cake, built from chewy chocolate chip cookie bars and finished with classic buttercream, is an easy and festive dessert perfect for patriotic celebrations.

corner square cut from flag cookie cake.

Summer flies by, but the Fourth of July is a great excuse to slow down and bake something fun. If you enjoy baking and serving crowd-pleasing desserts, this flag cookie cake delivers on flavor, texture, and presentation. It’s gluten free, chewy in the center, slightly crisp around the edges, and topped with creamy buttercream that you can tint red and blue for a classic American flag look.

Why you should make this cake

  1. A cookie cake offers big flavor in an easy, shareable format.
  2. The recipe is straightforward and doesn’t require a mixer.
  3. The bars are soft and chewy with plenty of chocolate chips.
  4. It’s festive and perfect for patriotic gatherings.

Ingredients you’ll need for this flag cake

cookie cake ingredients measured out and labeled.
  • Kim’s gluten free all-purpose flour blend (or a tested store-bought blend)
  • Cornstarch — keeps the bars tender
  • Melted butter — makes the bars chewy and eliminates the need for a mixer
  • Eggs — the whole egg binds, extra yolks add richness
  • Light brown and granulated sugar — together they create a soft, chewy texture
  • Semi-sweet chocolate chips
  • Vanilla extract
  • American buttercream for decorating

Let’s bake this cookie cake

whisking dry ingredients in plastic pitcher.
  1. Step 1: Preheat oven to 350°F. Line a 9 x 13-inch pan with parchment and set aside. Whisk the flour blend, baking soda, cornstarch, and salt in a medium bowl.
brown and white sugar on top of melted butter.
  1. Step 2: In a large bowl, whisk melted butter with light brown and granulated sugar until fairly smooth.
brown thick mixture in bottom of glass bowl with whisk.
  1. Step 3: Add the eggs, extra yolks, and vanilla; whisk until smooth.
eggs and egg yolks on top of brown thick mixture in glass bowl.
  1. Step 4: Fold in the dry ingredients and the chocolate chips until a thick dough forms.
light brown mixture in glass bowl with whisk.
  1. Step 5: Press the dough into the prepared pan, smoothing to an even layer.
flour and chocolate chips on top of wet ingredients in glass bowl.
  1. Step 6: Bake 30–35 minutes, until light golden and a toothpick comes out with a few moist crumbs.
cookie dough in large glass bowl.
  1. Step 7: Remove from the oven and allow the bars to cool completely in the pan. If edges puffed, press gently right after baking to even the thickness.
cookie dough spread into parchment lined rectangular pan.

Decorating the cake

red, white, and blue frosting in decorating bags.
  1. Step 1: Make American buttercream, then divide into three portions. Leave one white, tint the others red and blue, and fit each into a pastry bag with a star tip.
piping red stripes onto cookie cake for American flag.
  1. Step 2: Pipe a blue rectangle for the canton, then use white and red to pipe stars and stripes to create a flag design. When decorated, cut into 2 x 2-inch squares to serve.

Cookie cake FAQs

Can I leave the frosting off the cookie cake?

Yes. Serve the bars plain or stir patriotic sprinkles or M&M’s into the dough before baking for extra color.

Can I cut the cookie cake recipe in half?

Yes. Use a 9 x 9-inch pan and reduce bake time, checking around 28 minutes.

How long does this cookie cake last?

Stored in an airtight container, the bars keep up to 5 days.

More gluten free bar recipes

  • Gluten free oatmeal peanut butter bars
  • Gluten free s’mores bars
  • Perfect gluten free lemon bars
  • No bake peanut butter bars (Buckeye bars)
  • Gluten free scotcheroos
  • Gluten free sheet pan brownies
  • Gluten free caramel brownies
whole cookie flag cake on wire rack with chocolate chips all around.

Don’t skip the buttercream — whether you make it from scratch or use a high-quality store-bought frosting, it transforms these cookie bars into a festive, crowd-pleasing dessert.

corner square cut from flag cookie cake.

Flag Cookie Cake (Gluten Free)

Course: Dessert
Cuisine: American
Keyword: flag cookie cake, Gluten Free
Prep Time: 30 minutes
Cook Time: 35 minutes
Total Time: 1 hour 5 minutes
Servings: 32 bars
Author: Kim
This Gluten Free Flag Cookie Cake, made with chocolate chip cookie bars and buttercream frosting, is the perfect patriotic dessert!

Ingredients

  • 4 cups (560g) Kim’s gluten free all purpose flour blend (a store bought blend may be substituted, but hasn’t been tested)
  • 2 teaspoon baking soda
  • 1 tablespoon cornstarch
  • 1 teaspoon salt
  • cups (339g) butter, melted and slightly cooled
  • 2 cup (400g) light brown sugar
  • cup (134g) granulated sugar
  • 2 large eggs plus 2 large egg yolks, at room temperature
  • 4 teaspoon vanilla extract
  • 2 cups (360g) semi-sweet chocolate chips
  • ½ recipe American buttercream

Instructions

  • Preheat oven to 350°F. Line a 9 by 13-inch baking pan with parchment paper with edges so it will be easy to lift the bars out of the pan; set aside.
  • Whisk together the flour blend, baking soda, cornstarch, and salt; set aside.
  • In a large bowl, whisk the melted butter with both sugars until fairly smooth. Add eggs and egg yolks and vanilla extract, continuing to whisk until smooth. Stir in the dry ingredients and chocolate chips until a thick dough forms.
  • Spread dough out into an even layer in lined baking pan, pressing down with your fingers if necessary to get it smooth on top.
  • Bake for 30-35 minutes, or until light golden brown and a toothpick inserted into the center comes out with just a few crumbs attached.
  • Allow the bars to cool completely in the pan before lifting them out of the pan (using the parchment).
  • To decorate, make buttercream and divide into three portions. Leave one white and color the other two red and blue. Fill pastry bags fitted with large open star tips with each color and pipe an American flag design.
  • When ready to serve, cut into small 2 by 2-inch bars and serve.

Notes

Cookie cake will keep in an airtight container for up to 5 days.

Cookie dough can be made ahead and refrigerated for up to 3 days or frozen for up to 3 months; thaw before baking.