This post may contain affiliate links. For more information, read my disclosure policy.

When you want a festive patriotic dessert, make 4th of July Sugar Cookie Bars! This easy bar cookie recipe has a homemade frosting and is full of red and blue sprinkles. The perfect dessert for the 4th of July or Memorial Day!

stacked sugar cookie bars with vanilla frosting and red white and blue sprinkles on top.

These cookie bars are our favorite for the 4th of July and Memorial Day! You will love these cookies because:

  • They’re so EASY to make
  • Completely homemade
  • Thicker than my normal sugar cookie bars so they are perfect to feed a crowd
  • FULL of sprinkles!

Everyone loves sugar cookie bars and when they are full of red, white, and blue sprinkles they’re even more fun.

ingredients in fireworks sprinkles cookies.
  • Cream of Tartar: This keeps the bars nice and soft like sugar cookies should be. Cream of tartar is my secret ingredient!
  • Unsalted Butter: Be sure to soften your butter before making the cookies. If you need to substitute salted butter, omit the salt in the recipe.
  • Sugar: Sugar cookies typically use granulated sugar. You’ll also need powdered sugar for the frosting.
  • Sprinkles: You can use nonpareils or jimmies. I prefer jimmies, but either one works. Find red and blue sprinkles on amazon!
  • Milk: This is for the frosting. You can use regular milk or heavy cream.

Be sure to see the recipe card below for full ingredients & instructions!

  1. Cream the butter and sugar together until nice and fluffy.
  2. Add the egg, then mix in vanilla extract, the mix in the all purpose flour, baking soda, cream of tartar, and salt.
  3. Mix in the sprinkles.
  4. Bake until a toothpick comes out clean, then cool.
  5. Make your vanilla buttercream frosting by creaming your butter and your powdered sugar then mixing in vanilla and milk as needed for consistency.
stacked sugar cookie bars with vanilla frosting and red white and blue sprinkles on top.

Substitutions and Tips

  • Flavoring: Add 1 teaspoon almond or lemon extract to the bars for extra flavor.
  • Use ANY color sprinkles for any occasion.
  • Jimmie sprinkles are best for baking as they tend not to dissolve.
  • Want semi-homemade? Use a can of frosting to save time.
  • Color your frosting red and blue or make a flag decoration on top.
stacked sugar cookie bars with vanilla frosting and red white and blue sprinkles on top.


How do you know sugar cookie bars are done baking?

These need the toothpick test. I also look to see if they have just lost their glossy sheen.

How to store cookie bars?

Store these in an airtight container on the counter for up to 2 days or in the refrigerator for up to 4 days.

Can you freeze fireworks sugar cookie bars?

Yes you can! Freeze them with or without frosting.

Can you make these ahead?

Yes, you can make them up to a day ahead and store in the refrigerator.

stacked sugar cookie bars with vanilla frosting and red white and blue sprinkles on top.

Fireworks Sugar Cookie Bars Recipe

5 from 1 vote
Fireworks Sugar Cookie Bars are the perfect thick and easy cookie bar for a party – these have a homemade frosting and lots of red, white and blue sprinkles.
Prep Time 20 minutes
Cook Time 28 minutes
Total Time 48 minutes
Yield 18 cookies
Serving Size 1 bar



  • ¾ cup (170g) unsalted butter , softened
  • ¾ cup (150g) granulated sugar
  • 1 large egg
  • ½ teaspoon baking soda
  • ½ teaspoon cream of tartar
  • ½ teaspoon salt
  • 1 teaspoon vanilla extract
  • 2 cup (248g) all-purpose flour
  • ½ cup patriotic sprinkles


  • ½ cup (113g) unsalted butter , softened
  • 2 cups (226g) powdered sugar
  • ¼ teaspoon salt
  • 1 teaspoon vanilla extract
  • 2-3 tablespoons heavy whipping cream
  • Patriotic sprinkles for garnish
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!


  • Preheat the oven to 375°F. Line a 9×13 baking dish with parchment paper or foil and spray with cooking spray, set it aside.
  • In the body of a stand mixer with the paddle attachment cream the butter with the sugar until light and fluffy, 2 minutes. Scrape down the sides. Add the egg and vanilla and mix it in until combined. Add the baking soda, cream of tartar, salt and flour and mix until smooth. Add the sprinkles and stir them in.
  • Press the cookie dough into the prepared baking dish until even. Bake for 20-28 minutes until lightly golden and a toothpick inserted into the center comes out clean. Place on a wire rack to cool completely.
  • While the bars cool, make the frosting by placing the butter into a large bowl with an electric hand mixture and whipping until smooth. Add in the powdered sugar a little at a time until fully mixed. Add the salt, vanilla, and 1 tablespoon cream, mix it in until combined then place the mixer on medium-high speed and whip for 3 minutes until light and fluffy, adding more milk as needed for consistency.
  • Once the cookie is cool, take it out of the baking dish and frost the top. Add more sprinkles if desired. Cut into bars and serve.
  • Store in an airtight container in the refrigerator for up to 3 days or freeze for up to 2 months.

Recipe Notes

  • Add your favorite extract flavors to mix up the flavor of the bars. You can also dye the frosting whatever color you like.
  • I use jimmie style sprinkles because they tend not to bleed.

Recipe Nutrition

Serving: 1bar | Calories: 394kcal | Carbohydrates: 58g | Protein: 4g | Fat: 16g | Saturated Fat: 10g | Trans Fat: 1g | Cholesterol: 68mg | Sodium: 47mg | Potassium: 72mg | Fiber: 1g | Sugar: 35g | Vitamin A: 514IU | Calcium: 25mg | Iron: 2mg
Nutritional information not guaranteed to be accurate
Course Dessert
Cuisine American

PERFECT Patriotic Sugar Cookie Bars! These easy cookie bars have a homemade frosting and lots of red, white and blue sprinkles for the 4th of July or Memorial Day!

Favorite Fireworks Recipes

Dorothy Kern

Welcome to Crazy for Crust, where I share recipes that are sometimes crazy, often with a crust, and always served with a slice of life.

Learn to Bake in 4 Days!
Get my tips, tricks and recipes to take your baking to the next level for FREE!

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating