July 4th Sugar Cookies

Festive, soft, and topped with red, white, and blue royal icing, these July 4th sugar cookies are the perfect patriotic treat for your Independence Day celebration.

By Tyla

Prep

30 min

Cook

15 min

Total

45 min

Servings

24 cookies

Ingredients


Tools that make this easier

Optional — the recipe works without them.

As an Amazon Associate, I earn from qualifying purchases.


Instructions

  1. 1

    Whisk the dry ingredients. In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.

  2. 2

    Cream the butter and sugar. In a large bowl, beat the softened butter and granulated sugar with an electric mixer on medium speed for about 2 minutes, until light and fluffy with no visible sugar granules.

  3. 3

    Add the egg and extracts. Beat in the egg, vanilla, and almond extract (if using) until fully combined, scraping down the sides of the bowl once.

  4. 4

    Mix in the flour. Add the flour mixture in two batches, mixing on low speed just until no dry streaks remain. The dough will look thick and slightly crumbly at first — that's normal. Press it together with your hands if needed.

  5. 5

    Chill the dough. Divide the dough in half, flatten each piece into a disc, and wrap tightly in plastic wrap. Refrigerate for at least 1 hour or up to 2 days. Chilling prevents spreading and keeps your cookie shapes crisp.

  6. 6

    Roll and cut. Preheat the oven to 350°F (175°C) and line baking sheets with parchment paper. Roll the dough out on a lightly floured surface to about ¼-inch thickness. Cut with star, flag, or round cookie cutters and place shapes 1 inch apart on the prepared sheets.

  7. 7

    Bake. Bake for 10–12 minutes, until the edges are just barely golden but the centers still look slightly underdone. They firm up as they cool. Let cookies rest on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely before decorating.

  8. 8

    Make the royal icing. While the cookies cool, beat the meringue powder, sifted powdered sugar, and 5 tablespoons of warm water on low speed until combined, then increase to high and beat for 5–7 minutes until the icing holds stiff peaks. Add more water a teaspoon at a time if it's too thick to pipe smoothly.

  9. 9

    Color and decorate. Divide the icing into three bowls. Leave one white, tint one red and one blue with gel food coloring. Pipe outlines with thicker icing, then thin a small amount with a few drops of water for flooding (filling in) larger areas. Add sprinkles while the icing is still wet so they stick. Let the decorated cookies dry at room temperature for at least 2 hours, until the icing is completely set and hard to the touch.

Used in this recipe: Maple Rolling Pin Electric Hand Mixer Piping Bags and Tips (Amazon, affiliate links)


Notes

Tips for Success

  • Chill the dough between batches if it gets warm and sticky to prevent spreading and loss of shape detail.
  • Dip cookie cutters in flour before each press for cleaner edges, especially on detailed star shapes.
  • Use room-temperature butter that leaves a dent when pressed rather than too-soft butter to avoid greasy, thin cookies.
  • Pipe an outline with stiff icing and let it set before flooding to prevent colors from bleeding into each other.

Common Mistakes to Avoid

  • Don't skip chilling the dough — warm dough spreads and loses shape detail.
  • Don't overbake — remove cookies when edges are barely golden and centers look slightly underdone to keep them soft.
  • Don't use liquid food coloring — it thins the icing and makes it harder to control.

Nutrition (per serving)

200 kcal

Calories

2g

Protein

30g

Carbs

7g

Fat

0g

Fiber

60mg

Sodium