
These gluten-free 4th of July sugar cookies are cut-out cookies decorated with red, white, and blue royal icing in a star and stripes design. The sugar cookie dough rolls out smoothly and holds its shape during baking, which makes them perfect for patriotic designs.
The wet-on-wet royal icing technique creates the flag pattern without complicated piping skills. You outline and fill each section, then immediately add stripes or dots while the icing is still wet so everything blends together into a smooth surface.
Why You’ll Love this Recipe
Ingredient Notes
- Butter – Softened butter is key for this recipe. It should feel pliable when you press it but not greasy or melted. Room temperature butter creams properly with the sugar and creates dough that’s easy to handle and roll without being sticky.
- Powdered Sugar – Powdered sugar gives these cookies their fine, tender crumb. Unlike granulated sugar, it dissolves instantly and creates a smooth dough that rolls out beautifully. The result is cookies that hold clean edges when you cut them.
- Gluten-Free Flour Blend – This recipe has been tested with Bob’s Red Mill 1-to-1 Gluten-Free Baking Flour and King Arthur Measure for Measure, both of which already contain xanthan gum.
- Meringue Powder for Royal Icing – Royal icing requires meringue powder to dry hard and glossy. It’s a dried egg white product that’s shelf-stable and safe to eat without cooking. Look for it in the baking aisle or cake decorating section.
- Gel Food Coloring – Use gel food coloring rather than liquid food coloring for royal icing. Gel colors are more concentrated and won’t thin out your icing. Americolor brand is gluten-free and gives vibrant colors with just a small amount. You’ll need red and blue for this design.
- Water for Royal Icing Consistency – Start with the water amount in the recipe, then adjust to get 8-10 second consistency. Test by drizzling icing from a spoon back into the bowl. If it takes 8-10 seconds to disappear back into the surface, you’ve got the right thickness.
Decorating Tip
Work fast when adding stripes or dots to wet icing, or they won’t blend properly. Once you fill a section with base color icing, you have about 30-60 seconds to add your stripes or dots before the surface starts to set. If you wait too long, the details will sit on top instead of sinking in to create that smooth, blended look. Fill one section at a time and add details immediately.

FAQs
Yes, you can. Reusable pastry bags normally have a larger whole in them already, so you’ll need to use a pastry tip. I recommend a #3 tip for this design.
Buttercream works if you’re serving them immediately, but it stays soft and smudges easily. Royal icing is better for cookies you need to stack, transport, or give as gifts since it dries completely hard.
I like Americolor gel food coloring. The colors are very saturated and come in a squeeze bottle. You do not want to use liquid food coloring that you find at the grocery store. You can find gel food coloring at a craft store or online.
Not at all. Disposable pastry bags work great, just cut a small opening at the tip. Test the flow on parchment before you start decorating. The hole should let icing flow with gentle pressure but not pour out on its own.
Expert Tips

How to Decorate 4th of July Sugar Cookies






Storage Instructions
- Make Ahead: Cookie dough can be wrapped tightly and refrigerated for 3 days or frozen for 3 months. Thaw frozen dough in the refrigerator overnight before rolling. Baked undecorated cookies freeze well for 2 months when layered with parchment in airtight containers.
- Room Temp: Keep undecorated cookies in an airtight container at room temperature up to 1 week. Once decorated with royal icing, they last up to 2 weeks at room temperature as long as the icing has dried completely hard.
- Freeze: Freeze undecorated baked cookies with parchment between layers for up to 2 months. Let them come to room temperature before decorating. Don’t freeze cookies that are already decorated – the icing can crack or weep moisture when thawed.
Serving Suggestions
Build a full patriotic dessert table for your 4th of July party by making these star cookies the hands-on centerpiece guests can admire up close. Anchor the table with a Gluten-Free Sugar Cookie Flag Cake as the main showpiece since it feeds a crowd, then surround it with these individual decorated cookies arranged on a platter.
Keep Red White and Blueberry Popsicles in a bucket filled with ice so guests can grab them throughout the afternoon when it’s hot outside. Set out Frozen Watermelon Rosé Slushies for adults to sip while the kids eat popsicles.
Balance all the sweets with savory sides like Roasted Corn and Bacon Red Potato Salad and Easy Cabbage Dill Coleslaw. Package individual cookies in clear cellophane bags tied with red, white, and blue ribbon so guests can take them home as party favors.
More gluten-free cookies to try
Did you make this recipe?
I’d love to know! Please rate it and leave a comment below. You can also share your pictures and tag @adashofmegnut on Instagram.

