Zimt

American Flag Sugar Cookie Recipe for July 4th

· 7 min read · Cookies and Bars

In this article
  1. How Flag Sugar Cookies Are Built
  2. Ingredients
  3. Instructions
  4. Doneness, Serving and Storage
  5. Red, White and Blue Variations
  6. Flag Cookie Questions

Time 1 hr 45 min (including 1 hr chilling) · Serves 24 · The key step chilling the dough until firm so the stars and stripes stay crisp.

These are soft-centered vanilla sugar cookies decorated with red and blue royal icing to look like the American flag. They suit a July 4th cookout, a school bake sale or any patriotic party, and they keep their shape because the dough is rolled cold. The icing sets firm enough to stack, so you can bake them a day ahead.

How Flag Sugar Cookies Are Built

A flag cookie is a rectangle of sugar cookie dough 3 inches by 2 inches (7.5 cm by 5 cm), iced in three zones: a blue canton in the top-left corner, red and white horizontal stripes across the rest, and small white dots for stars. The canton covers about one quarter of the width and the top two stripes, so the stripes run the full width below it. You can cut rectangles by hand with a ruler and a knife, or use a 3 by 2 inch (7.5 by 5 cm) rectangle cutter. A 2-inch (5 cm) star cutter is too large for the canton; pipe the stars with a fine round tip instead, or press tiny star sprinkles into the wet blue icing.

The cookie base is a standard roll-and-cut sugar cookie: butter, sugar, egg, vanilla, flour and a little salt. It holds an edge without spreading much, which matters because flag stripes look wrong on a blob. Royal icing is the traditional topping because it dries hard and glossy; a buttercream or glaze stays soft and smears when stacked.

Ingredients

For the cookies

  • 3 cups (375 g) all-purpose flour, plus extra for dusting
  • 1 tsp (5 g) baking powder
  • 1/2 tsp (3 g) fine salt
  • 1 cup (225 g) unsalted butter, softened
  • 1 cup (200 g) granulated sugar
  • 1 large egg, at room temperature
  • 2 tsp (10 ml) vanilla extract

For the royal icing

  • 4 cups (500 g) powdered sugar, sifted
  • 3 tbsp (30 g) meringue powder
  • 6 tbsp (90 ml) water, plus more by the teaspoon
  • Red gel food coloring
  • Blue gel food coloring

Serves 24 · Prep 30 min · Cook 12 min · Total 1 hr 45 min

Instructions

  1. Whisk the flour, baking powder and salt in a bowl. In a larger bowl, beat the butter and sugar with an electric mixer on medium for 2 minutes, until pale and fluffy. Beat in the egg and vanilla, scraping the bowl once.
  2. Add the flour mixture in two additions on low speed, mixing only until no dry flour remains. The dough will be soft and slightly sticky.
  3. Divide the dough in half, flatten each half into a 1-inch (2.5 cm) thick disk, wrap in plastic and chill for at least 1 hour, or up to 2 days. Chilling firms the butter so the cookies hold their rectangle shape.
  4. Heat the oven to 350°F (175°C). Line two baking sheets with parchment. Lightly flour the counter and roll one disk to 1/4 inch (6 mm) thick. Dust the rolling pin and dough as needed to stop sticking.
  5. Trim the dough to a neat rectangle, then cut 3 by 2 inch (7.5 by 5 cm) rectangles with a ruler and a sharp knife or a rectangle cutter. Re-roll scraps once; dough rolled twice can toughen, so chill scraps for 10 minutes first.
  6. Space the rectangles 1 inch (2.5 cm) apart on the sheets and chill the cut shapes for 10 minutes before baking. This second chill is what keeps the edges square.
  7. Bake one sheet at a time for 10–12 minutes, until the edges are barely golden and the centers look set but pale. The cookies will look slightly underdone in the middle; they firm as they cool. Let them cool on the sheet for 5 minutes, then move to a rack to cool completely, about 20 minutes, before icing.
  8. Make the icing: beat the powdered sugar, meringue powder and water on low for 1 minute, then on medium for 3–4 minutes, until thick and glossy. It should hold a soft peak and ribbon off the whisk. Add water 1 teaspoon at a time if it is too stiff, or powdered sugar if too thin.
  9. Divide the icing into three bowls. Tint one red, one blue and leave one white. Keep bowls covered with a damp cloth; royal icing crusts over in minutes.
  10. Outline and flood the canton: pipe a blue rectangle over the top-left quarter of each cookie, about 1 inch (2.5 cm) wide and 1 inch (2.5 cm) tall, using a #3 tip. Fill it in, then tap the cookie gently on the counter to settle the icing.
  11. Pipe the stripes: outline and flood five horizontal bands across the remaining area, alternating red and white, each about 1/4 inch (6 mm) tall. Work from the top down so the bands meet cleanly. Let the icing set for 10 minutes between colors if they touch.
  12. Add the stars: once the blue is set but still tacky, about 15 minutes, pipe small white dots with a #1 or #2 tip, or press star sprinkles into the surface. Let the cookies dry uncovered at room temperature for 4–6 hours, or overnight, until the icing is hard to the touch.

