Star-Spangled Sugar Cookies: Festive 4th of July Recipe

These 4th of July Sugar Cookies are an ideal treat for Fourth of July or Memorial Day celebrations. The royal icing gives each star-shaped cookie a beautiful, festive finish that looks impressive but is surprisingly simple to make.

4th of July sugar cookies on a platter.

Decorated in red, white, and blue, these cookies are perfect for parties, cookouts, or gifting. The buttery cookie base is tender and flavorful, and the royal icing dries to a smooth finish you can pipe and detail to create flags, stripes, dots, or additional stars.

Table of contents

  • Why We Love This Recipe
  • Ingredients
    • Cookies
    • Icing
  • How to Make 4th of July Sugar Cookies
  • FAQs
  • Pro Tips
  • More 4th of July Desserts

Why We Love This Recipe

The dough is quick to prepare and yields delicious, sturdy cookies that hold their shape well for cutting into stars. The royal icing gives a polished look, and the cookie flavor is buttery with a hint of vanilla. These cookies are great for decorating with kids or for making a themed dessert tray.

Ingredients

Ingredients for 4th of July sugar cookies - flour, baking powder, salt, unsalted butter, sugar, eggs, vanilla, egg whites, powdered sugar, cream of tartar and gel food coloring.

Cookies

  • Flour. Measure accurately by spooning into the cup rather than scooping to avoid packing.
  • Unsalted butter. Use softened butter at room temperature for a smooth creaming process.
  • Eggs. Room-temperature eggs help the dough mix evenly.
  • Vanilla extract. Pure vanilla gives the best flavor.

Icing

  • Egg whites. Separate carefully to avoid yolk in the whites for best royal icing texture.
  • Powdered sugar. Sift to remove lumps and ensure a silky icing.
  • Gel food coloring. Gel colors yield vivid reds and blues without thinning the icing.

A full ingredient list and quantities are provided in the recipe card at the bottom of the page.

How to Make 4th of July Sugar Cookies

  • Step 1. Preheat the oven to 325°F (163°C).
Mixing bowl with softened butter and sugar.

Step 2. Cream the softened butter and sugar until smooth and not grainy.

Eggs added to the butter mixture.

Step 3. Add the eggs and mix until incorporated.

Add the vanilla to the mixture.

Step 4. Stir in the vanilla extract.

Separate mixing bowl with dry ingredients.

Step 5. Sift the dry ingredients—flour, baking powder, and salt—together in a separate bowl.

Wet and dry ingredients combined together.

Step 6. Add the dry mixture to the wet ingredients and mix until fully combined.

Ingredients blended together.

Step 7. Mix until the dough is smooth and all ingredients are well incorporated.

Dough formed into a ball.

Step 8. Form the dough into a ball, wrap it tightly in plastic wrap, and chill for about 6 hours or overnight.

Dough on cutting board with flour.

Step 9. After chilling, let the dough soften slightly. Lightly flour the surface and rolling pin as needed.

Batter rolled out and cookie cutters to make shapes.

Step 10. Roll the dough to about 1/2 inch thick and use a star cookie cutter to cut shapes.

Cookies placed on baking sheet.

Step 11. Line baking sheets with parchment and transfer the cut cookies with a metal spatula. Bake 8–10 minutes until edges are lightly browned. Cool on a wire rack.

Mixing bowl with icing ingredients.

Step 12. While cookies cool, prepare the royal icing using a stand mixer or hand mixer.

Powdered sugar added to bowl and combined.

Step 13. Mix the icing (except food coloring) on medium speed for about 4 minutes. If it’s too soft, add powdered sugar 1/4 cup at a time until it reaches the desired firmness.

Spatula in icing.

Step 14. Aim for a 15-second consistency: when you run a spatula across the icing, the line should disappear in about 15 seconds.

Icing divided into 3 bowls.

Step 15. Divide the icing into three bowls for coloring.

Food coloring added to 3 bowls.

Step 16. Tint the icings with red, white (leave one plain), and blue gel food coloring.

Icing placed into piping bags.

Step 17. Transfer icing to piping bags for decorating.