Gluten-Free 4th of July Star Sugar Cookies
Ingredients
Sugar Cookies:
- 1 cup (227 g) unsalted butter - softened to room temperature
- 1 cup (120 g) powdered sugar
- 1 (50 g) large egg
- 2 teaspoon vanilla extract
- 1 teaspoon salt
- 2 ¼ cups (315 g) gluten-free flour blend
Royal Icing:
- 4 cups (480 g) powdered sugar - sifted
- 2 tablespoons (30 g) meringue powder
- 5 tablespoons (75 g) water
- 1 teaspoon vanilla extract
- Americolor gel food coloring - red and blue
**Use the toggle button above to turn the instruction photos on and off!
Instructions
For the Sugar Cookies:
- Make the cookie dough. In a large bowl, cream 1 cup (227 g) unsalted butter and 1 cup (120 g) powdered sugar with an electric mixer until light and fluffy, about 2-3 minutes. Add 1 (50 g) large egg, 2 teaspoon vanilla extract, and 1 teaspoon salt. Beat until well combined.
- Add flour gradually. Add 2 ¼ cups (315 g) gluten-free flour blend to the butter mixture 1/2 cup at a time, mixing after each addition until no streaks remain.
- Chill the dough. Turn dough out onto parchment paper and pat into a circle about 1 inch thick. Refrigerate for 1 hour until firm.
- Roll and cut. Preheat oven to 375°F (190°C). Dust work surface and rolling pin with powdered sugar. Roll dough to 1/4-inch thickness. Cut with star-shaped cookie cutters.
- Bake. Place cookies on parchment-lined baking sheets. Bake for 9-11 minutes until edges are lightly golden but tops are not browned. Cool completely on wire racks before decorating.
For the Royal Icing:
- Make royal icing. In a stand mixer with whisk attachment, combine 4 cups (480 g) powdered sugar, 2 tablespoons (30 g) meringue powder, 5 tablespoons (75 g) water, and 1 teaspoon vanilla extract. Mix on medium-high speed for 7-10 minutes until well blended and matte. This is your base consistency.
- Color and thin icing. Divide icing into three bowls. Leave one white, color one red, and one blue with Americolor gel food coloring. Add water gradually to each bowl until you reach 8-10 second consistency (drizzled icing sinks back into bowl in 8-10 seconds).
To Decorate:
- Fill pastry bags. Transfer each color to separate pastry bags. Cut very small holes at the tips.
- Decorate cookies. Outline half the star with red icing to create a barrier. Fill that half with red icing. Immediately draw white stripes over the wet red icing. Outline the other half with blue icing, fill with blue icing, then immediately add white dots over the wet blue icing.
- Let dry. Allow cookies to dry at least 4 hours (overnight is best) before stacking or packaging.
Video
Notes
- Gluten-Free Flour: This recipe has been tested with Bob’s Red Mill 1-to-1 Gluten-Free Baking Flour and King Arthur Measure for Measure.
- Icing Consistency: 8-10 second icing works for both outlining and filling. Test by drizzling from a spoon – if it takes 8-10 seconds to sink back in, you’re ready.
- Wet-on-Wet Timing: Work fast when adding stripes or dots. You have about 30-60 seconds after filling before the base starts to set. Fill one section at a time.
- Drying Time: Royal icing needs at least 4 hours to dry hard. Overnight is better. Don’t stack or package until completely dry.






thanks Allison! ๐
These are so super cute. I really wish I had more talent with icing!
Aww so adorable!!!!
Sorry, Nutter. Decorating is just more fun than baking when it comes to sugar cookies!
These are adorable!! can I eat some?
God Bless America! Haha.
How do you get sick of sugar cookies?! These are adorable and oh so patriotic.
I love the design of these cookies! I’ll definitely be making these for next year’s festivities… if not sooner!!
These are cute! Great job!
Hey it’s a very informative post thanks for sharing with us….i appreciate your work keep it up.