Royal icing that is still wet will smear if you stack the cookies. Test one by pressing a fingertip into a corner; if it leaves a dent, give it more time. Humid days can double the drying time.

Doneness, Serving and Storage

Cookies are done when the edges are set and just turning gold, 10–12 minutes at 350°F (175°C). The centers should spring back when pressed lightly and look pale, not browned. There is no internal temperature to check for cookies, but if you make a deep-dish cookie or a cookie cake with egg-rich batter, bake it until the center reaches 160°F (71°C) on a food thermometer, the USDA FSIS safe minimum for egg dishes.

Serve the cookies on a flat platter, stacked no more than three high once the icing is fully dry. They pair well with cold milk, lemonade or iced tea at a cookout. For a party, arrange them in rows so the flags all face the same way. A small bowl of extra star sprinkles on the side lets guests add their own.

Store iced cookies in an airtight container at room temperature for up to 5 days, with parchment between layers. Refrigerate them if the kitchen is warm or humid, and bring to room temperature before serving. For longer storage, freeze the baked, undecorated cookies in a zip-top bag for up to 3 months; thaw at room temperature for 30 minutes, then ice. Freeze iced cookies only after the icing has dried hard, layered with parchment, for up to 1 month. Discard any cookie that smells off or has soft, sticky icing after storage.

Red, White and Blue Variations

For a shortcut, tint half the dough red and half blue, roll each into thin ropes and twist them together before slicing; the baked cookies show a marbled flag-like pattern without icing. Swap 1/2 cup (60 g) of the flour for almond flour for a softer crumb, but chill the dough an extra 30 minutes because the almond flour makes it more fragile. A drop of almond extract in place of half the vanilla gives a cherry-almond note that suits the red stripes.

If you do not want to pipe, spread the white icing over the whole cookie, then lay thin strips of red fruit leather and a square of blue fruit leather on top. Press mini marshmallows into the blue square for stars. This version is softer and does not stack well, so serve it on a tray.

For a chocolate flag, replace 1/2 cup (60 g) of the flour with cocoa powder and add 2 tbsp (30 ml) milk; the cookies bake 1–2 minutes faster, so check at 9 minutes.

Why did my cookies spread and lose their rectangle shape?

The butter was too warm or the dough was not chilled. Chill the cut shapes for 10 minutes before baking and bake one sheet at a time on the middle rack. If your kitchen is above 75°F (24°C), chill the dough for 2 hours instead of 1.

Can I use store-bought icing?

Yes, a stiff white cookie icing works, but check the label for drying time. Some tub icings stay soft and will smear when stacked; add a few tablespoons of powdered sugar to firm it up, and let the cookies dry overnight.

How far ahead can I make the dough?

The dough keeps in the refrigerator for up to 2 days, wrapped tightly, or in the freezer for up to 2 months. Thaw overnight in the refrigerator before rolling. The royal icing is best made the day you use it; it keeps covered in the refrigerator for up to 2 days, then needs a quick rebeat with a teaspoon of water.

Can I make these without meringue powder?

Use 2 pasteurized egg whites in place of the meringue powder and water, and keep the icing refrigerated until you pipe it. The icing dries slightly less hard, so give it a full overnight set before stacking. Do not use raw egg whites for guests who are pregnant, young children, older adults or anyone with a weakened immune system.