Icing piped on cookies.

Step 18. Flood each cookie with the colored icing and allow it to set. Use the remaining white icing in a bag fitted with a small tip to add final details once the base has set.

Cookies decorated with icing.

Step 19. Decorate with patriotic stripes, dots, or flag designs. Let icing dry completely for 2–3 hours without covering the cookies.

FAQs

How long do decorated sugar cookies keep?

Stored at room temperature in an airtight container, decorated sugar cookies keep about 5–7 days. Make sure the icing is fully set before storing.

Why is my icing too thick or too thin?

If the icing is too thin, it may have too much air from high-speed mixing—try mixing on low and pop any bubbles. If it’s too soft, add powdered sugar 1/4 cup at a time until you reach the 15-second consistency. If it’s too thick, add small amounts of water until it loosens to the desired consistency.

What if I don’t have any cookie cutters?

A glass or mason jar rim works well for cutting round cookies. They won’t be stars but can still be decorated in patriotic colors.

How long does it take the icing to harden?

Drying time depends on humidity and temperature. It can take a few hours to up to 24 hours. Plan for at least 2–3 hours before handling decorated cookies.

4th of July sugar cookies on a platter.

Pro Tips

  • Cool completely before decorating. Allow cookies to cool fully so icing sets smoothly.
  • Don’t overmix. Overmixing dough or icing can change texture and structure.
  • Roll thickness. Aim for about 1/2 inch thickness for cookies that hold their shape and bake evenly.
July 4th sugar cookies on a platter.

More 4th of July Desserts

  • Red White and Blue Strawberries
  • American Flag Charcuterie Board
  • Red White and Blue Bark Recipe
  • Red White and Blue Popsicles
  • Easy 4th of July Cookies
  • Patriotic Whoopie Pies

Try this festive cookie recipe at your next gathering and enjoy decorating. If you make them, leave a comment or rating to share how they turned out.

img 20137 23

4th of July Sugar Cookies

These 4th of July Sugar Cookies are a festive and delicious choice for patriotic celebrations. The royal icing creates a polished finish and lets you add detailed decorations.
Prep Time 6 hrs 30 mins
Cook Time 10 mins
Cool Completely / Let Icing Harden 2 hrs 10 mins
Total Time 8 hrs 50 mins
Servings 36
Cuisine American
Course Dessert
Calories 195
Author Carrie Barnard

Ingredients

  • Cookie Ingredients:
  • 5 cups flour
  • 2 tsp baking powder
  • 1 tsp salt
  • 1 1/2 cup unsalted butter softened at room temperature
  • 2 cups granulated sugar
  • 4 Eggs
  • 2 tsp Vanilla Extract
  • Icing Ingredients:
  • 2 egg whites
  • 1 cup powdered sugar
  • 1/2 tsp cream of tartar
  • Gel Food Coloring

Instructions

  • COOKIE INSTRUCTIONS:
  • Preheat the oven to 325°F.
  • Cream the softened butter and sugar until smooth and not grainy.
  • Add all eggs and mix until combined. Then add vanilla and continue mixing.
  • Sift the flour, baking powder, and salt together and add to the wet mixture. Mix until blended.
  • Form dough into a ball, wrap tightly, and chill 6 hours or overnight. Let soften slightly before rolling.
  • Lightly flour your surface and rolling pin, roll dough to 1/2 inch thick, and cut star shapes.
  • Place cookies on parchment-lined baking sheets and bake 8–10 minutes until edges are lightly browned. Transfer to a wire rack to cool.
  • ICING INSTRUCTIONS:
  • Combine icing ingredients (except food coloring) and mix on medium speed about 4 minutes. Adjust powdered sugar to reach a 15-second consistency.
  • Divide icing into three bowls and tint red and blue, leaving one portion white. Place icings into piping bags.
  • Flood cookies with colored icing and allow to set for 2–3 hours. Use reserved white icing with a fine tip to add final decorations.
  • Once icing has fully hardened, store cookies in an airtight container at room temperature for up to 5–7 days.

Nutrition Facts

Calories 195kcal, Carbohydrates 28g, Protein 3g